
//GENERATION TIME VARIABLE
/* Generated: 07/31/2007  10:42 PM EST */



//COMMON VARIABLES
// From include/commonjsvars
var cp900172 = "http://cdn.eyewonder.com/100125/751842/900172/";

		// From include/commonjsvars
	
var ew900172_bannerWidth = 728;
var ew900172_bannerHeight = 90;
var ew900172_fullWidth = 728;
var ew900172_fullHeight = 270;

var ew_cacheBuster = new Date().getTime();
var ew_cacheBusterReplaceArray = new Array("\\[timestamp\\]", "\\[cachebuster\\]", "\\[random\\]", "\\[randnum\\]"); 	


function ew_getProtocol(cp)
{
	if (cp.indexOf("https://") != -1)
		return "https://";
	else
		return "http://";
}
var ew900172_protocol = ew_getProtocol("http://cdn.eyewonder.com/100125/751842/900172/");
	
	

//RESEARCH TAGS


//TRACKING VARIABLES
// From include/tracking	
	

var ew900172_startTime = ew_getTime900172();



var ew900172_imgArray = new Array();
var ew900172_imgArrayCounter = 0;
function ew_addImage900172(img)
{
	ew900172_imgArray[ew900172_imgArrayCounter] = new Image();
	ew900172_imgArray[ew900172_imgArrayCounter].src = img;
	ew900172_imgArrayCounter++;
}

function ew900172_otrk(img, extra)
{
	ew_addImage900172(cp900172+img+'?ewbust='+new Date().getTime()+extra);
	return '';
}

function ew900172_otrk_nobust(img, extra)
{
	ew_addImage900172(cp900172+img+'?ewbust=0'+extra);
	return '';
}

function ew900172_ctrk(type, info)
{ 

}

function ew900172_ctrk_nobust(type, info)
{ 

}

function ew_thirdpartytrackingcachebust900172(trkURL)
{
	
	for(var i = 0; i < ew_cacheBusterReplaceArray.length; i++)
	{
		trkURL = trkURL.replace(new RegExp(ew_cacheBusterReplaceArray[i],"gi"), ew_cacheBuster); 
	}
	
	return trkURL;
}


function ew_getTime900172() { var ew_t = new Date(); return ew_t.getTime();}



function onLoadTracker900172() { var ew_t = ew_getTime900172()-ew900172_startTime; ew900172_ctrk('onload',ew_t); return ew900172_otrk('ewtrack_onload.gif','&info='+ew_t); }
function flashTracker900172() { ew900172_ctrk('creative',''); return ew900172_otrk('ewtrack_v.gif',''); }
	
function impressionTracker900172() { ew900172_ctrk('impression',''); return ew900172_otrk('ewtrack.gif',''); }

function flashfailoverTracker900172() { ew900172_ctrk('failover_flash',''); return ew900172_otrk('ewtrack_ff.gif',''); }
function failoverTracker900172() {  ew900172_ctrk('failover_img',''); return ew900172_otrk('ewtrack_f.gif',''); }

function failoverReasonBrowserTracker900172() {  ew900172_ctrk('fail_reason_browser',''); return ew900172_otrk('ewtrack_rb.gif',''); }
function failoverReasonFlashTracker900172() { ew900172_ctrk('fail_reason_flash',''); return ew900172_otrk('ewtrack_rf.gif',''); }
function flashSupportTracker900172(verStr) { ew900172_ctrk('flash_support_'+verStr,''); return ew900172_otrk('ewtrack_'+verStr+'.gif',''); }
function weSupportTracker900172() { var ew_t = ew_getTime900172()-ew900172_startTime; ew900172_ctrk('wesupport',ew_t); return ew900172_otrk('ewtrack_wesupport.gif','&info='+ew_t); } 


// Expiration count versions of the _f, _ff, and _v trackers for AIM and ICQ cookie versions
function flashTrackerCache900172(expCount) { ew900172_ctrk('creative_aim_exposure',expCount); return ew900172_otrk('ewtrack_v'+expCount+'.gif',''); }
function flashfailoverTrackerCache900172(expCount) { ew900172_ctrk('failover_flash_aim_exposure',expCount); return ew900172_otrk('ewtrack_ff'+expCount+'.gif',''); }
function failoverTrackerCache900172(expCount) {  ew900172_ctrk('failover_img_aim_exposure',expCount); return ew900172_otrk('ewtrack_f'+expCount+'.gif',''); }



// Out of band tracker request for Flash to call through External Interface
function ew900172_outOfBandTrackRequest(url)
{
	ew_addImage900172(url);
}

// Send out the current location
function ew_urlTracker()
{

	return '';
}


document.writeln(impressionTracker900172());	


// Log the URL for troubleshooting purposes
document.writeln(ew_urlTracker());


	
	// Third Party Impression Tracking


function ew_thirdpartytracking900172()
{	
	for (var i = 0; i < ew900172_thirdPartyTrackers.length ; i++)
	{
		if (ew900172_thirdPartyTrackers[i] != "")
		ew_addImage900172(ew_thirdpartytrackingcachebust900172(ew900172_thirdPartyTrackers[i]));
	}
}

var ew900172_thirdPartyTrackers = new Array("http://ad.doubleclick.net/ad/N4568.MSN/B2266518.10;sz=1x1;ord=[timestamp]?","","","","","");

ew_thirdpartytracking900172();

	

	

//DESIGN VARIABLES
var ew_adFile_Proxy = cp900172+"exp_interimDetect.html";


if (typeof(clickTagFramePrepend) == "undefined")
	var clickTagFramePrepend = "[ewclickthru]";
clickTagFramePrepend = clickTagFramePrepend.replace("[%ewclickthru%]", "[ewclickthru]");	// Legacy conversion for tags prior to 7/24/2006

var ew_mpUsedClickthruMagic = false;


if (ew_mpUsedClickthruMagic == false)
{
var failclickTag = clickTagFramePrepend.replace("[ewclickthru]","http://ad.doubleclick.net/clk;102099198;17017843;j?http://www.tylenol.com/promise");
var	clickTag = clickTagFramePrepend.replace("[ewclickthru]","http://ad.doubleclick.net/clk;102099198;17017843;j?http://www.tylenol.com/promise");
}





function ew_clickTagCacheBust(_ct)
{
	
	for(var i = 0; i < ew_cacheBusterReplaceArray.length; i++)
		_ct = _ct.replace(new RegExp(ew_cacheBusterReplaceArray[i],"gi"), ew_cacheBuster); 
	if (_ct.indexOf("ord=") >= 0)
		_ct = _ct.split("ord=")[0] + "ord=" + ew_cacheBuster;
	return _ct;
}

clickTag = ew_clickTagCacheBust(clickTag);
failclickTag = ew_clickTagCacheBust(failclickTag);



if (typeof(failclickTag) == "undefined")
	var failclickTag = "http://ad.doubleclick.net/clk;102099198;17017843;j?http://www.tylenol.com/promise";	//define it anyway because it is referenced (even if not really used)
	
if (typeof(ew_disableIFrameDetection) == "undefined" || ew_disableIFrameDetection != true)
{
	var ew_isIFrame = (window!=top); //determine if served in iframe or not
		
		

		if (typeof(ew_interimFile) == "undefined" || ew_interimFile == "")
			var ew_interimFile = "/eyewonder/interim.html";
} 
else
{
var ew_isIFrame = false;
var ew_interimFile = "";
}

	
	
/*** Begin include/sitespecific/msn:MSN_DAP_SETVARS ***/
if(typeof(inDapIF) == "undefined") // Added to not throw undefined errors if it's not defined.
    var inDapIF = false;  
if(inDapIF)
    ew_isIFrame = false;
if(typeof(inDapMgrIf) == "undefined") // Added to not throw undefined errors if it's not defined.
    var inDapMgrIf = false;  

		    
var ew900172_MSNDAP_DynIF;	
var ew900172_MSNDAP_DynIFOrigParent;	
var ew900172_MSNDAP_DynIFOrigNextChild; 

/*** End include/sitespecific/msn:MSN_DAP_SETVARS ***/




if(inDapIF && inDapMgrIf)
{
		if (isGecko)
		{
			
			document.close();	
			
			delete document.close;
			document.close();	
			
			document.open();
		}
			

}

if (ew_isIFrame)
{

	var ew900172_iFrameQueryStringExtra = "";
}

if (ew_isIFrame)
{
	var ew_containsHTTP = (( ew_interimFile.indexOf("http://") > -1 ) || 
				( ew_interimFile.indexOf("https://") > -1 ));
	if (!ew_containsHTTP)
	{	
		var ref = document.referrer;
		var host='';
		if(ref == '') {
			host = 'http://'+document.domain; 
		}
		else {
			var pos1 = ref.indexOf("://");
			if (pos1 != -1) {
				pos2 = ref.indexOf("/", pos1+3);
				host = ref.substring(0, pos2);
			}
		}
	
		if(ew_interimFile.indexOf('/')==0) {
			ew_interimFile = host+ew_interimFile; 
		}
		else {
			ew_interimFile = host+'/'+ew_interimFile;
		}

	}
}

//AUTHENTICATION

	
/*** Begin include/authentication:AUTHENTICATION_SHORT ***/

