
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
try{
	imgArrowDown=new Image()
	//imgArrowDown.src=imgPath+"SET_A/upper_bar/rtl_navbar_arrow.off.png"
	imgArrowDown.src=cssUpperPath +"/images/ubar/ubar_main_arrow.off.gif";
}catch(e){}

//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
try{
	imgArrowSubMenu=new Image()
	//imgArrowSubMenu.src=imgPath+"SET_A/upper_bar/rtl_navbar_arrow.off.png"
	imgArrowSubMenu.src=cssUpperPath +dir+ "/images/ubar/ubar_sub_arrow.off.gif"
}catch(e){}
//ltrImgArrowSubMenu=new Image()
//ltrImgArrowSubMenu.src=imgPath+"SET_A/upper_bar/ltr_navbar_arrow.off.png"
//ltrImgArrowSubMenu.src=cssUpperPath +dir+ "/images/ubar_sub_arrow.off.gif"

