	var url = "checkLoginBanner.php?param="; 	
	var httpBanner = getHTTPObjectBanner();	
	function check_banner()
	{	//alert("hi");
		httpBanner.open("GET", url + escape(name), true);
		httpBanner.onreadystatechange = handleHttpResponseBanner; 
		httpBanner.send(null); 
		setTimeout('check_banner()',50000); 
	}
		 
	function handleHttpResponseBanner() 
	{ 
		if (httpBanner.readyState==4)
		{  
			document.getElementById("loginBanner").innerHTML = httpBanner.responseText 
			
		}
	 }
	
	function getHTTPObjectBanner()
	{
		var xmlHttps=null;
		try
		{
			// Firefox, Opera 8.0+, Safari
			xmlHttps=new XMLHttpRequest();
		}
		catch (e)
		{
			// Internet Explorer
			try
			{
				xmlHttps=new ActiveXObject("Msxml2.XMLHTTP");
			}
			catch (e)
			{
				xmlHttps=new ActiveXObject("Microsoft.XMLHTTP");
			}
		}
		return xmlHttps; 
	} 	


