//Variables to set
between=30                //The pixel between the menus and the submenus
mainheight=45                //The height of the mainmenus
subheight=18                //The height of the submenus
pxspeed=13                //The pixel speed of the animation
timspeed=15                //The timer speed of the animation
menuy=135                        //The top placement of the menu.
menux=56                        //The left placement of the menu

//Images - Play with these
level0_regular="images/nav/level0_regular.gif"
level0_round="images/nav/level0_round.gif"
level1_regular="images/nav/level1_regular.gif"
level1_round="images/nav/level1_round.gif"
level1_sub="images/nav/level1_sub.gif"
level1_sub_round="images/nav/level1_sub_round.gif"
level1_round2="images/nav/level1_round2.gif"
level2_regular="images/nav/level2_regular.gif"
level2_round="images/nav/level2_round.gif"

// MOD01: Highlight images for current link in open submenu
level1_regular_hi="images/nav/level1_regular_hi.gif";
level1_round_hi="images/nav/level1_round_hi.gif";
// MOD01: Highlight images for current link in open sub2menu
level2_regular_hi="images/nav/level2_regular_hi.gif";
level2_round_hi="images/nav/level2_round_hi.gif";

level0_regular_hi="images/nav/level0_regular_hi.gif";
level0_round_hi="images/nav/level0_round_hi.gif";
// MOD09: Top level image with drop-down arrow
level0_sub="images/nav/level0_sub.gif";

//Leave this line
preLoadBackgrounds(level0_regular,level0_round,level1_regular,level1_round,level1_sub,level1_sub_round,level1_round2,level2_regular,level2_round,
        level0_regular_hi, level0_round_hi, level1_regular_hi,level1_round_hi,level2_regular_hi,level2_round_hi,level0_sub)

//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)')

makeMenu('top','introduction', 'introduction.asp')

makeMenu('top','liability', 'liability.asp')

makeMenu('top','directory', 'directory.asp')

makeMenu('top','ship services', 'ship_services.asp')
		makeMenu('sub','entry application','entry_application.asp')

makeMenu('top','rules & regulations', 'rules_publications.asp')
makeMenu('top','type approval', 'http://dnn.com.hr/crs/Typeapprovalproducts/tabid/4200/Default.aspx' , '_blank')

makeMenu('top','IMO, IACS and EU regulatory info.', 'regAdocuments.asp')
		makeMenu('sub','IMO','regAdocuments.asp')
        makeMenu('sub','IACS', 'IACSregulatory.asp')
		makeMenu('sub','EU', 'EUregulatory.asp')

makeMenu('top','technical circulars', 'technical_circulars.asp')

makeMenu('top','class suspensions', 'Form_S_skupni.htm','_blank')
makeMenu('top','ISM white list', 'ism.htm','_blank')
makeMenu('top','Ships and companies under special surveillance', 'posebni_nadzor.asp','_blank')
makeMenu('top','approvals for servicing of life rafts', 'serviseri_eng.htm','_blank')
//makeMenu('top','Ships complying with ISPS Code', 'ShipsComplyingWithIspsCode.htm','_blank')
//makeMenu('top','new entries', 'new_entry.asp')
makeMenu('top','register of ships', 'http://report.crs.hr/hrb','_blank')
makeMenu('top','ship status', 'http://213.202.80.139/hrbwwwreports','_blank')
makeMenu('top','quality certification', 'quality_certification.asp')

//Starting the menu
onload=SlideMenuInit;
//        MOD07: initialize rescrolling so menu stays in view when page scrolls
