function genOnSubmit(){
	if (document.fr .genuid  .value== "")
		{alert("Please Enter your general user name.");document.fr .genuid  .focus();return false;}
	if (document.fr .genpwd .value == "")
		{alert("Please Enter your general password.");document.fr.genpwd .focus();return false;}
	sel=document.fr .as .options [document.fr .as .selectedIndex ].value
	
	if(sel == "0")
	{alert("please select log in as");
	document.fr .as.focus ();
	return false;
	}
	return true;	
}
var ns6,ns4,ie4;
// Show/Hide functions for non-pointer layer/objects
ns4 = (document.layers)? true:false
ie4 = (document.all)? true:false
ns6 = false;
//if the DOM is not IE and not NS4, it must be NS6
if (ns4 == ie4) {
	ns6 = true;
	ie4 = ns4 = false;
}

function callmenu(id) {
    if (document.layers){
        if (document.layers[id]){
            if (ns4) document.layers[id].visibility = "show"
        }
    }
    else if (ie4){
    	if (document.all[id]){
    		document.all[id].style.visibility = "visible";
    	}
  	}
    else if (ns6){
    	if (document.getElementById(id)){ 
    		document.getElementById(id).style.visibility = "visible";
   		}
  	}
}
function hidemenu(id) {
    if (document.layers){
        if (document.layers[id]){;
            if (ns4) document.layers[id].visibility = "hide"
        }
    }
    else if (ie4) {
    	if (document.all[id]){
    		document.all[id].style.visibility = "hidden";
   		}
 	}
    else if (ns6) {
    	if (document.getElementById(id)){
    		document.getElementById(id).style.visibility = "hidden";
   		}
 	}
}
document.write("<table width='100%' border='0' cellpadding='0' cellspacing='0'>");
document.write("<tr><td bgcolor='#2D1A73' VALIGN='TOP' width='20%'>\
<table border='0' bgcolor='#FF9700' width='100%' cellpadding='0' cellspacing='0'>\
<tr>\
<form name='fr' method='post'  action='enter.asp' onSubmit='return genOnSubmit()'>\
<td valign='top'><font face='arial' size='1' color='#ffffff'><b>&nbsp;Login as</b></td>\
<td bgcolor='#FF9700'><select name='as' style=\"width:100px; height:20px; border-width:1px; font-family: arial; font-size:9px;\"/ CLASS=l_link>\
	<option value='0'>Select</option>\
	<option value='1'>Candidate</option>\
	<option value='2'>Institute</option>\
	<option value='3'>Corporate</option>\
	<option value='4'>As Associate</option>\
	<option value='5'>As prometic center</option>\
	<option value='6'>placement update</option>\</select>&nbsp;</td>\
</tr>\
<tr><td><font face='arial' size='1' color='#ffffff'><b>&nbsp;Name</b></td>\
<td><INPUT size='6' type=\"text\" name=\"genuid\" style=\"width:70px; height:18px; border-width:1px; font-family:arial, verdana, sans-serif font-size:9px;\"/></td>\
</tr>\
<tr><td><font face='arial' size='1' color='#ffffff'><b>&nbsp;Password</b></td>\
<td><INPUT size='6' type=\"Password\" name=\"genpwd\" style=\"width:70px; height:18px; border:1 px; font-family:arial, verdana, sans-serif; font-size:9px;\"/> <input type='image' src='images/go.gif' value='submit' align='absmiddle' WIDTH='23' HEIGHT='23' border=\"0\" ></td>\
</form></tr>");
document.write("</table>\
<table border='0' width='100%' cellpadding='0' cellspacing='0' bgcolor='#2D1A73' class=\"a5\">\
<tr onmouseover=\"callmenu('newuser')\" onmouseout=\"hidemenu('newuser')\" ><td width='3%' class=\"l_link\"><img src='images/bullet_left.gif' WIDTH='23' HEIGHT='23'></td><td class=\"a5\"><a href='#' onmouseover=\"callmenu('newuser')\" onmouseout=\"hidemenu('newuser')\" class=\"l_link\"><font size='2' face color='#ffffff'>New User Sign up</a></td><td onmouseover=\"callmenu('newuser')\" onmouseout=\"hidemenu('newuser')\" width='5%'></td></tr>\
<tr onmouseover=\"callmenu('myaccount')\" onmouseout=\"hidemenu('myaccount')\"><td class=\"a5\" width='3%'><img src='images/bullet_left.gif' WIDTH='23' HEIGHT='23'></td><td class=\"a5\"><a href='#' ><font size='2' face color='#ffffff'>My Account</td><td width='5%' onmouseover=\"callmenu('myaccount')\" onmouseout=\"hidemenu('myaccount')\"></td></tr>\
<tr><td class=\"a5\" width='3%'><img src='images/bullet_left.gif' WIDTH='23' HEIGHT='23'></td><td class=\"a5\"><a href='about_G4Careermapping.htm'><font size='2' face color='#ffffff'>About us</a></td><td width='5%'></td></tr>\
<tr><td class=\"a5\" width='3%'><img src='images/bullet_left.gif' WIDTH='23' HEIGHT='23'></td><td class=\"a5\"><a href='Campus_Recuitment_Services.htm'><font size='2' face color='#ffffff'>Services</a></td><td width='5%'></td></tr>\
<tr><td class=\"a5\" width='3%' valign='top'><img src='images/bullet_left.gif' WIDTH='23' HEIGHT='23'></td><td class=\"a5\"><a href='Benefits_And_Features_of_G4Testing.htm'><font size='2' face color='#ffffff'>Benefits & Features of G4 Services</a></td><td width='5%'></td></tr>\
<tr><td class=\"a5\" width='3%'><img src='images/bullet_left.gif' WIDTH='23' HEIGHT='23'></td><td class=\"a5\"><a href='Campus_Recuitment.htm'><font size='2' face color='#ffffff'>Old Recruitment System v/s G4 Services</a></td><td width='5%'></td></tr>\
<tr><td class=\"a5\" width='3%'><img src='images/bullet_left.gif' WIDTH='23' HEIGHT='23'></td><td class=\"a5\"><a href='g4testing/default.asp'><font size='2' size='2' face color='#ffffff'>Registration for G4 Testing</a></td><td width='5%'></td></tr>\
<tr><td class=\"a5\" width='3%'><img src='images/bullet_left.gif' WIDTH='23' HEIGHT='23'></td><td class=\"a5\"><a href='G4_Testing_Card.pdf'><font size='2' face color='#ffffff'>Download G4 Testing Card</a></td><td width='5%'></td></tr>\
<tr><td class=\"a5\" width='3%'><img src='images/bullet_left.gif' WIDTH='23' HEIGHT='23'></td><td class=\"a5\"><a href='Open_Recuitment_Drive_Associate_Consultant.htm'><font size='2' face color='#ffffff'>Become Associate Consultant</a></td><td width='5%'></td></tr>\
<tr><td class=\"a5\" width='3%'><img src='images/bullet_left.gif'WIDTH='23' HEIGHT='23'><font face color='#ffffff'></td><td><a href='/G4RecruitmentBlog'><font size='2' face color='#ffffff'>G4_Recutment_Blog</a></td><td width='5%'></td></tr>\
<tr><td class=\"a5\" width='3%'><img src='images/bullet_left.gif' WIDTH='23' HEIGHT='23'></td><td><a href='contact.htm'><font size='2' face color='#ffffff'>Contact <font size='2' face color='#ffffff'>us</a></td><td width='5%'></td></tr>\
</table>");
// html for menu  
var scrwidth = window.screen.availWidth;
if (scrwidth == "800"){
document.write("<div id='newuser' style='visibility : hidden; position : absolute; top : 187px; left : 180px; width : 130'>");
document.write("<style>.l_link A:hover {\
	BACKGROUND-COLOR: #90C800; BORDER-BOTTOM: #996600 1px solid; BORDER-LEFT: #ffffff 1px solid; BORDER-RIGHT: #996600 1px solid; BORDER-TOP: #ffffff 1px solid; COLOR: #000000; FONT-FAMILY: MS Sans Serif; FONT-SIZE: 10px; FONT-WEIGHT: none;  LINE-HEIGHT: 17px; PADDING-BOTTOM: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; PADDING-TOP: 0px; TEXT-DECORATION: none; width : 155 px\
}</style>");
}
else {
document.write("<div id='newuser' style='visibility : hidden; position : absolute; top : 187px; left : 200px; width : 130'>");
document.write("<style>.l_link A:hover {\
	BACKGROUND-COLOR: #90C800; BORDER-BOTTOM: #996600 1px solid; BORDER-LEFT: #ffffff 1px solid; BORDER-RIGHT: #996600 1px solid; BORDER-TOP: #ffffff 1px solid; COLOR: #000000; FONT-FAMILY: MS Sans Serif; FONT-SIZE: 10px; FONT-WEIGHT: none;  LINE-HEIGHT: 17px; PADDING-BOTTOM: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; PADDING-TOP: 0px; TEXT-DECORATION: none; width : 178 px\
}</style>");
}
document.write("<table border='1' bgcolor='#e8e8e8' cellspacing='0' cellpadding='0' width='100%' bordercolor='#28166A' onmouseover=\"callmenu('newuser')\" onmouseout=\"hidemenu('newuser')\">\
<tr><td height='21'><a href='userregistration.htm'><font face='arial' size='1' style='text-decoration : none' color='#000000'>&nbsp;As candidate</a></td></tr>\
<tr><td height='21'><a href='rs.htm'><font face='arial' size='1' style='text-decoration : none' color='#000000'>&nbsp;As Institute</a></td></tr>\
<tr><td height='21'><a href='regindustry.htm'><font face='arial' size='1' style='text-decoration : none' color='#000000'>&nbsp;As Corporate</a></td></tr>\
</table>\
</div>");
if (scrwidth == "800"){
document.write("<div id='myaccount' style='visibility : hidden; position : absolute; top : 210px; left : 180px; width : 130'>");
}
else {
document.write("<div id='myaccount' style='visibility : hidden; position : absolute; top : 210px; left : 200px; width : 130'>");
}
document.write("<table border='1' bgcolor='#e8e8e8' cellspacing='0' cellpadding='0' width='100%' bordercolor='#2D1A73' onmouseover=\"callmenu('myaccount')\" onmouseout=\"hidemenu('myaccount')\">\
<tr><td height='21'><a href='candidatelogin.htm'><font face='arial' size='1' style='text-decoration : none' color='#000000'>&nbsp;candidate</a></td></tr>\
<tr><td height='21'><a href='Institutelogin.htm'><font face='arial' size='1' style='text-decoration : none' color='#000000'>&nbsp;Institute</a></td></tr>\
<tr><td height='21'><a href='Corporatelogin.htm'><font face='arial' size='1' style='text-decoration : none' color='#000000'>&nbsp;Corporate</a></td></tr>\
</table>\
</div>");
if (scrwidth == "800"){
document.write("<div id='force' style='visibility : hidden; position : absolute; top : 255px; left: 180px; width : 130'>");
}
else {
document.write("<div id='force' style='visibility : hidden; position : absolute; top : 255px; left:200px; width : 130'>");
}
document.write("<table border='1' bgcolor='#e8e8e8' cellspacing='0' cellpadding='0' width='100%' bordercolor='#90C800' onmouseover=\"callmenu('force')\" onmouseout=\"hidemenu('force')\">\
<tr><td height='21'><a href='advisoryboard.htm'><font face='arial' size='1' style='text-decoration : none' color='#000000'>&nbsp;Advisory Board</a></td></tr>\
<tr><td height='21'><a href='careercouncelers.htm'><font face='arial' size='1' style='text-decoration : none' color='#000000'>&nbsp;Career Counselors</a></td></tr>\
<tr><td height='21'><a href='managementpage.htm'><font face='arial' size='1' style='text-decoration : none' color='#000000'>&nbsp;Management Team</a></td></tr>\
</table>\
</div>");
if (scrwidth == "800"){
document.write("<div id='reg' style='visibility : hidden; position : absolute; top : 405px; left : 180px; width : 150'>");
}
else {
document.write("<div id='reg' style='visibility : hidden; position : absolute; top : 395px; left : 200 px; width : 150'>");
}
document.write("<table border='1' bgcolor='#e8e8e8' cellspacing='0' cellpadding='0' width='100%' bordercolor='#90C800' onmouseover=\"callmenu('reg')\" onmouseout=\"hidemenu('reg')\">\
<tr><td height='21'><a href='rs.htm'><font face='arial' size='1' style='text-decoration : none' color='#000000'>&nbsp;School, University, Collage</a></td></tr>\
</table></div>");