<!--Float_Left_Ad-->

function showLeftAdContent(ad_Name,ad_main,ad_ContentName,tableHeight,ad_sideTileWidth,ad_ContentWidth){
	var ad=document.getElementById(ad_Name);	
	var ad_content = document.getElementById(ad_ContentName);	
	var ad_main= document.getElementById(ad_main);

	ad.style.visibility="visible";
	ad_content.style.display = "";
	ad_main.width=  parseInt(ad_sideTileWidth,10) + parseInt(ad_ContentWidth,10);
	ad_main.height= parseInt(tableHeight,10);

	ad.style.pixelLeft= parseInt(document.documentElement.scrollLeft,10);		
}

function hideLeftAdContent(ad_Name,ad_main,ad_ContentName,tableHeight,ad_sideTileWidth){
	var ad=document.getElementById(ad_Name);	
	var ad_content = document.getElementById(ad_ContentName);	
	var ad_main= document.getElementById(ad_main);

	ad.style.visibility="visible";
	ad_content.style.display = "none";
	ad_main.width=  parseInt(ad_sideTileWidth,10);
	ad_main.height= parseInt(tableHeight,10);

	ad.style.pixelLeft= parseInt(document.documentElement.scrollLeft,10) ;
}

function attachEventsToLeftAd(ad_Name,ad_main,ad_ContentName,tableHeight,ad_sideTileWidth,ad_ContentWidth){
	var ad=document.getElementById(ad_Name);

	ad.attachEvent("onmouseover",function(){
	
		ad.detachEvent("onmouseover");
		
		showLeftAdContent(ad_Name,ad_main,ad_ContentName,tableHeight,ad_sideTileWidth,ad_ContentWidth);
	});

	ad.attachEvent("onmouseout",function(){
		hideLeftAdContent(ad_Name,ad_main,ad_ContentName,tableHeight,ad_sideTileWidth);
	});
}

function showLeftAdSideMenu(ad_Name,ad_main,ad_ContentName,tableHeight,ad_sideTileWidth,ad_ContentWidth){

	attachEventsToLeftAd(ad_Name,ad_main,ad_ContentName,tableHeight,ad_sideTileWidth,ad_ContentWidth);

	hideLeftAdContent(ad_Name,ad_main,ad_ContentName,tableHeight,ad_sideTileWidth);

}

function makeStaticLeft(ad_Name,adPosition) {
var obj = document.getElementById(ad_Name);

if (document.all) {
obj.style.pixelTop = document.documentElement.clientHeight -  parseInt(adPosition,10) +  parseInt(document.documentElement.scrollTop,10);
obj.style.pixelLeft=parseInt(document.documentElement.scrollLeft,10) ;	
}
else {eval(obj.top=eval(window.pageYOffset+20));}
setTimeout("makeStaticLeft('" + ad_Name  + "','" + adPosition + "');",80)
}


function ShowLeftFloatAd(divId ,ad_main,div_ContentId ,imgPathUrl,tableWidth,sideMenuWidth ,url , height , width , displayText, adPosition,delayInterval,isFlash)
{
	if(isFlash == "False")
	{
		if(url.length <= 0)
		{
			document.write("<DIV id='" + divId +  "' style='Z-INDEX: 20; LEFT: 0px;VISIBILITY: hidden; CURSOR: hand; POSITION: absolute; TOP: " + adPosition + "px' ><TABLE id='" 
	+ ad_main + "' cellSpacing='1' cellPadding='0' width='" + tableWidth + "' bgColor='#000000' border='0' ><TR><TD id='" + div_ContentId + "' bgColor='#0099ff' ><IMG src='" + imgPathUrl +"' border='0' WIDTH='"+ width +"' HEIGHT='"+ height +"' ></TD>" 
	+ "<TD WIDTH='" + sideMenuWidth + "'  BGCOLOR='#104A80' STYLE='font-face:ËÎÌå;FONT-SIZE: 12px;color:#FFF;text-align:center;line-height:18px;' height='" + height + "'>" + displayText 
	+"</TD></TR></TABLE></DIV>");
		}
		else
		{
					document.write("<DIV id='" + divId +  "' style='Z-INDEX: 20; LEFT: 0px;VISIBILITY: hidden; CURSOR: hand; POSITION: absolute; TOP: " + adPosition + "px' ><TABLE id='" 
	+ ad_main + "' cellSpacing='1' cellPadding='0' width='" + tableWidth + "' bgColor='#000000' border='0' ><TR><TD id='" + div_ContentId + "' bgColor='#0099ff' ><a href='"+ url +"' target='_blank'  id='threenineout'><IMG src='" + imgPathUrl +"' border='0' WIDTH='"+ width +"' HEIGHT='"+ height +"' ></a></TD>" 
	+ "<TD WIDTH='" + sideMenuWidth + "'  BGCOLOR='#104A80' STYLE='font-face:ËÎÌå;FONT-SIZE: 12px;color:#FFF;text-align:center;line-height:18px;' height='" + height + "'>" + displayText 
	+"</TD></TR></TABLE></DIV>");

		}
	}
	else
	{
				document.write("<DIV id='" + divId +  "' style='Z-INDEX: 20; LEFT: 0px; VISIBILITY: hidden; CURSOR: hand; POSITION: absolute; TOP:'" + adPosition + "px' ><TABLE id='" 
+ ad_main + "' cellSpacing='1' cellPadding='0' width='" + tableWidth + "' bgColor='#000000' border='0' ><TR><TD id='" + div_ContentId + "' bgColor='#0099ff' ><EMBED SRC='" + imgPathUrl +"' WIDTH='"+ width +"' HEIGHT='"+ height +"'></EMBED></TD>" 
+ "<TD WIDTH='" + sideMenuWidth + "'   BGCOLOR='FFF7E1' STYLE='font-face:ËÎÌå;FONT-SIZE: 12px;color:#000;text-align:center;line-height:18px;'  height='" + height + "'>" + displayText 
+"</TD></TR></TABLE></DIV>");
	}
	
	if(delayInterval > 0)
	{
		showLeftAdContent(divId,ad_main,div_ContentId,height,sideMenuWidth,width);

		setTimeout("showLeftAdSideMenu('"+ divId + "' , '" + ad_main + "' , '" + div_ContentId + "' , '"  + height + "' , '" + sideMenuWidth + "' , '" + width + "' );",delayInterval)

		makeStaticLeft(divId,adPosition);

	}
	else
	{
		showLeftAdSideMenu(divId,ad_main,div_ContentId,height,sideMenuWidth,width);
		
		makeStaticLeft(divId,adPosition);
	}	
}

<!--End-->  
     
