	var xmlHttp
	function updateNiminee(str, path){ 
		xmlHttp=GetXmlHttpObject()
		if (xmlHttp==null){
			 alert ("Browser does not support HTTP Request")
			 return
		 }
		var url=path+"getNiminee.php"
		url=url+"?id="+str
		url=url+"&sid="+Math.random();
        xmlHttp.onreadystatechange=stateNiminee 
		xmlHttp.open("GET",url,true)
		xmlHttp.send(null)
	}
	function stateNiminee(){ 
		if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete"){ 
			 document.getElementById("nominee").innerHTML=xmlHttp.responseText 
		} 
	}
	
	function updateDetails(str, path){ 
		xmlHttp=GetXmlHttpObject()
		if (xmlHttp==null){
			 alert ("Browser does not support HTTP Request")
			 return
		 }
		var url=path+"getDetails.php"
		url=url+"?id="+str
		url=url+"&sid="+Math.random()
		xmlHttp.onreadystatechange=stateDetails 
		xmlHttp.open("GET",url,true)
		xmlHttp.send(null)
	}
	function stateDetails(){ 
		if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete"){ 
			 document.getElementById("UpdateDetails").innerHTML=xmlHttp.responseText 
		} 
	}
	function GetXmlHttpObject(){
		var xmlHttp=null;
		try{
			// Firefox, Opera 8.0+, Safari
			xmlHttp=new XMLHttpRequest();
		}catch (e){
			 //Internet Explorer
			try{
				xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
			}catch (e){
				xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
			}
		}
		return xmlHttp;
	}