//keywords
var code="code";var url="url";var sub="sub";var root="http://www.sigmadyne.com/";
//styles
var defcolor = {"border":"red", "shadow":"#DBD8D1", "bgON":"#B3B3B3","bgOVER":"white", "imagebg":"#DBD8D1", "oimagebg":"#B6BDD2"};
var iconcolor = {"bgON":"black","bgOVER":"black"};
var subcolor = {"border":"red", "bgON":"#B3B3B3","bgOVER":"#B3B3B3"};

var defcss = {"ON":"navMenuOn", "OVER":"navMenuOver"};
var subcss = {"ON":"navMenuSub", "OVER":"navMenuSub"};

var STYLE_NO = {"border":0, "shadow":0, "color":iconcolor, "css":defcss};
var STYLE2 = {"border":1, "borders":[1,1,1,1], "shadow":0, "color":defcolor, "css":defcss};
var STYLE_SUBNAV = {"border":1, "borders":[1,1,1,1], "shadow":0, "color":subcolor, "css":subcss};
var STYLE_SUB = {"border":1, "borders":[1,0,1,0], "shadow":0, "color":defcolor, "css":defcss};
var STYLE_TOP = {"border":1, "borders":[1,1,1,0], "shadow":0, "color":defcolor, "css":defcss};
var STYLE_BOTTOM = {"border":1, "borders":[1,0,1,1], "shadow":0, "color":defcolor, "css":defcss};
var STYLE_TEST = {"border":1, "borders":[1,1,1,0], "shadow":0, "color":defcolor, "css":defcss, "arrow":"img/arr1.gif", "oarrow":"img/arr1_o.gif"};

var MENU_2_ITEMS =
[
        {"pos":"relative", "size":[33,120], "itemoff":[34,0], "leveloff":[0,0], "delay":0, "image":"img/b.gif", "imgsize":[20,24]},
        {code:'SIGFIT FEATURES', "format":{"arrow":null, "image":null, "style":STYLE_SUBNAV}},
                        {code:'Overview', url:root + "sigweb/sigfit.htm", "format":{"image":"img/arrow.gif", "oimage":"img/arrow_over.gif", "style":STYLE_SUB}},
                        {code:'Interpolation', url:root + "sigweb/sigfit_interpolation.htm", "format":{"image":"img/arrow.gif", "oimage":"img/arrow_over.gif", "style":STYLE_SUB}},
                        {code:'Adaptive Control', url:root + "sigweb/sigfit_adaptive.htm", "format":{"image":"img/arrow.gif", "oimage":"img/arrow_over.gif", "style":STYLE_SUB}},
                        {code:'Dynamic Response', url:root + "sigweb/sigfit_dynamic.htm", "format":{"image":"img/arrow.gif", "oimage":"img/arrow_over.gif", "style":STYLE_SUB}},
                        {code:'Thermo-Optic', url:root + "sigweb/sigfit_thermo.htm", "format":{"image":"img/arrow.gif", "oimage":"img/arrow_over.gif", "style":STYLE_SUB}},
                        {code:'Optimization Support', url:root + "sigweb/sigfit_optimization.htm", "format":{"image":"img/arrow.gif", "oimage":"img/arrow_over.gif", "style":STYLE_SUB}},
                        {code:'User Interface', url:root + "sigweb/sigfit_gui.htm", "format":{"image":"img/arrow.gif","oimage":"img/arrow_over.gif","style":STYLE_BOTTOM}}
];

