function validateform( )
{
		
	valid = true;

        if ( document.agreement_form.full_name.value =="")
        {
                alert ( "Please enter the Full Name of the Renter and then submit the form." );
				document.agreement_form.full_name.focus();
                return false;
				exit;
        }

        if ( document.agreement_form.numberofunits.value =="")
        {
                alert ( "Please enter the Number of Units you want to Rent and then submit the form." );
				document.agreement_form.numberofunits.focus();
                return false;
				exit;
        }

		if ( isNaN(document.agreement_form.numberofunits.value) ){
                alert ( "Please enter only a Number. No text is allowed in the Number of Units box." );
				document.agreement_form.numberofunits.focus();
                return false;
				exit;
		}

        if ( document.agreement_form.numberofhours.value =="")
        {
                alert ( "Please enter the Number of Hours you want to Rent and then submit the form." );
				document.agreement_form.numberofhours.focus();
                return false;
				exit;
        }

		if ( isNaN(document.agreement_form.numberofhours.value) ){
                alert ( "Please enter only a Number. No text is allowed in the Number of Hours box." );
				document.agreement_form.numberofhours.focus();
                return false;
				exit;
		}

        if ( document.agreement_form.renter_address.value =="")
        {
                alert ( "Please enter the Address and then submit the form." );
				document.agreement_form.renter_address.focus();
                return false;
				exit;
        }

        if ( document.agreement_form.renter_phone.value =="")
        {
                alert ( "Please enter the Phone number and then submit the form." );
				document.agreement_form.renter_phone.focus();
                return false;
				exit;
        }


        if ( document.agreement_form.acceptterms.checked==false)
        {
                alert ( "Please check the 'I accept all terms & Conditions' box and then submit the form." );
				document.agreement_form.acceptterms.focus();
                return false;
				exit;
        }
		
		ANTIQUE=document.agreement_form.ANTIQUE.checked;
		ELEGANT=document.agreement_form.ELEGANT.checked;
		CLASSIC=document.agreement_form.CLASSIC.checked;
		GIFTBOX=document.agreement_form.GIFTBOX.checked;
		OTHER=document.agreement_form.OTHER.checked;
		
		if(ANTIQUE == false && ELEGANT==false && CLASSIC==false && GIFTBOX==false && OTHER==false){
                alert ( "Please select a style and then submit the form.");
				document.agreement_form.ANTIQUE.focus();
                return false;
				exit;
		}
		
		if( OTHER==true){
			if(document.agreement_form.custom_description.value=="" ){
                alert ( "You selected OTHER style, please give us your custom description and then submit the form." );
				document.agreement_form.custom_description.focus();
                return false;
				exit;
			}
		}

        return valid;
}