        function checkformB(thisform) {
        if (thisform.email.value == null || thisform.email.value == "" ) {
                alert ("Please enter your Email address");
                thisform.email.focus () ;
                thisform.email.select () ;
                return false;
        }
        if (thisform.fname.value == null || thisform.fname.value == "" ) {
                alert ("Please enter your first name");
                thisform.fname.focus () ;
                thisform.fname.select () ;
                return false;
        }
        if (thisform.lname.value == null || thisform.lname.value == "" ) {
                alert ("Please enter your last name");
                thisform.lname.focus () ;
                thisform.lname.select () ;
                return false;
        }
        if (thisform.phone.value == null || thisform.phone.value == "" ) {
                alert ("Please enter your Phone number");
                thisform.phone.focus () ;
                thisform.phone.select () ;
                return false;
        }
        return true
        }

        function checkfFields(thisform, theact){
        var theact = theact;


	if (thisform.email.value == null || thisform.email.value == "" ) {
                alert ("Please enter your Email address");
                thisform.email.focus () ;
                thisform.email.select () ;
                return false;
        }
        if (thisform.fname.value == null || thisform.fname.value == "" ) {
                alert ("Please enter your first name");
                thisform.fname.focus () ;
                thisform.fname.select () ;
                return false;
        }
        if (thisform.lname.value == null || thisform.lname.value == "" ) {
                alert ("Please enter your last name");
                thisform.lname.focus () ;
                thisform.lname.select () ;
                return false;
        }
        if (thisform.phone.value == null || thisform.phone.value == "" ) {
                alert ("Please enter your Phone number");
                thisform.phone.focus () ;
                thisform.phone.select () ;
                return false;
        }
	if (thisform.working_w_realtor != null && (thisform.working_w_realtor.value == null || thisform.working_w_realtor.value == "" )) {
                alert ("Please specify whether or not you are in contract with a licensed Realtor.");
                thisform.working_w_realtor.focus () ;
                return false;
        }
	if (thisform.working_w_realtor != null && thisform.working_w_realtor_confirmed != null && (thisform.working_w_realtor.value == "yes" && thisform.working_w_realtor_confirmed.value == "")) {
		alert ("Please specify whether or not your current Realtor will be presenting your purchase offer.");
                thisform.working_w_realtor_confirmed.focus () ;
                return false;
	}


        thisform.action=theact;
        return true
        }

