function checkForm(form){
	if(document.form.name.value == "" || document.form.family.value == "" ||  
		document.form.address.value == ""  || document.form.mail.value == "" || 
		document.form.draft.value == "" ){
		window.alert("Please Fill All Box, Try again!");
		return false;
	} 
	if(document.form.mail.value != ""){
		path = /^([a-zA-Z0-9])+([\.a-zA-Z0-9_-])*@([a-zA-Z0-9])+(\.[a-zA-Z0-9_-]+)+$/;
		if(!path.test(document.form.mail.value)){
			window.alert("Please Enter Valid E - Mail, It's very important for Subscription!!!");
			return false;
		}
	}
	return true;
}
function checkSubmission(form){
	if(document.subform.name.value == "" || document.subform.family.value == "" || document.subform.title.value == ""){
		window.alert("Please Fill All Box, Try again!");
		return false;
	} 
//	if(document.subform.mail.value != ""){
		path = /^([a-zA-Z0-9])+([\.a-zA-Z0-9_-])*@([a-zA-Z0-9])+(\.[a-zA-Z0-9_-]+)+$/;
		if(!path.test(document.subform.mail.value)){
			window.alert("Please Enter Valid E - Mail, It's very important for Submission!!!");
			return false;
		}
//	}
	return true;
}




function checkMail(fm){ 
	if(document.fm.mail.value != ""){
		path = /^([a-zA-Z0-9])+([\.a-zA-Z0-9_-])*@([a-zA-Z0-9])+(\.[a-zA-Z0-9_-]+)+$/;
		if(!path.test(document.fm.mail.value)){
			window.alert("Please Enter Valid E - Mail !");
			return false;
		}	
	}
	return true;
}

function linkPage(message, link){
	if(confirm (message)){
		location = link;		
	}
}
function linkForm(message){
	if(confirm (message)){
		return true;
	}
	return false;
}