var ua = ' ' + navigator.userAgent.toLowerCase();
var isIe = (ua.indexOf('msie') >= 0);
var isNav4 = ((ua.indexOf('mozilla') >= 0) && (ua.indexOf('compatible') == -1) && (parseInt(navigator.appVersion) < 5));
var isWin = (ua.indexOf('win') >= 0);
var isWinVista = false;
var isMac = (ua.indexOf('mac') >= 0);
//Opera
var isOpera = (ua.indexOf('opera') > 0);
if (isOpera)	// Opera's string is almost identical to IE's
	isIe = false;
//KHTML browsers
var ew_isSafari = (ua.indexOf('applewebkit') > 0);
var isKonqueror = (ua.indexOf('konqueror')>0);
// GECKO(Mozilla) browsers
// isGecko will also include Netscape 6+, Epiphany, Galeon, Camino, K-Meleon, etc
// safari says (like gecko) in it's UA string, but safari uses KHTML engine
var isGecko = (ua.indexOf('gecko/') > 0);
var isCamino = (ua.indexOf('camino/') > 0);

// Check for Vista
if(isWin)
{
	isWinVista = (ua.indexOf('windows nt 6.0') >= 0);
}

/*** End include/authentication:AUTHENTICATION_SHORT ***/

	

/*** Begin include/authentication:AUTHENTICATION ***/

// Check how old the gecko version is for the part following "gecko/" in the UA string
var geckoDate;
var geckoRevisionString;
var geckoRevision;
var geckoRevisionMajor;
var geckoRevisionMinor;

var webkitVersion;
if (isGecko)
{
	function ew_getGeckoRevisionString(ua)	// Keep temp variables from being placed into window object
	{
		var tempStr = ua.split("rv:");
		return tempStr[1].split(")")[0];
	}

	geckoRevisionString = ew_getGeckoRevisionString(ua);
	geckoRevision = parseFloat(geckoRevisionString);
	geckoRevisionMajor=parseFloat(geckoRevisionString.split(".")[0] )
	geckoRevisionMinor=parseFloat(geckoRevisionString.split(".")[1]+ "." + geckoRevisionString.split(".")[2])
	geckoDate = parseInt(ua.substr(ua.indexOf('gecko/')+6,8));
}
var ieVersion;
if (isIe)
{
	ieVersion = ua.substr(ua.indexOf('msie')+5,4);
	if (ieVersion.indexOf(';') > 0)
		ieVersion = ieVersion.substr(0,3);
}
var operaVersion
if (isOpera)
{
	operaVersion = ua.substr(ua.indexOf('opera')+6,4);
}
if (ew_isSafari)
{
    webkitVersion = parseInt(ua.substr(ua.indexOf('applewebkit')+12,4));

}
var ew900172_weSupport = false;
var failReason = "browser";	// Reason we failed over
 
	
/*** Begin include/authentication:AUTHENTICATION_FLASH ***/

var isFlash7up = false;	
var isFlash8up = false; 
var isFlash9up = false; 
var isFlashFailover = false; 
var isFlash9Pre28 = false;	

var ew900172_flashVersion = new Array(0,0,0);
var ew900172_flashVersionMajor = 0;
var ew900172_flashVersionMinor = 0;

// Check Flash info
function ew900172_getFlashVersion()
{

	if(isIe)
	{
		var checkStr = "ShockwaveFlash.ShockwaveFlash.7";
		if (isWinVista)
			checkStr = "ShockwaveFlash.ShockwaveFlash.9";
		try {
			var swf = new ActiveXObject(checkStr.toString()).GetVariable("$version");
			var ver = swf.substring(swf.indexOf(" "));
			ew900172_flashVersion = ver.split(",");
		} catch ( e )
		{
			ew900172_flashVersion = new Array(0,0,0); // Below Flash 7
		}
	} else if( isGecko || isOpera || ew_isSafari )
	{
		ver = new Array();
		var desc = navigator.plugins["Shockwave Flash"].description;
		desc = desc.split(" ");
	
		ver[0] = desc[2].split(".")[0];
		ver[1] = desc[2].split(".")[1];
		ver[2] = desc[desc.length-1].split("r")[1]; // Last element of array.. compensates in differences between Mac + Windows
		
		if( ver[0] >= 7 ) ew900172_flashVersion = ver;
	}
	
	ew900172_flashVersionMajor = ew900172_flashVersion[0] + "." + ew900172_flashVersion[1];
	ew900172_flashVersionMinor = ew900172_flashVersion[2];
}


