var blankImage="img/blank.gif";
var isHorizontal=1; //show parent menue items Horizontal if equal ( 1 ) or vertical if equal ( 0 )
var menuWidth="70";//width of main menue    (in case of width will equal menue words menuWidth=0)
var absolutePos=0;//1;	//to make the menue move while going up and down with the page put absolutePos=1
var posX=0;//185;		//pos start menue	X
var posY=0;//100;		//pos start menue	Y
var floatable=1;
var floatIterations=0;
var movable=0;//menue can user move if movable=1  or cann't move if  movable=0
var moveCursor="move";
var moveImage="img/movepic.gif";
var moveWidth=20;//width for move part
var moveHeight=20;//height for move part
var fontStyle="";//"Verdana, Arial, Helvetica, sans-serif 10px;";
var fontColor=["#FAF8F8",""];//text color  ,  OnMouseOver text color
var fontDecoration=["none","none"];
var itemBackColor=["",""];
var itemBorderWidth=0;
if(Lan=="R")	var itemAlign="right";
if(Lan=="L")	var itemAlign="center";
var itemBorderColor=["red","blue"];
var itemBorderStyle=["solid","solid"];
var itemBackImage=["",""];
var itemSpacing=1;
var itemPadding=1;
var itemCursor="default";
var itemTarget="_self";//"frm2";	//way of opening the linked window     in case of the same window put itemTarget="" or itemTarget="_self"      in case of new window put itemTarget="frm2"
var iconTopWidth=0;
var iconTopHeight=0;
var iconWidth=0;
var iconHeight=0;
var menuBackImage="";//"lib/menue_files/img/Nav_03.gif";
var menuBackColor="";
var menuBorderColor="";
var menuBorderStyle=["solid"];
var menuBorderWidth=0;
if(Lan=="R")		var subMenuAlign="right";
if(Lan=="L")		var subMenuAlign="center";
var transparency=100;


//var transition=8;
//----- Reem Code
var Trans=-1;
while(Trans>39 || Trans<1)	Trans=(Math.round(Math.random()*100));
var transition=Trans;//to change the face of opening sub menue 0 to 39


var transDuration=400;
var shadowColor="";//"#A2242A";
var shadowLen=0;//3;


if(Lan=="R")	var arrowImageMain=["",""];		//image after any item has submenue
if(Lan=="L")	var arrowImageMain=["lib/menue_files/img/white_arrow.gif",""];


var arrowImageSub=["",""];
var arrowWidth="5";//6;
var arrowHeight="3";//5;

var separatorImage="";
var separatorWidth="";//"100%";
var separatorHeight="0";
var separatorAlignment="";
var separatorVImage="";//"lib/menue_files/img/left_separetor.gif";
var separatorVWidth="140";
var separatorVHeight="1";

var statusString="link";
var pressedItem=-2;
var pathPrefix="";
var topDX=0;
var topDY=0;
var DX=-5;
var DY=0;
var saveNavigationPath=0;


//--------- Reem Vars
if(Lan=="R")		var menueTableAlign="right";
if(Lan=="L")		var menueTableAlign="center";

if(Lan=="R")		var menueTableDir="rtl";
if(Lan=="L")		var menueTableDir="ltr";
var menueCursor="hand";

var submenueBorderWidth="1";
var submenueBorderColor="#ffffff";
var submenueBorderStyle="solid";

if(Lan=="R")	var submenueStartPosX=-230;
if(Lan=="L")	var submenueStartPosX=-20;

var submenueStartPosY=-1;
var submenuebgcolor="#9D9D9D";
var submenuebackground="lib/menue_files/img/header_links_back.gif";
var submenuewidth="90";
if(Lan=="R")
{
	var itemImageMain="";//"lib/menue_files/img/arrow_ar.gif"; //image before main menue item
	var itemImageSubMain="";//"lib/menue_files/img/arrow_ar.gif"; //image before main submenue item
}
if(Lan=="L")
{
	var itemImageMain="";//"lib/menue_files/img/arrow_en.gif"; //image before main menue item
	var itemImageSubMain="";//"lib/menue_files/img/arrow_en.gif"; //image before main submenue item
}
//--------- 


var itemStyles = [
   ["itemBackColor=#F1F6FD,#F1F6FD",],//item in the menue with special color
   ["itemBackColor=,",],//separator line between menue items
];


/*
var menuItems = [
   ["القسم الأول","http://www.apycom.com","","","",,,],
   ["-","","","","",,"1",],


   ["القسم الثاني","","","","",,,],
   ["|القسم الثاني","http://dhtml-menu.com","","","",,,],
   ["||القسم الثاني","http://dhtml-menu.com/examples/dhtml-menu-ex1.html","","","",,,],
   ["||مقال 1 / 2","http://dhtml-menu.com/indexex.html#set","","","",,,],
   ["||مقال 1 / 3","http://dhtml-menu.com/params.html","","","",,,],
   ["|مقال 2","http://dhtml-menu.com/order.html","","","",,"0",],
   ["|مقال 3","http://www.apycom.com/download.html","","","",,,],
	 ["-","","","","",,"1",],


   ["القسم الثالث","","","","",,,],
   ["|مقال 1","","","","",,,],
   ["||مقال 1 / 1","http://www.apycom.com/xp-drop-down-menu/","","","",,,],
   ["||مقال 1 / 2","http://www.apycom.com/animated-buttons/","","","",,,],
   ["||مقال 1 / 3","http://www.apycom.com/website-buttons/","","","",,,],
   ["||مقال 1 / 4","http://www.apycom.com/navigation-bar-tabs/","","","",,,],
   ["||مقال 1 / 5","http://www.apycom.com/indexex.html","","","",,,],
   ["||مقال 1 / 6","http://www.apycom.com/shots/xpdd.html","","","",,,],
   ["||مقال 1 / 7","http://www.apycom.com/order.html","","","",,"0",],
   ["||مقال 1 / 8","http://www.apycom.com/download.html","","","",,,],
   ["|مقال 2","http://www.xp-web-buttons.com","","","",,,],
   ["|مقال 3","http://www.dbfview.com","","","",,,],
//   ["|-","","","","",,"0",],
   ["|مقال 4","","","","",,,],
   ["||مقال 4 / 1","testlink.html","","","",,,],
   ["|||مقال 4 / 1 / 1","testlink.html","","","",,,],
   ["|||مقال 4 / 1 / 2","testlink.html","","","",,,],
   ["||مقال 4 / 2","testlink.html","","","",,,],
   ["||مقال 4 / 3","testlink.html","","","",,,],
   ["|||مقال 4 / 3 / 1","testlink.html","","","",,,],
   ["|||مقال 4 / 3 / 2","testlink.html","","","",,,],
   ["||مقال 4 / 4","testlink.html","","","",,,],
	 ["-","","","","",,"1",],


   ["القسم الرابع","http://www.apycom.com/contact.html","","","",,,],
];
*/
apy_init();
