﻿document.write("<div id=\"footerBannerDiv\" align=\"center\" style=\"margin-top:15px;\">");
document.write("    <table cellspacing=\"0\" cellpadding=\"0\" style=\"width:100%;\">");
document.write("        <tr>");
document.write("            <td style=\"width:12px;height:66px;background-image:url(/Common/GlobalImages/Footer_Right.gif)\"></td>");
document.write("            <td align=\"center\" style=\"text-align:center;background-color:#F0F0F0;padding-top:3px;\" dir=\"ltr\">");
try
{
    CurrentURL = window.location.href;
	PageName = CurrentURL.substring(CurrentURL.lastIndexOf('/') + 1).toLowerCase();
	if ((PageName =='') || (PageName.indexOf ('default.asp')!= -1) || (PageName.indexOf ('default.aspx')!= -1)) // display one banner if this is a primary page
	{
		DisplayAds ("www.tapuz.co.il/" + footerBanner_channelName ,"x48",468,60);
		document.write ("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
		DisplayAds ("www.tapuz.co.il/" + footerBanner_channelName ,"x49",234,60);
	}
	else
	{
		DisplayAds ("www.tapuz.co.il/" + footerBanner_channelName ,"x48",468,60);
		document.write ("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
		DisplayAds ("www.tapuz.co.il/" + footerBanner_channelName ,"x49",234,60);
	}
	//DisplayAds ("www.tapuz.co.il/" + footerBanner_channelName ,"x56",700,60)
	/*
	DisplayAds ("www.tapuz.co.il/" + footerBanner_channelName ,"TopLeft",225,55)
	document.write ("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
	DisplayAds ("www.tapuz.co.il/" + footerBanner_channelName ,"Middle2",225,55)
	document.write ("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
	DisplayAds ("www.tapuz.co.il/" + footerBanner_channelName ,"TopRight",225,55)
	*/	
} 
catch(bannExp)
{	
}
document.write("            </td>");
document.write("            <td style=\"width:12px;height:66px;background-image:url(/Common/GlobalImages/Footer_Left.gif)\"></td>");
document.write("        </tr>");
document.write("    </table>")
document.write("</div>");

//document.write("<iframe src=\"http://www.tapuz.co.il/CellcomSummer/default.html\" width=\"0\" height=\"0\" frameborder=\"0\"></iframe>");