
<!-- 
// Get the HTTP Object
function getHTTPconObject(){
   if (window.ActiveXObject) return new ActiveXObject("Microsoft.XMLHTTP");
   else if (window.XMLHttpRequest) return new XMLHttpRequest();
   else {
      alert("Your browser does not support AJAX.");
      return null;
   }
}   
 
// Change the value of the outputText field
function reload_shrt_term(){

if(httpObject.readyState<4)
{
	document.getElementById('short_term_properties').innerHTML = " Loading...";
	//window.scroll(0,530);
}
    if(httpObject.readyState == 4){
		//alert( httpObject.responseText);
        //document.getElementById('middle_').value = httpObject.responseText;
		
		document.getElementById('short_term_properties').innerHTML = httpObject.responseText;
		
		//window.scroll(0,530);
    }
 
}
 
// Implement business logic    
function short_term_fn(pgval){    
//alert("short property");

    httpObject = getHTTPconObject();
    if (httpObject != null) {

//alert(document.getElementById('lst_religion').value);

	var snd_cont= "home_short_term.php?nw=";
	snd_cont+=pgval;

		
		
	//alert(snd_cont);
	//alert(document.getElementById('inputText').value);
   	 httpObject.open("GET",snd_cont, true);
	//httpObject.open("GET", "searchresult.php?ax_br_grom="+document.getElementById('lst_srch_br_gr').value, true);		
   	 httpObject.send(null); 
   	 httpObject.onreadystatechange = reload_shrt_term;
    }
}
 
var httpObject = null;



 


//-->

