<!-- Begin
function selectJump(whichForm) {

	var brValue = whichForm.buyorrent.value;
	var ptValue = whichForm.sear_ptyp.selectedIndex - 1;
	internal_link();
	
	if ( typeof calledfromroot != "undefined" && calledfromroot != null && calledfromroot == true  )
	{
		//alert(1);
		//alert(ptValue);
		if ( ptValue == 6 )
		{
			document.location.href = "premier/";
			return;
		}
		if ( ptValue == 7 )
		{
			document.location.href = "marina/";
			return;
		}
		if ( ptValue == 8 )
		{
			document.location.href = "featured/";
			return;
		}
		if ( ptValue == 9 )
		{
			document.location.href = "topdeals/";
			return;
		}
		if ( ptValue == 10 )
		{
			document.location.href = "featured_rental/";
			return;
		}		
		
	    document.location.href = "search/index-" + brValue + "-" + ptValue + ".html";
    }
    else
    {
	    //alert(2);
	    //alert(ptValue);
	    
		if ( ptValue == 6 )
		{
			document.location.href = "../premier/";
			return;
		}
		if ( ptValue == 7 )
		{
			document.location.href = "../marina/";
			return;
		}
		if ( ptValue == 8 )
		{
			document.location.href = "../featured/";
			return;
		}
		if ( ptValue == 9 )
		{
			document.location.href = "../topdeals/";
			return;
		}
		if ( ptValue == 10 )
		{
			document.location.href = "../featured_rental/";
			return;
		}			    
	    
	  document.location.href = "../search/index-" + brValue + "-" + ptValue + ".html";
    }
	//this[this.selectedIndex].value
}
function selectSubmit(whichForm) {
	if (whichForm.sear_ptyp.selectedIndex == 0) {
		alert("Please select a property type");
		return false;
	} else {
		selectJump(whichForm);
		return true;
	}
}
//  End -->
