<!--
function Validate_ContactForm()
{
	if (document.form.strContactPerson.value.length == 0){
		alert('You must enter A CONTACT PERSON to continue.');
		document.form.strContactPerson.style.background = "#FF0000";
		document.form.strContactPerson.focus();
		return(false);
	}
		if (document.form.strPropertyName.value.length == 0){
		alert('You must enter A PROPERTY NAME to continue.');
		document.form.strPropertyName.style.background = "#FF0000";
		document.form.strPropertyName.focus();
		return(false);
	}
	if (document.form.strPhoneNumber.value.length == 0){
		alert('You must enter A PHONE NUMBER to continue.');
		document.form.strPhoneNumber.style.background = "#FF0000";
		document.form.strPhoneNumber.focus();
		return(false);
	}
	if (document.form.strEmailAddress.value.length == 0){
		alert('You must enter AN E-MAIL ADDRESS to continue.');
		document.form.strEmailAddress.style.background = "#FF0000";
		document.form.strEmailAddress.focus();
		return(false);
	}
	if (document.form.managementCompany.value.length == 0){
		alert('You must enter YOUR MANAGEMENT COMPANY to continue.');
		document.form.managementCompany.style.background = "#FF0000";
		document.form.managementCompany.focus();
		return(false);
	}
	
	return (true);
} 

function Validate_PropertyChck()
{
	if (document.formprp.visitorsName.value.length == 0){
		alert('You must enter YOUR FIRST AND LAST NAME to continue.');
		document.formprp.visitorsName.style.background = "#FF0000";
		document.formprp.visitorsName.focus();
		return(false);
	}
	if (document.formprp.visitorsEmail.value.length == 0 || document.formprp.visitorsEmail.value.indexOf(".") == -1 || document.formprp.visitorsEmail.value.indexOf("@") == -1)
	{
		alert('You must enter YOUR E-MAIL ADDRESS containing "@" and "." to continue.');
		document.formprp.visitorsEmail.style.background = "#FF0000";
		document.formprp.visitorsEmail.focus();
		return(false);
	}
	
	if (document.formprp.visitorsPropertyName.value.length == 0){
		alert('You must enter YOUR PROPERTY NAME to continue.');
		document.formprp.visitorsPropertyName.style.background = "#FF0000";
		document.formprp.visitorsPropertyName.focus();
		return(false);
	}
	if (document.formprp.visitorsAddress.value.length == 0){
		alert('You must enter YOUR PROPERTY ADDRESS to continue.');
		document.formprp.visitorsName.style.background = "#FF0000";
		document.formprp.visitorsAddress.focus();
		return(false);
	}
		if (document.formprp.visitorsCity.value.length == 0){
		alert('You must enter YOUR PROPERTY CITY to continue.');
		document.formprp.visitorsName.style.background = "#FF0000";
		document.formprp.visitorsCity.focus();
		return(false);
	}
	return (true);
} 

var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){

	if(pos=="random"){
		LeftPosition=(screen.width)?Math.floor(Math.random(), ((screen.width-w)-75)):100;
		TopPosition=(screen.height)?Math.floor(Math.random(), ((screen.height-h)-75)):100;}
	if(pos=="center"){
		LeftPosition=(screen.width)?(screen.width-w)/2:100;
		TopPosition=(screen.height)?(screen.height-h)/2:100;}
	else if((pos!="center" && pos!="random") || pos==null){
		LeftPosition=0;
		TopPosition=20}

	settings='height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable';
	win=window.open(mypage,myname,settings);
	if(win.focus){win.focus();}}

//-->







































