var xmlHttp = null;function createXMLHttpRequestObject(){    if(window.ActiveXObject)      {          xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");            }else if(window.XMLHttpRequest)                  {                      xmlHttp = new XMLHttpRequest();                        }}var flag_mess=0;function ajaxRequestSelectOrder(itemid){flag_mess=1;ajaxRequestSelectGood(itemid);window.location = "/wmshop/wmshopnew.nsf/SHOP_ext_basket"}function ajaxRequestSelectGood(itemid){	createXMLHttpRequestObject();	xmlHttp.onreadystatechange = handleResponse;	splitString = window.location.href.split(".nsf");	myString = splitString[0];	xmlHttp.open("POST","/wmshop/wmshopnew.nsf/SHOP_Agent_AJAX_Select_GOOD?OpenAgent&itemid="+itemid, true);	xmlHttp.send(null); }function handleResponse(){    if(xmlHttp.readyState == 4)      {      if(xmlHttp.status == 200)          {		myString = xmlHttp.responseText		if(myString.match (/body text/i)==null)			{       document.getElementById("indicator").style.display='block';id=window.setTimeout ("hideSelectInd();", 15000);/*	if(flag_mess=0){ 			alert(myString); } */		} else {			splitString = myString.split("<body text=\"#000000\">")			myString = splitString[1]			splitString = myString.split("</body>")       document.getElementById("indicator").style.display='block';		id=window.setTimeout ("hideSelectInd();", 15000);		} ajaxRequestcartinfo();  } // end if 200} //end if 4} // end functionfunction hideSelectInd(){       document.getElementById("indicator").style.display='none';}