//Variables to set
between=26 //The pixel between the menus and the submenus
mainheight=26 //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=92 //The top placement of the menu.
menux=45 //The left placement of the menu
//Images - Play with these
level0_regular="level0_regular.gif"
level0_round="level0_round.gif"
level1_regular="level1_regular.gif"
level1_round="level1_round.gif"
level1_sub="level1_sub.gif"
level1_sub_round="level1_sub_round.gif"
level1_round2="level1_round2.gif"
level2_regular="level2_regular.gif"
level2_round="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','www.b-sim.com','http://www.b-sim.com')

//Menu 1
makeMenu('top','Pre-processing')
  makeMenu('sub','Preform/parison','sheetdoc.htm')
  makeMenu('sub','Tool','tool.htm')
  makeMenu('sub','Process control','proccont.htm')
  makeMenu('sub','Material','material.htm')
  makeMenu('sub','Heat, friction','hfr.htm')
  

//Menu 2
makeMenu('top','Project,solver','projectdoc.htm')

//Menu 3
makeMenu('top','Post-processing')
  makeMenu('sub','Results','postproc.htm')
  makeMenu('sub','Image distortion','Images.htm')

//Menu 4
makeMenu('top','Configuration','display.htm')


//Menu 5
makeMenu('top','Help')
  makeMenu('sub','Tutorial','Tutorial.htm')
  makeMenu('sub','How to...','faq.htm')
  makeMenu('sub','Support','support.htm')


//Starting the menu
onload=SlideMenuInit; 
