//Variables to set
between=28 //The pixel between the menus and the submenus
mainheight=25 //The height of the mainmenus
subheight=22 //The height of the submenus
pxspeed=13 //The pixel speed of the animation
timspeed=15 //The timer speed of the animation
menuy=140 //The top placement of the menu.
menux=0 //The left placement of the menu
//Images - Play with these
level0_regular="/Image/level0_regular.gif"
level0_round="/Image/level0_round.gif"
level1_regular="/Image/level1_regular.gif"
level1_round="/Image/level1_round.gif"
level1_sub="/Image/level1_sub.gif"
level1_sub_round="/Image/level1_sub_round.gif"
level1_round2="/Image/level1_round2.gif"
level2_regular="/Image/level2_regular.gif"
level2_round="/Image/level2_round.gif"

//Leave this line
preLoadBackgrounds(level0_regular,level0_round,level1_regular,level1_round,level1_sub,level1_sub_round,level1_round2,level2_regular,level2_round)


//There are 3 different types of menus you can make
//top = Main menus
//sub = Sub menus
//sub2 = SubSub menus

//You control the look of the menus in the stylesheet

//makeMenu('TYPE','TEXT','LINK','TARGET', 'END (THE LAST MENU)')

//Menu 0 
makeMenu('top','Home','/index.html')
	//makeMenu('sub','Newest news','/news/index.asp')
	//makeMenu('sub','News archive','/news/archive.asp')

//Menu 1
makeMenu('top','History')
	makeMenu('sub','Museum','/history/museuminfo.html')
	makeMenu('sub','RP History','/history/RP_history.html')
	makeMenu('sub','Founding Fathers','/history/Father.html')
	makeMenu('sub','Book of Records','/history/Records.html')
	makeMenu('sub','Photo Gallary','/history/Photo.html')

	  //makeMenu('sub2','Menu scripts','/script/search.asp?category=menu')
	  //makeMenu('sub2','Text scripts','/script/search.asp?category=text')
	  //makeMenu('sub2','Animation scripts','/script/search.asp?category=animation')
	  //makeMenu('sub2','Other scripts','/script/search.asp?category=other')        

//Menu 2    
makeMenu('top','Goverment')
  makeMenu('sub','Mayor s Welcome','/govt/mayor/Mayor.html')
  makeMenu('sub','Mayor & Council','/govt/goverment.html')
  makeMenu('sub','Brough Offices','/govt/dept/borohall.html')
  makeMenu('sub','Useful Information','/govt/Information.html')
//Menu 3
makeMenu('top','Our Commmunity')
  makeMenu('sub','Library','http://www.roselleparklibrary.org')
  makeMenu('sub','Worship','/community/Worship.html')
  makeMenu('sub','Transportation','/community/transport.html')
  
  //makeMenu('sub','Scripts','forums/forum.asp?FORUM_ID=4&CAT_ID=1&Forum_Title=DHTML+Scripts')
  //makeMenu('sub','dhtmlcentral.com','forums/forum.asp?FORUM_ID=5&CAT_ID=1&Forum_Title=dhtmlcentral%2Ecom')
  //makeMenu('sub','General','forums/forum.asp?FORUM_ID=6&CAT_ID=1&Forum_Title=General+DHTML+issues')
  //makeMenu('sub','Off-topic','forums/forum.asp?FORUM_ID=9&CAT_ID=1&Forum_Title=Off%2Dtopic')
  //makeMenu('sub','Active topics','forums/active.asp')

//Menu 4  
makeMenu('top','Education')
  makeMenu('sub','Board of Education','http://www.roselleparkschools.org')
  makeMenu('sub','High School','http://www.roselleparkschools.org/rphs/rphsix.html')
  makeMenu('sub','Middle School','http://www.roselleparkschools.org/rpms/msix.html')
  makeMenu('sub','Elementary School','http://www.roselleparkschools.org/rpelem/elemix.html')

//Menu 5
makeMenu('top','RP Business')
  makeMenu('sub','Business','/business/business.html')
  
//Menu 6  
//makeMenu('top','dhtmlcentral')
  //makeMenu('sub','dhtmlcentral','dhtmlcentral/index.asp',"",1)

//Starting the menu
onload=SlideMenuInit;
