 <!--
var mnuStart_Index = 0;
var vidindex = 7;

function Menu(){
	mainMenu();
	subMenu();
}

function mainMenu() { //FUNCTION WRITE MAIN MENU
	var mdata=new Array("ABOUT US","COURSES","ADMISSION","INFRA","INFORMATION","ACTIVITIES","STUDENTS","CONSULTING","OTHERS");
	document.write("<table id=\"Menu\" cellspacing=\"0\" cellpadding=\"0\" class=\"Menu\" height=\"30px\" width=\"100%\" border=\"0\"> <tr><td align=\"center\" width=\"1px\"><img src=\"Images/Menu/line_vert.png\"></td>");
	for (i=0;i<mdata.length;i++) {
		mnu="<td id=\"Mnu_"+i+"\" align=\"center\" width=\"116px\" background=\"Images/Menu/menu_body.png\" onMouseOver=\"showList("+i+")\"><b>"+mdata[i]+"</b></td>\n"+"<td align=\"center\" width=\"1px\"><img src=\"Images/Menu/line_vert.png\"></td>";
		document.write(mnu);
	}
	document.write("</tr></table>");
}
	
function subMenu(){
	var pos=new Array(9);
	var cont=new Array(9);
	var link=new Array(9);
	
	pos[0]=new Array("160","0");
	cont[0]=new Array("History","Mission &amp; Vision","Affiliation","Recognition","Governing Body","Advisor Body","Location Map");
 	link[0]=new Array("history.htm","mission_vision.htm","affiliation.htm","recognition.htm","governing_body.htm","advisor_body.htm","way2rcm.htm");
 	
 	pos[1]=new Array("250","100");
	cont[1]=new Array("Master in Business Administration","Master in Computer Application","Post Graduate Diploma in Management","Executive MBA","MBA(Tourism)","Post Graduate Diploma in Aviation Management","Post Graduate Diploma in Telecom Management");
 	link[1]=new Array("mba/course.htm","mca/course.htm","pgdm/course.htm","xmba/course.htm","pgt/course.htm","aviation/about_course.html","telecom/about_telcom_course.html");
 	
 	pos[2]=new Array("250","200");
	cont[2]=new Array("RCMA Offers","Eligibility","Procedure of Application","Contact","GD/PI");
 	link[2]=new Array("offered.htm","eligibility.htm","procedure.htm","contact.htm","dates.htm\" target=\"blank");
 	
 	pos[3]=new Array("120","309");
	cont[3]=new Array("Campus","Library","Computer Lab.","Class Room","Auditorium","Canteen","Hostel","C-LOT","Guest House");
 	link[3]=new Array("campus.htm","library.htm","computer_lab.htm","class_room.htm","infrastructure.htm","canteen.htm","hostel.htm","clot.htm","guest_house.htm");
 	
 	pos[4]=new Array("205","407");
	cont[4]=new Array("BPUT Academic Regulations","Rules & Guidelines for Students");
 	link[4]=new Array("mca/regulation.htm","discipline.htm");
 	
 	pos[5]=new Array("120","518");
	cont[5]=new Array("Seminar","Workshop","MDP","Consultancy","Current Events");
 	link[5]=new Array("seminar.htm","workshop.htm","mdp.htm","consultancy.htm","events.htm");
 	
 	pos[6]=new Array("120","625");
	cont[6]=new Array("Current Batch","Alumni");
 	link[6]=new Array("StudentApp/index.php","alumni\" target=\"_blank");
 	 	//students.php?_page=0&amp;_dept=0&amp;_batch=&amp;_student=&amp;_regno=
		
	pos[7]=new Array("120","729");
	cont[7]=new Array("Itconsulting@RCMA","Customers@Consulting");
 	link[7]=new Array("consultancy/consulting_home.html","Colaboration_Enterprise/index.htm\" target=\"blank");
	
 	pos[8]=new Array("120","820");
	cont[8]=new Array("Downloads","Placement Portal","Alumni Views","Login");
 	link[8]=new Array("download.htm","http://rcm.indiacareerportal.com\" target=\"blank","http://rcm.ac.in/alumni/AddBlog1.asp\" target=\"_blank","http://mail.google.com/a/rcm.ac.in\" target=\"blank");
      
    /*pos[8]=new Array("120","850");
	cont[8]=new Array("IT_consultancy");
 	link[8]=new Array("http://www.rcm.ac.in/f1.htm\" target=\"blank");*/
	
 	for (i=0;i<9;i++) {
 		sbody="<div id=\"Mnu_"+i+"_List\" onMouseOver=\"keepList("+i+");\" onMouseOut=\"hideList()\" style=\"position:absolute; visibility:hidden; z-index:10; top:30px; left:"+pos[i][1]+"px\">";
		sbody+="<table width=\""+pos[i][0]+"px\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td background=\"Images/Menu/menu_left.png\" width=\"7pt\"></td><td>";
		sbody+="<table cellpadding=\"3\" cellspacing=\"0\" border=\"0\" bgcolor=\"#FAFCFC\" width=\"100%\">";
		for(j=0;j<cont[i].length;j++) {
			sbody+="<tr><td class=\"MenuItem\"><a id=\"Mnu_"+i+"_List_"+j+"\" href=\""+link[i][j]+"\" style=\"font-size:8pt\" onMouseOver=\"moverEffect('Mnu_"+i+"_List_"+j+"',2,'#E17100');\" onMouseOut=\"moutEffect('Mnu_"+i+"_List_"+j+"',2,'#495A83');\">"+cont[i][j]+"</a></td></tr>";
		}
		sbody+="</table></td><td background=\"Images/Menu/menu_right.png\" width=\"7\"></td></tr>";
		sbody+="<tr><td height=\"7\" width=\"7\"><img src=\"Images/Menu/menu_bottom_left.png\" /></td><td background=\"Images/Menu/menu_bottom.png\"></td><td width=\"7\"><img src=\"Images/Menu/menu_bottom_right.png\" /></td></tr></table></div>";
		document.write(sbody);
	}	
}

