/* school menus - updated 10-25-05 by kevin */
/* re-structured education links - find a physician */


var education = 0;

var research = 0;

var patientcare = 0;

var community = 0;

function mmLoadMenus() {

  if (window.mm_menu_departments_0) return;

  window.mm_menu_education = new Menu("root",150,22,"Arial, Helvetica, sans-serif",12,"#FFFFFF","#FFFFFF","#6784A2","#003366","left","middle",5,0,0,-5,7,true,false,true,3,false,true);

  mm_menu_education.addMenuItem("Overview","window.open('http://www.uic.edu/com/dom/html/ed_overview.html', '_top');");

 
  mm_menu_education.addMenuItem("Faculty","window.open('http://www.uic.edu/com/dom/staff.html', '_top');");

  mm_menu_education.addMenuItem("Administrative Offices","window.open('http://www.uic.edu/com/dom/adminoffice.html', '_top');");

mm_menu_education.addMenuItem("Comptuter Technology","window.open('http://www.uic.edu/com/dom/tech/, '_top');");

mm_menu_education.addMenuItem("MD/PhD Program","window.open('http://www.uic.edu/com/mdphd/', '_top');");
 
  mm_menu_education.fontWeight="bold";

   mm_menu_education.hideOnMouseOut=true;

   mm_menu_education.bgColor='#555555';

   mm_menu_education.menuBorder=0;

   mm_menu_education.menuLiteBgColor='#ffffff';

   mm_menu_education.menuBorderBgColor='#555555';



    window.mm_menu_research = new Menu("root",150,22,"Arial, Helvetica, sans-serif",12,"#FFFFFF","#FFFFFF","#6784A2","#003366","left","middle",5,0,0,-5,7,true,false,true,3,false,true);

  mm_menu_research.addMenuItem("Overview","window.open('http://www.uic.edu/com/dom/html/re_overview.html', '_top');");



  
   mm_menu_research.fontWeight="bold";

   mm_menu_research.hideOnMouseOut=true;

   mm_menu_research.bgColor='#555555';

   mm_menu_research.menuBorder=0;

   mm_menu_research.menuLiteBgColor='#ffffff';

   mm_menu_research.menuBorderBgColor='#555555';



    window.mm_menu_patientcare = new Menu("root",150,22,"Arial, Helvetica, sans-serif",12,"#FFFFFF","#FFFFFF","#6784A2","#003366","left","middle",5,0,0,-5,7,true,false,true,3,false,true);

  mm_menu_patientcare.addMenuItem("Overview","window.open('http://www.uic.edu/com/dom/html/pc_overview.html', '_top');");

   mm_menu_patientcare.addMenuItem("Human Resources","window.open('http://www.uic.edu/com/dom/hr/', '_top');");

  

   mm_menu_patientcare.fontWeight="bold";

   mm_menu_patientcare.hideOnMouseOut=true;

   mm_menu_patientcare.bgColor='#555555';

   mm_menu_patientcare.menuBorder=0;

   mm_menu_patientcare.menuLiteBgColor='#ffffff';

   mm_menu_patientcare.menuBorderBgColor='#555555';



      window.mm_menu_community = new Menu("root",185,24,"Arial, Helvetica, sans-serif",12,"#FFFFFF","#FFFFFF","#808150","#5F6123","left","middle",5,0,0,-5,7,true,false,true,3,false,true);

  mm_menu_community.addMenuItem("Community&nbsp;Home","window.open('http://med.stanford.edu/community/', '_top');");

  mm_menu_community.addMenuItem("Courses&nbsp;and&nbsp;Education","window.open('http://med.stanford.edu/community/courses/', '_top');");

  mm_menu_community.addMenuItem("Diversity&nbsp;Programs","window.open('http://med.stanford.edu/community/diversity/', '_top');");

  mm_menu_community.addMenuItem("International&nbsp;Health","window.open('http://med.stanford.edu/community/global/', '_top');");

  mm_menu_community.addMenuItem("Community&nbsp;Based&nbsp;Research","window.open('http://med.stanford.edu/community/research/index.html', '_top');");

  mm_menu_community.addMenuItem("Service&nbsp;To&nbsp;The&nbsp;Community","window.open('http://med.stanford.edu/community/service/', '_top');");

  mm_menu_community.addMenuItem("Make&nbsp;a&nbsp;Gift","window.open('http://med.stanford.edu/giving/', '_top');");

   mm_menu_community.fontWeight="bold";

   mm_menu_community.hideOnMouseOut=true;

   mm_menu_community.bgColor='#555555';

   mm_menu_community.menuBorder=0;

   mm_menu_community.menuLiteBgColor='#ffffff';

   mm_menu_community.menuBorderBgColor='#555555';



mm_menu_community.writeMenus();

} // mmLoadMenus()

<!--

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_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 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 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];}

}



function MM_jumpMenu(targ,selObj,restore){ //v3.0

  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");

  if (restore) selObj.selectedIndex=0;

}



function startState(str) {

	var id, img;

	if (str == "Home") { 

		return;

	}

	else {

		if (str == "Education") { education = 1; id="tabedu"; img="ed2.gif"; }

		if (str == "Research") { research = 1; id="tabres"; img="re2.gif"; }

		if (str == "Patient Care") { patientcare = 1; id="tabpc"; img="pc2.gif"; }

		if (str == "Community") { community = 1; id="tabcom"; img="http://med.stanford.edu/Templates/school/tab-com-trans.gif"; }

		

		MM_swapImage(id,'','',1);

	}

}

//-->

