
/********************************************************************************
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=5 //The pixel value between the foldoutmenus

//This is the area to position the navigation menu
//NOTE: This is preset for the addition of the dip DO NOT CHANGE!!
oFoldMenu.left=10 //The left position of the menu 
oFoldMenu.top=160 //The top position of the menu 
oFoldMenu.width=150 //The width of the menu... DO NOT CHANGE!!
oFoldMenu.maxheight=395 //The maxheight of the menu... DO NOT CHANGE!!

//Setting styles
oFoldMenu.clFold="" //Regular styles for the topDivs
oFoldMenu.clSub="left:10" //Styles for the subDivs
oFoldMenu.clSub2="left:20" //Styles for the sub2Divs
oFoldMenu.clSub3="left:30" //Styles for the sub3Divs
oFoldMenu.clSub4="left:40" //Styles for the sub4Divs
oFoldMenu.clSub5="left:60" //Styles for the sub5Divs

//Only change the font color!!
oFoldMenu.clCont="position:absolute;" //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:#999999" //The style for the toplinks
oFoldMenu.clSubLinks="font-family:Arial, Helvetica; font-size:12px; text-decoration:none; color:#999999" //The style for the sublinks
oFoldMenu.clSub2Links="font-family:Arial, Helvetica; font-size:12px; text-decoration:none; color:#999999" //The style for the sub2links
oFoldMenu.clSub3Links="font-family:Arial, Helvetica; font-size:12px; text-decoration:none; color:#999999" //The style for the sub3links
oFoldMenu.clSub4Links="font-family:Arial, Helvetica; font-size:12px; text-decoration:none; color:#999999" //The style for the sub4links
oFoldMenu.clSub5Links="font-family:Arial, Helvetica; font-size:12px; text-decoration:none; color:#999999" //The style for the sub5links

//Do not change this line!
oFoldMenu.makeStyle()


//Making menus

/*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)
*/

//MAIN 1



