
var ubar_maxDepth=Number(ubar_maxDepth)

//Side menu declarations
var SideBarImgOn,SideBarImgOff,SideBarImgSel;
var SideBarLinkImgOn,SideBarLinkImgOff,SideBarLinkImgSel;
var OpenedDivOn,OpenedDivOff,OpenedDivImage;
var OpenedDivLinkOn,OpenedDivLinkOff ,OpenedDivLinkImage;

//////////////////////////////////////////////
//FOR UPPER MENU
//////////////////////////////////////////////
//////////////////////////////////////////////
//UPPER
//////////////////////////////////////////////
// The arrow that indicate that there is a sub menu for this menu. rtl and ltr
if(dir.toLowerCase()=="rtl"){
	imgArrowDown=new Image(8,8)
	imgArrowDown.src=imgSet+"upper_bar/BulletDown2.off.gif"
}
else{
	imgArrowDown=new Image(8,8)
	imgArrowDown.src=imgSet+"upper_bar/BulletDown2.off.gif"
}
//UPPER DIVS
//////////////////////////////////////////////
//where to put the image. befor the text or after
putImgArrowSubMenuBeforeText = false;
// The arrow that indicate that there is a sub menu for this sub menu. rtl and ltr
rtlImgArrowSubMenu="";//new Image(8,8)
//rtlImgArrowSubMenu.src=imgSet+"upper_bar/BulletDown1.gif"

ltrImgArrowSubMenu="";//new Image(8,8)
//ltrImgArrowSubMenu.src=imgSet+"upper_bar/BulletDown1.gif"

