var MENU_ITEMS0 = [
        ['<table border=0 cellspacing=0 cellpadding=0 width=100% height=30><tr><td><img src=images/menu0_0.jpg><hr color=darkred></td></tr></table>', null, null,
                ['<table style="border-top:solid 1px #575527; border-left:solid 1px #575527; border-right:solid 1px #575527" border=0 cellspacing=0 cellpadding=0 width=100% height=30 ><tr><td style="color:#00732D; padding-left:3px; background:#EBE6C8"><img src=images/menu1_0.jpg><hr color=darkred></td></tr></table>', "board.htm", null],
                ['<table style="border-left:solid 1px #575527; border-right:solid 1px #575527" border=0 cellspacing=0 cellpadding=0 width=100% height=30 ><tr><td style="color:#00732D; padding-left:3px; background:#EBE6C8"><img src=images/menu1_1.jpg><hr color=darkred></td></tr></table>', "management.htm", null],
                ['<table style="border-bottom:solid 1px #575527; border-left:solid 1px #575527; border-right:solid 1px #575527" border=0 cellspacing=0 cellpadding=0 width=100% height=30 ><tr><td style="color:#00732D; padding-left:3px; background:#EBE6C8"><img src=images/menu1_8.jpg></td></tr></table>', "news/Audited_Financials_2006_2005.PDF", null]
        ],
        ['<table border=0 cellspacing=0 cellpadding=0 width=100% height=30><tr><td><img src=images/menu0_1.jpg><hr color=darkred></td></tr></table>', null, null,
                ['<table style="border-top:solid 1px #575527; border-left:solid 1px #575527; border-right:solid 1px #575527" border=0 cellspacing=0 cellpadding=0 width=100% height=30 ><tr><td style="color:#00732D; padding-left:3px; background:#EBE6C8"><img src=images/menu1_2.jpg><hr color=darkred></td></tr></table>', "members.htm", null],
                ['<table style="border-bottom:solid 1px #575527; border-left:solid 1px #575527; border-right:solid 1px #575527" border=0 cellspacing=0 cellpadding=0 width=100% height=30 ><tr><td style="color:#00732D; padding-left:3px; background:#EBE6C8"><img src=images/menu1_3.jpg></td></tr></table>', "map.htm", null]
        ],
        ['<table border=0 cellspacing=0 cellpadding=0 width=100% height=30><tr><td><img src=images/menu0_2.jpg><hr color=darkred></td></tr></table>', null, null,
                ['<table style="border-top:solid 1px #575527; border-left:solid 1px #575527; border-right:solid 1px #575527" border=0 cellspacing=0 cellpadding=0 width=100% height=30 ><tr><td style="color:#00732D; padding-left:3px; background:#EBE6C8"><img src=images/menu1_4.jpg><hr color=darkred></td></tr></table>', "news.htm", null],
                ['<table style="border-bottom:solid 1px #575527; border-left:solid 1px #575527; border-right:solid 1px #575527" border=0 cellspacing=0 cellpadding=0 width=100% height=30 ><tr><td style="color:#00732D; padding-left:3px; background:#EBE6C8"><img src=images/menu1_5.jpg></td></tr></table>', "CompanyProfile.pdf", null]
        ],
        ['<table border=0 cellspacing=0 cellpadding=0 width=100% height=30><tr><td><img src=images/menu0_3.jpg><hr color=darkred></td></tr></table>', null, null,
                ['<table style="border-top:solid 1px #575527; border-left:solid 1px #575527; border-right:solid 1px #575527" cellspacing=0 cellpadding=0 width=100% height=30 ><tr><td style="color:#00732D; padding-left:3px; background:#EBE6C8"><img src=images/menu1_6.jpg><hr color=darkred></td></tr></table>', "contact.htm", null],
                ['<table style="border-bottom:solid 1px #575527; border-left:solid 1px #575527; border-right:solid 1px #575527" border=0 cellspacing=0 cellpadding=0 width=100% height=30 ><tr><td style="color:#00732D; padding-left:3px; background:#EBE6C8"><img src=images/menu1_7.jpg></td></tr></table>', "membercontact.htm", null]
        ],
		['<table border=0 cellspacing=0 cellpadding=0 width=100% height=30><tr><td><img src=images/menu0_4.jpg><hr color=darkred></td></tr></table>', "2007annualmeetingmkec.htm", null
		 
        ],
		['<table border=0 cellspacing=0 cellpadding=0 width=100% height=30><tr><td><img src=images/menu0_5.jpg><hr color=darkred></td></tr></table>', "Abengoa.htm", null
		]

]

/*l0 = new Image(); l0.src = "images/menu0_0.jpg";
l1 = new Image(); l1.src = "images/menu0_1.jpg";
l2 = new Image(); l2.src = "images/menu0_2.jpg";
l3 = new Image(); l3.src = "images/menu0_3.jpg";
l4 = new Image(); l4.src = "img/m_lamp2_1.gif";
l5 = new Image(); l5.src = "img/m_lamp2_2.gif";*/

function wrap_child (text) {
        var res=[];for (var i=0; i<3; i++)
                res[i]='<table border=0 cellspacing=0 cellpadding=0 width=100% height=36 style="filter:alpha(opacity:80);-moz-opacity:80%"><tr><td rowspan=2 valign=bottom align=right width=1><img src=img/m_lamp2_' + i + '.gif width=41 height=36></td><td height=35 width=100% bgcolor=#ffffff class=a' + i + '>' + text + '</td><td rowspan=2 valign=bottom width=1><img src=img/m_right.gif width=18 height=38></td></tr><tr><td background=img/m_bott.gif height=3><img src=menu_files/pixel.gif width=1 height=1></td></tr></table>'
        return res;
}

function wrap_root (text) {
        var res=[];
        //for (var i=0; i<4; i++)
        i = text;
                res[i]='<table border=0 cellspacing=0 cellpadding=0 width=100% height=33>' +
                                '<tr><td  valign=top align=right >' +
                                        '<img src=images/menu0_' + i + '.jpg ></td>' +
                                '</tr>' +
                                '</table>';
        return res;
}