/* 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:[ "#333333", "#333333" ],
    backgroundClass:[ "mainMenuOn", "mainMenuOver" ],
    size:[ 55, 80 ],
    itemoff:[ 0, '+previousItem-1px' ],
    leveloff:[ -28, 'level' ]
};
var subStyle =
{
    backgroundClass:[ "subMenuOn", "subMenuOver" ],
    size:[ 22, 150 ]
};
var subLastStyle =
{
    backgroundClass:[ "subMenuLastOn", "subMenuLastOver" ],
    size:[ 22, 150 ]
};

var soloStyle =
{
    backgroundClass:[ "soloMenuOn", "soloMenuOver" ],
    size:[ 55, 100 ]
};


var MENU_ITEMS = [
    {pos:'relative', style:mainStyle, blankImage:'images/b.gif'},
    {code:"company", url:"internal_test.html",
        sub:[
			{"leveloff":[-28,25], style:subStyle},
            {code:"about", url:"company_about_us.html", format:{size:[22,69]}},
            {code:"news", url:"company_news.html", format:{size:[22,67]}},
            {code:"clients", url:"company_clients.html", format:{size:[22,73]}},
            {code:"careers", url:"company_careers.html", style:subLastStyle, format:{size:[22,73]}}
        ]
    },
    {code:"solutions",
        sub:[
			 // leveloff (vert,horiz) for submenu from main
            {"leveloff":[-28,15], style:subStyle},
            {code:"iPartners", url:"solutions_iPartners.html", format:{size:[22,87]}},
            {code:"iMarketing", url:"solutions_iMarketing.html", format:{size:[22,94]}},
            {code:"real estate", url:"solutions_real_estate.html", style:subLastStyle, format:{size:[22,80]}}
        ]
    },
    {code:"services",
        sub:[
            {"leveloff":[-28,-238], style:subStyle},
            {code:"branding", url:"services_branding.html", format:{size:[22,85]}},
            {code:"design", url:"services_web_site_design.html", format:{size:[22,70]}},
            {code:"seo", url:"services_search_engine_optimization.html", format:{size:[22,50]}},
            {code:"web applications", url:"services_web_applications.html", format:{size:[22,133]}},
			{code:"hosting", url:"services_web_hosting.html", format:{size:[22,75]}},
			{code:"consulting", url:"services_consulting.html", style:subLastStyle, format:{size:[22,60]}}
        ]
    },
    {code:"resources",
        sub:[
            {"leveloff":[-28,-224], style:subStyle},
            {code:"tools", url:"resources_tools.html", format:{size:[22,58]}},
            {code:"tutorials", url:"resources_tutorials.html", format:{size:[22,80]}},
            {code:"helpful hints", url:"resources_helpful-hints.html", format:{size:[22,108]}},
            {code:"glossary", url:"resources_glossaryAB.html", format:{size:[22,83]}},
            {code:"references", url:"resources_references_overview.html", style:subLastStyle, format:{size:[22,80]}}
        ]
    },
	{code:"contact", url:"contact_us.php", "style":soloStyle
    }
];
 
var menu1 = new COOLjsMenuPRO("menu1", MENU_ITEMS);
menu1.initTop();
