function checkrequired(which) {
var pass=true;
if (document.images) {
for (i=0;i<which.length;i++) {
var tempobj=which.elements[i];
if (tempobj.name.substring(0,8)=="required") {
if (((tempobj.type=="text"||tempobj.type=="textarea")&&
tempobj.value=='')||(tempobj.type.toString().charAt(0)=="s"&&
tempobj.selectedIndex==0)) {
pass=false;
break;
         }
      }
   }
}
if (!pass) {
shortFieldName=tempobj.name.substring(8,30).toUpperCase();
alert("Please make sure the "+shortFieldName+" field was properly completed.");
return false;
}
else
return true;
}



function load_images() 
{
var residentialListings = new Image();
residentialListings.src = '../images/navigation/residentialListingsLit.gif';
var residentialSecLit = new Image();
residentialSecLit.src = '../images/navigation/residentialSecLit.gif';
var commercialListingsLit = new Image();
commercialListingsLit.src = '../images/navigation/commercialListingsLit.gif';
var commercialSecLit = new Image();
commercialSecLit.src = '../images/navigation/commercialSecLit.gif';
}

function Openme(newin) 
{
	flyout=window.open(newin,"flyout","resizable=yes,scrollbars=yes,width=250,height=350,top=50,left=50,toolbar=no,status=no,menubar=no")
}
