/* COOLjsMenu style + structure file */

var STYLE_0 =
{
    backgroundColor:[ "white", "#B6BDD2" ],
    backgroundClass:[ "clsCMOn", "clsCMOver" ],
    itemoff:[ 0, '+previousItem+1px' ],
    leveloff:[ '+parentItem+1px', 0 ]
};

var STYLE_1 =
{
    borderWidth:1,
    borderColor:"black",
    backgroundColor:[ "#D8D4D4", "#ED3C28" ],
    backgroundClass:[ "clsCMOn", "clsCMOver" ],
    itemoff:[ '+previousItem-1px', 0 ]
};

var STYLE_2 =
{
    leveloff:[ '+parentItem-1px', 0 ]
};

var MENU_ITEMS = [
    {pos:'relative', style:[ STYLE_0, STYLE_1, STYLE_2 ], blankImage:'images/b.gif'},
    {code:'<img src="images/home.gif" width="51" height="34" />', url:"index.html",
        ocode:'<img src="images/homehover.gif" width="51" height="34" />',
        size:[ 34, 51 ]},
    {code:'<img src="images/about.gif" width="72" height="34" />', url:"about.html",
        ocode:'<img src="images/abouthover.gif" width="72" height="34" />',size:[ 34, 72 ],
        sub:[
            {},
            {code:"Director's Message", url:"about.html", size:[ 22, 110]},
            {code:"History", url:"history.html", size:[ 22, 61]},
            {code:"Mission", url:"mission.html", size:[22,61]},
            {code:"Staff", url:"stafflist.html", size:[22,61]},
            {code:"Board of Trustees", url:"board.html", size:[22,110]}
            ]
    },
    {code:'<img src="images/support.gif" width="65" height="34" />', url:"support.html",
        ocode:'<img src="images/supporthover.gif" width="65" height="34" />',size:[ 34, 65 ],
        sub:[
            {},
            {code:"Support Us", url:"support.html", size:[ 22, 80 ]},
            {code:"Donate", url:"donate.html", size:[ 22, 60 ]}
            ]
    },
    {code:'<img src="images/programs.gif" width="78" height="34" />', url:"programs.html",
        ocode:'<img src="images/programshover.gif" width="78" height="34" />', size:[ 34, 78 ],
        sub:[
            {},
            {code:"Information", url:"programs.html", size:[ 22, 80 ]},
            {code:"Professional Development", url:"professionaldevelopment.html", size:[ 22, 160 ]},
            {code:"School Groups", url:"schoolgroups.html", size:[ 22, 110 ]},
            {code:"1-Hour Programs", url:"onehourprograms.html", size:[ 22, 110]},
            {code:"Camps", url:"camps.html", size:[ 22, 110 ]},
            {code:"1-Hour Family Programs", url:"FamilyPrograms.html", size:[ 22, 150 ]},
            {code:"Summer Camp Forms", url:"2009summercamps.html", size:[ 22, 130 ]}
            ]
    },
    {code:'<img src="images/membership.gif" width="92" height="34" />', url:"membership.html",
        ocode:'<img src="images/membershiphover.gif" width="92" height="34" />',size:[ 34, 92 ],
        sub:[
            {},
            {code:"Information", url:"membership.html", size:[ 22, 92 ]},
            {code:"Application", url:"images/Member_Application.pdf", size:[ 22, 92 ]}
            ]
    },
    {code:'<img src="images/rent.gif" width="120" height="34" />', url:"rent.html",
        ocode:'<img src="images/renthover.gif" width="120" height="34" />',size:[ 34, 120 ],
        sub:[
            {},
            {code:"Facilities Rental", url:"rent.html", size:[22,120]}
            ]
    },
    {code:'<img src="images/employment.gif" width="94" height="34" />', url:"employment.html",
        ocode:'<img src="images/employmenthover.gif" width="94" height="34" />',size:[ 34, 94 ]/*,
          sub:[
            {},
              {code:"Staff Scientist", url:"staffemployment.html", size:[ 22, 120 ]},
              {code:"Summer Teaching Assistant", url:"taemployment.html", size:[ 44, 120 ]},  
            {code:"YouthALIVE! Intern", url:"youthalive.html", size:[ 22, 120 ]}
            ]*/
    },
    {code:'<img src="images/youth.gif" width="94" height="34" />', url:"youthalive.html",
        ocode:'<img src="images/youthhover.gif" width="94" height="34" />',size:[ 34, 94 ],
        sub:[
            {},
            {code:"Information", url:"youthalive.html", size:[ 22, 94 ]},
/*            {code:"Application", url:"yapply.html", size:[ 22, 94 ]},*/
            {code:"YouthALIVE! Photos", url:"youthphotos.html", size:[ 22, 120 ]}
            ]
    },
    {code:'<img src="images/media.gif" width="94" height="34" />', url:"media.html",
        ocode:'<img src="images/mediahover.gif" width="94" height="34" />',size:[ 34, 94 ]
    },
    {code:'<img src="images/contact.gif" width="64" height="34" />', url:"contact.html",
        ocode:'<img src="images/contacthover.gif" width="64" height="34" />',size:[ 34, 64 ],
        sub:[
            {},
            {code:"Staff", url:"contact.html", size:[ 22, 64 ]},
            {code:"Directions from:", size:[ 22, 130 ],
            sub:[
                {},
                {code:"Norwich", url:"directionsnorwich.html", size:[ 22, 80 ]},
                {code:"Groton", url:"directionsgroton.html", size:[ 22, 80 ]},
                {code:"East Lyme", url:"directionsnewyork.html", size:[ 22, 80 ]},
                {code:"Hartford", url:"directionshartford.html", size:[ 22, 80]},
                {code:"Downtown New London", url:"directionsnewlondon.html", size:[ 22, 135 ]},
                ]}
            ]
    }
];

var menu1 = new COOLjsMenuPRO("menu1", MENU_ITEMS);
menu1.initTop();

