function open_url(fragment_url, element_id) {   
     var element = document.getElementById(element_id); 
     var resp = "Loading ...";
     element.innerHTML = '<p><em>' + resp + '</em></p>';   

 	if (window.ActiveXObject) {
  		 xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
 	} else if (window.XMLHttpRequest) {
  		 xmlhttp = new XMLHttpRequest();
 	}

     	xmlhttp.open("GET", fragment_url);   
     	xmlhttp.onreadystatechange = function() {   
        
         if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {  
            if(xmlhttp.responseText != ""){
               if(xmlhttp.responseText.indexOf("OK|") != -1){
                  temp = xmlhttp.responseText.split("OK|")
                  temp2 = temp[1].split("~|~");
                  resp = "<b>Welcome " + temp2[0] + "!";
                  document.getElementById('lookup').style.display='none';
                  document.getElementById('order').style.display='block';
                  document.calform.on.setAttribute('readonly',true); ;
                  document.calform.emailFrom.setAttribute('readonly',true);
                  document.calform.name.value= temp2[0];
                  document.calform.phone.value= temp2[1];
                  document.calform.lon.value= temp2[2];
               } else resp = "<b style='color:red'>Wrong information</b>";
            } else resp = "<b style='color:red'>Wrong information</b>";  
         } 
       element.innerHTML = resp;
     }   
     
     xmlhttp.send(null);   
 }  



