<!--
function showChange(rent,price){
if (document.form1.rentORprice.value ==rent){
	document.form1.rentORprice.value = price;
	}
else{
	
	document.form1.rentORprice.value = rent;
	}
}

function fn_showChange(id, class1, class2){
//get the id of the element you wish to change
	identity=document.getElementById(id);
	searchType = document.getElementById('searchType');
	//alert(identity);
	//check what the current class is and swap it for the alternate class
	if(searchType.value==1){
		className=class2;
	}else{
		className=class1;
	};

	identity.className=className;
}

function fn_changeClass(id, class1, class2){
//get the id of the element you wish to change
	identity=document.getElementById(id);
	//alert(identity);
	//check what the current class is and swap it for the alternate class
	if(identity.className==class1){
		className=class2;
	}else{
		className=class1;
	};

	identity.className=className;
}

function changeAdvSearch(){
searchType=document.getElementById('searchType').value;
if (searchType == '1' )
{
window.location.href='advancedSearch.asp?adv=1';
} 
else
{
window.location.href='advancedSearch.asp?adv=2';
}
}

function changeReg(){
searchType=document.getElementById('searchType').value;

window.location.href='Registration.asp?type='+searchType;

}
//-->


