function endAd() {
//	document.getElementById('spannerBlock').className = "spannerBlockOn";
//	document.getElementById('navButtonBlock').className = "navButtonBlockOn";
/*
	rollImg ('lbTopWrap', 'tools/img/ads/swf.lb.top.jpg');
	rollImg ('lbRtWrap', 'tools/img/ads/swf.lb.rt.jpg');
	rollImg ('lbLftWrap', 'tools/img/ads/swf.lb.lft.jpg');
	rollImg ('lbBotWrap', 'tools/img/ads/swf.lb.btm.jpg');
*/
	document.getElementById('navButtonBlock').style.visibility = "visible";
	document.getElementById('pageWrapper').style.background = "#000000 url('') top center no-repeat";
	var shell_fo = new SWFObject("shell.swf?v=1", "gamecreator", "1000", "850", "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://staging.cartoonnetwork.com/tools/xml/properties_login.xml"); // CHANGE TO WWW. for production!!
	shell_fo.addVariable("gameID",passedVal);
	shell_fo.addVariable("gameCreator",passedCreator);
	shell_fo.addVariable("fvGameTitle","gamecreator_starwars");
	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");
} 