

//Variables to set



var slidemenu_config_images_path = "/comunfrm/images/slide/";





//Images - Play with these

level0_regular=slidemenu_config_images_path + "level0_regular.gif"

level0_round=slidemenu_config_images_path+"level0_round.gif"



level1_regular=slidemenu_config_images_path+"level1_regular.gif"

level1_round=slidemenu_config_images_path+"level1_round.gif"

level1_round2=slidemenu_config_images_path+"level1_round2.gif"

level1_sub=slidemenu_config_images_path+"level1_sub.gif"

level1_sub_round=slidemenu_config_images_path+"level1_sub_round.gif"

level1_round2=slidemenu_config_images_path+"level1_round2.gif"



level2_regular=slidemenu_config_images_path+"level2_regular.gif"

level2_round=slidemenu_config_images_path+"level2_round.gif"

level2_round2=slidemenu_config_images_path+"level2_round2.gif"

level2_sub=slidemenu_config_images_path+"level2_sub.gif"

level2_sub_round=slidemenu_config_images_path+"level2_sub_round.gif"





level3_regular=slidemenu_config_images_path+"level3_regular.gif"

level3_round=slidemenu_config_images_path+"level3_round.gif"

level3_round2=slidemenu_config_images_path+"level3_round2.gif"

level3_sub=slidemenu_config_images_path+"level3_sub.gif"

level3_sub_round=slidemenu_config_images_path+"level3_sub_round.gif"



level4_regular=slidemenu_config_images_path+"level4_regular.gif"

level4_round=slidemenu_config_images_path+"level4_round.gif"

level4_round2=slidemenu_config_images_path+"level4_round2.gif"

level4_sub=slidemenu_config_images_path+"level4_sub.gif"

level4_sub_round=slidemenu_config_images_path+"level4_sub_round.gif"









slideMenu = new createSlideMenu("slideMenu")



//Variables to set:

slideMenu.menuy=150 //The top placement of the menu.

slideMenu.menux=350 //The left placement of the menu

slideMenu.useImages = 1 //Are you using images or not?

slideMenu.pxspeed=20 //The pixel speed of the animation

slideMenu.timspeed=25 //The timer speed of the animation

slideMenu.inset = 10 //How much the selected items should pop to the left

slideMenu.arrow = 0 //Set this to className that has font-family:webdings

										//if you want to use the arrow feature. Note:

										//This ONLY works on DOM capable browsers, and with

										//useImages set to 0 - It's basically just a test I did.

										//I hope to improve it later on.



//Needed dummy classes - leave in the stylesheet!

slideMenu.bgClass =	"slideMenuBG"

slideMenu.txtClass = "slideMenuText"





slideMenu.level[0] = new slideMenu_makeLevel(

	left = 0,

	width = 400,

	height = 21,

	between = 5,

	className = "clSlideMenu",

	classNameA = "clA0",

	regImage = level0_regular,

	roundImg = level0_round,

	roundImg2 = "",

	subImg = "",

	subRound= "")

	

slideMenu.level[1] = new slideMenu_makeLevel(10,450,20,2,"clSlideMenu","clA1",level1_regular,level1_round2,level1_round,level1_sub, level1_sub_round)

slideMenu.level[2] = new slideMenu_makeLevel(21,450,18,2,"clSlideMenu","clA2",level2_regular,level2_round2,level2_round, level2_sub, level2_sub_round)

slideMenu.level[3] = new slideMenu_makeLevel(33,450,20,2,"clSlideMenu","clA3",level3_regular,level3_round2,level3_round,level3_sub,level3_sub_round)

slideMenu.level[4] = new slideMenu_makeLevel(40,107,19,2,"clSlideMenu","clA4",level4_regular, level4_round2,level4_round,level4_sub, level4_sub_round)



//Image preload --- leave this

for(var i=0;i<slideMenu.level;i++){

	var l = slideMenu.level[i]

	new preLoadBackgrounds(l.regImage,l.roundImg,l.roundImg2,l.subImg,l.subRound)

}









//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','NAME TITLE', 'END (THE LAST MENU)')



//Menu 0 

