function winsizebanner()
{	if(document.body.clientWidth <= 900)
	{
	document.getElementById("LeftBanner").style.display='none';
	}
	else
	{
	document.getElementById("LeftBanner").style.display='block';
	}
	return
}

			
function setsidebanner(topvalue)
{
	if(topvalue < 1)
	{
	topvalue = 97;
	}
	document.getElementById('LeftBanner').style.top = topvalue
}


function bannerScroll() 
{
	if(screen.width<1000)
		return;

	var doScroll = 0;
	if (document.documentElement && document.documentElement.scrollTop)
	{
		theTop = document.documentElement.scrollTop + 97;
		doScroll = 1
	}
	else 
	if (document.body)
	{
		theTop = document.body.scrollTop + 97
		doScroll = 1
	}
	else
	{
		doScroll = 0;
	}
	
	if(doScroll)
	{
		window.setTimeout("setsidebanner(" + (theTop + 1) + ")",100);
	}

}

if(screen.width > 1000)
{
	if (window.onload == "")
	{
	    window.onload = bannerScroll;
	}
	else
	{
	    bannerScroll();
	}
	window.onscroll = bannerScroll;
}



