//keywords
var arrow       = "arrow";
var oarrow      = "oarrow";
var code        = "code";
var format      = "format";
var image       = "image";
var itemoff     = "itemoff";
var leveloff     = "leveloff";
var oimage      = "oimage";
var sub         = "sub";
var size        = "size";
var style       = "style";
var url         = "url";

var defcolor    = {"border":"black", "shadow":"rgb(225,225,225)", "bgON":"white","bgOVER":"black", "imagebg":"white", "oimagebg":"black"};
var defcss      = {"ON":"cssMenuTopOn", "OVER":"cssMenuTopOver"};

var TOP_LEFT        = {"border":1, "borders":[1,1,0,1], "shadow":2, "color":defcolor, "css":defcss};
var TOP_MIDDLE      = {"border":1, "borders":[0,1,0,1], "shadow":2, "color":defcolor, "css":defcss};
var TOP_RIGHT       = {"border":1, "borders":[0,1,1,1], "shadow":2, "color":defcolor, "css":defcss};
var STYLE_SUB       = {"border":1, "borders":[1,0,1,0], "shadow":4, "color":defcolor, "css":defcss};
var STYLE_TOP       = {"border":1, "borders":[1,1,1,0], "shadow":4, "color":defcolor, "css":defcss};
var STYLE_BOTTOM    = {"border":1, "borders":[1,0,1,1], "shadow":4, "color":defcolor, "css":defcss};

