function implement_ajax(query1,script_file,result_id){
	
var page = query1;
var xmlhttp=false; //Clear our fetching variable
       try {    xmlhttp = new ActiveXObject('Msxml2.XMLHTTP'); //Try the first kind of active x object…
   } catch (e) {
                try {
                      xmlhttp = new
                       ActiveXObject('Microsoft.XMLHTTP'); //Try the secon1d kind of active x object
        } catch (E) {
              xmlhttp = false;

                        }
       }
      if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
              xmlhttp = new XMLHttpRequest(); //If we were able to get a working active x object, start an XMLHttpRequest
       }
      	//This is the path to the file we just finished making *
   var file = script_file+'?page='; 
  
	xmlhttp.open('GET', file + page, true); //Open the file through GET, and add the page we want to retrieve as a GET variable **
  xmlhttp.onreadystatechange=function() {
	  if (xmlhttp.readyState==1) { 
	   document.getElementById(result_id).innerHTML = "<img src='../images/loading.gif' align=\"top\" >";
	   }
	  
      if (xmlhttp.readyState==4) { //Check if it is ready to recieve data
             var con1 = xmlhttp.responseText; //The con1 data which has been retrieved ***
            if( con1 ){ //Make sure there is something in the con1 variable
					var con1Demo="<select name='description' class='fieldform'><option readonly>Choose Description</option></select>";
				document.getElementById( result_id).innerHTML = con1; 
					//Change the inner con1 of your div to the newly retrieved con1 ****
                }
        }
        }
       xmlhttp.send(null) //Nullify the XMLHttpRequest

return false;

}

