function getSelect(att,str,idpro)
{
var url="cat_new.php"
url=url+"?a="+att+"&q="+str+"&idp="+idpro+"&change=1"
url=url+"&sid="+Math.random()
xmlhttpPost(url,"cart_div","cart_div")	
}
function xmlhttpPost(strURL,destination,content) {
  var xmlHttpReq = false;
  var self = this;
  waiter=0;
  // Mozilla/Safari
  if (window.XMLHttpRequest) {
      self.xmlHttpReq = new XMLHttpRequest();
  }
  // IE
  else if (window.ActiveXObject) {
      self.xmlHttpReq = new ActiveXObject("Microsoft.XMLHTTP");
  }
  self.xmlHttpReq.open('POST', strURL, false);
  self.xmlHttpReq.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  self.xmlHttpReq.send('content="'+content+'"');
  if (self.xmlHttpReq.status == 200) {
      if (destination == "transport")
      {
          ajax_transport=self.xmlHttpReq.responseText;
      }
      if (destination == "alert")
      {
          alert("xmlhttpPost "+destination+" "+content+self.xmlHttpReq.responseText);
      }
      if (destination != "alert" && destination != "transport")
      {
          //gamevertize_updatediv(destination,self.xmlHttpReq.responseText);
          document.getElementById("cart_div").innerHTML=self.xmlHttpReq.responseText 
      }
  }
}
