// JavaScript Document
<!--HIDE FROM JACKED UP BROWSERS

function checkStep1(theform) {

if (theform.marketid.value=="0") {
theform.marketid.style.background="fff000";
alert ("You must choose a Market.");
theform.marketid.focus()
return (false);
}

if (theform.address1.value=="") {
theform.address1.style.background="fff000";
alert ("You must enter a value in the Address 1 field.");
theform.address1.focus()
return (false);
}

if (theform.state.value=="") {
theform.state.style.background="fff000";
alert ("You must enter a value in the State field.");
theform.state.focus()
return (false);
}

if (theform.landlord.value=="") {
theform.landlord.style.background="fff000";
alert ("You must enter a value in the Landlord Name field.");
theform.landlord.focus()
return (false);
}

if (theform.phone.value=="") {
theform.phone.style.background="fff000";
alert ("You must enter a value in the Main Phone field.");
theform.phone.focus()
return (false);
}

if (theform.email.value=="") {
theform.email.style.background="fff000";
alert ("You must enter a value in the Email field.");
theform.email.focus()
return (false);
}

if (theform.dtypeid.value=="0") {
theform.dtypeid.style.background="fff000";
alert ("You must choose a Property Type.");
theform.dtypeid.focus()
return (false);
}


return (true);
}


-->