function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
function CheckIsIE()
{
	if (navigator.appName.toUpperCase() == 'MICROSOFT INTERNET EXPLORER') { return true;}
		else { return false; }
}
function PrintThisPage()
{
	if (CheckIsIE() == true)
	{
		document.Workspace.focus();
		document.Workspace.print();
	}
	else
	{
		window.frames['Workspace'].focus();
		window.frames['Workspace'].print();
	}
}
function PrintThisPage()
{
	if (CheckIsIE() == true)
	{
		window.focus();
		window.print();
	}
	else
	{
		window.focus();
		window.print();
	}
}


	function validate(){
		var n=document.getElementById("cname");
		var e=document.getElementById("email");
		var cat=document.getElementById("category");
		var m=document.getElementById("msg");
		
		if(n.value==""){
			alert("Please Enter Name");
			n.focus();
			return false;
		}else if(e.value=="" && e.value.indexOf('@')==-1){
			alert("Please Enter Valid Email Address");
			e.focus();
			return false;
		}else if(cat.value==""){
			alert("Please Select Category");
			cat.focus();
			return false;
		}else if(m.value==""){
			alert("Please Select Regarding Subject");
			m.focus();
			return false;
		}
			return true;
		
	}