var isHorizontal=0;

var iconTopWidth  = 0;
var iconTopHeight = 0;
var subMenuAlign = "left";
var moveImage  = "";
var moveWidth      = 0;
var moveHeight      = 0;

var blankImage="";
var fontStyle=["normal","bold"];
var fontColor=["#323232","#126E9F"];
var fontDecoration=["none","none"];

var itemBackImage="";
var itemBackColor=["#CCD676","FFDC73"];
var itemBorderWidth=0;
var itemAlign="center";
var itemBorderColor=["#CCD676","#CCD676"];
var itemBorderStyle=["ridge","solid"];
var itemBackImage=["",""];

var menuBackImage="";
var menuBackColor=["#ffffff","#ff0000"];
var menuBorderColor="#CCD676";
var menuBorderStyle="solid";
var menuBorderWidth=1;
var transparency=80;
var transition=12;
var transDuration=300;
var shadowColor="#126E9F";
var shadowLen=0;
var menuWidth="103";  // NEW (NN% or NNpx. Default - 0px)

var statusString="text";
var iconWidth=0;
var iconHeight=0;
var arrowImageMain=["",""];
var arrowImageSub=["",""]; // NEW
var arrowWidth=0;
var arrowHeight=0;
var itemSpacing=0;
var itemPadding=2;


var movable=0;
var absolutePos=1;
//var posX=120;
//var posY=170;
var posX=pos(1)
var posY=120

var itemCursor = "hand";
var itemTarget = "_self";
var moveCursor = "move";

var floatable=1;
var floatIterations=5;
//////////////////praj////////////////
var itemStyles =
[
    ["fontColor=#323232,#323232",,"fontStyle=normal,bold","fontDecoration=underline",""],
    ["fontColor=#323232,#323232","fontStyle=normal","itemBackColor=#FFDC73,#CCD676","itemBorderStyle=outset","itemBorderWidth=1","itemBorderColor=#CCD676"],
]; 
var menuStyles =
[
    ["menuBackColor=#CCD676"],
    [""],
]; 
//////////////praj///////////////
//'var item_style
//'var menu_style
var menuItems =
[
    ["about Us", "jb_brothers_aboutus.asp", "", "", "", , "0", "0"],
        ["|J.B. & Brothers", "jb_brothers_aboutus.asp", "", "", "", , "1", "1"],
        ["|Yaelstar B.V.B.A.", "jb_brothers_yaelstar_belgium.asp", "", "", "", , "1", "1"],
        ["|Vandan Associates (Canada)", "jb_brothers_our_glances_vandan.asp", "", "", "", , "1", "1"],
        ["|Zurel Brothers S.A.", "jb_brothers_zurel.asp", "", "", "", , "1", "1"],
        ["|YAEL Jewels (Surat) ", "jb_brothers_yael_jewel.asp", "", "", "", , "1", "1"],
        ["|J.B. & Brothers (HK) Ltd.", "jb_brothers_hk.asp", "", "", "", , "1", "1"],
        ["|J.B. & Brothers (U.S.A.) INC.", "jb_brothers_usa.asp", "", "", "", , "1", "1"],
        ["|achievements", "jb_brothers_achievements.asp", "", "", "", , "1", "1"],

    ["new registration", "/Online/General/OnlineRegistration.aspx", "", "", "", , "0", "0"],
    ["online stock", "/Online/General/SignIn.aspx", "", "", "", , "0", "0"],
        ["|sign in ", "/Online/General/SignIn.aspx", "", "", "", , "1", "1"],
        ["|how to buy demo", "javascript:open('/Static/online_demo.html','_blank','width=650,height=500')", "", "", "", , "1", "1"],
        ["|sales system ", "jb_brothers_our_sales_system.asp", "", "", "", , "1", "1"],
        ["|benefits", "jb_brothers_benefits.asp", "", "", "", , "1", "1"],
    ["JB Grading System", "jb_brothers_grading_system_01.asp", "", "", "", , "0", "0"],

    ["shows and others", "/Online/General/JBB_Event.aspx", "", "", "", , "1", "1"],
        ["|trade shows", "/Online/General/JBB_Event.aspx", "", "", "", , "1", "1"],
        ["|achievements", "jb_brothers_achievements.asp", "", "", "", , "1", "1"],
        ["|opinion book ", "/Online/General/OpinionBook1.aspx", "", "", "", , "1", "1"],

    ["branded diamonds", "jb_brothers_bd_yael.asp", "", "", "", , "0", "0"],
        ["|Yael Canadian", "jb_brothers_bd_yael.asp", "", "", "", , "1", "1"],
        ["|Aleya", "jb_brothers_bd_aleya.asp", "", "", "", , "1", "1"],

    ["product profile", "jb_brothers_product_line.asp", "", "", "", , "0", "0"],
    ["|product line", "jb_brothers_product_line.asp", "", "", "", , "1", "1"],
    ["|manufacturing", "jb_brothers_manufacturing.asp", "", "", "", , "1", "1"],

    ["calendar ", "javascript:open('/Online/General/JB_Calander.aspx','_blank','width=610,height=600')", "", "", "", , "0", "0"],
    ["Statement of Principles", "jb_brothers_Principles.asp", "", "", "", , "0", "0"],
	["contact us", "jb_brothers_contact_us.asp", "", "", "", , "0", "0"],
    ["sitemap ", "jb_brothers_sitemap.asp", "", "", "", , "0", "0"],
];

//
apy_init();

