<!--
function ir() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function preloadImages() {
	MM_preloadImages('i/menu-over-2.gif','i/menu-over-3.gif','i/menu-over-4.gif','i/menu-over-5.gif','i/menu-over-6.gif','i/menu-over-7.gif','i/right-menu-over-1.gif','i/right-menu-over-2.gif','i/right-menu-over-3.gif','i/right-menu-over-4.gif','i/right-menu-over-5.gif','i/right-menu-over-6.gif','i/right-menu-over-7.gif','i/right-menu-over-8.gif')
}



function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function si() { //v3.0
  var i,j=0,x,a=si.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->

//Copy Right
function copyRight(startYear) {	
    date = new Date();
    year = date.getYear();
    if ( (year - startYear) > 0){
       document.write(startYear + " - " + year);
    }else{
     document.write(startYear);
    } 
}


function link(myPage){
window.open(myPage,'_self');
}

function mmLoadMenus() {
  if (window.mm_menu_0423160124_0) return;
  
    window.mm_menu_0423160124_0_1 = new Menu("Departments",185,22,"Tahoma",12,"#000000","#FFFFFF","#FFC66F","#E78600","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
   mm_menu_0423160124_0_1.addMenuItem("Botany and Microbiology","location='botany-microbiology.html'");
   mm_menu_0423160124_0_1.addMenuItem("Chemistry","location='chemistry.html'");
   mm_menu_0423160124_0_1.addMenuItem("Commerce","location='commerce.html'"); 
    mm_menu_0423160124_0_1.addMenuItem("Computer Science","location='computer-science.html'");
   mm_menu_0423160124_0_1.addMenuItem("Economics","location='economics.html'"); 
    mm_menu_0423160124_0_1.addMenuItem("English","location='english.html'");
   mm_menu_0423160124_0_1.addMenuItem("Hindi","location='hindi.html'"); 
    mm_menu_0423160124_0_1.addMenuItem("History","location='history.html'");
	    mm_menu_0423160124_0_1.addMenuItem("Home Science","location='home-science.html'");
   mm_menu_0423160124_0_1.addMenuItem("Mathematics","location='mathematics.html'"); 
    mm_menu_0423160124_0_1.addMenuItem("Philosophy","location='philosophy.html'");
   mm_menu_0423160124_0_1.addMenuItem("Physics","location='physics.html'"); 
   mm_menu_0423160124_0_1.addMenuItem("Political Science","location='political-science.html'");
   mm_menu_0423160124_0_1.addMenuItem("Statistics","location='statistics.html'"); 
   mm_menu_0423160124_0_1.addMenuItem("Telugu","location='telugu.html'");
   mm_menu_0423160124_0_1.addMenuItem("Urdu","location='urdu.html'"); 
   mm_menu_0423160124_0_1.addMenuItem("Zoology and Biotechnology","location='zoology-biotechnology.html'");
   mm_menu_0423160124_0_1.addMenuItem("Environmental Studies","location='environmental-studies.html'"); 
   mm_menu_0423160124_0_1.addMenuItem("Physical Education","location='physical-education.html'"); 
   mm_menu_0423160124_0_1.addMenuItem("Library","location='library.html'");    
   mm_menu_0423160124_0_1.hideOnMouseOut=true;
   mm_menu_0423160124_0_1.bgColor='#7A171E';
    mm_menu_0423160124_0_1.fontWeight='bold';
   mm_menu_0423160124_0_1.menuBorder=1;
   mm_menu_0423160124_0_1.menuLiteBgColor='#FFFFFF';
   mm_menu_0423160124_0_1.menuBorderBgColor='#F20202';    
  
  window.mm_menu_0423160124_0 = new Menu("root",100,22,"Tahoma",12,"#000000","#FFFFFF","#FFC66F","#E78600","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
   mm_menu_0423160124_0.addMenuItem("Management","location='management.html'");
   mm_menu_0423160124_0.addMenuItem("Academics","location='academics.html'");
   mm_menu_0423160124_0.addMenuItem("Admissions","location='admissions.html'");
   //mm_menu_0423160124_0.addMenuItem("Departments","location='departments.html'");   
   mm_menu_0423160124_0.addMenuItem(mm_menu_0423160124_0_1,"location='departments.html'");   
   mm_menu_0423160124_0.hideOnMouseOut=true;
   mm_menu_0423160124_0.bgColor='#7A171E';
    mm_menu_0423160124_0.fontWeight='bold';
   mm_menu_0423160124_0.menuBorder=1;
   mm_menu_0423160124_0.menuLiteBgColor='#FFFFFF';
   mm_menu_0423160124_0.menuBorderBgColor='#F20202';
   
    window.mm_menu_0426140352_0_1 = new Menu("Students Services",60,22,"Tahoma",12,"#000000","#FFFFFF","#FFC66F","#E78600","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
  	mm_menu_0426140352_0_1.addMenuItem("NCC","location='students-services.html#ncc'");
	mm_menu_0426140352_0_1.addMenuItem("NSS","location='students-services.html#nss'");  
   	mm_menu_0426140352_0_1.hideOnMouseOut=true;
   	mm_menu_0426140352_0_1.bgColor='#7A171E';
   	mm_menu_0426140352_0_1.fontWeight='bold';
   	mm_menu_0426140352_0_1.menuBorder=1;
   	mm_menu_0426140352_0_1.menuLiteBgColor='#FFFFFF';
   	mm_menu_0426140352_0_1.menuBorderBgColor='#F20202';
   
  window.mm_menu_0426140352_0 = new Menu("root",130,22,"Tahoma",12,"#000000","#FFFFFF","#FFC66F","#E78600","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
  	mm_menu_0426140352_0.addMenuItem(mm_menu_0426140352_0_1,"location='students-services.html'");
	mm_menu_0426140352_0.addMenuItem("Students Union","location='students-union.html'");  
	mm_menu_0426140352_0.addMenuItem("Alumni","location='alumni.html'");
	mm_menu_0426140352_0.addMenuItem("Hostel","location='hostel.html'");
   	mm_menu_0426140352_0.hideOnMouseOut=true;
   	mm_menu_0426140352_0.bgColor='#7A171E';
   	mm_menu_0426140352_0.fontWeight='bold';
   	mm_menu_0426140352_0.menuBorder=1;
   	mm_menu_0426140352_0.menuLiteBgColor='#FFFFFF';
   	mm_menu_0426140352_0.menuBorderBgColor='#F20202';

mm_menu_0423160124_0.writeMenus();
} // mmLoadMenus()

    function toggle_visibility(id) {
       var e = document.getElementById(id);
       if(e.style.display == 'block')
          e.style.display = 'none';
       else
          e.style.display = 'block';
    }
	



function expand(btn)
{
    // save state of current button:
    var btnval = btn.value;

    // first, reset all buttons and divs:
    var dvs = document.getElementsByTagName("div");
    for ( var d = 0; d < dvs.length; ++d )
    {
        var dv = dvs[d];
        if ( dv.id.substring(0,2) == "EX" )
        {
            dv.style.display = "none";
        }
    }
    var btns = document.getElementsByTagName("input");
    for ( var b = 0; b < btns.length; ++b )
    {
        var bt = btns[b];
        if ( bt.className == "COLLAPSE" )
        {
            bt.value = "I Year";
            bt.className = "EXPAND";
        }
    }
    
    // now expand current choice, *IF* the button said EXPAND before:
    if ( btnval == "I Year" )
    {
        btn.value = "I Year";
        btn.className = "COLLAPSE";
        var idnum = btn.name.substring(1); // everything after the B
        var curdv = document.getElementById("EX"+idnum);
        curdv.style.display = "block";
    }
}
