function photos()
{
 window.open("gallery.html","", "width=600px, height=600px, menubar=0, scrollbars=1");  

}

function newpage()
{
 window.open("signup.html","", "width=400px, height=300px, menubar=0, scrollbars=1");  

}

function change(xx)
{
    document.getElementById(xx).style.background='#3E0B04';

//  document.getElementById(xx).style.backgroundImage='url("http://thechordiels.com/img/bar2.jpg")';

  
}
function normal(xx)
{
    document.getElementById(xx).style.background='';

//  document.getElementById(xx).style.backgroundImage='url("http://thechordiels.com/img/menu_bar_blue.jpg")';
 
}




var defaultMenuWidth="120px" //set default menu width.

var linkset=new Array()
//SPECIFY MENU SETS AND THEIR LINKS. FOLLOW SYNTAX LAID OUT


linkset[0]='<a href="index.html">Home</a>'
linkset[0]+='<a href="about.html">Vission & Mission</a>'
linkset[0]+='<a href="chairman_message.html">Chairmans Message</a>'
linkset[0]+='<a href="principal_message.html">Principals Message</a>'
linkset[0]+='<a href="about_trust.html">About Trust</a>'
linkset[0]+='<a href="administrative.html">Administration</a>'


linkset[1]='<a href="departments.html">Courses Offered</a>'
linkset[1]+='<a href="cse.html">CSE</a>'
linkset[1]+='<a href="ece.html">ECE</a>'
linkset[1]+='<a href="eee.html">EEE</a>'
linkset[1]+='<a href="it.html">IT</a>'
linkset[1]+='<a href="mech.html">Mech</a>'
linkset[1]+='<a href="civil.html">Civil</a>'
linkset[1]+='<hr color=#a5a5a5>' //Optional Separator
linkset[1]+='<a href="mba.html">MBA</a>'
linkset[1]+='<a href="mca.html">MCA</a>'
linkset[1]+='<a href="departments.html">M.E.</a>'
linkset[1]+='<hr color=#a5a5a5>' //Optional Separator
linkset[1]+='<a href="mat.html">Maths</a>'
linkset[1]+='<a href="phy.html">Physics</a>'
linkset[1]+='<a href="che.html">Chemistry</a>'
linkset[1]+='<a href="eng.html">English</a>'
linkset[1]+='<a href="viefl.html">VIEFL</a>'

linkset[3]='<a href="facilities.html">General</a>'
linkset[3]+='<a href="faci_library.html">Library</a>'
linkset[3]+='<a href="faci_transport.html">Transport</a>'
linkset[3]+='<a href="faci_hostel.html">Hostel</a>'

linkset[4]='<a href="placements.html">TPO Cell</a>'
linkset[4]+='<a href="placements01.html">Why VCET Students?</a>'
linkset[4]+='<a href="placement_news.html">Placement News</a>'
linkset[4]+='<a href="placements03.html">Training</a>'







////No need to edit beyond here

var ie5=document.all && !window.opera
var ns6=document.getElementById

if (ie5||ns6)
document.write('<div id="popitmenu" onMouseover="clearhidemenu();" onMouseout="dynamichide(event)"></div>')

function iecompattest(){
return (document.compatMode && document.compatMode.indexOf("CSS")!=-1)? document.documentElement : document.body
}

