var xmlhttp=null;
function loadPage(page,parameter,divid){    

		  	try { 
		
		if (window.XMLHttpRequest)  xmlhttp = new XMLHttpRequest();  
           else if (window.ActiveXObject)         
                    xmlhttp = new ActiveXObject((navigator.userAgent.toLowerCase().indexOf('msie 5') != -1) ? "Microsoft.XMLHTTP" : "Msxml2.XMLHTTP");    
         }catch(e){xmlhttp=null;}
		   param="?"+parameter;
		   xmlhttp.open('GET',page+param,true);
		   xmlhttp.onreadystatechange=function (){
		   if((xmlhttp.readyState == 4)&&(xmlhttp.status == 200)){
			 var response = xmlhttp.responseText;
			   document.getElementById(divid).innerHTML = response;
			  }
		  }
		
		try {			  
	       xmlhttp.send(null);
		    }catch(e) {alert("not working");}
		}
	