function endAd() {
//	document.getElementById('spannerBlock').className = "spannerBlockOn";
//	document.getElementById('navButtonBlock').className = "navButtonBlockOn";
//	document.body.style.background = "#0a4390 url('http://i.cdn.turner.com/toon/games/gamecreator/tools/img/ads/ad_bkg_wm.jpg') top center no-repeat";
	document.getElementById('navButtonBlock').style.visibility = "visible";
	document.getElementById('pageWrapper').style.background = "#000000 url('http://i.cdn.turner.com/toon/games/gamecreator/tools/img/universal/background.jpg') top center no-repeat";
	var shell_fo = new SWFObject("shell.swf?v=2", "gamecreator", "1000", "700", "9,0,45,0", "#000000");
	shell_fo.addParam("allowScriptAccess", "always");
	shell_fo.addParam("swliveconnect", "true");
	shell_fo.addVariable("metricsPath_fv","http://i.cdn.turner.com/toon/tools/media/as_metrics.swf");
	shell_fo.addVariable("fvXML","http://www.cartoonnetwork.com/tools/xml/properties_login.xml");
	shell_fo.addVariable("gameID",passedVal);
	shell_fo.addVariable("gameCreator",passedCreator);
	shell_fo.addVariable("fvGameTitle","gamemaker");
	shell_fo.addVariable("fvMenu","false");
	shell_fo.addVariable("tile",cnnad_tileID);
	shell_fo.addVariable("color","000000");
	shell_fo.addVariable("displayAd", true);
	shell_fo.write("flashBlock");
}