/* COOLjsMenu style + structure file */

var STYLE_0 =
{
    textClass:[ "l0_out", "l0_over" ],
    // Edit to adjust width and height
    // of top level menu items size:[height, width]
    size:[ 20, 78 ],
    itemoff:[ 0, "+previousItem" ],
    leveloff:[ "+parentItem+0px", 0 ],
    itemFilters:"progid:DXImageTransform.Microsoft.Fade(duration=0.5)"
};

var STYLE_1 = {
    levelFilters:[ "progid:DXImageTransform.Microsoft.Fade(duration=0.5) progid:DXImageTransform.Microsoft.GradientWipe(GradientSize=0.25,wipestyle=1,motion=forward,duration=0.5)", "progid:DXImageTransform.Microsoft.Fade(duration=0.5) progid:DXImageTransform.Microsoft.GradientWipe(GradientSize=0.25,wipestyle=1,motion=reverse,duration=0.5)" ],
    itemFilters:null,
    backgroundClass:[ "l1_bg_other", "l1_bg_other" ],
    // borderWidth:[left, top, right, bottom]
    borderWidth:[ 1, 0, 1, 0 ],
    color:
    {
        border:"#F2EEEE"
    },
    textClass:[ "l1_out", "l1_over" ],
    // Edit to adjust width and height
    // of sub level menu items size:[height, width]
    size:[ 19, 120 ],
    itemoff:[ "+previousItem", 0 ],
    ifN0:{
        valign:"bottom",
        size:[ 19, 120 ],
        backgroundClass:[ "l1_bg_0", "l1_bg_0" ]
    },
    ifN1:{
        backgroundClass:[ "l1_bg_1", "l1_bg_1" ]
    },
    ifLast:{
        valign:"top",
        size:[ 19, 120 ],
        // borders:[left, top, right, bottom]
        borders:[ 1, 0, 1, 0 ]
    }
};

// b.gif is a required blank image. Do not remove.
var MENU_ITEMS = [
    {style:[ STYLE_0, STYLE_1 ], blankImage:"images/b.gif" },
    {code:"HOME", url:"index.html"},
    {code:"HISTORY", url:"#"},
    {code:"JUICES", url:"#",
        sub:[
            {},
            {code:"aloe and pomegranate", url:"pomegranate.html"},
			{code:"aloe and buchu", url:"buchu.html"},
			{code:"aloe and berry", url:"aloeberry.html"},
			{code:"aloe and devil's claw", url:"aloedevil.html"},
			{code:"aloe and prickly pear", url:"aloepear.html"},
			{code:"karoo cocktail", url:"karoococktail.html"}
        ]
    },
	{code:"SHOP", url:"westerncape.html",
	        sub:[
            {},
            {code:"western cape", url:"westerncape.html"},
			{code:"southern cape", url:"southerncape.html"},
			{code:"eastern cape", url:"easterncape.html"},
			{code:"northern cape", url:"northerncape.html"},
			{code:"kwazulu natal", url:"kwazulunatal.html"},
			{code:"free state", url:"freestate.html"},
			{code:"gauteng", url:"gauteng.html"},
			{code:"northern province", url:"northernprovince.html"},
			{code:"limpopo", url:"limpopo.html"},
			{code:"mapumalanga", url:"mapumalanga.html"}
        ]
    },
	{code:"NEWS", url:"news.html"},
	{code:"CONTACT", url:"contact.html"},

];

var menu1 = new COOLjsMenuPRO("menu1", MENU_ITEMS);
menu1.initTop();
