function playShosh(){	
	document.write('<div id="microsoft" style="position:absolute; top:270px; z-index:40001; left:155px; width:700px; background-color:#FFFFFF" align="center">');
	document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width=700' height='300'>");
	document.write("<param id='mname' name='movie' value='http://www.ciol.com/ads/bt/Apr08/700x300.swf'>");
	document.write("<param name='quality' value='high'>");
	document.write("<param name='menu' value='false'>");	
	document.write("<param name='wmode' value='transparent'>");
	document.write("<embed id='mname1' src='http://www.ciol.com/ads/bt/Apr08/700x300.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='700' height='300' wmode='transparent'></embed>");
	document.write("</object>");
	document.write('</div>');	
	setTimeout("hideShosh()",16000); 	
}

function hideShosh(){
		//document.all.microsoft.style.display="none";
		document.getElementById('microsoft').style.display="none";
			}

	
function dogEar(){
document.write("<div id='creative1' style='position:absolute; top:0; left:92.5%; width:75px; z-index:500001' align='right'>");
document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='75' height='56'>");
document.write("<param id='mname' name='movie' value='http://www.ciol.com/ads/avaya/oct07/fold_avaya_dogear.swf'>");
document.write("<param name='quality' value='high'>");
document.write("<param name='menu' value='false'>");
document.write("<param name='wmode' value='transparent'>");
document.write("<embed id='mname1' src='http://www.ciol.com/ads/avaya/oct07/fold_avaya_dogear.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='75' height='56' wmode='transparent'></embed>");
document.write("</object>");
document.write("</div>");
}

function peelBack(){
document.write("<div id='creative2' style='position:absolute; display:none; top:0; left:0; width:100%; z-index:20001' align='right'>");
document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='800' height='600'>");
document.write("<param id='mname' name='movie' value='http://www.ciol.com/ads/avaya/oct07/fold_avaya_peelback.swf'>");
document.write("<param name='quality' value='high'>");
document.write("<param name='menu' value='false'>");
document.write("<param name='wmode' value='transparent'>");
document.write("<embed id='mname1' src='http://www.ciol.com/ads/avaya/oct07/fold_avaya_peelback.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='800' height='600' wmode='transparent'></embed>");
document.write("</object>");
document.write("</div>");
}


function swapFiles(){
	//document.all.creative2.style.display="block";
	//document.all.creative1.style.display="none";
	document.getElementById('creative2').style.display="block";
	document.getElementById('creative1').style.display="none";
	hideMenu();
	}
	
function reloadFile(){
	//document.all.creative2.style.display="none";
	//document.all.creative1.style.display="block";
	document.getElementById('creative2').style.display="none";
	document.getElementById('creative1').style.display="block";
	showMenu();
	}


function hideMenu(){	
	form.sitesearch.style.visibility = "hidden";	
	//document.all.mnstr.style.visibility = "hidden";
	//document.all.skyscrap.style.visibility = "hidden";
	document.getElementById('mnstr').style.visibility="hidden";
	document.getElementById('skyscrap').style.visibility="hidden";

}

function showMenu(){
	form.sitesearch.style.visibility = "visible";	
	//document.all.mnstr.style.visibility = "visible";
	//document.all.skyscrap.style.visibility = "visible";
	document.getElementById('mnstr').style.visibility="visible";
	document.getElementById('skyscrap').style.visibility="visible";

}
