function validate(form) { 

if(!document.form1.agree.checked){alert("Please check the box to confirm that you have read and agree to the terms and conditions."); 
return false; } 

return true;
}

function checkCheckBox(f){
if (f.agree.checked == false )
{
alert('Please check the box to confirm that you have read and agree to the terms and conditions.');
return false;
}else
return true;
}


