var menu1=new Array()
menu1[0]='<a href="courses.html">Courses</a>'
menu1[1]='<a href="admission.html">Admissions</a>'
menu1[2]='<a href="calender.html">Academic Calender</a>'
menu1[3]='<a href="syllabus.html">Vth Sem Electives</a>'
menu1[4]='<a href="syllabus_6.html">VIth Sem Electives</a>'
menu1[5]='<a href="scheme_syllabus.html">UG Shceme &amp; Syllabus</a>'
menu1[6]='<a href="#">PG Shceme &amp; Syllabus</a>'

var menu2=new Array()
menu2[0]='<a href="computer.html">Computer Centre & Internet</a>'
menu2[1]='<a href="library.html">Library & Information Centre</a>'
menu2[2]='<a href="language.html">Language Laboratory</a>'
menu2[3]='<a href="hostel.html">Hostels</a>'
menu2[4]='<a href="sports.html">Sports & Games</a>'
menu2[5]='<a href="auditorium.html">Auditorium</a>'
menu2[6]='<a href="guest.html">Guest House</a>'
menu2[7]='<a href="health.html">Health Centre</a>'

var menu3=new Array()
menu3[0]='<a href="arc/arc_home.html">Architecture</a>'
menu3[1]='<a href="bio/bio_home.html">Biotechnology</a>'
menu3[2]='<a href="cem/chemical_home.html">Chemical Engineering</a>'
menu3[3]='<a href="che/che_home.html">Chemistry</a>'
menu3[4]='<a href="civ/civil_home.html">Civil Engineering</a>'
menu3[5]='<a href="cse/cse_home.html">Computer Science & Engineering</a>'
menu3[6]='<a href="eee/eee_home.html">Electrical & Electronics Engineering</a>'
menu3[7]='<a href="ece/ece_home.html">Electronics & Communication Engineering</a>'
menu3[8]='<a href="iem/iem_home.html">Industrial Engineering & Management</a>'
menu3[9]='<a href="ise/ise_home.html">Information Science & Engineering</a>'
menu3[10]='<a href="ite/it_home.html">Instrumentation & Electronics Engineering</a>'
menu3[11]='<a href="mba/mba_home.html">Master of Business Administration</a>'
menu3[12]='<a href="mca/mca_home.html">Master of Computer Applications</a>'
menu3[13]='<a href="mat/mat_home.html">Mathematics</a>'
menu3[14]='<a href="mec/mech_home.html">Mechanical Enigineering</a>'
menu3[15]='<a href="phy/phy_home.html">Physics</a>'
menu3[16]='<a href="tce/tce_home.html">Telecommunication Engineering</a>'
menu3[17]='<a href="tpo/tpo_home.html">Training & Placement</a>'
			
var menu4=new Array()
menu4[0]='<a href="#">Seminar and Conferences</a>'
menu4[1]='<a href="activity.html">Department Activities</a>'
menu4[2]='<a href="sports_cultural.html">Sports and Cultural Activities</a>'

var menu5=new Array()
menu5[0]='<a href="about.html">About Us</a>'
menu5[1]='<a href="vision.html">Vision & Mission</a>'
menu5[2]='<a href="vision.html">Quality Policy</a>'
menu5[3]='<a href="director.html">Directors Message</a>'
menu5[4]='<a href="principal.html">Principals Message</a>'		

var menu6=new Array()
menu6[0]='<a href="newsletter.html">News Letter</a>'
menu6[1]='<a href="colmagzine.html">College Magazine</a>'
menu6[2]='<a href="colmagzine.html">Departmental News Letters</a>'

var menu7=new Array()
menu7[0]='<a href="cse_newsletter.html">News Letter - SiGMA</a>'
menu7[1]='<a href="cse_faculty_publish.html">Faculty Publications</a>'

var menu8=new Array()
menu8[0]='<a href="#">News Letter - Architecture</a>'
menu8[1]='<a href="#">Faculty Publications</a>'

var menu9=new Array()
menu9[0]='<a href="#">News Letter - Biotech</a>'
menu9[1]='<a href="#">Faculty Publications</a>'

var menu10=new Array()
menu10[0]='<a href="#">News Letter - Chemistry</a>'
menu10[1]='<a href="#">Faculty Publications</a>'

var menu11=new Array()
menu11[0]='<a href="#">News Letter - Civil</a>'
menu11[1]='<a href="#">Faculty Publications</a>'

var menu12=new Array()
menu12[0]='<a href="#">News Letter - E & C</a>'
menu12[1]='<a href="ece_faculty_publish.html">Faculty Publications</a>'

var menu13=new Array()
menu13[0]='<a href="#">News Letter - Electerical</a>'
menu13[1]='<a href="#">Faculty Publications</a>'

var menu14=new Array()
menu14[0]='<a href="#">News Letter - I.E.M</a>'
menu14[1]='<a href="#">Faculty Publications</a>'

