﻿/* COOLjsMenu style + structure file */

var STYLE_0 =
{
    borderWidth:1,
    borderColor:"",
    backgroundColor:[ "", "" ],
    backgroundClass:[ "clsCMOn", "clsCMOver" ],
    size:[  , ],
    itemoff:[ 0, '+previousItem-1px' ],
    leveloff:[ '+parentItem-1px', 0 ]
};

var STYLE_2 =
{
    borderWidth:1,
    borderColor:"000000",
    backgroundColor:[ "75542b", "371a00" ],
    backgroundClass:[ "clsCMOn", "clsCMOver" ],
    size:[ , ],
    itemoff:[ 21, 0 ],
    leveloff:[ 30, 0 ]
};

var STYLE_1 =
{
    itemoff:[ '+previousItem-1px', 0 ]
};

var MENU_ITEMS = [
    {/*1{*/pos:'relative'/*1}*/, style:[ STYLE_0, STYLE_1 ], blankImage:'http://www.decoyguild.com/images/b123.gif'},
    {code:"", url:"/", format:{size:[22,55]},
        sub:[]
    },
    {code:"", url:"/theguild", format:{size:[22,94], itemoff:[0,85]},
        sub:[
            {style:[ STYLE_2 ], size:[ 22,155 ]},
            {code:"&nbsp;OUR HISTORY", url:"/theguild/ourhistory/"},
            {code:"&nbsp;MISSION STATEMENT", url:"/theguild/missionstatement/"},
            {code:"&nbsp;BOARD OF DIRECTORS", url:"/theguild/boardofdirectors/"}
        ]
    },
        {code:"", url:"/decoyfestival", format:{size:[22,145], itemoff:[0,124]},
        sub:[
            {style:[ STYLE_2 ], size:[ 22,225 ]},
            
            {code:"&nbsp;DECOY COMPETITIONS", url:"/decoyfestival/decoycompetitions/"},
            {code:"&nbsp;DECOY COMPETITION RESULTS", url:"/decoyfestival/competitionresults/"},
            {code:"&nbsp;CALLING CONTESTS", url:"/decoyfestival/callingcontests/"},
            {code:"&nbsp;HEAD WHITTLING COMPETITION", url:"/decoyfestival/headwhittlingcompetition/"},
            {code:"&nbsp;YOUTH DAY AT THE FESTIVAL", url:"/decoyfestival/youthday/"},
            {code:"&nbsp;FESTIVAL SCHEDULE", url:"/decoyfestival/schedule/"},
            {code:"&nbsp;MAP TO THE FESTIVAL", url:"/decoyfestival/map/"}
        ]
    },
        {code:"", url:"/guildprograms", format:{size:[22,154], itemoff:[0,180]},
        sub:[]
    },
    {code:"", url:"/calendar", format:{size:[22,98], itemoff:[0,186]},
        sub:[]
    },
    {code:"", url:"/contactus", format:{size:[22,110], itemoff:[0,130]},
        sub:[
            {style:[ STYLE_2 ], size:[ 22,170 ]},
            
            {code:"&nbsp;MAP TO GUILD BUILDING", url:"/contactus/map/"}]
    }
];

var menu1 = new COOLjsMenuPRO("menu1", MENU_ITEMS);
menu1.initTop();

