function validation()
{
	var emailval = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
	var n=document.coNtact_form.fName;
	var p=document.coNtact_form.lName;
	var e=document.coNtact_form.eMail;
	var t=document.coNtact_form.coMment;
	var tkey = document.getElementById("tkey");
	var c=document.coNtact_form.ukey;
	
		if (n.value=="")
		{
			n.focus();
			n.style.backgroundColor="#FFFF9B";
			document.getElementById("fN").style.color="#FF0000";
			return false;
		}
		else if(p.value=="")
		{
			p.focus();
			p.style.backgroundColor="#FFFF9B";
			document.getElementById("lN").style.color="#FF0000";
			return false;
		}
		else if(!emailval.test(e.value))
		{
			e.focus();
			e.style.backgroundColor="#FFFF9B";
			document.getElementById("eM").style.color="#FF0000";
			return false;
		}
		else if(t.value=="")
		{
			t.focus();
			t.style.backgroundColor="#FFFF9B";
			document.getElementById("cM").style.color="#FF0000";
			return false;
		}
		
		else if(c.value=="")
		{
			c.focus();
			c.style.backgroundColor="#FFFF9B";
			document.getElementById("cd").style.color="#FF0000";
			return false;
		}
		else if(tkey.value!=c.value)
		{
		  
		   c.focus();
			c.style.background="#FFFF9B";
			document.getElementById("cd").style.display="block";
			return false;
		}
		else 
		{
		return true;
		}
}
function onkeypress_hide(txtB)
{
		document.getElementById(txtB).style.color="#CCCCCC";
}


function showmenu(elmnt)
{
document.getElementById(elmnt).style.visibility="visible";
}
function hidemenu(elmnt)
{
document.getElementById(elmnt).style.visibility="hidden";
}
