
function change(){

if (document.form2.checkbox.checked){

return true;

}
else{
alert("Please read  our 'Term and conditions' before joining. If you accept then please check the checkbox below and click the 'Join' button.");
return false;

}


}

function change2(){

var city=document.form1.city.value;
var postal=document.form1.postal.value;
var desc=document.form1.desc.value;
var contact=document.form1.contact.value;


//	alert("You missed one of the required fields . Fields marked with red * are required. !");
	

city = city.replace(/^[\s]+/g,"");
city = city.replace(/[\s]+$/g,"");

postal = postal.replace(/^[\s]+/g,"");
postal = postal.replace(/[\s]+$/g,"");

desc = desc.replace(/^[\s]+/g,"");
desc = desc.replace(/[\s]+$/g,"");

contact = contact.replace(/^[\s]+/g,"");
contact = contact.replace(/[\s]+$/g,"");

if( city == "" || desc == "" || contact == "")
	{
		alert("You missed one of the required fields . Fields marked with red * are required. !");
		return false;
	}
	else
	{
		return true;
	}	 

}

function printpage(){

window.print();

}
