/* COOLjsMenu style + structure file */
/*
To put javaScript code (i.e. call Ajax):
{code:"Name", url:"javascript:void(myFunction('2', text))"},
*/

var mainStyle =
{
    borderWidth:0,
    borderColor:"#666666",
    backgroundColor:[ "#7D0000", "#7D0000" ],
    backgroundClass:[ "mainMenuOn", "mainMenuOver" ],
    size:[ 30, 75 ],
    itemoff:[ 0, '+previousItem-1px' ],
    leveloff:[ 45, 'level' ]
};
var subStyle =
{
    backgroundClass:[ "subMenuOn", "subMenuOver" ],
    size:[ 22, 150 ]
};
var subLastStyle =
{
    backgroundClass:[ "subMenuLastOn", "subMenuLastOver" ],
    size:[ 22, 150 ]
};

var soloStyle =
{
    backgroundClass:[ "soloMenuOn", "soloMenuOver" ],
    size:[ 30, 75 ]
};


var MENU_ITEMS = [
    {pos:'relative', style:mainStyle, blankImage:'../images/b.gif'},
	{code:"home", url:"../", format:{size:[30,60]}, "style":soloStyle
    },
    {code:"company",
        sub:[
			{"leveloff":[30,25], style:subStyle},
            {code:"about", url:"../company_about_us.html", format:{size:[29,69]}},
            {code:"news", url:"../company_news.html", format:{size:[29,67]}},
            {code:"clients", url:"../company_clients.html", format:{size:[29,73]}},
            {code:"careers", url:"../company_careers.html", style:subLastStyle, format:{size:[29,73]}}
        ]
    },
    {code:"solutions", url:"solutions.php",
        sub:[
			 // leveloff (vert,horiz) for submenu from main
            {"leveloff":[30,-80], style:subStyle},
            {code:"iPartners", url:"../solutions_iPartners.html", format:{size:[29,87]}},
            {code:"iMarketing", url:"../solutions_iMarketing.html", format:{size:[29,94]}},
            {code:"real estate", url:"../solutions_real_estate.html", format:{size:[29,94]}},
			{code:"watershed management", url:"../solutions_watershed_wastewater_management.html", style:subLastStyle, format:{size:[29,155]}},
        ]
    },
    {code:"services",
        sub:[
            {"leveloff":[25,-162], style:subStyle},
            {code:"branding", url:"../services_branding.html", format:{size:[29,77]}},
            {code:"design", url:"../services_web_site_design.html", format:{size:[29,63]}},
            {code:"seo", url:"../services_search_engine_optimization.html", format:{size:[29,46]}},
            {code:"web applications", url:"../services_web_applications.html", format:{size:[29,122]}},
			{code:"hosting", url:"../services_web_hosting.html", format:{size:[29,67]}},
			{code:"consulting", url:"../services_consulting.html", style:subLastStyle, format:{size:[29,60]}}
        ]
    },
    {code:"resources",
        sub:[
            {"leveloff":[30,-209], style:subStyle},
            {code:"tools", url:"../resources_tools.html", format:{size:[29,58]}},
            {code:"tutorials", url:"../resources_tutorials.html", format:{size:[29,80]}},
            {code:"helpful hints", url:"../resources_helpful-hints.html", format:{size:[29,108]}},
            {code:"glossary", url:"../resources_glossaryAB.html", format:{size:[29,83]}},
            {code:"references", url:"../resources_references_overview.html", style:subLastStyle, format:{size:[29,80]}}
        ]
    },
	{code:"contact", url:"../contact_us.php", "style":soloStyle
    }
];
 
var menu2 = new COOLjsMenuPRO("menu2", MENU_ITEMS);
menu2.initTop();