var menu15=new Array()
menu15[0]='<a href="#">News Letter - Information Science</a>'
menu15[1]='<a href="ise_faculty_publish.html">Faculty Publications</a>'

var menu16=new Array()
menu16[0]='<a href="#">News Letter - TATVA</a>'
menu16[1]='<a href="ite_faculty_publish.html">Faculty Publications</a>'

var menu18=new Array()
menu18[0]='<a href="news_letter.html" target="popup">e - Magzine INFOVISTA</a>'
menu18[1]='<a href="mca_faculty_publish.html">Faculty Publications</a>'

var menu17=new Array()
menu17[0]='<a href="#">News Letter - Maths</a>'
menu17[1]='<a href="mat_faculty_publish.html">Faculty Publications</a>'

var menu19=new Array()
menu19[0]='<a href="#">News Letter - Mechanical</a>'
menu19[1]='<a href="#">Faculty Publications</a>'

var menu20=new Array()
menu20[0]='<a href="#">News Letter - Physics</a>'
menu20[1]='<a href="#">Faculty Publications</a>'

var menu21=new Array()
menu21[0]='<a href="#">News Letter - Telecommunication</a>'
menu21[1]='<a href="tce_faculty_publish.html">Faculty Publications</a>'

var menu_mba=new Array()
menu_mba[0]='<a href="#">News Letter - MBA</a>'
menu_mba[1]='<a href="../mba/doc/Publications.doc">Faculty Publications</a>'

var menu_chemical=new Array()
menu_chemical[0]='<a href="#">News Letter - Chemical</a>'
menu_chemical[1]='<a href="chemical_faculty_publish.html">Faculty Publications</a>'

var disappeardelay = 250  //menu disappear speed onMouseout (in miliseconds)
var horizontaloffset = 2 //horizontal offset of menu from default location. (0-5 is a good value)		
var ie4 = document.all
var ns6 = document.getElementById&&!document.all	
	
if (ie4||ns6)
	document.write('<div id="dropmenudiv" style="visibility:hidden;width: 160px" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')

function getposOffset(what, offsettype){
	var totaloffset = (offsettype=="left")? what.offsetLeft : what.offsetTop;
	var parentEl=what.offsetParent;
	while (parentEl!=null){
		totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
		parentEl=parentEl.offsetParent;
	}
	return totaloffset;
}
function showhide(obj, e, visible, hidden, menuwidth){
	if (ie4||ns6)
		dropmenuobj.style.left=dropmenuobj.style.top=-500
	dropmenuobj.widthobj=dropmenuobj.style
	dropmenuobj.widthobj.width=menuwidth
	if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
		obj.visibility=visible
	else if (e.type=="click")
		obj.visibility=hidden
}
function iecompattest(){
	return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
function clearbrowseredge(obj, whichedge){
	var edgeoffset=0
	if (whichedge=="rightedge"){
		var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
		dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
		if (windowedge-dropmenuobj.x-obj.offsetWidth < dropmenuobj.contentmeasure)
			edgeoffset=dropmenuobj.contentmeasure+obj.offsetWidth
		}
		else{
			var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
			var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
			dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
			if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move menu up?
				edgeoffset=dropmenuobj.contentmeasure-obj.offsetHeight
			if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either? (position at top of viewable window then)
				edgeoffset=dropmenuobj.y
		}
	}
	return edgeoffset
}
function populatemenu(what){
	if (ie4||ns6)
		dropmenuobj.innerHTML=what.join("")
}
function dropdownmenu(obj, e, menucontents, menuwidth){
	if (window.event)
		event.cancelBubble=true
	else if (e.stopPropagation)
		e.stopPropagation()
	clearhidemenu()
	dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
	
	populatemenu(menucontents)
	if (ie4||ns6){
		showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
		dropmenuobj.x=getposOffset(obj, "left")
		dropmenuobj.y=getposOffset(obj, " top")
		dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+obj.offsetWidth+horizontaloffset+"px"
		dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+"px"
	}
	return clickreturnvalue()
}
function clickreturnvalue(){
	if (ie4||ns6)
		return false
	else
		return true
}
function contains_ns6(a, b) {
	while (b.parentNode)
		if ((b = b.parentNode) == a)
			return true;
		return false;
}
function dynamichide(e){
	if (ie4&&!dropmenuobj.contains(e.toElement))
		delayhidemenu()
	else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
		delayhidemenu()
}
function hidemenu(e){
	if (typeof dropmenuobj!="undefined"){
		if (ie4||ns6)
			dropmenuobj.style.visibility="hidden"
	}
}
function delayhidemenu(){
	if (ie4||ns6)
		delayhide=setTimeout("hidemenu()",disappeardelay)
}
function clearhidemenu(){
	if (typeof delayhide!="undefined")
		clearTimeout(delayhide)
}
