var xmlHttp;function executerequest(url)
{xmlHttp=GetXmlHttpObject();if(xmlHttp==null)
{alert("Your browser does not support AJAX!");return;}
xmlHttp.onreadystatechange=stateChanged;xmlHttp.open("GET",url,true);xmlHttp.send(null);}
function executerequestproduct(url)
{xmlHttp=GetXmlHttpObject();if(xmlHttp==null)
{alert("Your browser does not support AJAX!");return;}
xmlHttp.onreadystatechange=compproduct;xmlHttp.open("GET",url,true);xmlHttp.send(null);}
function GetXmlHttpObject()
{var xmlHttp=null;try
{xmlHttp=new XMLHttpRequest();}
catch(e)
{try
{xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");}
catch(e)
{xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");}}
return xmlHttp;}
function executerequestCat(url)
{xmlHttp=GetXmlHttpObject();if(xmlHttp==null)
{alert("Your browser does not support AJAX!");return;}
xmlHttp.onreadystatechange=stateChangedCat;xmlHttp.open("GET",url,true);xmlHttp.send(null);}
function executerequestCat1(url)
{xmlHttp=GetXmlHttpObject();if(xmlHttp==null)
{alert("Your browser does not support AJAX!");return;}
xmlHttp.onreadystatechange=stateChangedCat1;xmlHttp.open("GET",url,true);xmlHttp.send(null);}
function executerequestEmail(url)
{xmlHttp=GetXmlHttpObject();if(xmlHttp==null)
{alert("Your browser does not support AJAX!");return;}
xmlHttp.onreadystatechange=stateChangedEmail;xmlHttp.open("GET",url,true);xmlHttp.send(null);}
function executerequestId(url)
{xmlHttp=GetXmlHttpObject();if(xmlHttp==null)
{alert("Your browser does not support AJAX!");return;}
xmlHttp.onreadystatechange=stateChangedId;xmlHttp.open("GET",url,true);xmlHttp.send(null);}
function executerequestproductcheck(url)
{xmlHttp=GetXmlHttpObject();if(xmlHttp==null)
{alert("Your browser does not support AJAX!");return;}
xmlHttp.onreadystatechange=productCheck;xmlHttp.open("GET",url,true);xmlHttp.send(null);}
function executerequestproductcheck1(url)
{xmlHttp=GetXmlHttpObject();if(xmlHttp==null)
{alert("Your browser does not support AJAX!");return;}
xmlHttp.onreadystatechange=productCheck1;xmlHttp.open("GET",url,true);xmlHttp.send(null);}
function LTrim(value)
{var re=/\s*((\S+\s*)*)/;return value.replace(re,"$1");}
function RTrim(value)
{var re=/((\s*\S+)*)\s*/;return value.replace(re,"$1");}
function trim(value)
{return LTrim(RTrim(value));}
