/*****************************************************************************
Copyright (c) 2001 Thomas Brattli (webmaster@dhtmlcentral.com)

DHTML coolMenus - Get it at coolmenus.dhtmlcentral.com
Version 4.0_beta
This script can be used freely as long as all copyright messages are
intact.
******************************************************************************/

SMenu=new makeCM("SMenu")

//Menu properties
SMenu.pxBetween=0
SMenu.fromLeft=0
SMenu.fromTop=85
SMenu.rows=0
SMenu.menuPlacement=0

SMenu.offlineRoot="file:///C|/Inetpub/wwwdev/"
SMenu.onlineRoot="/"
SMenu.resizeCheck=1
SMenu.wait=300
SMenu.fillImg="cm_fill.gif"
SMenu.zIndex=0

//Background bar properties
SMenu.useBar=0
SMenu.barWidth="menu"
SMenu.barHeight="100%"
SMenu.barClass="smBar"
SMenu.barX="menu"
SMenu.barY="menu"
SMenu.barBorderX=0
SMenu.barBorderY=0
SMenu.barBorderClass="smBarborder"

//Level properties - ALL properties have to be specified in level 0
SMenu.level[0]=new cm_makeLevel() //Add this for each new level
SMenu.level[0].width=120
SMenu.level[0].height=20
SMenu.level[0].regClass="smLevel0"
SMenu.level[0].overClass="smLevel0over"
SMenu.level[0].borderX=0
SMenu.level[0].borderY=1
SMenu.level[0].borderClass='smLevel0border'
SMenu.level[0].offsetX=-5
SMenu.level[0].offsetY=5
SMenu.level[0].rows=0
//SMenu.level[0].arrow="scripts/menuarrowout.gif";
SMenu.level[0].arrowWidth=0 //12;
SMenu.level[0].arrowHeight=0 //12;
SMenu.level[0].align="right"


//EXAMPLE SUB LEVEL[1] PROPERTIES - You have to specify the properties you want different from LEVEL[0] - If you want all items to look the same just remove this
SMenu.level[1]=new cm_makeLevel() //Add this for each new level (adding one to the number)
SMenu.level[1].width=130
SMenu.level[1].height=22
SMenu.level[1].regClass="smLevel1"
SMenu.level[1].overClass="smLevel1over"
SMenu.level[1].style=""
SMenu.level[1].align="bottom"
SMenu.level[1].offsetX=0
SMenu.level[1].offsetY=0
SMenu.level[1].borderClass="smLevel1border"
SMenu.level[1].borderX=1
SMenu.level[1].borderY=1
SMenu.level[1].rows=0
//SMenu.level[0].arrow="scripts/menuarrowdown.gif";
SMenu.level[0].arrowWidth=0 //12;
SMenu.level[0].arrowHeight=0 //12;

/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout)
*************************************/
SMenu.makeMenu('top0','','UKZN Home','http://www.ukzn.ac.za')
	SMenu.makeMenu('sub00','top0','Site Index','http://www.ukzn.ac.za/Siteindex.aspx')
	SMenu.makeMenu('sub01','top0','New Students','http://www.ukzn.ac.za/ProspectiveStudents/HowToApply.aspx')
	SMenu.makeMenu('sub02','top0','School Brochures', baseurl + '/publicity/brochures.asp')
	SMenu.makeMenu('sub03','top0','UKZN Calendar','http://registrar.ukzn.ac.za/HCPMBW18228.aspx')
	SMenu.makeMenu('sub04','top0','Research','http://research.ukzn.ac.za/HomePage9744.aspx')
	SMenu.makeMenu('sub05','top0','Graduation','http://www.ukzn.ac.za/Homepage.aspx')
	SMenu.makeMenu('sub06','top0','Exam Timetable','http://examinations.ukzn.ac.za/HowardCollegeTimeTable16092.aspx')


SMenu.makeMenu('top1','','Undergraduates', baseurl + '/info/infomainpagefrom08.asp')
	SMenu.makeMenu('sub11','top1','U/Grad Courses', baseurl + '/undergradcourseinfo/NUcourseinfoa.asp')
	SMenu.makeMenu('sub12','top1','ASAP', 'http://asap.ukzn.ac.za/HomePage19919.aspx')
	SMenu.makeMenu('sub13','top1','Vacation Work', baseurl + '/info/VacationWorkCoverPage.asp')
	SMenu.makeMenu('sub14','top1','Book List', baseurl + '/info/BOOKLIST 2010.doc')
	SMenu.makeMenu('sub15','top1','Undergraduate Forms', baseurl + '/info/UGforms.asp')		
	SMenu.makeMenu('sub16','top1','Equipment', baseurl + '/info/currentnotices/EQUIPMENT2008.pdf')
	SMenu.makeMenu('sub17','top1','Professional Status', baseurl + '/info/ProfessionalStatusa.asp')

SMenu.makeMenu('top2','','Postgraduates', baseurl + '/postgrad/PGInfoa.asp')
	SMenu.makeMenu('sub21','top2','Information', baseurl + '/postgrad/PGInfoa.asp')
	SMenu.makeMenu('sub22','top2','Current Postgrads', baseurl + '/postgrad/currentpgs.asp')

SMenu.makeMenu('top3','','School Research', baseurl + '/research/Researchmain.asp')
	SMenu.makeMenu('sub31','top3','2001 Research Report',baseurl + '/research/researchhighlights2001.asp','',140)
	SMenu.makeMenu('sub32','top3','2002 Research Report',baseurl + '/research/researchhighlights2002.asp','',140)
	SMenu.makeMenu('sub33','top3','2003-2005 Reports','http://research.ukzn.ac.za/ResearchReports11485.aspx','',140)

//Leave this line - it constructs the menu
SMenu.construct()