function checkCheckBox(f){

if (f.agree.checked == false )

{

alert("Please accept our terms and conditions to continue");

return false;

}else

return true;

}