/* 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:[ 27, 113 ],
    itemoff:[ 0, "+previousItem" ],
    leveloff:[ "+parentItem-5px", 4 ],
    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_0", "l1_bg_0" ],
    // 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, 113 ],
    itemoff:[ "+previousItem", 0 ],
    ifN0:{
        valign:"bottom",
        size:[ 19, 113 ],
        backgroundClass:[ "l1_bg_0", "l1_bg_0" ]
    },
    ifN1:{
        backgroundClass:[ "l1_bg_0", "l1_bg_0" ]
    },
    ifLast:{
        valign:"top",
        size:[ 19, 113 ],
        // borders:[left, top, right, bottom]
        borders:[ 1, 0, 1, 1 ]
    }
};

// b.gif is a required blank image. Do not remove.
var MENU_ITEMS = [
    {style:[ STYLE_0, STYLE_1 ], blankImage:"images/b.gif" },
   {code:"Introduction", url:"index.html"},
	{code:"About Puricare", url:"about.html",
	        sub:[
            {},
       		{code:"Successful projects", url:"success.html"},
      		{code:"About ozone", url:"process.html"}
        ]
	},
    {code:"Applications", url:"potablewater.html",
        sub:[
            {},
       		{code:"Potable water", url:"potablewater.html"},
            {code:"Agriculture", url:"agriculture.html"},
            {code:"Waste water", url:"sewerage.html"},
			{code:"Industrial & domestic", url:"industrial.html"},
			{code:"Aquaculture", url:"fishfarm.html"}
        ]
	},
    {code:"Language", url:"",
        sub:[
            {},
       		{code:"English", url:"index.html"},
            {code:"Afrikaans", url:"afri/index.html"}
        ]
    },
    {code:"Contact us", url:"contact.html"},
];

var menu1 = new COOLjsMenuPRO("menu1", MENU_ITEMS);
menu1.initTop();
