function showValues(str)
{
	if (str.length==0){ 
		document.getElementById("showcontents").innerHTML=""
		return
	}

	xmlHttp=GetXmlHttpObject()
			
	if (xmlHttp==null){
		alert ("Browser does not support HTTP Request")
			alert("I am in the script")
		return
	} 
	var url =  "loaddata.asp?" + str +"&sid="+Math.random();
	

	xmlHttp.onreadystatechange=stateChanged 

	
	xmlHttp.open("GET",url,true)
xmlHttp.send(null)
}

function stateChanged() { 

	if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete"){ 
			document.getElementById("showcontents").innerHTML=xmlHttp.responseText 
	} 
}

function GetXmlHttpObject(){ 
		var objXMLHttp=null
		if (window.XMLHttpRequest){
			objXMLHttp=new XMLHttpRequest()
		}
		else if (window.ActiveXObject){
			objXMLHttp=new ActiveXObject("Microsoft.XMLHTTP")
		}
	return objXMLHttp 
} 