function showList(vid){
	moutEffect("Mnu_" + vidindex,5,'#495A83');
	document.getElementById("Mnu_" + vidindex + "_List").style.visibility = "hidden";	
	
	moverEffect("Mnu_" + vid,5,'#495A83');
	document.getElementById("Mnu_" + vid + "_List").style.visibility = "visible";	
	vidindex = vid;
}

function keepList(vid){
	moverEffect("Mnu_" + vid,5,'#495A83');
	document.getElementById("Mnu_" + vid + "_List").style.visibility = "visible";	
}

function hideList(){
    moutEffect("Mnu_" + vidindex,5,'#495A83');
	document.getElementById("Mnu_" + vidindex + "_List").style.visibility = "hidden";
}


function setMenuEffects(vid,vflag){
	 moutEffect("Mnu_" + vidindex,5,'#495A83');
	 moverEffect("Mnu_" + vid,5,'#FF9933');
	 showList(vid);
	 vidindex = vid;
}


function showPageComponent(vids,vidh) {
	document.getElementById(vids).style.visibility = "visible";
	if(vids != vidh) hidePageComponent(vidh);
	return vids;
}

function hidePageComponent(vid) {
	document.getElementById(vid).style.visibility = "hidden";
}

function showPage(vid,vurl){
	document.getElementById(vid).src = vurl;
}

function moverEffect(vid,vop,vcol){
    var moverimg = "Images/Menu/menu_body_mover.png";
	switch(eval(vop)){
		case 0: document.getElementById(vid).style.textDecoration = "underline"; break;
		case 1: document.getElementById(vid).style.fontWeight = "600"; break;
		case 2: changeTextColor(vid,vcol); break;
		case 3: changeBgColor(vid,vcol); break;
		case 4: document.getElementById(vid).style.fontWeight = "600"; 
				changeTextColor(vid,vcol); break;
		case 5: changeBackground(vid,moverimg);
		        changeTextColor(vid,"#006699"); break;
		case 6: changeTextColor(vid,vcol); 
				document.getElementById(vid).style.fontWeight = "600"; break;
	}
}

function moutEffect(vid,vop,vcol){
//	document.getElementById(vid).style.color = vcol;	
    var moutimg = "Images/Menu/menu_body.png";
	switch(eval(vop)){
		case 0: document.getElementById(vid).style.textDecoration = "none"; break;
		case 1: document.getElementById(vid).style.fontWeight = "500"; break;
		case 2: changeTextColor(vid,vcol); break;
		case 3: changeBgColor(vid,vcol); break;
		case 4: document.getElementById(vid).style.fontWeight = "500"; 
				changeTextColor(vid,vcol); break;
		case 5: changeBackground(vid,moutimg);
				changeTextColor(vid,"#495A83"); break;
		case 6: changeTextColor(vid,vcol); 
				document.getElementById(vid).style.fontWeight = "500"; break;
	}
}

function changeBgColor(vid,vcol){
	document.getElementById(vid).style.background = vcol;	
}

function changeBackground(vid,vimage){
	document.getElementById(vid).setAttribute("background",vimage);
}

function changeTextColor(vid,vcol){
	document.getElementById(vid).style.color = vcol;	
}

function reset(vid){
	document.getElementById(vid).style.textDecoration = "none";
	document.getElementById(vid).style.color = "#111111";
}

function loadImage(vid,vsrc){
	document.getElementById(vid).src = vsrc;
}
//-->


