function validateOrder(FrmSubmit)
{
////////////////////// start validation the question ////////////////////////
		if(document.forms.FrmSubmit.Question_1.value=="0")
		{
				if(document.forms.FrmSubmit.comment_1.value.length < 10)
				{
					alert("Please Specify and write more three word !");
					document.forms.FrmSubmit.comment_1.focus();
					//document.forms.FrmSubmit.comment_1.select();
					return false;
				}
				
		}
		
		if(document.forms.FrmSubmit.Question_2.value=="0")
		{
				if(document.forms.FrmSubmit.comment_2.value.length < 10)
				{
						alert("Please Specify and write more three words !");
						document.forms.FrmSubmit.comment_2.focus();
						//document.forms.FrmSubmit.comment_2.select();
				return false;
				}
		}
		
		if(document.forms.FrmSubmit.Question_3.value=="0"){
				if(document.forms.FrmSubmit.comment_3.value.length < 10){
						alert("Please Specify and write more three words !");
						document.forms.FrmSubmit.comment_3.focus();
						//document.forms.FrmSubmit.comment_3.select();
				return false;}
		}
		
		if(document.forms.FrmSubmit.Question_4.value=="0"){
				if(document.forms.FrmSubmit.comment_4.value.length < 10){
						alert("Please Specify and write more three words !");
						document.forms.FrmSubmit.comment_4.focus();
						//document.forms.FrmSubmit.comment_4.select();
				return false;}
		}
		
		if(document.forms.FrmSubmit.Question_5.value=="0"){
				if(document.forms.FrmSubmit.comment_5.value.length < 10){
						alert("Please Specify and write more three words !");
						document.forms.FrmSubmit.comment_5.focus();
						//document.forms.FrmSubmit.comment_5.select();
				return false;}
		}
		
		if(document.forms.FrmSubmit.Question_6.value=="0"){
				if(document.forms.FrmSubmit.comment_6.value.length < 10){
						alert("Please Specify and write more three words !");
						document.forms.FrmSubmit.comment_6.focus();
						//document.forms.FrmSubmit.comment_6.select();
				return false;}
		}
		
		if(document.forms.FrmSubmit.Question_7.value=="0"){
				if(document.forms.FrmSubmit.comment_7.value.length < 10){
						alert("Please Specify and write more three word !");
						document.forms.FrmSubmit.comment_7.focus();
						//document.forms.FrmSubmit.comment_7.select();
				return false;}
		}
		
		if(document.forms.FrmSubmit.Question_8.value=="0"){
				if(document.forms.FrmSubmit.comment_8.value.length < 10){
						alert("Please Specify and write more three word !");
						document.forms.FrmSubmit.comment_8.focus();
						//document.forms.FrmSubmit.comment_8.select();
				return false;}
		}

}

function validation(frmsubmit)
{
	var reEmail = /^[-\w\d\.]+@[-\w\d\.]+\.[-\w\d\.]+$/;
		if(document.forms.frmsubmit.email_address.value == "")  
			{
				alert("Please insert your E-mail address !!")
				document.forms.frmsubmit.email_address.focus()
				return false;	
			}
			if (!(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(frmsubmit.email_address.value)))
				{
				alert("The E-mail address wrong..pleas try again !!")
				document.forms.frmsubmit.email_address.focus()
				return false;
				}

if(document.forms.frmsubmit.password.value=="")
	{
	alert("Please insert your password !!");
	document.forms.frmsubmit.password.focus();
	document.forms.frmsubmit.password.select();
	return false;
	}
				
}



function validation_contact(frmsend)
{
	if(document.forms.frmsend.Sender_Name.value=="")
		{
		alert("Please insert your Name !!");
		document.forms.frmsend.Sender_Name.focus();
		document.forms.frmsend.Sender_Name.select();
		return false;
		}
		
	var reEmail = /^[-\w\d\.]+@[-\w\d\.]+\.[-\w\d\.]+$/;
		if(document.forms.frmsend.Sender_Email.value == "")  
			{
				alert("Please insert your E-mail address !!")
				document.forms.frmsend.Sender_Email.focus()
				return false;	
			}
			if (!(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(frmsend.Sender_Email.value)))
				{
				alert("The E-mail address wrong..pleas try again !!")
				document.forms.frmsend.Sender_Email.focus()
				return false;
				}
				
	if(document.forms.frmsend.Comment.value=="")
		{
		alert("Please insert your Comment !!");
		document.forms.frmsend.Comment.focus();
		document.forms.frmsend.Comment.select();
		return false;
		}
		
}