if (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"])
	var navPlugin = (navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin);

if (navPlugin || (isIe && isWin))
{
	ew900172_getFlashVersion();
	isFlash9up = (ew900172_flashVersionMajor>=9);
	isFlash8up = (ew900172_flashVersionMajor>=8);
	isFlash7up = (ew900172_flashVersionMajor>=7);
	isFlashFailover = (ew900172_flashVersionMajor>=6);
	isFlash9Pre28 = (ew900172_flashVersionMajor == 9 && ew900172_flashVersionMinor < 28);

	if( isWinVista && isFlash9up && isFlash9Pre28 && isIe) 
	{ 
		// Vista requires 9,0,28,0 and up for proper behavior in IE
		ew900172_weSupport = false;
		failReason = "vistaflash";		
	}
}
else
	isFlash7up = false;
	
/*** End include/authentication:AUTHENTICATION_FLASH ***/

	
	
// Do a an exclusive check for support to protect page contents for rare and untested browsers
if(isGecko || ew_isSafari || (isIe && isWin && ieVersion >= 6) || (isOpera && operaVersion >= 8)) 
{
	// Support Mozilla-based browsers (i.e. Firefox), Safari Mac, 
	// and IE browsers (IE 6/Win and AOL Explorer), and Opera >= 8
	failReason = "none";
	ew900172_weSupport = true;

	// Do we support Flash 7?
	if (!isFlash7up)
	{
		ew900172_weSupport = false;
		failReason = "flash";
	}
}
else
{
	// Still attempt a flash failover if browser isn't supported
	failReason = "browser"
	ew900172_weSupport = false;
}



	

var ew900172_turnOffExecution = false;



if (!ew900172_turnOffExecution && isFlash8up)
	document.writeln(flashSupportTracker900172("8"));

if (!ew900172_turnOffExecution && isFlash9up)
	document.writeln(flashSupportTracker900172("9"));

/*** End include/authentication:AUTHENTICATION ***/

	
// We support expandables in Opera 8+ for JS ads & Opera 9+ for Iframe Ads
if (isOpera)
{
	failReason = "browser";
	ew900172_weSupport = false;
	if ((operaVersion >= 8 && !ew_isIFrame) || (operaVersion >= 9))
	{
		ew900172_weSupport = true;
		failReason = "none";
	}
}
// Flash doesn't currently honor clipping on *nix browsers (Q1 2006)
if (!isWin && !isMac)
{
    failReason = "flash";
    ew900172_weSupport = false;
}

//DISNEY SITE SPECIFIC


//CUSTOM FUNCTIONS

	
weSupport = ew900172_weSupport; 
ew900172_turnOffExecutionBackup = ew900172_turnOffExecution; 
	



var ew900172_localConnectionUUID;
function ew_setUpLocalConnectionUUID900172()
{
	var ewwin;
	if ( typeof(topWin) == "undefined")
		ewwin = window;
	else
		ewwin = topWin;
	
	if ( typeof( ewwin.ew_localConnectionUUID ) == "undefined")
	{
            ewwin.ew_localConnectionUUID = (new Date().getTime());
	}
       
	ew900172_localConnectionUUID = ewwin.ew_localConnectionUUID;
}
ew_setUpLocalConnectionUUID900172();



var ew900172_context = window; 
var ew900172_flashObjectWindow = window;
var ew900172_mainFunctionWindow = window;	
/* Note: The objects won't be present until the page is fully loaded */

/* Use ew_getSWFTag<id> to return either the object or embed tag depending on the browser  */
function ew_getSWFTag900172()
{ 
	if (isGecko || isOpera)	
		return ew_getEmbedTag900172();
	else
		return ew_getObjectTag900172();
}

/* The two functions below shouldn't generally be used, and ew_getSWFTag<id> should be used instead */
function ew_getObjectTag900172()
{ 
	if (ew900172_flashObjectWindow.document.getElementById("ewad900172"))
		return ew900172_flashObjectWindow.document.getElementById("ewad900172");
	else
		return null;
}
function ew_getEmbedTag900172() 
{
	if (ew900172_flashObjectWindow.document.getElementById("ewembed900172"))
		return ew900172_flashObjectWindow.document.getElementById("ewembed900172");
	else
		return null;
}

function findPosX(obj) {
	var curleft = obj.offsetLeft;
	if (obj.offsetParent) {
		while (obj.offsetParent) {
			obj = obj.offsetParent;
			curleft += obj.offsetLeft;			
		}
	}
	else if (obj.x)
		curleft += obj.x;
	return curleft;
}

function findPosY(obj) {
	var curtop = obj.offsetTop;
	if (obj.offsetParent) {
		while (obj.offsetParent) {
			obj = obj.offsetParent;
			curtop += obj.offsetTop;			
		}
	}
	else if (obj.y)
		curtop += obj.y;
	return curtop;
}


var ew900172_debugShowErrors = false;		// Whether to throw errors in JS-Flash functionality when encountered


/* ########################################  BEGIN CUSTOM FUNCTIONS #################################################### */

/* Begin ad-specific custom functions */



/*  End ad-specific custom functions */

/*  ############################################################################################# */

/*  Begin execution-specific custom functions */



/*  End execution-specific custom functions */

/* #########################################  END CUSTOM FUNCTIONS #################################################### */

	

ew900172_weSupport = weSupport; 
ew900172_turnOffExecution = ew900172_turnOffExecutionBackup;
	
	

var ew900172_errorObject;

function ew_throwJSError900172()
{
	var e = ew900172_errorObject;
	
	var emsg = "";
	try	{ 
		if (isIe)
		{
			emsg = e.name + ": " + e.description;
		}
		if (isGecko)
		{
			emsg = e.name + ": " + e.message + " in file " + e.fileName + " on line " + e.lineNumber + "\n Stack: \n " + e.stack;
		}
		if (ew_isSafari)
		{
			emsg = e.name + ": " +  e.message + " on line " + e.line;
		}
		if (isOpera)
		{
			emsg = e.message + " on line " + e["opera#sourceloc"];
		}
		ew900172_debugExternalInterfaceErrorMessage = emsg;
	}
	catch(e)
	{
		ew900172_debugExternalInterfaceErrorMessage = "Failure in external interface";
	}
	
	if (ew900172_debugShowErrors == true)
	{
		throw(ew900172_errorObject);	/* Note: When a custom function causes an error, IE will say the error occurred here, but it didn't :-) The error message will give an idea of where the error is, or check in Firefox */
	}
}


function ew_delegate900172( functionName )
{
	var ew_args = new Array();
		
	for( var i = 1; i < arguments.length; i++ )
		ew_args[i-1] = arguments[i];
	try
	{
		return ew900172_mainFunctionWindow[functionName].apply( ew900172_mainFunctionWindow, ew_args );
	}
	catch (e)
	{
		ew900172_errorObject = e;
		var dummy = setTimeout(ew_throwJSError900172, 1);
		return null;
	}
}



function ew_isAvailableExternalInterface900172()
{
	var flashObj = ew_getSWFTag900172();
	if (typeof(flashObj) == "undefined" || flashObj == null || typeof(flashObj.ew_isAvailable) == "undefined" || !flashObj.ew_isAvailable())
		return false;
	return true;
}


var ew900172_debugExternalInterfaceErrorMessage = "";

// Usage: ew_callExternalInterface<id>("functionName","arg1","arg2", ...);
function ew_callExternalInterface900172(functionName)
{

	if (!ew_isAvailableExternalInterface900172())
	{
		ew900172_debugExternalInterfaceErrorMessage = "Object doesn't support External Interface.";
		return null;
	}
	
	var flashObj = ew_getSWFTag900172();	

	if (typeof(flashObj[functionName]) == "undefined" || flashObj[functionName] == null)
	{
		ew900172_debugExternalInterfaceErrorMessage = "Object doesn't support this method.";
		return null;
	}

	var ew_args = new Array();
	var ew_argsString = "";
			
	for( var i = 1; i < arguments.length; i++ )
	{
		if (i!=1)
			ew_argsString += ",";
		ew_argsString += "ew_args[" + (i-1) +  "]";
		ew_args[i-1] = arguments[i];
	}
		
	var execString = 'flashObj.'+functionName+'('+ew_argsString+')';
	try {
	return eval(execString);	
	}
	catch (e)
	{
		ew900172_errorObject = e;
		var dummy = setTimeout(ew_throwJSError900172, 1);
		return null;
	}	

}
	

// FLASH

/*** Begin include/flash:FLASH8 ***/




var ew900172_flvNames = "Tylenol Quality Bob 295x221,Tylenol Quality Eilieen 295x221,Tylenol Quality Gaston 295x221";
var ew900172_creativeName = "quality_AOL_728x90-270_initialLoad_FL7.swf";
var ew900172_swfVersion = 7;


/*** Begin include/flash:FLASH8COMMON ***/

function ew_getfNames(flvvideos,flashBool)
{
	for(var i = 0; i < flashBool.length; i++)
	{
		if(flashBool[i] == "true")
			flvvideos[i] = "fl8_" + flvvideos[i];
	}
	
	return flvvideos.join(",");
}

function ew_setupCreative(flash7Creative, flash8Creative, flash9Creative)
{
	if (isFlash9up && flash9Creative != "" && !isFlash9Pre28)
	{
		ew900172_swfVersion = 9;
		return flash9Creative;
	}
	else if (isFlash8up && flash8Creative != "")
	{
		ew900172_swfVersion = 8;
		return flash8Creative;
	}
	else if (isFlash7up && flash7Creative != "")
	{
		ew900172_swfVersion = 7;
		return flash7Creative;
	}
	else /* no creative. failover */
	{
		ew900172_weSupport=false;
		failReason = "nocreative";
		return flash7Creative;	// return anyway, even if not used
	}
}
/*** End include/flash:FLASH8COMMON ***/



function ew_setupFlash8Videos()
{
	var flvvideos = new String("Tylenol Quality Bob 295x221,Tylenol Quality Eilieen 295x221,Tylenol Quality Gaston 295x221").split(',');
	var flashBool = new String("true,true,true").split(',');
	ew900172_flvNames = ew_getfNames(flvvideos,flashBool);
}

ew900172_creativeName = ew_setupCreative("quality_AOL_728x90-270_initialLoad_FL7.swf","quality_AOL_728x90-270_initialLoad_FL8.swf","");

if (isFlash8up && (ew900172_swfVersion >= 8))
	ew_setupFlash8Videos();

/*** End include/flash:FLASH8 ***/

/*** Begin include/flash:FLASHVARS ***/


var ew900172_adMode = "prog";


var ew900172_videoPath = "http://cdn.eyewonder.com/100125/video/";


var ew900172_videoID = '5865,5869,5874';



if (typeof(isIFrameContent) != "undefined" && isIFrameContent)
	ew_qaReportUUID = topWin.ew_qaReportUUID;
	
if (typeof(ew_qaReportUUID)=="undefined")
	ew_qaReportUUID = "common";
	


	
if (typeof(OOBClickTrack)=="undefined")
{
	var OOBClickTrack = "";
}

	
var ewclicktags900172 = ''
	+ '&clickTag='+escape(clickTag);

if( typeof( ew900172_flashvarsExtra ) == "undefined" )
	var ew900172_flashvarsExtra = "";


var ew900172_browserEngine = "unknown";
if (isGecko)
	ew900172_browserEngine = "gecko";
else if (isIe)
	ew900172_browserEngine = "ie";
else if (isOpera)
	ew900172_browserEngine = "opera";
else if (ew_isSafari)
	ew900172_browserEngine = "webkit";


var ew900172_adTypeID = '26';
var ew900172_adType = 'Expandable - Self-Select Video';
if (ew900172_adTypeID=='22' || ew900172_adType=="Interstitial")
	ew900172_adTypeID = '5';

if (ew900172_adTypeID=='30')
	ew900172_adTypeID = '8';
	
var ew900172_customFlashString = ''; 
if (ew900172_customFlashString != '') 
	{ 
		ew900172_customFlashString = '&' + ew900172_customFlashString.replace(/\|/g, '&'); 
	} 


if (typeof(ew900172_localConnectionUUID) == "undefined")
	ew900172_localConnectionUUID = (new Date().getTime());
	
	

var ewflashvars900172 = 'ewbase='+cp900172
	+ '&bwfile=bwtest.swf'
	+ '&creative=' + ew900172_creativeName
	+ '&vLength=9,8.8,8.8'
	+ '&bw=56,90,135,300,450,600'
	+ '&buf=5,4,3,2,2,2'
	+ '&flv=' + ew900172_flvNames
	+ '&flvId=0'
	+ '&formatId='+ew900172_adTypeID
	+ '&aInit='+'user'
	+ '&vInit=host'
	+ '&videoID='+ew900172_videoID
	+ '&videoPath='+ew900172_videoPath
	+ '&adId=900172'
	+ '&adMode=' + ew900172_adMode
	+ '&trkUrl=http://cdn.eyewonder.com/100125/'
	+ '&swfVersion=' + ew900172_swfVersion
	+ '&browserEngine=' + ew900172_browserEngine // ie, gecko, webkit, or opera
	+ '&qaReportUUID=' + ew_qaReportUUID
	+ '&localConnectionUUID=' + ew900172_localConnectionUUID
	+ '&edgeDetect=none' 
	+ ew900172_flashvarsExtra
	+ ew900172_customFlashString
	+ '&OOBClickTrack=' + escape(OOBClickTrack)
	+ ewclicktags900172;

/*** End include/flash:FLASHVARS ***/	


//EXPAND FUNCTIONS
var ew900172_isOverflowHidden = false;

//ZINDEX


var ew_maxZIndex = 2147483647;	




/* Debug:
zIndexOverride=

Placement ratio=8.088888888888889
What is the detected placement:
isLeaderboard=true
isSkyscraper=false
isRectangle=false

Placement-based overrides (used if they exist):
Leaderboard override=
Skyscraper override=
Rectangle override=

Default Z-Index (if not overridden)=10000
*/


var ew900172_minZIndex = 10000 + 25;
					

var ew900172_saveZIndex;

function ew_checkOverflowHidden900172() 
{
	if (inDapIF || inDapMgrIf)	
		return false;
		
 	var tempNode = ew900172_flashObjectWindow.document.getElementById("ew_BannerDiv900172").parentNode; 		
	
	while (tempNode!=null && (tempNode.tagName != "BODY"))
	{
		var computedOverflow;
		if (isIe)
			computedOverflow = tempNode.currentStyle.overflow;
		else
			computedOverflow = document.defaultView.getComputedStyle(tempNode,"").getPropertyValue("overflow");
		if (computedOverflow == "hidden")
			return true;
		 tempNode = tempNode.parentNode;
	}
	
	return false;
}



function ew_modifyOverflow900172()
{
	   
	if (inDapIF || inDapMgrIf)	
		return;
		
	var tempNode = ew900172_flashObjectWindow.document.getElementById("ew_BannerDiv900172").parentNode;
	   
	if (isGecko)	// This workaround doesn't work yet in IE 5.5 and Safari 1.3
	{
		while (tempNode!=null && (tempNode.tagName != "BODY"))
		{
			var computedDisplay;
			if (isIe)
				computedDisplay = tempNode.currentStyle.display;
			else
				computedDisplay = document.defaultView.getComputedStyle(tempNode,"").getPropertyValue("display");
			if ((computedDisplay == "block") || (computedDisplay == "table-cell"))
			{
				var computedOverflow;
				if (isIe)
					computedOverflow = tempNode.currentStyle.overflow;
				else
					computedOverflow = document.defaultView.getComputedStyle(tempNode,"").getPropertyValue("overflow");
				if (computedOverflow == "hidden")
				{
					// Change overflow
					tempNode.style.overflow="visible";
				}
			}
			tempNode=tempNode.parentNode;
   		}
	}
}


function ew_modifyZIndex900172()
{
	if (inDapIF || inDapMgrIf)	
		return;
		
    if (isIe)
    {
		var count = 0;
		var tempElement = ew900172_flashObjectWindow.document.getElementById("ew_BannerDiv900172").parentElement; 
		
		// Safari also handles parentElement DOM object, unfortunately
		if (tempElement!=null) 
		{
		      // ew900172_saveZIndex is used to save the z-indexes before they are changed
			ew900172_saveZIndex = new Array();
			while (tempElement!=null && tempElement.tagName != "BODY")
			{
				computedDisplay = tempElement.currentStyle.display;
				if ((computedDisplay == "block") || (computedDisplay == "table-cell"))
				{
					if (tempElement.currentStyle.zIndex==0)
					{
						// Save the z-index here
						var tempPair=new Array(2);
						tempPair[0] = tempElement;
						tempPair[1] = tempElement.currentStyle.zIndex;
						ew900172_saveZIndex[count] = tempPair;
						count++;
						// Now change it
						tempElement.style.zIndex=1;
					}
				}
				tempElement=tempElement.parentElement;
			}
		}

	}
}

function ew_restoreZIndex900172()
{
	if (inDapIF || inDapMgrIf)	
		return;
		
	// IE6/5.5 restore the values saved in ew_expand
	if (ew900172_saveZIndex != null)
	{
		// restore the backed up zIndex values
		for (i = 0; i < ew900172_saveZIndex.length; i++)
		{
			var tempPair = ew900172_saveZIndex[i];
			var tempElement = tempPair[0];
			var tempZIndex = tempPair[1];
			if (tempElement != null)	// Is the element still on the page?
			{
				tempElement.style.zIndex = tempZIndex;
			}
		}

		ew900172_saveZIndex = null;	// delete the array
	}
}

function ew_contract900172()
{
	ew_resize900172(728, 90, 0, 0);
    
}

function ew_expand900172()
{
	ew_resize900172(728, 270, 0, 0);
    
}


if (typeof(ew900172_turnOffEdgeDetect)=='undefined') 
	var ew900172_turnOffEdgeDetect = true;
	
if (ew900172_turnOffEdgeDetect == false) 
{
	var ew900172_isExpanded = false;
	var ew900172_edgeRepoRight = false;
	var ew900172_edgeRepoLeft = false;
	var ew900172_edgeRepoUp = false;
	var ew900172_edgeRepoDown = false;
	var ew900172_expHoriz = false;
	var ew900172_expVert = false;

	if (typeof(ew900172_edgeDetectRepositionOffsetX)=='undefined') 
		var ew900172_edgeDetectRepositionOffsetX = 0;
		
	if (typeof(ew900172_edgeDetectRepositionOffsetY)=='undefined') 
		var ew900172_edgeDetectRepositionOffsetY = 0;

	if (ew900172_fullHeight > ew900172_bannerHeight) 
	{
		var ew900172_expVert = true;
		var ew900172_expY = ew900172_fullHeight - ew900172_bannerHeight;
	}

	if (ew900172_fullWidth > ew900172_bannerWidth) 
	{
		var ew900172_expHoriz = true;
		var ew900172_expX = ew900172_fullWidth - ew900172_bannerWidth;
	} 
}



function ew900172_getEdgePos() 
{
	var edgeDetect="none";
	
	var ew_900172edgeDetectObj = document.getElementById('ew_BannerDiv900172');
    
	if (ew900172_expVert == true) {
	var pageheight = document.body.clientHeight;
   var adYpos = findPosY(ew_900172edgeDetectObj);
	if (adYpos < ew900172_fullHeight) edgeDetect = "top";
	else if (adYpos > (pageheight - ew900172_fullHeight)) edgeDetect = "bottom";
	}

	if (ew900172_expHoriz == true) {
	var pagewidth = document.body.clientWidth;
	var adXpos = findPosX(ew_900172edgeDetectObj);
	if (adXpos < ew900172_fullWidth) edgeDetect = "left";
	else if (adXpos > (pagewidth - ew900172_fullWidth)) edgeDetect = "right";
	}
	
	return edgeDetect;	
}





function ew900172_edgeDetectNotifyFlashObject(pos)
{

}

function ew900172_edgeDetect(newWidth, newHeight, offsetX, offsetY) {
	
	var ew_900172edgeDetectObj = document.getElementById('ew_FlashDiv900172');
	
		if (ew900172_expHoriz == true) {
			var ew_originX = findPosX(ew_900172edgeDetectObj);
			if ( newWidth==ew900172_fullWidth ) { ew900172_isExpanded = true; } else { ew900172_isExpanded = false; }

			if (document.body.clientWidth > ew900172_fullWidth) {
				if (ew900172_isExpanded) 
				{
					var rightEdge = ew_originX + ew900172_fullWidth;
					if (newWidth > rightEdge) 
					{
						ew900172_edgeRepoLeft = true;
						var leftEdge = offsetX - ew900172_edgeDetectRepositionOffsetX;
						ew_900172edgeDetectObj.style.left = leftEdge.toString() + "px";
					} 
					else if ((ew_originX + ew900172_fullWidth) > document.body.clientWidth) 
					{
						ew900172_edgeRepoRight = true;
						var leftEdge = (ew900172_bannerWidth - newWidth) + ew900172_edgeDetectRepositionOffsetX;
						ew_900172edgeDetectObj.style.left = leftEdge.toString() + "px";
					}
				} else {
					ew_900172edgeDetectObj.style.left = "-" + (offsetX).toString() + "px";
					edgeRepoRight = false; edgeRepotLeft = false;
				}
			}	
		}

		if (ew900172_expVert == true) {
		
			var ew_originY = findPosY(ew_900172edgeDetectObj);
			if (newHeight==ew900172_fullHeight) { ew900172_isExpanded = true; } else { ew900172_isExpanded = false; }

			if (document.body.clientHeight > ew900172_fullHeight) {
				if (ew900172_isExpanded) 
				{
					var bottomEdge = ew_originY + ew900172_fullHeight;
					if (newHeight > bottomEdge) 
					{
						ew900172_edgeRepoDown=true;
						var topEdge = offsetY - ew900172_edgeDetectRepositionOffsetY;
						ew_900172edgeDetectObj.style.top = topEdge.toString() + "px";
					} 
					else if ((ew_originY + ew900172_fullHeight) > document.body.clientHeight) 
					{
						ew900172_edgeRepoUp=true;
						var bnDiff = ew900172_bannerHeight - newHeight;
						var topEdge = (bnDiff - offsetY) + ew900172_edgeDetectRepositionOffsetY;
						ew_900172edgeDetectObj.style.top = topEdge.toString() + "px";
					}
				
				} else {
					ew_900172edgeDetectObj.style.top = "-" + (offsetY).toString() + "px";
					edgeRepoUp = false; edgeRepoDown = false;
				}
			}
		}
}


function ew_resize900172(newWidth, newHeight, offsetX, offsetY)
{
	
	if (newWidth > 728 )
		newWidth = 728;
	if (newWidth < 728 )
		newWidth = 728;
	if (newHeight > 270 )
		newHeight = 270;
	if (newHeight < 90 )
		newHeight = 90;
	if (offsetX < 0)
		offsetX = 0;
	if (offsetY < 0)
		offsetY = 0;
	
	
	ew_reset900172();
		
	if (typeof(inDapIF) != "undefined" && inDapIF)
	{
		ew900172_MSNDAP_Resize(newWidth, newHeight, offsetX, offsetY);
		return;
	}
	
	
	if (newWidth > 728 || newHeight > 90)
	{
		/* Performing an expand. Any expansion-specific code goes here */
		if (isIe)
			ew_modifyZIndex900172();
	}
	else
	{
		/* Performing a contract. Any contract-specific code goes here */
		if (isIe)
			ew_restoreZIndex900172();
	}
	
	if(isIe)
		ew900172_flashObjectWindow.document.getElementById('ew_shim900172').style.clip = "rect("+offsetY+"px "+(offsetX+newWidth)+"px "+(offsetY+newHeight)+"px "+offsetX+"px)";
	ew900172_flashObjectWindow.document.getElementById('ew_FlashDiv900172').style.clip = "rect("+offsetY+"px "+(offsetX+newWidth)+"px "+(offsetY+newHeight)+"px "+offsetX+"px)";

if (ew900172_turnOffEdgeDetect == false) 
		ew900172_edgeDetect(newWidth, newHeight, offsetX, offsetY);

}





function ew_reset900172()
{
	ew_changeHeight900172(270);
}

function ew_onmouseout900172()
{
	ew_changeHeight900172(271);
}

var ew900172_embed;
var ew900172_ewad;

function ew_changeHeight900172(newHeight)
{
	// Define variables only once to speed up execution
	if (typeof(ew900172_ewad) == "undefined" || ew900172_ewad == null)
	{
		ew900172_ewad = ew900172_flashObjectWindow.document.getElementById("ewad900172");
		
		
		if (typeof(ew900172_ewad) == "undefined" || ew900172_ewad == null)
			return;
		
		if (isGecko || isOpera)
		{
			ew900172_embed = ew900172_ewad.firstChild;
			while (ew900172_embed.nodeName != "EMBED")
				ew900172_embed = ew900172_embed.nextSibling;
		}
	}


	if (isIe || ew_isSafari)
	{
		ew900172_ewad.style.height=newHeight + "px";
	}

	if (isGecko || isOpera)
	{
		var ew900172_embed = ew900172_ewad.firstChild;
		while (ew900172_embed.nodeName != "EMBED")
			ew900172_embed = ew900172_embed.nextSibling;
		ew900172_embed.height = newHeight;
		ew900172_embed.style.height = newHeight + "px";
	}
}



var ew900172_bannerPos = "position: relative;";

var flashHTML900172='<div id="ew_BannerDiv900172" style="visibility: visible; position: relative; width:728px; height:90px; z-index: ' + ew900172_minZIndex + '">'

	+'</div>';

//EYEWONDER FLASH OBJECT
var flashHTMLonLoad900172='<div id="ew_FlashDiv900172" onmouseout="ew_onmouseout900172()" style="visibility: visible; position: absolute; top: -0px; left: -0px; width:728px; height:270px; clip: rect(0px 728px 90px 0px); z-index: ' + (ew900172_minZIndex+2) + '">'
	+'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="' + ew900172_protocol + 'fpdownload.adobe.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="728" height="270" id="ewad900172" align="middle">'
	+'<param name="allowScriptAccess" value="always">'
	+'<param name="movie" value="'+cp900172+ew900172_creativeName+'">'
	+'<param name="quality" value="high">'
	+'<param name="bgcolor" value="#FFFFFF">'
	+'<param name="base" value="'+cp900172+'">'
	+'<param name="wmode" value="transparent">'
	+'<param name="FlashVars" value="'+ewflashvars900172+'" >'
	+'<embed id="ewembed900172" src="'+cp900172+ew900172_creativeName+'" base="'+cp900172+'" wmode="transparent" quality="high" bgcolor="#FFFFFF" width="728" height="270" name="ewad900172" FlashVars="'+ewflashvars900172+'" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="' + ew900172_protocol + 'adobe.com/go/getflashplayer">'
	+'</object>'
	+'</div>'
	+'<div style="position:absolute;top:0px;left:0px;z-index:0"><img src="'+cp900172+'dot.gif" id="trackingImage900172" width="1" height="1" border="0"></div>';

if(isIe)
	flashHTMLonLoad900172 +='<iframe id="ew_shim900172" src="" noresize="true" scrolling="no" display="none" frameborder=0 marginheight=0 marginwidth=0 style="filter:progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0);visibility: visible;position:absolute;top: -0px; left: -0px; width:728px; height:270px;clip: rect(0px 728px 90px 0px);z-index: ' + ew900172_minZIndex + '"></iframe>';


//EYEWONDER FLASH FAILOVER OBJECT
var flashfailoverHTML900172 ='<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="' + ew900172_protocol + 'fpdownload.adobe.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,0,0" width="728" height="90" id="ewfailad900172" align="middle">'
	+'<param name="allowScriptAccess" value="always">'
	+'<param name="movie" value="'+cp900172+'">'
	+'<param name="quality" value="high">'
	+'<param name="bgcolor" value="#FFFFFF">'
	+'<param name="wmode" value="opaque">'
	+'<param name="FlashVars" value="clickTag='+escape(failclickTag)+'" >'
	+'<embed id="ewembed900172"  src="'+cp900172+'" flashvars="clickTag='+escape(failclickTag)+'" quality="high" bgcolor="#FFFFFF" width="728" height="90" name="ewfaildesign" align="middle" allowScriptAccess="always" wmode="opaque"  type="application/x-shockwave-flash" base="'+cp900172+'" pluginspage="' + ew900172_protocol + 'adobe.com/go/getflashplayer">'
	+'</object>';

//EYEWONDER FAILOVER
var failoverHTML900172 = '<a href="http://www.eyewonderlabs.com/ct.cfm?ewbust=0&file=http://cdn.eyewonder.com/100125/751842/900172/failover.jpg&eid=900172&name=Clickthru-failover&num=1&time=0&diff=0&click='+escape(failclickTag)+'" target="_blank"><img src="'+cp900172+'failover.jpg" border="0"></a>';



//IFRAME HTML (if ad served in IFrame)
if(ew_isIFrame) { 
	var mpTrkStr = "";
	
	
	var ew900172_interimWidth = 728;
	var ew900172_interimHeight = 90;
	
	var attributesExtra = "";
	var styleExtra = "";

	if (isIe)
		attributesExtra = 'allowtransparency="true"';
	var iframeHTML900172 = '<iframe id="ew_expAd" border="0"  width="'+ew900172_interimWidth+'" height="'+ew900172_interimHeight+'" noresize'
	+ ' style="position: absolute; top: 0px; left: 0px; ' + styleExtra + '" ' + attributesExtra
	+ ' scrolling="No" frameborder="0" marginheight="0" marginwidth="0" src="'
	+ ew_adFile_Proxy
	+ '?interim='+escape(ew_interimFile)
		+ '&clickTagFramePrepend='+escape(clickTagFramePrepend)
	+ '&iframeURL='+escape(document.URL)
	+ '&cp='+escape(cp900172)
	+ '&extra='+escape(ew900172_iFrameQueryStringExtra)
	+ '&stime='+escape(ew900172_startTime)
	+ '&cb='+escape(ew_cacheBuster)
	+ mpTrkStr
	+ '"></iframe>';
}


		
/*** Begin include/sitespecific/msn:MSN_DAP_EXPANDABLE_JS_MAIN ***/

	
	/*** Begin include/sitespecific/msn:MSN_DAP_MAIN_COMMON ***/
var ew900172_MSNDAP_executionPath = "none";
function ew900172_MSNDAP_weSupport()
{

	
	if(isIe && parent.document.readyState == 'complete') // page is already finished loading?
		ew_onLoad900172();
	else
	{
		
		ew900172_MSNDAP_executionPath = "none";	// For debugging purposes only
		try // Attempt to bust out of iframe
		{
			var ew_test_bustout = parent.document.body;
			ew900172_MSNDAP_executionPath = "try";
		}
		catch(e)
		{
			if (window.addEventListener) parent.addEventListener("load",ew_onLoad900172,false);
			else if (window.attachEvent) parent.attachEvent("onload",ew_onLoad900172);
				ew900172_MSNDAP_executionPath = "catch";
		}
		finally
		{
			ew_onLoad900172();
			ew900172_MSNDAP_executionPath = "finally";
		}
	}	
}



if (inDapMgrIf)
	document.writeln('<div id="MSNDAPADVANCED_MAIL_searchDiv" style="position: absolute; width: 1px; height: 1px; left: 0px; top: 0px;"></div>');	

function ew900172_MSNDAPADVANCED_MAIL_Workaround_Firefox_Throbber()
{
	if (isGecko)
	{
		try{
			if (inDapIF && typeof(parent.ew_MSNDAP) == "undefined")	
			{
				parent.ew_MSNDAP = new Object();
			}

						
			parent.eval(ew_getEvalFunction900172("firefoxClose"));		

		}
		catch(e)
		{
			if (typeof(parent.ew_MSNDAP.fc) != "undefined")	
				delete parent.ew_MSNDAP.fc;
			parent.ew_MSNDAP.caughtError = e;
			var dummy = setTimeout(ew900172_MSNDAPADVANCED_MAIL_Workaround_Firefox_Throbber, 500);	
		}
	}
}





/*** End include/sitespecific/msn:MSN_DAP_MAIN_COMMON ***/
	
 

/*** Begin include/sitespecific/msn:MSN_DAP_ADVANCED_MAIL_EXPANDCONTRACT_WORKAROUND ***/


function ew_setfocus900172()
{

	if (typeof(inDapMgrIf) == "undefined" || !inDapMgrIf || !isIe)
		return;
		
	var myInput = ajDiv900172.contentWindow.document.createElement("input");
	myInput.type = "checkbox";
	
	ajDiv900172.contentWindow.document.body.appendChild( myInput );
	
	var myDiv = ajDiv900172.contentWindow.document.createElement("div");
	myDiv.style.width = "1px";
	myDiv.style.height = "1px";
	myDiv.style.overflow = "hidden";
	
	ajDiv900172.contentWindow.document.body.appendChild( myDiv );
	
	myDiv.appendChild( myInput );
	
	myInput.focus();
	
	myDiv.parentNode.removeChild( myDiv );
}

/*** End include/sitespecific/msn:MSN_DAP_ADVANCED_MAIL_EXPANDCONTRACT_WORKAROUND ***/



if (inDapMgrIf == true && !((isIe && ieVersion >= "6.0")  ))
{
	ew900172_weSupport = false;
	failReason = "DapAdvanced";
}

function ew900172_MSNDAP_Resize(newWidth, newHeight, offsetX, offsetY)
{
	

	if (typeof(inDapIF) == "undefined" || !inDapIF )
		return;
		
	if (newWidth > 728 || newHeight > 90)
	{
		/* Performing an expand. Any expansion-specific code goes here */
		if (typeof(inDapMgrIf) != "undefined" && inDapMgrIf && isIe)
			ew_setfocus900172();	// Give focus to ad
	}
	else
	{
		/* Performing a contract. Any contract-specific code goes here */
	}
	
	if (typeof(inDapMgrIf) == "undefined" || !inDapMgrIf)
	{
		
		if (typeof(ew900172_MSNDAP_DynIF) != "undefined" && ew900172_MSNDAP_DynIF != null)
			ew900172_MSNDAP_DynIF.style.clip = "rect("+offsetY+"px "+(offsetX+newWidth)+"px "+(offsetY+newHeight)+"px "+offsetX+"px)";
		if(isIe)
			ew900172_flashObjectWindow.document.getElementById('ew_shim900172').style.clip = "rect("+offsetY+"px "+(offsetX+newWidth)+"px "+(offsetY+newHeight)+"px "+offsetX+"px)"; 
	}
	else
	{
		
		if (typeof(ajDiv900172) != "undefined" && ajDiv900172 != null)
			ajDiv900172.style.clip = "rect("+offsetY+"px "+(offsetX+newWidth)+"px "+(offsetY+newHeight)+"px "+offsetX+"px)";
		if (isIe && typeof(ewshim900172) != "undefined" && ewshim900172 != null)
			ewshim900172.style.clip = "rect("+offsetY+"px "+(offsetX+newWidth)+"px "+(offsetY+newHeight)+"px "+offsetX+"px)";
	}
	ew900172_flashObjectWindow.document.getElementById('ew_FlashDiv900172').style.clip = "rect("+offsetY+"px "+(offsetX+newWidth)+"px "+(offsetY+newHeight)+"px "+offsetX+"px)";
}

var ajDiv900172  = null;
var ewshim900172  = null;




function ew900172_MSNDAP_BasicBannerDivLoad()
{
	var bannerDiv = ew900172_flashObjectWindow.document.getElementById('ew_BannerDiv900172');
	try
	{
		if (typeof(bannerDiv) != "undefined" && bannerDiv != null)
		{
			if (!isIe || (inDapIF && parent.document.readyState == "complete")) 
			{
				bannerDiv.style.position = "relative";
				bannerDiv.style.left = 0 + "px";
				bannerDiv.style.top = 0 + "px";
				bannerDiv.innerHTML=flashHTMLonLoad900172;
				
				if (isCamino)
					bannerDiv.addEventListener("mouseout",ew_onmouseout900172,true);
				parent.document.body.appendChild( ew900172_MSNDAP_DynIF );
				ew900172_MSNDAP_DynIF.style.visibility = "visible";
				return;	// Exit function if successful
			}
		}
	}
	catch(e)
	{
		// Do nothing
	}

	var dummy = setTimeout(ew900172_MSNDAP_BasicBannerDivLoad,50);

}


function ew900172_MSNDAP_GetDynIframe()
{
	var iframes = parent.document.getElementsByTagName("iframe");
	var dapFrame;
		
	try
	{
		iframes = parent.document.getElementsByTagName("iframe");
	        
	    for(var i = 0; i < iframes.length; i++)
	    {
	      if(!ew_isSafari && window == iframes[i].contentWindow)
	        dapFrame = iframes[i];
	      else if(iframes[i].contentDocument == window.document)
	        dapFrame = iframes[i];
	    }
	}
	catch(e)
	{
		// Do Nothing
	}
	
	if (typeof(dapFrame) == "undefined" || dapFrame == null)
	{
		var dummy = setTimeout(ew900172_MSNDAP_GetDynIframe, 250);
		return;
	}

	var parentnode = dapFrame.parentNode;
	var nextchild = dapFrame.nextChild;

	// Store these values for later
	ew900172_MSNDAP_DynIF = dapFrame;
	ew900172_MSNDAP_DynIFOrigParent = parentnode;
	ew900172_MSNDAP_DynIFOrigNextChild = nextchild;
    
	document.body.style.backgroundColor = "transparent";
	
	dapFrame.setAttribute("allowTransparency", "true");
	dapFrame.setAttribute("background-color", "transparent");
	
	var posX = -0;
	var posY = -0;
	
	posX += parseInt(ew900172_MSNDAP_findPosX(dapFrame), 10);
	posY += parseInt(ew900172_MSNDAP_findPosY(dapFrame), 10);
	
	if (!inDapMgrIf) 
	{ 

		dapFrame.style.visibility = "hidden";
	    
	    var filler = parent.document.createElement("DIV");
	    filler.style.width = 728 + "px";
	    filler.style.height = 90 + "px";
		filler.id = "ew_fillerDiv900172";
	    
	    if (nextchild == null)
	        parentnode.appendChild(filler);
	    else
	        parentnode.insertBefore(nextchild, filler);

	    dapFrame.style.position = "absolute";
		
	    dapFrame.style.left = posX + "px";
	    dapFrame.style.top = posY + "px";
		dapFrame.style.width = ew900172_fullWidth + "px";
		dapFrame.style.height = ew900172_fullHeight  + "px";
		dapFrame.width = ew900172_fullWidth;
		dapFrame.height = ew900172_fullHeight;
		dapFrame.style.zIndex = ew900172_minZIndex;	// We need a zIndex because we're placing it on the body.
		
		ew900172_MSNDAP_BasicBannerDivLoad();
		
		
        var newWidth = 728; 	       
		var newHeight = 90; 	        
		var offsetX = 0; 	        
		var offsetY = 0; 	        
		if (typeof(inDapIF) != "undefined" && inDapIF && (typeof(inDapMgrIf) == "undefined" || !inDapMgrIf)) 	        
		{ 	                
			if (typeof(ew900172_MSNDAP_DynIF) != "undefined" && ew900172_MSNDAP_DynIF != null) 	                      
				ew900172_MSNDAP_DynIF.style.clip = "rect("+offsetY+"px "+(offsetX+newWidth)+"px "+(offsetY+newHeight)+"px "+offsetX+"px)"; 	        
		} 
		
		return;		

	}
	else 
	{
	  		
		if(isIe) {
			ewshim900172 = parent.document.createElement("iframe");		
			ewshim900172.id = 'ew_shim900172';		
			ewshim900172.style.position="absolute";
			ewshim900172.style.left=posX+"px";
			ewshim900172.style.top=posY+"px";	
			ewshim900172.style.visibility="hidden";	
			ewshim900172.style.width="728px";
			ewshim900172.style.height="270px";
			ewshim900172.style.zIndex=ew900172_minZIndex + 2;
			ewshim900172.style.filter='progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)';
			ewshim900172.setAttribute("border", "0");
			ewshim900172.setAttribute("width", "728");
			ewshim900172.setAttribute("height", "270");		
			ewshim900172.setAttribute("noresize", "true");
			ewshim900172.setAttribute("scrolling", "No");
			ewshim900172.setAttribute("display", "none");
			ewshim900172.setAttribute("frameBorder", "0");
			ewshim900172.setAttribute("marginHeight", "0");
			ewshim900172.setAttribute("marginWidth", "0");		
			ewshim900172.src = "about:blank";
			parent.document.body.insertBefore(ewshim900172,parent.document.body.firstChild);		
			parent.document.getElementById('ew_shim900172').style.clip = "rect(0px 728px 90px 0px)";		
		}
		
		ajDiv900172 = parent.document.createElement("iframe");
		ajDiv900172.id = 'ew_expDiv900172';		
		ajDiv900172.style.position="absolute";
		ajDiv900172.style.left=posX + "px";
		ajDiv900172.style.top=posY + "px";		
		ajDiv900172.style.visibility="hidden";	
		ajDiv900172.style.width="728";
		ajDiv900172.style.height="270";
		ajDiv900172.style.zIndex=ew900172_minZIndex + 3;
		ajDiv900172.setAttribute("border", "0");
		ajDiv900172.setAttribute("width", "728");
		ajDiv900172.setAttribute("height", "270");
		ajDiv900172.setAttribute("noresize", "true");
		ajDiv900172.setAttribute("scrolling", "No");
		ajDiv900172.setAttribute("frameBorder", "0");
		ajDiv900172.setAttribute("marginHeight", "0");
		ajDiv900172.setAttribute("marginWidth", "0");
		ajDiv900172.setAttribute("allowTransparency", "true");
		ajDiv900172.src = 'javascript:document.open();document.writeln("<html><head><title>ad</title></head><body></body></html>");document.close();';
		parent.document.body.insertBefore(ajDiv900172, parent.document.body.firstChild);
		parent.document.getElementById('ew_expDiv900172').style.clip = "rect(0px 728px 90px 0px)";
		
		ew900172_MSNDAP_finishFriendlyIFrameLoading();
			
	}

}

function ew900172_MSNDAP_finishFriendlyIFrameLoading()
{
		try{
			ajDiv900172.contentWindow.document.body.style.backgroundColor = "transparent";
		}
		catch(e)
		{
			
			var dummy = setTimeout(ew900172_MSNDAP_finishFriendlyIFrameLoading, 100);
			return;
		}
		
		
		var adFrameContentDocument = ajDiv900172.contentWindow.document;
		var adFrameContentWindow = ajDiv900172.contentWindow;

		
		var isHidden = false;	
	
		if (isHidden == false)
		{
			ajDiv900172.style.visibility="visible";	
			ewshim900172.style.visibility="visible";	
		}

		adFrameContentWindow.ew900172_mainFunctionWindow = window;
		ew900172_flashObjectWindow = adFrameContentWindow;
		
		adFrameContentWindow.eval(ew_getEvalFunction900172("setupFriendlyFrameFunctions"));	

		var ewContainerDiv = adFrameContentDocument.createElement("div");
		ewContainerDiv.style.width = "728px";
		ewContainerDiv.style.height = "90px";
		ewContainerDiv.style.position = "relative";
		ewContainerDiv.style.left = 0 + "px";
		ewContainerDiv.style.top = 0 + "px";
		ewContainerDiv.style.zIndex = ew900172_minZIndex+1;
		ewContainerDiv.style.display = "block";	
		ewContainerDiv.id = "ew_BannerDiv900172";
		adFrameContentDocument.body.appendChild(ewContainerDiv);
		ewContainerDiv.innerHTML = flashHTMLonLoad900172;	
        

		if (isCamino)
            ewContainerDiv.addEventListener("mouseout",ew_onmouseout900172,true);

			
		ew900172_MSNDAPADVANCED_MAIL_CreateMainTimer()
		ew900172_MSNDAPADVANCED_MAIL_CreateUnloadHandler();
		
		ew900172_MSNDAP_DynIF.style.visibility = "hidden";
}

//MSN DAP POSITION CHECK FUNCTION
var ew900172_MSNDAP_origPos_x = 0;
var ew900172_MSNDAP_origPos_y = 0;
var ew900172_MSNDAP_positionCheckTimer;

function ew900172_MSNDAP_positionCheckDoReposition(obj,posX,posY)
{
	if (typeof(obj) == "undefined" || !obj)
		return;
		
	obj.style.visibility = "hidden";    // Prevents errors

	obj.style.left = posX + "px";
	obj.style.top = posY + "px"; 

	obj.style.visibility = "visible";
}

function ew900172_MSNDAP_positionCheck()
{
	try {
	    if(!inDapIF)
		    return;

	    var findObj = null;

		if (!inDapMgrIf)	
			findObj = parent.document.getElementById("ew_fillerDiv900172");
		else	
			findObj = ew900172_MSNDAP_DynIF;
		
	    if (typeof(findObj) == "undefined" || findObj==null)
	        return;
	     
		var posX = -0;
		var posY = -0;
		posX += parseInt(ew900172_MSNDAP_findPosX(findObj), 10);
		posY += parseInt(ew900172_MSNDAP_findPosY(findObj), 10);
	 
	    if (posX != ew900172_MSNDAP_origPos_x || posY != ew900172_MSNDAP_origPos_y)
	    {
	        ew900172_MSNDAP_origPos_x = posX;
	        ew900172_MSNDAP_origPos_y = posY;
			
			if (!inDapMgrIf && typeof(ew900172_MSNDAP_DynIF) != "undefined" && ew900172_MSNDAP_DynIF != null)
			{
				ew900172_MSNDAP_positionCheckDoReposition(ew900172_MSNDAP_DynIF,posX,posY);
			}
			else if (inDapMgrIf && typeof(ajDiv900172) != "undefined" && ajDiv900172 != null)
			{
				ew900172_MSNDAP_positionCheckDoReposition(ajDiv900172,posX,posY);
				if (ewshim900172)
					ew900172_MSNDAP_positionCheckDoReposition(ewshim900172,posX,posY);
			}
	 
	    }
	}
	catch(e)
	{
		// Do nothing
	}
}

function ew900172_MSNDAP_findPosX(obj) {
	var curleft = obj.offsetLeft;
	if (obj.offsetParent) {
		while (obj.offsetParent) {
			obj = obj.offsetParent;
			curleft += obj.offsetLeft;			
		}
	}
	else if (obj.x)
		curleft += obj.x;
	return curleft;
}

function ew900172_MSNDAP_findPosY(obj) {
	var curtop = obj.offsetTop;
	if (obj.offsetParent) {
		while (obj.offsetParent) {
			obj = obj.offsetParent;
			curtop += obj.offsetTop;			
		}
	}
	else if (obj.y)
		curtop += obj.y;
	return curtop;
}


function ew_getEvalFunction900172( functionName )
{

 

	var functions = new Object();

	functions["mainTimer"] =  function mainTimer()
	{
		ew_MSNDAP.interval = 150;
		ew_MSNDAP.mtCounter = 0;	
		if (typeof(ew_MSNDAP.mt) == "undefined" && !ew_MSNDAP.mt) 
		{
			ew_MSNDAP.mt = function()
			{
				ew_MSNDAP.mtCounter++;	
				if (typeof(ew_MSNDAP.ul) != "undefined" && ew_MSNDAP.ul)
					ew_MSNDAP.ul();
				if (typeof(ew_MSNDAP.fc) != "undefined" && ew_MSNDAP.fc)
					ew_MSNDAP.fc();
				ew_MSNDAP.ulTimer = setTimeout(ew_MSNDAP.mt, ew_MSNDAP.interval);
			}
			ew_MSNDAP.mt();
		}
	}

	functions["scrollFix300x250"] = function scrollFix300x250()	
	{

		return false;
	}


	functions["unLoad"] =  function unLoad()	
	{
		ew_MSNDAP.ulCounter = 0;
		if (typeof(ew_MSNDAP.ul) == "undefined" && !ew_MSNDAP.ul) 
		{
			ew_MSNDAP.ul = function()
			{
				ew_MSNDAP.ulCounter++;
				for(var i = 0; i < ew_MSNDAP.regEWFriendlyFrames.length; i++)
				{
					var ffObj = ew_MSNDAP.regEWFriendlyFrames[i]; 
					if(typeof(ffObj)!="undefined" && ffObj)
					{

						
						var isHidden = false;
						
						
						try {					
							var refSearchDivID = ffObj.refSearchDiv.id; 
						}
						catch(e) 
						{
							try 
							{				
					
								var ajDiv = ffObj.refExpDiv; 
								var ewshim = ffObj.refShimDiv; 
								if (typeof(ajDiv) != "undefined" && ajDiv) 
								{
									ajDiv.visibility = "hidden"; 
									ajDiv.src="about:blank";
									ajDiv.width = "1"; 		
									ajDiv.style.width = "1px";
									ajDiv.height = "1"; 
									ajDiv.style.height = "1px";
									ajDiv.id = "ew_voidAjax"; 
									document.body.appendChild(ajDiv);		
									/*document.body.removeChild(ajDiv)*/; 
									ew_MSNDAP.regEWFriendlyFrames[i].refExpDiv = null;
								}		
				
								if (typeof(ewshim) != "undefined" && ewshim) 
								{
									ewshim.visibility = "hidden"; 
									ewshim.src="about:blank";
									ewshim.width = "1"; 		
									ewshim.style.width = "1px"; 
									ewshim.height = "1"; 
									ewshim.style.height = "1px"; 
									ewshim.id = "ew_voidAjax";
									document.body.appendChild(ewshim);		
									/*document.body.removeChild(ewshim)*/; 
									ew_MSNDAP.regEWFriendlyFrames[i].refShimDiv = null;
								}
								ew_MSNDAP.regEWFriendlyFrames[i].refSearchDiv = null;
								ew_MSNDAP.regEWFriendlyFrames[i].refDapFrame = null;
								ew_MSNDAP.regEWFriendlyFrames[i].flashbannerWidth = 0;
								ew_MSNDAP.regEWFriendlyFrames[i].flashbannerHeight = 0;
								ew_MSNDAP.regEWFriendlyFrames[i] = null;			
							}
							catch(e)
							{
								ew_MSNDAP.catchError = e;
							}
						}
					}
				}
			}
		}

	}
	
	functions["firefoxClose"] = function firefoxClose()
	{
		ew_MSNDAP.fcCounter = 0;
		ew_MSNDAP.fcStopped = 0;
		ew_MSNDAP.fcTimeoutReached = false;
		if (typeof(ew_MSNDAP.fc) == "undefined") 
		{
			ew_MSNDAP.fc = function(timerId)
			{	
				var interval = ew_MSNDAP.interval;	
				var maxTimeout = 7500; 
				ew_MSNDAP.fcCounter += interval; 
				if (ew_MSNDAP.fcCounter > maxTimeout)  
					ew_MSNDAP.fcTimeoutReached = true;		
				for( var i in adCont )	
				{ 		
					if (adCont[i].documentClosed == true ||	ew_MSNDAP.fcTimeoutReached==true)			
					{			
						var adFrame = document.getElementById(adCont[i].ifrmid);			
						if (adFrame && adFrame.contentWindow && adFrame.contentWindow.document && typeof(adFrame.contentWindow.fcClosedAlready) == "undefined" )			
						{		
							var oldClose = adFrame.contentWindow.document.close;				
							delete adFrame.contentWindow.document.close;				
							adFrame.contentWindow.document.close();			
									
							adFrame.contentWindow.fcClosedAlready = true;		
							if (adFrame.contentWindow.document.getElementById("MSNDAPADVANCED_MAIL_searchDiv") ) 
							{ 
								ew_MSNDAP.fcStopped += 1; 
								adFrame.contentWindow.stop()
							}	
						}		
					}    
				}	
				if (ew_MSNDAP.fcTimeoutReached) 
					delete ew_MSNDAP.fc
			}
		}
	}
	
	
	functions["setupFriendlyFrameFunctions"] = function setupFriendlyFrameFunctions()
	{
		ew_delegate900172 = function( functionName )
		{
			try
			{
				ew900172_mainFunctionWindow.ew_delegate900172();
			}
			catch (e)
			{
				ew900172_errorThrown = e;
				
			}
		}
		ew_expand900172 = function()
		{
			try
			{
				ew900172_mainFunctionWindow.ew_expand900172();
			}
			catch (e)
			{
				ew900172_errorThrown = e;
				
			}		
		}
		ew_contract900172 = function()
		{
			try
			{
				ew900172_mainFunctionWindow.ew_contract900172();
			}
			catch (e)
			{
				ew900172_errorThrown = e;
				
			}		
		}
		ew_reset900172 = function()
		{
			try
			{
				ew900172_mainFunctionWindow.ew_reset900172();
			}
			catch (e)
			{
				ew900172_errorThrown = e;
				
			}	
		}
		ew_onmouseout900172 = function()
		{
			try
			{
				ew900172_mainFunctionWindow.ew_onmouseout900172();
			}
			catch(e)
			{
				ew900172_errorThrown = e;
				
			}			
		}
		ew_resize900172 = function(width, height, offsetX, offsetY)
		{
			try
			{
				ew900172_mainFunctionWindow.ew_resize900172(width, height, offsetX, offsetY);
			}
			catch(e)
			{
				ew900172_errorThrown = e;
				
			}	
		}
	}
	
	return ( functions[functionName].valueOf() + ";" + functionName + "()" );
}

function ew900172_MSNDAPADVANCED_MAIL_CreateMainTimer()
{
		try{
			if (inDapIF && typeof(parent.ew_MSNDAP) == "undefined")
			{
				parent.ew_MSNDAP = new Object();
			}
			parent.eval(ew_getEvalFunction900172("mainTimer"));	
		}
		catch(e)
		{ 
			if (typeof(parent.ew_MSNDAP.mt) != "undefined")	
				delete parent.ew_MSNDAP.mt;
			parent.ew_MSNDAP.caughtError = e;
			var dummy = setTimeout(ew900172_MSNDAPADVANCED_MAIL_CreateMainTimer, 250);	
		} 

}

var ew900172_MSNDAPADVANCED_MAIL_regFriendlyFramesIndex = -1;
function ew900172_MSNDAPADVANCED_MAIL_CreateUnloadHandler()
{
		try{
			if (inDapIF && typeof(parent.ew_MSNDAP) == "undefined")
			{
				parent.ew_MSNDAP = new Object();
			}
			if (inDapIF && typeof(parent.ew_MSNDAP.regEWFriendlyFrames) == "undefined")	
			{
				parent.ew_MSNDAP.regEWFriendlyFrames = new Array();
			}
			
			var currIndex = 0;
			
			parent.ew_MSNDAP.ulCallCounter = 0;
			
			while (currIndex < parent.ew_MSNDAP.regEWFriendlyFrames.length && typeof(parent.ew_MSNDAP.regEWFriendlyFrames[currIndex]) != "undefined" && parent.ew_MSNDAP.regEWFriendlyFrames[currIndex] != null) 
				currIndex++;
			parent.ew_MSNDAP.regEWFriendlyFrames[currIndex] = new Object();
			var ffCurr = parent.ew_MSNDAP.regEWFriendlyFrames[currIndex];
			ffCurr.refSearchDiv = document.getElementById("MSNDAPADVANCED_MAIL_searchDiv");
			ffCurr.dirty = false;
			ffCurr.refExpDiv = ajDiv900172;
			ffCurr.refShimDiv = null;
			ffCurr.refDapFrame = ew900172_MSNDAP_DynIF;
			ffCurr.flashbannerWidth = 728;
			ffCurr.flashbannerHeight = 90;
			if (isIe)
				ffCurr.refShimDiv = ewshim900172;

			
			ew900172_MSNDAPADVANCED_MAIL_regFriendlyFramesIndex = currIndex;
			
			
			parent.eval(ew_getEvalFunction900172("unLoad"));
			
	
	}
	catch(e)
	{ 
			if (typeof(parent.ew_MSNDAP.ul) != "undefined")	
				delete parent.ew_MSNDAP.ul;
			parent.ew_MSNDAP.caughtError = e;
			var dummy = setTimeout(ew900172_MSNDAPADVANCED_MAIL_CreateUnloadHandler, 250);	
	} 

}





function ew900172_MSNDAP_Expandable_onLoad() {
	if (inDapIF && inDapMgrIf && typeof(parent.ew_MSNDAP) == "undefined")
	{
		parent.ew_MSNDAP = new Object();
	}
	
	if(inDapIF && ew900172_weSupport)
	{
		ew900172_MSNDAP_GetDynIframe();
		ew900172_MSNDAP_positionCheckTimer = window.setInterval("ew900172_MSNDAP_positionCheck()",250);

	}

}


/*** End include/sitespecific/msn:MSN_DAP_EXPANDABLE_JS_MAIN ***/


	


var ew900172_onLoadWasCalled = false; //Protects against multiple of the same execution being loaded in the same page

//appends flash ad div to the banner div (called on page load)
function ew_onLoad900172() {

	flashHTMLonLoad900172 += onLoadTracker900172();
	
	if (ew900172_onLoadWasCalled == true)
		return;
	
	ew900172_onLoadWasCalled = true;
	
	if (inDapIF)	
	{

		ew900172_MSNDAP_Expandable_onLoad();
		return;
	}
	
	
	if (isGecko && geckoRevisionMajor < 1)	// ew_CheckOverflowHidden doesn't work in Mozilla < 1.0
	{
		failReason = "browser";
		ew900172_weSupport = false;
	}

	if (ew900172_weSupport)
		ew900172_isOverflowHidden = ew_checkOverflowHidden900172();
	// We don't support expandables when overflow:hidden is set on anything but Gecko
	// browsers (Mozilla >= 1.0 and Firefox, etc) and IE >= 6.0
	if (ew900172_isOverflowHidden && !(isGecko  || (isIe && (ieVersion >= 6.0)) || (isOpera && (operaVersion >= 8))))
	{
		failReason = "browser"
		ew900172_weSupport = false;
	}
	if (ew900172_weSupport)	// Do we still support the expandable?
	{
		if (ew900172_isOverflowHidden == true)	
			ew_modifyOverflow900172();
		
		
		var edgeDetect = ew900172_getEdgePos();	
		if (edgeDetect != 'none') 
		{
			var flashvar_edgeDetect = "edgeDetect=" + edgeDetect;
			flashHTMLonLoad900172 = flashHTMLonLoad900172.replace(/edgeDetect=none/g, flashvar_edgeDetect);
		}
			
		
		 
		
		// Note: Don't do two innerHTML statements or IE will give an error when hovering
		ew900172_flashObjectWindow.document.getElementById('ew_BannerDiv900172').innerHTML+=flashHTMLonLoad900172;
        
        
        if (isCamino)
            ew900172_flashObjectWindow.document.getElementById('ew_BannerDiv900172').addEventListener("mouseout",ew_onmouseout900172,true);
		
		 
	}
	else
	{
		var failReasonTracker = "";
		// Reason for failover
		if (failReason == "browser")
			failReasonTracker = failoverReasonBrowserTracker900172();
		else if (failReason == "flash")
			failReasonTracker = failoverReasonFlashTracker900172();
		// Replace, don't append innerHTML (innerHTML= not innerHTML+=) to write out failovers because they are inline content
		if(!ew900172_turnOffExecution&&isFlashFailover&&false) 
		{
			document.getElementById('ew_BannerDiv900172').innerHTML=flashfailoverHTML900172+flashfailoverTracker900172()+failReasonTracker;
		}
		else 
		{
			document.getElementById('ew_BannerDiv900172').innerHTML=failoverHTML900172+failoverTracker900172()+failReasonTracker;
		}
	}
	
	
}
	
//SERVE THE APPROPRIATE FILE
if (ew900172_weSupport) {
	document.writeln(weSupportTracker900172());
	if(ew_isIFrame) { 
		//serve the IFrame ad
		
		document.writeln(iframeHTML900172);
	}
	else 
	{
		document.writeln(flashHTML900172);
		document.writeln(flashTracker900172());
		if(!inDapIF)
		{
			if(isIe && document.readyState == 'complete') // page is already finished loading?
				ew_onLoad900172();
			else
			{
				if (window.addEventListener) window.addEventListener("load",ew_onLoad900172,false);
					else if (window.attachEvent) window.attachEvent("onload",ew_onLoad900172);
			}
		}	
		else
			ew900172_MSNDAP_weSupport();
	}
}
else { //serve failover
	
	if(!ew900172_turnOffExecution&&isFlashFailover&&false) {
		document.writeln(flashfailoverHTML900172);
		document.writeln(flashfailoverTracker900172());
	}
	else {
		document.writeln(failoverHTML900172);
		if(!ew900172_turnOffExecution)
			document.writeln(failoverTracker900172());
		else
			document.writeln(failoverTurnOffExecutionTracker900172());
	}
	// Reason for failover
	if (failReason == "browser")
		document.writeln(failoverReasonBrowserTracker900172());
	else if (failReason == "flash")
		document.writeln(failoverReasonFlashTracker900172());
}


if (inDapIF && inDapMgrIf)
	document.close();


