	/********************************************************************************
	Calling the write functions and setting variables
	********************************************************************************/

	//Variables to set

	oFoldMenu=new foldoutMenuObj('oFoldMenu')
	oFoldMenu.substay=false //Should the sub menus stay folded?
	oFoldMenu.sub2stay=false //Should the sub2 menus stay folded?
	oFoldMenu.sub3stay=false //Should the sub3 menus stay folded?
	oFoldMenu.sub4stay=false //Should the sub4 menus stay folded?
	oFoldMenu.sub5stay=false //Should the sub5 menus stay folded?
	oFoldMenu.sub6stay=false //Should the sub6 menus stay folded?

	oFoldMenu.menubetween=0 //The pixel value between the foldoutmenus

	oFoldMenu.left=0 //The left position of the menu
	oFoldMenu.top=0 //The top position of the menu
	oFoldMenu.width=177 //The width of the menu
	oFoldMenu.maxheight=100 //The maxheight of the menu, be sure to set this one high enough

	//Setting styles
	oFoldMenu.clFold="top: 0px; width: 177px; height: 17px; overflow: hidden; border-top: 1px solid #FFFFFF; color:#FFFFFF; display: block; margin-top: 1px; background: transparent url(/images/backg_menu.gif);" //Regular styles for the topDivs
	oFoldMenu.clSub="top: 0px; width: 167px; height: 15px; padding-bottom: 5px; padding-left: 10px; overflow: hidden; display: block; background-color: #68666B; background: height: 18px;" //Styles for the subDivs
	oFoldMenu.clSub2="left: 20px; top: 0px; width: 145px; height: 15px; padding-bottom: 5px; padding-left: 4px; overflow: hidden; background-color: #424242;" //Styles for the sub2Divs
	oFoldMenu.clSub3="left: 30px; top: 0px; width: 135px; height: 15px; padding-bottom: 5px; padding-left: 4px; overflow: hidden; background-color: #424242;" //Styles for the sub3Divs
	oFoldMenu.clSub4="left: 40px; top: 0px; width: 125px; height: 15px; padding-bottom: 5px; padding-left: 4px; overflow: hidden; background-color: #424242;" //Styles for the sub4Divs
	oFoldMenu.clSub5="left: 50px; top: 0px; width: 115px; height: 15px; padding-bottom: 5px; padding-left: 4px; overflow: hidden; background-color: #424242;" //Styles for the sub5Divs

	oFoldMenu.clFoldHover="top: 0px; width: 177px; height: 17px; background-color: #68666B; color: #FFFFFF !important; hidden;border-top: 1px solid #FFFFFF; display: block; margin-top: 1px;" //Regular hover styles for the topDivs
	oFoldMenu.clSubHover="top: 0px; width: 167px; height: 15px; padding-bottom: 5px; padding-left: 10px; background-color: #424242; color: #FFFFFF; overflow: height: 18px; hidden; display: block; " //Hover Styles for the subDivs
	oFoldMenu.clSub2Hover="left: 20px; top: 0px; width: 145px; height: 15px; padding-bottom: 5px; padding-left: 4px; background-color: #68666B; color: #FFFFFF; overflow: hidden;" //Hover Styles for the sub2Divs
	oFoldMenu.clSub3Hover="left: 30px; top: 0px; width: 135px; height: 15px; padding-bottom: 5px; padding-left: 4px; background-color: #68666B; color: #FFFFFF; overflow: hidden;" //Hover Styles for the sub3Divs
	oFoldMenu.clSub4Hover="left: 40px; top: 0px; width: 125px; height: 15px; padding-bottom: 5px; padding-left: 4px; background-color: #68666B;; color: #FFFFFF; overflow: hidden;" //Hover Styles for the sub4Divs
	oFoldMenu.clSub5Hover="left: 50px; top: 0px; width: 115px; height: 15px; padding-bottom: 5px; padding-left: 4px; background-color: #68666B; color: #FFFFFF; overflow: hidden;" //Hover Styles for the sub5Divs

	oFoldMenu.clCont="position:relative;" //The cont layer, set position to relative if you want to try and have it inside a layer or whatever

	oFoldMenu.clFoldLinks="font-family:Arial, Helvetica; font-size:12px; text-decoration:none; color:#424242; display: block; margin-top: 1px;" //The style for the toplinks
	oFoldMenu.clSubLinks="font-family:Arial, Helvetica; font-size:12px; text-decoration:none; color:#FFFFFF;  display: block; height: 18px;" //The style for the sublinks
	oFoldMenu.clSub2Links="font-family:Arial, Helvetica; font-size:12px; text-decoration:none; color:#FFFFFF; display: block; height: 18px;" //The style for the sub2links
	oFoldMenu.clSub3Links="font-family:Arial, Helvetica; font-size:12px; text-decoration:none; color:#FFFFFF; display: block; height: 18px;" //The style for the sub3links
	oFoldMenu.clSub4Links="font-family:Arial, Helvetica; font-size:12px; text-decoration:none; color:#FFFFFF; display: block; height: 18px;" //The style for the sub4links
	oFoldMenu.clSub5Links="font-family:Arial, Helvetica; font-size:12px; text-decoration:none; color:#FFFFFF; display: block; height: 18px;" //The style for the sub5links


	/*ARGUMENTS:
		type = what type of menu this item is (top,sub,sub2,sub3,sub4,sub5)
		text = the text for the item
		lnk = the link for the item (not needed if submenus)
		target = the target for the link (not needed if no target or no link)
		offimage = the default "arrow" image for this element (if you spesify no text, you can use the image only)
		onimage = the image to swap to when clicked (not needed if you don't want a swap image)
		fc = if you want the item to execute another javascript function aswell use this
		opn = if you want this particilar item to be opened on load set this to 1 (0,1)
	*/

	//Do not change this line!
	oFoldMenu.makeStyle();
	