function showmenu(e, which, startX, optWidth){
if (!document.all&&!document.getElementById)
 return
clearhidemenu()
menuobj=ie5? document.all.popitmenu : document.getElementById("popitmenu")
menuobj.innerHTML=which
menuobj.style.width=(typeof optWidth!="undefined")? optWidth : defaultMenuWidth
 menuobj.contentwidth=menuobj.offsetWidth
menuobj.contentheight=menuobj.offsetHeight
eventX=ie5? event.clientX : e.clientX
eventY=ie5? event.clientY : e.clientY
eventX=startX
eventY=165

//Find out how close the mouse is to the corner of the window
 var rightedge=ie5? iecompattest().clientWidth-eventX : window.innerWidth-eventX
var bottomedge=ie5? iecompattest().clientHeight-eventY : window.innerHeight-eventY

//if the horizontal distance isn't enough to accomodate the width of the context menu
 if (rightedge<menuobj.contentwidth)
//move the horizontal position of the menu to the left by it's width
menuobj.style.left=ie5? iecompattest().scrollLeft+eventX-menuobj.contentwidth+"px" : window.pageXOffset+eventX-menuobj.contentwidth+"px"
 else
//position the horizontal position of the menu where the mouse was clicked
menuobj.style.left=ie5? iecompattest().scrollLeft+eventX+"px" : window.pageXOffset+eventX+"px"
//same concept with the vertical position
 if (bottomedge<menuobj.contentheight)
menuobj.style.top=ie5? iecompattest().scrollTop+eventY-menuobj.contentheight+"px" : window.pageYOffset+eventY-menuobj.contentheight+"px"
else
menuobj.style.top=ie5? iecompattest().scrollTop+event.clientY+"px" : window.pageYOffset+eventY+"px"
 menuobj.style.visibility="visible"
return false
}

function contains_ns6(a, b) {
//Determines if 1 element in contained in another- by Brainjar.com
while (b.parentNode)
if ((b = b.parentNode) == a)
 return true;
return false;
}

function hidemenu(){
if (window.menuobj)
menuobj.style.visibility="hidden"
}

function dynamichide(e){
if (ie5&&!menuobj.contains(e.toElement))
 hidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
hidemenu()
}

function delayhidemenu(){
delayhide=setTimeout("hidemenu()",500)
 }

function clearhidemenu(){
if (window.delayhide)
clearTimeout(delayhide)
}

if (ie5||ns6)
document.onclick=hidemenu





document.write("<div id='title_pic' style='position:relative; overflow:hidden; left:0px; top:-10px; width:100%; z-index:2'>");


document.write("<img src='images/title_vcet.jpg' alt='vcet' border=0 >");


document.write("</div>");



document.write("<div id='menu' style='position:relative; overflow:hidden; left:0px; top:-60px; width:1024px; z-index:3'>");

document.write("<table align=center border=0 width=1024px cellspacing=0>");
document.write("<tr><td align=center class=text1>");

document.write("<table id='tab_menu' align=center cellpadding=0 width=1024px style='border:0px solid black' >");
document.write("<tr align=center>");
document.write("<td id='tab1' width=250px height=35px onMouseOver=javascript:change('tab1') onmouseout=javascript:normal('tab1');><a href='#' onMouseover='showmenu(event,linkset[0], 165)' onMouseout='delayhidemenu()' class=linkmenu>ABOUT</a></td>");

document.write("<td id='tab2' width=250px height=20px onMouseOver=javascript:change('tab2') onmouseout=javascript:normal('tab2')><a href='#' onMouseover='showmenu(event,linkset[1], 295)' onMouseout='delayhidemenu()' class=linkmenu >DEPARTMENTS</a> </td>");

document.write("<td id='tab3' width=250px height=20px onMouseOver=javascript:change('tab3') onmouseout=javascript:normal('tab4')><a href='#' onMouseover='showmenu(event,linkset[3], 595)' onMouseout='delayhidemenu()' class=linkmenu >FACILITIES</a>  </td>");

document.write("<td id='tab4' width=250px height=20px onMouseOver=javascript:change('tab4') onmouseout=javascript:normal('tab5')><a href='#' onMouseover='showmenu(event,linkset[4], 740)' onMouseout='delayhidemenu()' class=linkmenu >PLACEMENTS</a></td>");

document.write("<td id='tab5' width=250px height=20px onMouseOver=javascript:change('tab5') onmouseout=javascript:normal('tab6')><a href='cocurriculum.html' class=linkmenu >EXTRA-CURRICULUM</a></td>");

document.write("<td id='tab6'  width=250px height=20px onMouseOver=javascript:change('tab6') onmouseout=javascript:normal('tab7')><a href='gallery.html' class=linkmenu >GALLERY</a></td>");
document.write("</tr>");
document.write("</table>");

document.write("</td></tr></table>");

document.write("</div>");




