﻿//Variables to set
between=18               //The pixel between the menus and the submenus
mainheight=25                //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=0                       //The top placement of the menu.
menux=0                    //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','KONOBA')
		makeMenu('sub','Gastro','gastro.asp')
        makeMenu('sub','Doga&#273;aji','dogadjaji.asp')
        //makeMenu('sub','Ku&scaron;anje vina na &#269;a&scaron;e','kusanje.asp')
		//makeMenu('sub','Gastro ponuda','kusanje.asp')
		makeMenu('sub','Klub vinskih vitezova','klub.asp')
		makeMenu('sub','Arhiva','klub.asp')
makeMenu('top','VINOTEKA')
        makeMenu('sub','Vinoteka','vina_dalmacije.asp')
		makeMenu('sub','Vina Dalmacije','vina_dalmacije.asp#vina_dalmacije')
makeMenu('top','PRODAJA')
        makeMenu('sub','Pokloni','pokloni.asp')
        makeMenu('sub','Veleprodaja','veleprodaja.asp')
		makeMenu('sub','Zastupstva','movia.asp')
makeMenu('top','KORISNI LINKOVI')
        makeMenu('sub','Movia','http://www.movia.si/slo/movia/' , '_blank')
        makeMenu('sub','TZ grada Splita','http://www.visitsplit.com/', '_blank')
		makeMenu('sub','Svijet u &#269;a&scaron;i','http://www.mam-vin.hr/', '_blank')
		makeMenu('sub','Vinski podrum','http://www.vinskipodrum.com/', '_blank')

makeMenu('top','KONTAKT','kontakt.asp')


//Starting the menu
onload=SlideMenuInit;
//        MOD07: initialize rescrolling so menu stays in view when page scrolls
