function ajaxgoto(url,poststr)
{
	var xmlHttp;
	   if(window.XMLHttpRequest){ 
		  xmlHttp = new XMLHttpRequest();
		  if(xmlHttp.overrideMimeType){ 
			xmlHttp.overrideMimeType("text/xml");
		  }
	   }else if(window.ActiveXObject){  
		   try{
			 xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
		   }catch(e){
			 try{
				xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
			 }catch(e){}
		   }
	   }
	   if(!xmlHttp){
		alert("Can't create an XMLHTTP instance'");
	   }
	xmlHttp.open("POST",url,true);
	xmlHttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
	xmlHttp.onreadystatechange = function(){
	if(xmlHttp.readyState == 4)
	{
		if (xmlHttp.status == 200)
		{
			ajaxgotonum("/ajaxshop.asp","act=items");
			ajaxgotoprice("/ajaxshop.asp","act=price");
		}
	}
};
	xmlHttp.send(poststr);
}
function ajaxgotonum(url,poststr)
{
	var xmlHttpnum;
	   if(window.XMLHttpRequest){ 
		  xmlHttpnum = new XMLHttpRequest();
		  if(xmlHttpnum.overrideMimeType){ 
			xmlHttpnum.overrideMimeType("text/xml");
		  }
	   }else if(window.ActiveXObject){  
		   try{
			 xmlHttpnum = new ActiveXObject("Msxml2.XMLHTTP");
		   }catch(e){
			 try{
				xmlHttpnum = new ActiveXObject("Microsoft.XMLHTTP");
			 }catch(e){}
		   }
	   }
	   if(!xmlHttpnum){
		alert("Can't create an XMLHTTP instance'");
	   }
	xmlHttpnum.open("POST",url,true);
	xmlHttpnum.setRequestHeader("Content-Type","application/x-www-form-urlencoded"); 
	xmlHttpnum.onreadystatechange = function(){
	if(xmlHttpnum.readyState == 4)
	{
		if (xmlHttpnum.status == 200)
		{
			document.getElementById("shoppingcarnum1").innerHTML=xmlHttpnum.responseText;
		}
	}
};
	xmlHttpnum.send(poststr);
}
function ajaxgotoprice(url,poststr)
{
	var xmlHttpprice;
	   if(window.XMLHttpRequest){ 
		  xmlHttpprice = new XMLHttpRequest();
		  if(xmlHttpprice.overrideMimeType){ 
			xmlHttpprice.overrideMimeType("text/xml");
		  }
	   }else if(window.ActiveXObject){  
		   try{
			 xmlHttpprice = new ActiveXObject("Msxml2.XMLHTTP");
		   }catch(e){
			 try{
				xmlHttpprice = new ActiveXObject("Microsoft.XMLHTTP");
			 }catch(e){}
		   }
	   }
	   if(!xmlHttpprice){
		alert("Can't create an XMLHTTP instance'");
	   }
	xmlHttpprice.open("POST",url,true);
	xmlHttpprice.setRequestHeader("Content-Type","application/x-www-form-urlencoded"); 
	xmlHttpprice.onreadystatechange = function(){
	if(xmlHttpprice.readyState == 4)
	{
		if (xmlHttpprice.status == 200)
		{
			document.getElementById("shoppingcarprice").innerHTML=xmlHttpprice.responseText;	
		}
	}
};
	xmlHttpprice.send(poststr);
}

