<!--
function changeimage(towhat,url){
if (document.images){
document.images.targetimage.src=towhat.src
gotolink=url
}
}
function warp(){
window.location=gotolink
}
// -->

<!--

var myimages=new Array()
var gotolink="#"

function preloadimages(){
for (i=0;i<preloadimages.arguments.length;i++){
myimages[i]=new Image()
myimages[i].src=preloadimages.arguments[i]
}
}

preloadimages("images/a-one-bed-apartment.jpg","images/a-two-bed-apartment.jpg","images/a-townhouse.jpg","images/a-patio-home.jpg","images/a-luxury-garden-apartment.jpg","images/a-luxury-villa.jpg","images/a-bay-house-cottage.jpg","images/a-luxury-townhouse.jpg")

function FP_swapImg() {//v1.0
 var doc=document,args=arguments,elm,n; doc.$imgSwaps=new Array(); for(n=2; n<args.length;
 n+=2) { elm=FP_getObjectByID(args[n]); if(elm) { doc.$imgSwaps[doc.$imgSwaps.length]=elm;
 elm.$src=elm.src; elm.src=args[n+1]; } }
}

function FP_preloadImgs() {//v1.0
 var d=document,a=arguments; if(!d.FP_imgs) d.FP_imgs=new Array();
 for(var i=0; i<a.length; i++) { d.FP_imgs[i]=new Image; d.FP_imgs[i].src=a[i]; }
}

function FP_getObjectByID(id,o) {//v1.0
 var c,el,els,f,m,n; if(!o)o=document; if(o.getElementById) el=o.getElementById(id);
 else if(o.layers) c=o.layers; else if(o.all) el=o.all[id]; if(el) return el;
 if(o.id==id || o.name==id) return o; if(o.childNodes) c=o.childNodes; if(c)
 for(n=0; n<c.length; n++) { el=FP_getObjectByID(id,c[n]); if(el) return el; }
 f=o.forms; if(f) for(n=0; n<f.length; n++) { els=f[n].elements;
 for(m=0; m<els.length; m++){ el=FP_getObjectByID(id,els[n]); if(el) return el; } }
 return null;
}
// -->

<!--
function captureDate(index)
		{		
		document.detailPropSearch.txtDateHolder.value = document.detailPropSearch.txtCheckInDate.options[index].value
		} 
function buildCheckInDate(day){
if ((document.array.whatPage.value != '') && (document.detailPropSearch.thePage.value = 'advSearch')){
		if (day == "6"){
		document.array.dateSelected.value = 'friday'		
			document.detailPropSearch.txtCheckInDate.options.length = checkInDateArray0.length;
			for ( i = 0; i < checkInDateArray0.length; i++){
				if ((i == 0) && (document.array.theDate.value == '')){
					document.detailPropSearch.txtCheckInDate.options[i] = new Option(checkInDateArray0[i], checkInDateArray0[i], true, true);
				}
				else if(document.array.theDate.value == checkInDateArray0[i]){
					document.detailPropSearch.txtCheckInDate.options[i] = new Option(checkInDateArray0[i], checkInDateArray0[i], true, true);
				}
				else {
					document.detailPropSearch.txtCheckInDate.options[i] = new Option(checkInDateArray0[i], checkInDateArray0[i]);
				}		
			}
			document.detailPropSearch.txtDateHolder.value = document.detailPropSearch.txtCheckInDate.options[0].value
		}		
		else if (day == "7"){
		document.array.dateSelected.value = 'saturday'		
			document.detailPropSearch.txtCheckInDate.options.length = checkInDateArray1.length;
			for ( i = 0; i < checkInDateArray1.length; i++){
				if ((i == 0) && (document.array.theDate.value == '')){
					document.detailPropSearch.txtCheckInDate.options[i] = new Option(checkInDateArray1[i], checkInDateArray1[i], true, true);
				}
				else if(document.array.theDate.value == checkInDateArray1[i]){
					document.detailPropSearch.txtCheckInDate.options[i] = new Option(checkInDateArray1[i], checkInDateArray1[i], true, true);
				}				
				else {
					document.detailPropSearch.txtCheckInDate.options[i] = new Option(checkInDateArray1[i], checkInDateArray1[i]);
				}		
			}
			document.detailPropSearch.txtDateHolder.value = document.detailPropSearch.txtCheckInDate.options[0].value
		}
		else if (day == "1"){
		document.array.dateSelected.value = 'sunday'
			document.detailPropSearch.txtCheckInDate.options.length = checkInDateArray2.length;
			for ( i = 0; i < checkInDateArray2.length; i++){
				if ((i == 0) && (document.array.theDate.value == '')){
					document.detailPropSearch.txtCheckInDate.options[i] = new Option(checkInDateArray2[i], checkInDateArray2[i], true, true);
				}
				else if(document.array.theDate.value == checkInDateArray2[i]){
					document.detailPropSearch.txtCheckInDate.options[i] = new Option(checkInDateArray2[i], checkInDateArray2[i], true, true);
				}				
				else {
					document.detailPropSearch.txtCheckInDate.options[i] = new Option(checkInDateArray2[i], checkInDateArray2[i]);
				}
			}
			document.detailPropSearch.txtDateHolder.value = document.detailPropSearch.txtCheckInDate.options[0].value
		}
		else {
			document.array.dateSelected.value = 'none'
			document.detailPropSearch.txtCheckInDate.options.length = 1;
			document.detailPropSearch.txtCheckInDate.options[0] = new Option("Select a Date","01/01/1980", true, true);
			document.detailPropSearch.txtDateHolder.value = "01/01/1980";
		}
	}
}
// -->
<!--
	function __doPostBack(eventTarget, eventArgument) {
		var theform;
		if (window.navigator.appName.toLowerCase().indexOf("microsoft") > -1) {
			theform = document.detailPropSearch;
		}
		else {
			theform = document.forms["detailPropSearch"];
		}
		theform.__EVENTTARGET.value = eventTarget.split("$").join(":");
		theform.__EVENTARGUMENT.value = eventArgument;
		theform.submit();
	}
// -->