
<!--//

// The TrackTag variable refers to the location of the
// base action tag. In the actual implementation this
// action tag will point to a 1x1 pixel GIF.

var TrackTag = "http://switch.atdmt.com/action/";

function GetActionTag(URL){
	//alert(URL);
	if (GetActionTag) {
		document.action_tag.src = TrackTag + URL;
		// The URL passed from the SWF will be appended to TrackTag.
		// The image will be loaded into the img src tags below the
		// Flash ads OBJECT tag.
	}
}


// JavaScript Document

bFlashVars = false;

function insertFlash(sMovie,nWidth,nHeight,bFlashVars,sVars){

	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="'+nWidth+'" height="'+nHeight+'">\n');
	document.write('<param name="movie" value="'+sMovie+'" />\n');
	document.write('<param name="swliveconnect" value="true" />\n');
	document.write('<param name="wmode" value="transparent" />\n');
	document.write('<param name="quality" value="high" />\n');
	document.write('<param name="allowScriptAccess" value="always" />\n');
	//
	if (bFlashVars == true && sVars !=""){
		document.write('<param name="FlashVars" value="section='+sVars+'"/>\n');
	}
	//
	document.write('<embed src="'+sMovie+'" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" swliveconnect="true" allowscriptaccess="always" ');
	//
	if (bFlashVars == true && sVars !=""){
		document.write('FlashVars="section='+sVars+'"');
	}
	//
	document.write('type="application/x-shockwave-flash" width="'+nWidth+'" height="'+nHeight+'"></embed>\n');
	document.write('</object>\n');
}

//-->
