﻿if (!window.sl_ad)
	sl_ad = {};

sl_ad.Page = function() 
{
}

sl_ad.Page.prototype =
{
	handleLoad: function(control, userContext, rootElement) 
	{
		this.control = control;
		
		// Sample event hookup:	
		rootElement.addEventListener("MouseLeftButtonDown", Silverlight.createDelegate(this, this.handleMouseDown));
	},
	
	// Sample event handler
	handleMouseDown: function(sender, eventArgs) 
	{
		// The following line of code shows how to find an element by name and call a method on it.
		// this.control.content.findName("Storyboard1").Begin();
	}
}

function clickTag(sender, args) {
    var title = "sl ad 1";
    var targetUrl = "/germany/dynamics/slad1.aspx";
    var url = "/germany/dynamics/slad1.aspx"
    var WtChannel = "_germany_dynamics_";
    
    dcsMultiTrack('DCS.dcsuri', url, 'WT.ti', title, 'WT.sp', WtChannel,'WT.dl','1');
    window.location = targetUrl;
}