var xmlHttp;


function showCat1(str2)
{ 

xmlHttp=GetXmlHttpObject();
if (xmlHttp==null)
 {
 alert ("Browser does not support HTTP Request");
 return;
 } 

var url="temptest.php";
url=url+"?cmb1="+str2;

xmlHttp.onreadystatechange=stateChanged1;
xmlHttp.open("GET",url,true);
xmlHttp.send(null);
}
function stateChanged1() 
{ 
if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete");
 { 
 	concatStr = xmlHttp.responseText;
	arrstr = concatStr.split("-");

	document.getElementById("txtver").innerHTML = arrstr[0];
	document.getElementById("txtver1").innerHTML = arrstr[1];
	
	
 } 
}

function showCat2(str2)
{ 

xmlHttp=GetXmlHttpObject();
if (xmlHttp==null)
 {
 alert ("Browser does not support HTTP Request");
 return;
 } 

var url="temptest.php";
url=url+"?cmb1="+str2;

xmlHttp.onreadystatechange=stateChanged2;
xmlHttp.open("GET",url,true);
xmlHttp.send(null);
}
function stateChanged2() 
{ 
if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete");
 { 
 	concatStr = xmlHttp.responseText;
	arrstr = concatStr.split("-");

	document.getElementById("txtver").innerHTML = arrstr[0];
	document.getElementById("txtver2").innerHTML = arrstr[1];
	
	
 } 
}
function showCat3(str2)
{ 

xmlHttp=GetXmlHttpObject();
if (xmlHttp==null)
 {
 alert ("Browser does not support HTTP Request");
 return;
 } 

var url="temptest.php";
url=url+"?cmb1="+str2;

xmlHttp.onreadystatechange=stateChanged3;
xmlHttp.open("GET",url,true);
xmlHttp.send(null);
}
function stateChanged3() 
{ 
if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete");
 { 
 	concatStr = xmlHttp.responseText;
	arrstr = concatStr.split("-");

	document.getElementById("txtver").innerHTML = arrstr[0];
	document.getElementById("txtver3").innerHTML = arrstr[1];
	
	
 } 
}

function showCat4(str2)
{ 

xmlHttp=GetXmlHttpObject();
if (xmlHttp==null)
 {
 alert ("Browser does not support HTTP Request");
 return;
 } 

var url="temptest.php";
url=url+"?cmb1="+str2;

xmlHttp.onreadystatechange=stateChanged4;
xmlHttp.open("GET",url,true);
xmlHttp.send(null);
}
function stateChanged4() 
{ 
if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete");
 { 
 	concatStr = xmlHttp.responseText;
	arrstr = concatStr.split("-");

	document.getElementById("txtver").innerHTML = arrstr[0];
	document.getElementById("txtver4").innerHTML = arrstr[1];
	
	
 } 
}

function showCat5(str2)
{ 

xmlHttp=GetXmlHttpObject();
if (xmlHttp==null)
 {
 alert ("Browser does not support HTTP Request");
 return;
 } 

var url="temptest.php";
url=url+"?cmb1="+str2;

xmlHttp.onreadystatechange=stateChanged5;
xmlHttp.open("GET",url,true);
xmlHttp.send(null);
}
function stateChanged5() 
{ 
if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete");
 { 
 	concatStr = xmlHttp.responseText;
	arrstr = concatStr.split("-");

	document.getElementById("txtver").innerHTML = arrstr[0];
	document.getElementById("txtver5").innerHTML = arrstr[1];
	
	
 } 
}






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;
}
