var xmlHttp
function show(str)
{ 
alert("entering");
var url="en.php?menu=" + str

xmlHttp=GetXmlHttpObject(stateChanged)
xmlHttp.open("GET", url , true)
xmlHttp.send(null)
} 
function showproject(str)
{ 
var url="getproject.php?menu=" + str
xmlHttp=GetXmlHttpObject(stateChanged1)
xmlHttp.open("GET", url , true)
xmlHttp.send(null)
} 
function showprojectdet(str)
{ 
var url="getprojectdet.php?menu=" + str
xmlHttp=GetXmlHttpObject(stateChanged2)
xmlHttp.open("GET", url , true)
xmlHttp.send(null)
} 
function showvalid(str)
{ 
var url="getinstalldet.php?menu=" + str
xmlHttp=GetXmlHttpObject(stateChanged2)
xmlHttp.open("GET", url , true)
xmlHttp.send(null)
} 
function showvalidf(str)
{ 
var url="getinstalldetf.php?menu=" + str
xmlHttp=GetXmlHttpObject(stateChanged2)
xmlHttp.open("GET", url , true)
xmlHttp.send(null)
} 
function showvalidfa(str)
{ 
var url="getinstalldetfa.php?menu=" + str
xmlHttp=GetXmlHttpObject(stateChanged2)
xmlHttp.open("GET", url , true)
xmlHttp.send(null)
} 
function showvalidr(str)
{ 
var url="getrelink.php?menu=" + str
xmlHttp=GetXmlHttpObject(stateChanged23)
xmlHttp.open("GET", url , true)
xmlHttp.send(null)
} 
function showvalide(str)
{ 
var url="getinstalldete.php?menu=" + str
xmlHttp=GetXmlHttpObject(stateChanged2)
xmlHttp.open("GET", url , true)
xmlHttp.send(null)
} 
function showsubord(str)
{ 
var url="getsubord.php?menu=" + str
xmlHttp=GetXmlHttpObject(stateChanged4)
xmlHttp.open("GET", url , true)
xmlHttp.send(null)
} 

function showchecklist(str)
{ 
var url="install_checklist.php?menu=" + str
xmlHttp=GetXmlHttpObject(stateChanged3)
xmlHttp.open("GET", url , true)
xmlHttp.send(null)
} 
function showcheckliste(str)
{ 
var url="edit_checklist.php?menu=" + str
xmlHttp=GetXmlHttpObject(stateChanged3)
xmlHttp.open("GET", url , true)
xmlHttp.send(null)
} 
function stateChanged() 
{ 
if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
{ 
document.getElementById("client").innerHTML=""

document.getElementById("client").innerHTML=xmlHttp.responseText 
} 
}
function stateChanged4() 
{ 
if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
{ 
document.getElementById("showsubord").innerHTML=""

document.getElementById("showsubord").innerHTML=xmlHttp.responseText 
} 
}
function stateChanged2() 
{
if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
{ 
document.getElementById("client").innerHTML=""

document.getElementById("client").innerHTML=xmlHttp.responseText 
} 

} 
function stateChanged23() 
{
if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
{ 
document.getElementById("view").innerHTML=""

document.getElementById("view").innerHTML=xmlHttp.responseText 
} 

} 
function stateChanged1() 
{ 
if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
{ 
document.getElementById("client").innerHTML=""

document.getElementById("client").innerHTML=xmlHttp.responseText 
} 

} 
function stateChanged3() 
{ 
if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
{ 
document.getElementById("showcheck").innerHTML=""

document.getElementById("showcheck").innerHTML=xmlHttp.responseText 
} 

} 
function GetXmlHttpObject(handler)
{ 
var objXmlHttp=null
if (navigator.userAgent.indexOf("Opera")>=0)
{
alert("This example doesn't work in Opera") 
return 
}
if (navigator.userAgent.indexOf("MSIE")>=0)
{ 
var strName="Msxml2.XMLHTTP"
if (navigator.appVersion.indexOf("MSIE 5.5")>=0)
{
strName="Microsoft.XMLHTTP"
} 
try
{ 
objXmlHttp=new ActiveXObject(strName)
objXmlHttp.onreadystatechange=handler 
return objXmlHttp
} 
catch(e)
{ 
alert("Error. Scripting for ActiveX might be disabled") 
return 
} 
} 
if (navigator.userAgent.indexOf("Mozilla")>=0)
{
objXmlHttp=new XMLHttpRequest()
objXmlHttp.onload=handler
objXmlHttp.onerror=handler 
return objXmlHttp
}
} 