// JavaScript Document
function GetXmlHttpObject(handler)
{
var objXMLHttp=null
if (window.XMLHttpRequest)
{
objXMLHttp=new XMLHttpRequest()
}
else if (window.ActiveXObject)
{
objXMLHttp=new ActiveXObject("Microsoft.XMLHTTP")
}
return objXMLHttp
}


function ShippingData(url,qstring,div)
{
if (url.length==0)
{
document.getElementById(div).innerHTML="";
return;
}
xmlHttp=GetXmlHttpObject()
if (xmlHttp==null)
{
alert ("Browser does not support HTTP Request");
return;
}

xmlHttp.onreadystatechange = function()
{
		if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
		{ 
			document.getElementById(div).innerHTML=xmlHttp.responseText;
		}
		else
		{ 
			document.getElementById(div).innerHTML="<img src='/images/loading.gif' border=0>";
		}
}
if(qstring!='')
url=url+qstring;
xmlHttp.open("GET",url,true) ;
xmlHttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded;charset=ISO-8859-1");
xmlHttp.send(null);
}

function htmlData(url,qstring,div)
{
if (url.length==0)
{
document.getElementById(div).innerHTML="";
return;
}

xmlHttp=GetXmlHttpObject()
if (xmlHttp==null)
{
alert ("Browser does not support HTTP Request");
return;
}

xmlHttp.onreadystatechange = function()
{
		if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
		{ 
			document.getElementById(div).innerHTML=xmlHttp.responseText;			
		}
		else
		{ 
			document.getElementById(div).innerHTML="<img src='/images/loading.gif' border=0>";
		}
}
if(qstring!='')
url=url+qstring;
xmlHttp.open("GET",url,true) ;
xmlHttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded;charset=ISO-8859-1");
xmlHttp.send(null);
}


function htmlData2(url,qstring,div)
{
if (url.length==0)
{
document.getElementById(div).innerHTML="";
return;
}
xmlHttp2=GetXmlHttpObject()
if (xmlHttp2==null)
{
alert ("Browser does not support HTTP Request");
return;
}
xmlHttp2.onreadystatechange = function()
{
		if (xmlHttp2.readyState==4 || xmlHttp2.readyState=="complete")
		{ 
			document.getElementById(div).innerHTML=xmlHttp2.responseText;
		}
		else
		{ 
			document.getElementById(div).innerHTML="<img src='/images/loading.gif' border=0>";
		}
}

if(qstring!='')
url=url+"&"+qstring;
xmlHttp2.open("POST",url,true) ;
xmlHttp2.setRequestHeader("Content-Type","application/x-www-form-urlencoded;charset=ISO-8859-1");
xmlHttp2.send(null);
}

function htmlDataReview(url,qstring,div)
{
if (url.length==0)
{
document.getElementById(div).innerHTML="";
return;
}

xmlHttpRev=GetXmlHttpObject()
if (xmlHttpRev==null)
{
alert ("Browser does not support HTTP Request");
return;
}

xmlHttpRev.onreadystatechange = function()
{
		if (xmlHttpRev.readyState==4 || xmlHttpRev.readyState=="complete")
		{ 
			document.getElementById(div).innerHTML=xmlHttpRev.responseText;
			
		}
		else
		{ 
			document.getElementById(div).innerHTML="<img src='/images/loading.gif' align='absmiddle'  border=0>";
		}
}
if(qstring!='')
url=url+qstring;
xmlHttpRev.open("GET",url,true) ;
xmlHttpRev.setRequestHeader("Content-Type","application/x-www-form-urlencoded;charset=ISO-8859-1");
xmlHttpRev.send(null);
}
   