var MENU_ITEMS =
[
        {"pos":"relative", "size":[88,88], "itemoff":[0,92], "leveloff":[92,0], "delay":600},
        {code:"", url:root + "sigweb/analysis.htm", "format":{"imgsize":[88,88], "image":root + "sigweb/img/ana.gif", "oimage":root + "sigweb/img/ana_over.gif", "style":STYLE_NO},
                sub:[
                        {"size":[18,110], "itemoff":[18,0], "style":STYLE2, "leveloff":[0,0]},
                        {code:'Overview', url:root + "sigweb/analysis.htm", "format":{"style":STYLE_TOP, "image":null}},
                        {code:'Opto-Mechanical', url:root + "sigweb/ana_optoMech.htm", "format":{"style":STYLE_SUB, "image":null}},
                        {code:'Adaptive Control', url:root + "sigweb/ana_adaptive.htm", "format":{"style":STYLE_SUB, "image":null}},
                        {code:'Dynamic Analysis', url:root + "sigweb/anal_dynamic.htm", "format":{"style":STYLE_SUB, "image":null}},
                        {code:'Thermal Analysis', url:root + "sigweb/anal_thermal.htm", "format":{"style":STYLE_SUB, "image":null}},
                        {code:'Optimum Design', url:root + "sigweb/anal_optimum.htm", "format":{"style":STYLE_BOTTOM, "image":null}},
                        ]
        },
                {code:"",  url:root + "sigweb/process.htm", "format":{"imgsize":[88,88], "image":root + "sigweb/img/process.gif", "oimage":root + "sigweb/img/process_over.gif", "style":STYLE_NO},
                sub:[
                        {"size":[18,88], "itemoff":[18,0], "style":STYLE2, "leveloff":[0,0]},
                        {code:'Overview', url:root + "sigweb/process.htm", "format":{"style":STYLE2, "image":null}},
                        ]
        },
                        {code:"", url:root + "sigweb/sigfit.htm", "format":{"imgsize":[88,88], "image":root + "sigweb/img/sigfit.gif", "oimage":root + "sigweb/img/sigfit_over.gif", "style":STYLE_NO},
                sub:[
                        {"size":[18,88], "itemoff":[18,0], "style":STYLE2, "leveloff":[0,0]},
                        {code:'Capabilities', url:root + "sigweb/sigfit.htm", "format":{"style":STYLE_TOP, "image":null}},
                        {code:'License Terms', url:root + "sigweb/sigfit_license.htm", "format":{"style":STYLE_SUB, "image":null}},
                        {code:'Downloads', url:root + "sigweb/sigfit_download.htm", "format":{"style":STYLE_BOTTOM, "image":null}},
                        ]
        },
                        {code:"", url:root + "sigweb/people_vic.htm", "format":{"imgsize":[88,88], "image":root + "sigweb/img/people.gif", "oimage":root + "sigweb/img/people_over.gif", "style":STYLE_NO},
                sub:[
                        {"size":[18,88], "itemoff":[18,0], "style":STYLE2, "leveloff":[0,0]},
                        {code:'Vic Genberg', url:root + "sigweb/people_vic.htm", "format":{"style":STYLE_TOP, "image":null}},
                        {code:'Greg Michels', url:root + "sigweb/people_greg.htm", "format":{"style":STYLE_SUB, "image":null}},
                        {code:'Gary Bisson', url:root + "sigweb/people_gary.htm", "format":{"style":STYLE_BOTTOM, "image":null}},
                        ]
        },
                        {code:"", url:root + "sigweb/pubs.htm", "format":{"imgsize":[88,88], "image":root + "sigweb/img/pubs.gif", "oimage":root + "sigweb/img/pubs_over.gif", "style":STYLE_NO},
                sub:[
                        {"size":[18,88], "itemoff":[18,0], "style":STYLE2, "leveloff":[0,0]},
                        {code:'Downloads', url:root + "sigweb/pubs.htm", "format":{"style":STYLE2, "image":null}},
                        ]
        },
                        {code:"", url:root + "sigweb/courses.htm", "format":{"imgsize":[88,88], "image":root + "sigweb/img/courses.gif", "oimage":root + "sigweb/img/courses_over.gif", "style":STYLE_NO},
                sub:[
                        {"size":[18,88], "itemoff":[18,0], "style":STYLE2, "leveloff":[0,0]},
                        {code:'Overview', url:root + "sigweb/courses.htm", "format":{"style":STYLE2, "image":null}},
                        ]
        },
                        {code:"", url:root + "sigweb/contact.htm", "format":{"imgsize":[88,88], "image":root + "sigweb/img/contact.gif", "oimage":root + "sigweb/img/contact_over.gif", "style":STYLE_NO},
                sub:[
                        {"size":[18,110], "itemoff":[18,0], "style":STYLE2, "leveloff":[0,-22]},
                        {code:'Contact', url:root + "sigweb/contact.htm", "format":{"style":STYLE_TOP, "image":null}},
                        {code:'Driving Directions', url:root + "sigweb/contact_road.htm", "format":{"style":STYLE_SUB, "image":null}},
                        {code:'Office Location', url:root + "sigweb/contact_bldg.htm", "format":{"style":STYLE_BOTTOM, "image":null}},
                        ]
        },
];
