function ConSearch(XValue) {
	objMon0 = document.getElementById("searchrow0");
	objHead0 = document.getElementById("headsale");
	objMon1 = document.getElementById("searchrow1");
	objHead1 = document.getElementById("headrent");
	objMon2 = document.getElementById("searchrow2");
	objHead2 = document.getElementById("headland");
	objStd = document.getElementById("searchcontainer").style.display;
	if (XValue==0){
	 objMon0.style.display = objStd;
	 objMon1.style.display = 'none';
	 objMon2.style.display = 'none';
	 objHead0.style.color = '#FFFFFF';
	 objHead1.style.color = '#0099FF';
	 objHead2.style.color = '#0099FF';
	}
	if (XValue==1){
	 objMon0.style.display = 'none';
	 objMon1.style.display = objStd;
	 objMon2.style.display = 'none';
	 objHead0.style.color = '#0099FF';	 
	 objHead1.style.color = '#FFFFFF';	 
	 objHead2.style.color = '#0099FF';
	}
	if (XValue==2){
	 objMon0.style.display = 'none';
	 objMon1.style.display = 'none';
	 objMon2.style.display = objStd;
	 objHead0.style.color = '#0099FF';	 
	 objHead1.style.color = '#0099FF';	 
	 objHead2.style.color = '#FFFFFF';
	}
}
function ConRange(XValue) {
	objMon12 = document.getElementById("RentalMonthlyRange");
	objMon13 = document.getElementById("RentalDailyRange");
	objCM = document.getElementById("AMonthly")
	objCD = document.getElementById("ADaily")
	X1="MonthlyRange";

	//alert(XValue);
	if (XValue==X1){
	 objMon12.style.display = '';
	 objMon13.style.display = 'none';
	 objCM.style.textDecoration = 'none';
	 objCM.style.color = '#FFFFFF';
	 objCD.style.textDecoration = 'underline';
	 objCD.style.color = '#0099FF';
	}
	else{
     objMon13.style.display = '';
	 objMon12.style.display = 'none';
	 objCM.style.textDecoration = 'underline';
	 objCM.style.color = '#0099FF';
	 objCD.style.textDecoration = 'none';
	 objCD.style.color = '#FFFFFF';
	}
}
function ConRangeRadio(XValue) {
	objMon12 = document.getElementById("RentalMonthlyRange");
	objMon13 = document.getElementById("RentalDailyRange");
	objCM = document.getElementById("AMonthly")
	objCD = document.getElementById("ADaily")
	objSpanAll = document.getElementById("Xall")
	objSpanOne = document.getElementById("Xone")
	X1="MonthlyRate";
	X2="DailyRate";
	//alert(XValue);
	if (XValue==X1){
	 objMon12.style.display = '';
	 objMon13.style.display = 'none';
	 objCM.style.textDecoration = 'none';
	 objCM.style.fontWeight = "bold";
	 objCM.style.color = '#FFFFFF';
	 
	 objCD.style.textDecoration = 'underline';
	 objCD.style.fontWeight = 'normal';
	 objCD.style.color = '#0099FF';
	 objSpanOne.style.display = 'block';
	 objSpanAll.style.display = 'none';
	 objSpanOne.innerHTML= 'Long-Term'
	}
	else if (XValue==X2){
     objMon13.style.display = 'block';
	 objMon12.style.display = 'none';
	 objCD.style.textDecoration = 'none';
	 objCD.style.fontWeight = 'bold';
	 objCD.style.color = '#FFFFFF';
	 objCM.style.textDecoration = 'underline';
	 objCM.style.fontWeight = 'normal';
	 objCM.style.color = '#0099FF';
	 objSpanOne.style.display = 'block';
	 objSpanAll.style.display = 'none';
	 objSpanOne.innerHTML='Short-Term'
	}
	else{
     objMon12.style.display = 'block';
	 objMon13.style.display = 'none';
	 objCM.style.textDecoration = 'none';
	 objCM.style.fontWeight = "bold";
	 objCM.style.color = "#FFFFFF";
	 objCD.style.textDecoration = 'underline';
	 objCD.style.fontWeight = 'normal';
	 objCD.style.color = '#0099FF';	 
	 objSpanOne.style.display = 'none';
	 objSpanAll.style.display = '';
	}
}
function ConLocation(XValue,Choice) {
	objMonL = document.getElementById('PropertyLocation'+XValue);
	objMonO = document.getElementById('PropertyOrientation'+XValue);
	objAL = document.getElementById('ALocation'+XValue);
	objAR = document.getElementById('ARegion'+XValue);
	
	if (Choice == "Location"){
	 objMonL.style.display = '';
	 objMonO.style.display = 'none';
	 objAL.style.textDecoration = 'none';
	 objAL.style.color = '#FFFFFF';
	 objAR.style.textDecoration = 'underline';
	 objAR.style.color = '#0099FF';
	 objMonO.selectedIndex=0;
	}
	else{
     objMonO.style.display = '';
	 objMonL.style.display = 'none';
	 objAL.style.textDecoration = 'underline';
	 objAL.style.color = '#0099FF';
	 objAR.style.textDecoration = 'none';
	 objAR.style.color = '#FFFFFF';
	 objMonL.selectedIndex=0;
	}
}