function validation_con()
{
     			if(document.contactUs.txtname.value=='')
               	{
            			document.getElementById('nameError').innerHTML="Please enter the name";
		        }
	            if(document.contactUs.txtemail.value=='')
                {
            			document.getElementById('emailError').innerHTML="Please enter the emailId";
		        }
	            if(document.contactUs.txtStdcode.value=='')
                {
            			document.getElementById('ccode').innerHTML="Please enter the std code";
		        }
				if(document.getElementById('ccode').innerHTML=="")
				{
	            if(document.contactUs.txtPhno.value=='')
                {
            		document.getElementById('ccode').innerHTML="Please enter the phone number";
		        }
				}
				if(document.contactUs.textAddress.value=='')
                {
                   document.getElementById('add').innerHTML="Please enter the valid Address";
                } 
				if(document.contactUs.txtcomment.value=='')
                {
                   document.getElementById('commentError').innerHTML="Please enter the comments";
                } 
	            if(document.contactUs.txtverification.value=='')
                {
            		document.getElementById('verificationError').innerHTML="Please enter the verification code";
		        }   
}
	              
function validation1_con()
{
     			if(document.contactUs.txtname.value=='')
               	{
            			document.contactUs.txtname.focus();
            			return false;
		        }
	            if(document.contactUs.txtemail.value=='')
                {
            			document.contactUs.txtemail.focus();
            			return false;
		        }
		        strValue1=document.getElementById('emailError').innerHTML;
		        if(strValue1!='')
		        {
						document.contactUs.txtemail.focus();
            			return false;
				}
	            if(document.contactUs.txtStdcode.value=='')
                {
            			document.contactUs.txtStdcode.focus();
            			return false;
		        }
	            if(document.contactUs.txtPhno.value=='')
                {
            			document.contactUs.txtPhno.focus();
            			return false;
		        }
         	    if(document.contactUs.textAddress.value=='')
                {
	                   	document.contactUs.textAddress.focus();
		            	return false;
                } 
				if(document.contactUs.txtcomment.value=='')
                {
					   document.contactUs.txtcomment.focus();
		               return false;
                }
				strValue2=document.getElementById('commentError').innerHTML;
		        if(strValue2!='')
		        {
						document.contactUs.txtcomment.focus();
            			return false;
				}
	            if(document.contactUs.txtverification.value=='')
                {
            			document.contactUs.txtverification.focus();
		           		return false;
	            } 
				if(document.contactUs.txtverification.value!='')
				{
				 	a = document.getElementById('verify').value;
					if(a==document.getElementById('txtverification').value)
					{
						document.getElementById('verificationError').innerHTML="";
						return true;
					}
			 		else
			  		{
			   			document.getElementById('verificationError').innerHTML="Verification code is mismatch. Try again!..";
			   			document.getElementById('txtverification').focus();
			  			return false;
			  
			  		} 
			  	} 
				strValue2=document.getElementById('verificationError').innerHTML;
		        if(strValue2!='')
		        {
						document.contactUs.txtverification.focus();
            			return false;
				} 
	            return true;
}