//alert(9);
var xmlHttp = false;

try {
  xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
  try {
    xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
  } catch (e2) {
    xmlHttp = false;
  }
}

if (!xmlHttp && typeof XMLHttpRequest != 'undefined') {
  xmlHttp = new XMLHttpRequest();
}
//alert(xmlHttp);
function callServer(url,method,vars) {
  //alert(url);
  //alert(method);
  xmlHttp.open(method, url, true);

  // Setup a function for the server to run when it's done
  xmlHttp.onreadystatechange = updatePage;
//alert(vars);
  // Send the request
  xmlHttp.send(vars);
}

function updatePage() {
  if (xmlHttp.readyState == 4) {
    var response = xmlHttp.responseText;
	//alert(response);
    //document.getElementById("zipCode").innerHTML =response;
    try{		
     eval(response);
       }catch(e){}
      opfun();
     }
  
}
/**/