var MENU_ITEMS =
[
    {"pos":"relative", size:[22,128], itemoff:[0,128], "imgsize":[22,27], leveloff:[0,0], "delay":400, image:"/images/menus/blank.gif", "imgsize":[20,24], arrow:"/images/menus/arrow.gif", "arrsize":[13,13],  style:TOP_MIDDLE},
    {code:"Home", url:"http://www.newmium.com/cgi-bin/pagebot.cgi?Action=PageGet&Page=welcome/default.htm", format:{image:"/images/menus/folder.gif", oimage:"/images/menus/ofolder.gif", arrow:null, style:TOP_LEFT}},
//    {code:"Hardware", url:"http://www.newmium.com/cgi-bin/pagebot.cgi?Action=PageGet&Page=products/hardware/default.htm", format:{image:"/images/menus/folder.gif", oimage:"/images/menus/ofolder.gif", arrow:null, style:TOP_MIDDLE},
//    sub:[
//        {size:[22,160], itemoff:[21,0], leveloff:[21,0], arrow:"/images/menus/arrow.gif", image:"/images/menus/blank.gif", oimage:"/images/menus/blank.gif", style:STYLE_SUB},
//        {code:"Context Controllers", url:"http://www.newmium.com/cgi-bin/pagebot.cgi?Action=PageGet&Page=products/hardware/controllers/context/default.htm", format:{style:STYLE_SUB}},
//        ]
//    },
    {code:"Software", url:"http://www.newmium.com/cgi-bin/pagebot.cgi?Action=PageGet&Page=products/software/default.htm", format:{image:"/images/menus/folder.gif", oimage:"/images/menus/ofolder.gif", arrow:null, style:TOP_MIDDLE},
    sub:[
        {size:[22,160], itemoff:[21,0], leveloff:[21,0], arrow:"/images/menus/arrow.gif", oarrow:"/images/menus/oarrow.gif", image:"/images/menus/blank.gif", style:STYLE_SUB},
        {code:"Dr Series", url:"http://www.newmium.com/cgi-bin/pagebot.cgi?Action=PageGet&Page=products/software/dr-series/default.htm", format:{image:"/images/menus/blank.gif", oimage:"/images/menus/blank.gif", style:STYLE_SUB},
        sub:[
            {size:[22,160], itemoff:[21,0], leveloff:[0,160], style:STYLE_TOP},
            {code:"Dr Automata&#153;", url:"http://www.newmium.com/cgi-bin/pagebot.cgi?Action=PageGet&Page=products/software/dr-series/dr-automata/default.htm", format:{image:"/images/menus/blank.gif", oimage:"/images/menus/blank.gif", style:STYLE_TOP}},
            {code:"Dr Parse&#153;", url:"http://www.newmium.com/cgi-bin/pagebot.cgi?Action=PageGet&Page=products/software/dr-series/dr-parse/default.htm", format:{image:"/images/menus/blank.gif", oimage:"/images/menus/blank.gif", style:STYLE_BOTTOM}},
            ]
        },
        {code:"iXSeries", url:"http://www.newmium.com/cgi-bin/pagebot.cgi?Action=PageGet&Page=products/software/ixseries/default.htm", format:{image:"/images/menus/blank.gif", oimage:"/images/menus/blank.gif", style:STYLE_SUB},
        sub:[
            {size:[22,160], itemoff:[21,0], leveloff:[0,160], style:STYLE_TOP},
            {code:"iXNotepad&#153;", url:"http://www.newmium.com/cgi-bin/pagebot.cgi?Action=PageGet&Page=products/software/ixseries/ixnotepad/default.htm", format:{image:"/images/menus/blank.gif", oimage:"/images/menus/blank.gif", style:STYLE_TOP}}
            ]
        },
        {code:"Parser Kits (PDKs)", url:"http://www.newmium.com/cgi-bin/pagebot.cgi?Action=PageGet&Page=products/software/pdk-series/default.htm", format:{image:"/images/menus/blank.gif", oimage:"/images/menus/blank.gif", style:STYLE_SUB},
        sub:[
            {size:[22,160], itemoff:[21,0], leveloff:[0,160], style:STYLE_TOP},
            {code:"PDK EXI&#153;", url:"http://www.newmium.com/cgi-bin/pagebot.cgi?Action=PageGet&Page=products/software/pdk-series/pdk-exi/default.htm", format:{image:"/images/menus/blank.gif", oimage:"/images/menus/blank.gif", style:STYLE_TOP}},
            {code:"PDK HTML&#153;", url:"http://www.newmium.com/cgi-bin/pagebot.cgi?Action=PageGet&Page=products/software/pdk-series/pdk-html/default.htm", format:{image:"/images/menus/blank.gif", oimage:"/images/menus/blank.gif", style:STYLE_SUB}},
            {code:"PDK XML&#153;", url:"http://www.newmium.com/cgi-bin/pagebot.cgi?Action=PageGet&Page=products/software/pdk-series/pdk-xml/default.htm", format:{image:"/images/menus/blank.gif", oimage:"/images/menus/blank.gif", style:STYLE_SUB}},
            {code:"PDK XSD&#153;", url:"http://www.newmium.com/cgi-bin/pagebot.cgi?Action=PageGet&Page=products/software/pdk-series/pdk-xsd/default.htm", format:{image:"/images/menus/blank.gif", oimage:"/images/menus/blank.gif", style:STYLE_BOTTOM}},
            ]
        },
        ]
    },
    {code:"Solutions", url:"http://www.newmium.com/cgi-bin/pagebot.cgi?Action=PageGet&Page=solutions/default.htm", format:{image:"/images/menus/folder.gif", oimage:"/images/menus/ofolder.gif", arrow:null, style:TOP_MIDDLE}},
    {code:"Support", url:"http://www.newmium.com/cgi-bin/pagebot.cgi?Action=PageGet&Page=support/default.htm", format:{image:"/images/menus/folder.gif", oimage:"/images/menus/ofolder.gif", arrow:null, style:TOP_MIDDLE}},
    {code:"About Us", url:"http://www.newmium.com/cgi-bin/pagebot.cgi?Action=PageGet&Page=company/default.htm", format:{image:"/images/menus/folder.gif", oimage:"/images/menus/ofolder.gif", arrow:null, style:TOP_RIGHT},
    sub:[
        {size:[22,160], itemoff:[21,0], leveloff:[21,0], arrow:"/images/menus/arrow.gif", oarrow:"/images/menus/oarrow.gif", image:"/images/menus/blank.gif", style:STYLE_SUB},
        {code:"R&amp;D", url:"http://www.newmium.com/cgi-bin/pagebot.cgi?Action=PageGet&Page=research/default.htm", format:{image:"/images/menus/blank.gif", oimage:"/images/menus/blank.gif", arrow:null, style:STYLE_SUB}},
        {code:"R&amp;D Software", url:"http://www.newmium.com/cgi-bin/pagebot.cgi?Action=PageGet&Page=products/software/default.htm", format:{image:"/images/menus/blank.gif", oimage:"/images/menus/blank.gif", arrow:null, style:STYLE_SUB},
        sub:[
            {size:[22,160], itemoff:[21,0], leveloff:[0,160], style:STYLE_TOP},
            {code:"CGX Series", url:"http://www.newmium.com/cgi-bin/pagebot.cgi?Action=PageGet&Page=products/software/cgx-series/default.htm", format:{image:"/images/menus/blank.gif", oimage:"/images/menus/blank.gif", style:STYLE_SUB},
            sub:[
                {size:[22,160], itemoff:[21,0], leveloff:[0,160], style:STYLE_TOP},
                {code:" CGX&#153;", url:"http://www.newmium.com/cgi-bin/pagebot.cgi?Action=PageGet&Page=products/software/cgx-series/cgx/default.htm", format:{image:"/images/menus/blank.gif", oimage:"/images/menus/blank.gif", style:STYLE_TOP}},
                {code:" CGX Script&#153;", url:"http://www.newmium.com/cgi-bin/pagebot.cgi?Action=PageGet&Page=products/software/cgx-series/cgx-script/default.htm", format:{image:"/images/menus/blank.gif", oimage:"/images/menus/blank.gif", style:STYLE_SUB}},
                {code:" CGX Studio&#153;", url:"http://www.newmium.com/cgi-bin/pagebot.cgi?Action=PageGet&Page=products/software/cgx-series/cgx-studio/default.htm", format:{image:"/images/menus/blank.gif", oimage:"/images/menus/blank.gif", style:STYLE_BOTTOM}}
                ]
            },
            {code:"Dr Series", url:"http://www.newmium.com/cgi-bin/pagebot.cgi?Action=PageGet&Page=products/software/dr-series/default.htm", format:{image:"/images/menus/blank.gif", oimage:"/images/menus/blank.gif", style:STYLE_SUB},
            sub:[
                {size:[22,160], itemoff:[21,0], leveloff:[0,160], style:STYLE_TOP},
                {code:" Dr JTAG&#153;", url:"http://www.newmium.com/cgi-bin/pagebot.cgi?Action=PageGet&Page=products/software/dr-series/dr-jtag/default.htm", format:{image:"/images/menus/blank.gif", oimage:"/images/menus/blank.gif", style:STYLE_TOP}},
                {code:" Dr Studio&#153;", url:"http://www.newmium.com/cgi-bin/pagebot.cgi?Action=PageGet&Page=products/software/dr-series/dr-studio/default.htm", format:{image:"/images/menus/blank.gif", oimage:"/images/menus/blank.gif", style:STYLE_SUB}},
                ]
            },
            {code:"GT Series", url:"http://www.newmium.com/cgi-bin/pagebot.cgi?Action=PageGet&Page=products/software/gt-series/default.htm", format:{image:"/images/menus/blank.gif", oimage:"/images/menus/blank.gif", style:STYLE_SUB},
            sub:[
                {size:[22,160], itemoff:[21,0], leveloff:[0,160], style:STYLE_TOP},
                {code:" GT CC&#153;", url:"http://www.newmium.com/cgi-bin/pagebot.cgi?Action=PageGet&Page=products/software/gt-series/gt\-cc/default.htm", format:{image:"/images/menus/blank.gif", oimage:"/images/menus/blank.gif", style:STYLE_TOP}},
                {code:" GT CE&#153;", url:"http://www.newmium.com/cgi-bin/pagebot.cgi?Action=PageGet&Page=products/software/gt-series/gt\-ce/default.htm", format:{image:"/images/menus/blank.gif", oimage:"/images/menus/blank.gif", style:STYLE_SUB}},
                ]
            },
            {code:"iXSeries", url:"http://www.newmium.com/cgi-bin/pagebot.cgi?Action=PageGet&Page=products/software/ixseries/default.htm", format:{image:"/images/menus/blank.gif", oimage:"/images/menus/blank.gif", style:STYLE_SUB},
            sub:[
                {size:[22,160], itemoff:[21,0], leveloff:[0,160], style:STYLE_TOP},
                {code:" iXBrowser&#153;", url:"http://www.newmium.com/cgi-bin/pagebot.cgi?Action=PageGet&Page=products/software/ixseries/ixbrowser/default.htm", format:{image:"/images/menus/blank.gif", oimage:"/images/menus/blank.gif", style:STYLE_TOP}},
                {code:" iXRip Stream&#153;", url:"http://www.newmium.com/cgi-bin/pagebot.cgi?Action=PageGet&Page=products/software/ixseries/ixrip-series/ixrip-stream/default.htm", format:{image:"/images/menus/blank.gif", oimage:"/images/menus/blank.gif", style:STYLE_SUB}},
                {code:" iXOutlook&#153;", url:"http://www.newmium.com/cgi-bin/pagebot.cgi?Action=PageGet&Page=products/software/ixseries/ixoutlook/default.htm", format:{image:"/images/menus/blank.gif", oimage:"/images/menus/blank.gif", style:STYLE_SUB}},
                {code:" iXRip Series&#153;", url:"http://www.newmium.com/cgi-bin/pagebot.cgi?Action=PageGet&Page=products/software/ixseries/ixrip-series/default.htm", format:{image:"/images/menus/blank.gif", oimage:"/images/menus/blank.gif", style:STYLE_SUB}},
                {code:" iXRIOS Series&#153;", url:"http://www.newmium.com/cgi-bin/pagebot.cgi?Action=PageGet&Page=products/software/ixseries/ixrios-series/default.htm", format:{image:"/images/menus/blank.gif", oimage:"/images/menus/blank.gif", style:STYLE_BOTTOM}}
                ]
            }]
        }]
    }
];




