//UDMv3.4.1 (upgraded from 3.2.2)
//**DO NOT EDIT THIS *****
if (!exclude) { //********
//************************


///////////////////////////////////////////////////////////////////////////
//
//  ULTIMATE DROPDOWN MENU VERSION 3.4.1 (upgraded from 3.2.2) by Brothercake
//  http://www.brothercake.com/dropdown/ 
//
//  Link-wrapping routine by Brendan Armstrong
//
//  KDE modifications by David Joham
//
//  Opera reload/resize routine by Michael Wallner
//  http://www.wallner-software.com/
//
///////////////////////////////////////////////////////////////////////////



// *** POSITIONING AND STYLES *********************************************

// the "if" stuff is my own to get the menu to size right

var myWidth = 0;
if( typeof( window.innerWidth ) == 'number' ) {
//Non-IE
	myWidth  = (window.innerWidth);
} else {
  if( document.documentElement && document.documentElement.clientWidth ) {
    //IE 6+ in 'standards compliant mode'
    myWidth = document.documentElement.clientWidth;
  } else {
    if( document.body && document.body.clientWidth ) {
      //IE 4 compatible
      myWidth = document.body.clientWidth;
    }
  } 
}	

var numberMenuItems =  5;
if ( myWidth == 0 ) { myWidth=165*numberMenuItems; } 
var menuItemWidth = myWidth/numberMenuItems;

// now here are the actual script variables

var menuALIGN = "left";  	// alignment
var absLEFT = 	0;		// absolute left or right position (if menu is left or right aligned)
var absTOP = 	40; 		// absolute top position

var staticMENU = false;		// static positioning mode (ie5,ie6 and ns4 only)
var stretchMENU = true;        // show empty cells
var showBORDERS = true;         // show empty cell borders
var baseHREF = "../etc/dropdown/resources/";  // base path 
var zORDER = 	1000;		// base z-order of nav structure (not ns4)
var mCOLOR = 	"#336699";	// main nav cell color
var rCOLOR = 	"#cc0000";	// main nav cell rollover color
var bSIZE = 	1;		// main nav border size
var bCOLOR = 	"#ffffff"	// main nav border color
var aLINK = 	"#ffffff";	// main nav link color
var aHOVER = 	"";		// main nav link hover-color (dual purpose)
var aDEC = 	"none";		// main nav link decoration
var fFONT = 	"arial,times";	// main nav font face		
var fSIZE = 	13;		// main nav font size (pixels)	
var fWEIGHT = 	""		// main nav font weight
var tINDENT = 	7;		// main nav text indent (if text is left or right aligned)
var vPADDING = 	12;		// main nav vertical cell padding
var vtOFFSET = 	0;		// main nav vertical text offset (+/- pixels from middle)
var keepLIT =	true;		// keep rollover color when browsing menu
var vOFFSET = 	5;		// shift the submenus vertically
var hOFFSET = 	4;		// shift the submenus horizontally
var smCOLOR = 	"#cc0000";	// submenu cell color
var srCOLOR = 	"#336699";	// submenu cell rollover color
var sbSIZE = 	1;		// submenu border size
var sbCOLOR = 	"#99cccc"	// submenu border color
var saLINK = 	"#ffffff";	// submenu link color
var saHOVER = 	"#ffffff";	// submenu link hover-color (dual purpose)
var saDEC = 	"";		// submenu link decoration
var sfFONT = 	"arial,times";// submenu font face		
var sfSIZE = 	12;		// submenu font size (pixels)	
var sfWEIGHT = 	"normal"	// submenu font weight
var stINDENT = 	5;		// submenu text indent (if text is left or right aligned)
var svPADDING = 1;		// submenu vertical cell padding
var svtOFFSET = 0;		// submenu vertical text offset (+/- pixels from middle)
var shSIZE =	2;		// submenu drop shadow size 
var shCOLOR =	"#bcbcbc";	// submenu drop shadow color
var shOPACITY = 75;		// submenu drop shadow opacity (not ie4,ns4 or opera)
var keepSubLIT = true;		// keep submenu rollover color when browsing child menu	
var chvOFFSET = -12;		// shift the child menus vertically
var chhOFFSET = 7;		// shift the child menus horizontally 	
var closeTIMER = 330;		// menu closing delay time
var cellCLICK = true;		// links activate on TD click
var aCURSOR = "hand";		// cursor for active links (not ns4 or opera)
var altDISPLAY = "";		// where to display alt text
var allowRESIZE = true;		// allow resize/reload
var redGRID = false;		// show a red grid
var gridWIDTH = 0;		// override grid width
var gridHEIGHT = 0;		// override grid height
var documentWIDTH = 0;		// override document width
var hideSELECT = true;          // auto-hide select boxes when menus open (ie5+ only) 
var allowForSCALING = false;    // allow for text scaling in mozilla 5 



//** LINKS ***********************************************************


// addMainItem("","<img src='"+baseHREF+"favicon.gif' alt='' width=11 height=16 alt='' border=0>",29,"center","","",0,0,"");

// add main link item ("url","Link name",width,"text-alignment","_target","alt text",top position,left position,"key trigger")

// people

addMainItem("people.shtml","<span class='u'>P</span>eople",menuItemWidth,"center","","",0,0,"p"); 

	// define submenu properties (width,"align to edge","text-alignment",v offset,h offset,"filter")
	defineSubmenuProperties(180,"left","left",0,0,"");
	
	// add submenu link items ("url","Link name","_target","alt text")

	addSubmenuItem("faculty-alph.shtml","Faculty","","");
		// define child menu properties (width,"align to edge","text-alignment",v offset,h offset,"filter")
		defineChildmenuProperties(174,"left","left",0,0,"");

		// add child menu link items ("url","Link name","_target","alt text")
		addChildmenuItem("faculty-alph.shtml","Alphabetical","","");
		addChildmenuItem("faculty-field.shtml","by Areas of Interest","","");
		addChildmenuItem("faculty-rank.shtml","by Rank","","");

//	addSubmenuItem("staff.shtml","Staff","","");
        addSubmenuItem("staff.shtml","Staff","","");
	addSubmenuItem("grad_list.shtml","Graduate Students","","");
        addSubmenuItem("grad_alum.shtml","Graduate Alumni Links","","");
	addSubmenuItem("committees.shtml","Committees","","");
	addSubmenuItem("/people/wwwusers.html","All Home Pages","","");
	addSubmenuItem("research-areas.shtml","Research Areas","","");
	addSubmenuItem("hiring.shtml","Positions at Stony Brook","","");

		// define child menu properties (width,"align to edge","text-alignment",v offset,h offset,"filter")
		defineChildmenuProperties(174,"left","left",0,0,"");

		// add child menu link items ("url","Link name","_target","alt text")


// undergrad

addMainItem("undergrad.shtml","<span class='u'>U</span>ndergraduate",menuItemWidth,"center","","",0,0,"u"); 

	// define submenu properties (width,"align to edge","text-alignment",v offset,h offset,"filter")
	defineSubmenuProperties(180,"left","left",0,0,"");

	// add submenu link items ("url","Link name","_target","alt text")

	addSubmenuItem("","Undergraduate courses","","");
		// define child menu properties (width,"align to edge","text-alignment",v offset,h offset,"filter")
		defineChildmenuProperties(174,"left","left",0,0,"");

		// add child menu link items ("url","Link name","_target","alt text")
        addChildmenuItem("und_crs_overview.shtml","Overview","","");
	addChildmenuItem("/schedules/currentsem.html","Schedules","","");
	addChildmenuItem("calculus.shtml","Calculus web pages","","");
	addChildmenuItem("courses.shtml","Course web pages","","");
	addChildmenuItem("/schedules/nextsem.html","Next Semester","","");

	addSubmenuItem("/CDproject/OvUM","For Incoming Students","","");
        addSubmenuItem("current_semester.shtml","Current Semester Information","","");
	addSubmenuItem("/MLC/","Math Learning Center","","");
	addSubmenuItem("und_major.shtml","The Mathematics Major","","");
		// define child menu properties (width,"align to edge","text-alignment",v offset,h offset,"filter")
		defineChildmenuProperties(174,"left","left",0,0,"");

		// add child menu link items ("url","Link name","_target","alt text")
		addChildmenuItem("honors.shtml","Honors Program","","");
		addChildmenuItem("und_teacher_prep.shtml","Teacher Preparation Program","","");
		addChildmenuItem("/docs/ug-handbook/ug-handbook.pdf","Undergraduate Handbook","","");

	addSubmenuItem("/prizes2.html","Awards & Scholarships","","");
	addSubmenuItem("opportunities.shtml","Opportunities","","");


		// define child menu properties (width,"align to edge","text-alignment",v offset,h offset,"filter")
		defineChildmenuProperties(174,"left","left",0,0,"");

		// add child menu link items ("url","Link name","_target","alt text")
		addChildmenuItem("/und_research_opps.html","Research","","");
		addChildmenuItem("/jobs.html","Job","","");

	addSubmenuItem("fun.shtml","Fun Stuff","","");

		// define child menu properties (width,"align to edge","text-alignment",v offset,h offset,"filter")
		defineChildmenuProperties(174,"left","left",0,0,"");

		// add child menu link items ("url","Link name","_target","alt text")
		addChildmenuItem("/MathClub","USB Math Club","","");
		addChildmenuItem("/CDproject/OvUM/","OvUM Project","","");
		addChildmenuItem("/monthly-problem","Problem of the Month","","");
		addChildmenuItem("http://www.ams.org/mathmedia/","What's New In Mathematics","","");

	addSubmenuItem("/cgi-bin/sched.cgi?type=UG_Office","Undergrad. Advising Schedule","","");
	addSubmenuItem("courseresources.shtml","Course Resources","","");
	// define child menu properties (width,"align to edge","text-alignment",v offset,h offset,"filter")
		defineChildmenuProperties(174,"left","left",0,0,"");

		// add child menu link items ("url","Link name","_target","alt text")
		addChildmenuItem("/MLC/","Math Learning Center","","");
		addChildmenuItem("/calculus/calc-prg.html","Calculator Programs","","");
		addChildmenuItem("/~tony/calc/","Calculus Reform Materials","","");	
	addSubmenuItem("http://ws.cc.stonybrook.edu/ugrdbulletin/current/pdfs/MAT.pdf","SBU Bulletin: Mathematics","","");	

// graduate

addMainItem("graduate.shtml","<span class='u'>G</span>raduate",menuItemWidth,"center","","",0,0,"g"); 


	// define submenu properties (width,"align to edge","text-alignment",v offset,h offset,"filter")
	defineSubmenuProperties(270,"left","left",0,0,"");
	
	// add submenu link items ("url","Link name","_target","alt text")

        addSubmenuItem("research-areas.shtml","Research Areas","","");
	addSubmenuItem("http://www.math.sunysb.edu/html/grad_applications.shtml","Application for Admission","","");
	addSubmenuItem("sto.shtml","Masters Program (Secondary Teacher Option)","","");
	addSubmenuItem("http://www.stonybrook.edu/spd/graduate/matmath","Master of Arts in Teaching Mathematics","","");
	addSubmenuItem("/docs/grad-handbook/main/","Graduate Student Handbook","","");
<!--	addSubmenuItem("http://www.grad.sunysb.edu/academics/GUIDE.T&D/Guidet&d.htm","Graduate School Thesis Guide","","");-->
        addSubmenuItem("http://www.grad.sunysb.edu","Graduate School Information","","");
	addSubmenuItem("","Graduate courses","","");
		// define child menu properties (width,"align to edge","text-alignment",v offset,h offset,"filter")
		defineChildmenuProperties(174,"left","left",0,0,"");

		// add child menu link items ("url","Link name","_target","alt text")
		addChildmenuItem("/schedules/currentsem.html#grad","Schedules","","");
		addChildmenuItem("courses.shtml#graduate","Web pages","","");
		addChildmenuItem("/graduate/syllabi.html","Core Courses","","");
                addChildmenuItem("/graduate/topics.html","Current topics Courses","","");
		addChildmenuItem("/schedules/nextsem.html#grad","Next Semester","","");

	addSubmenuItem("grad_list.shtml","Current Graduate Students","","");
	addSubmenuItem("grad_alum.shtml","Alumni Links","","");
	addSubmenuItem("http://www.grad.sunysb.edu/academics/bulletin/Mat.pdf","SBU Bulletin: Mathematics","","");





// research

addMainItem("research.shtml","<span class='u'>R</span>esearch",menuItemWidth,"center","","",0,0,"o"); 
	
	// define submenu properties (width,"align to edge","text-alignment",v offset,h offset,"filter")

	defineSubmenuProperties(180,"left","left",0,0,"");

	// add submenu link items ("url","Link name","_target","alt text")

	addSubmenuItem("/html/research-areas.shtml","Research Areas","","");
		// define child menu properties (width,"align to edge","text-alignment",v offset,h offset,"filter")
		defineChildmenuProperties(174,"left","left",0,0,"");

		// add child menu link items ("url","Link name","_target","alt text")
	addSubmenuItem("faculty-field.shtml","Faculty by Research Interest","","");
		// define child menu properties (width,"align to edge","text-alignment",v offset,h offset,"filter")
		defineChildmenuProperties(174,"left","left",0,0,"");

		// add child menu link items ("url","Link name","_target","alt text")
	addSubmenuItem("/html/seminars.shtml","Seminars","","");
	addSubmenuItem("courses.shtml#graduate","Graduate course webpages","","");
	addSubmenuItem("/dynamics","Dynamical Systems page","","");
	addSubmenuItem("/preprints","I.M.S. preprints","","");
	addSubmenuItem("libraries.shtml","Library resources","","");


// miscd

addMainItem("misc.shtml","<span class='u'>M</span>iscellaneous",menuItemWidth,"center","","",0,0,"m"); 

	// define submenu properties (width,"align to edge","text-alignment",v offset,h offset,"filter")
	defineSubmenuProperties(180,"left","left",0,0,"");
	
	// add submenu link items ("url","Link name","_target","alt text")

	addSubmenuItem("/dept_history.html","Departmental History","","");
	addSubmenuItem("/cal/semlist.php","Department Seminars","","");
	addSubmenuItem("http://www.newsday.com/funbook","Long Island","","");
	addSubmenuItem("http://www.stonybrook.edu/sb/directions.shtml","Directions","","");
	addSubmenuItem("/~archive","Teaching Archive","","");
	addSubmenuItem("/preprints","I.M.S. Preprints","","");
	addSubmenuItem("/dynamics","Dynamical Systems Page","","");
	addSubmenuItem("libraries.shtml","Library Resources","","");

		// define child menu properties (width,"align to edge","text-alignment",v offset,h offset,"filter")
		defineChildmenuProperties(100,"right","right",0,0,"");

		// add child menu link items ("url","Link name","_target","alt text")
			addChildmenuItem("http://magellan.cc.sunysb.edu:4330/ALEPH/QEDNEPASDIP4I1CQK54CXGBJVXBXXD3LLVGVJAH2AFAM9RJBRN-08198/file/start-0","STARS","","");
			addChildmenuItem("http://sunysb.hosts.atlas-sys.com/illiad/logon.html","Inter-Lib Loan","","");

			addChildmenuItem("http://an5qy7ag4q.search.serialssolutions.com/","e-journals","","");

	addSubmenuItem("/html/computer.shtml","Computer, Web Resources","","");


		// define child menu properties (width,"align to edge","text-alignment",v offset,h offset,"filter")
		defineChildmenuProperties(100,"right","right",0,0,"");

		// add child menu link items ("url","Link name","_target","alt text")
		addChildmenuItem("/html/links.shtml","useful www links","","");
	addChildmenuItem("/online-docs","available software","","");
		addChildmenuItem("http://clientsupport.cc.stonybrook.edu/dialup.shtml","dial-up","","");

	addSubmenuItem("http://www.stonybrook.edu","Stony Brook University","","");


		// define child menu properties (width,"align to edge","text-alignment",v offset,h offset,"filter")
		defineChildmenuProperties(120,"right","right",0,0,"");

		// add child menu link items ("url","Link name","_target","alt text")
		addChildmenuItem("http://www.stonybrook.edu/solarsystem/","SOLAR system","","");
		addChildmenuItem("http://www.stonybrook.edu/registrar/calendar-academic.shtml","Calendars","","");
		addChildmenuItem("https://blackboard.stonybrook.edu","Blackboard","","");
                 addChildmenuItem("http://ws.cc.stonybrook.edu/ugrdbulletin/current/","Undergrad. Bulletin","","");
                 addChildmenuItem("http://www.grad.sunysb.edu/about/grad_bulletin.shtml","Graduate Bulletin","","");
//**DO NOT EDIT THIS *****
}//***********************
//************************

<!--avp 080820-->
