var xmlHttp;

function featuredPropertySilver(offset,action)
{
document.getElementById("popup-holder").style.display="block";
document.getElementById("overlay").style.display="block";
xmlHttp=GetXmlHttpObject()

if (xmlHttp==null)
 {
 alert ("Browser does not support HTTP Request")
 return
 }
var url="featured_property_silver.php"
url=url+"?offset="+offset
url=url+"&action="+action
if (document.featured_property_silver){
	for(i=0; i<document.featured_property_silver.elements.length; i++){
		url=url+"&"+document.featured_property_silver.elements[i].name+"="+document.featured_property_silver.elements[i].value;	
	}
}
url=url+"&sid="+Math.random()
xmlHttp.onreadystatechange=stateChanged
xmlHttp.open("GET",url,true)
xmlHttp.send(null)
}

function stateChanged()
{
if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
 {
 document.getElementById("popup-holder").innerHTML=xmlHttp.responseText
 }
}

