﻿//BlaqMenu( id, isVertical, numOfElements, BackgroundColor, OuterBorder, InnerBorder )
    theMenuBar = new BlaqMenu( 'FirstMenu', false, 5, null, 0, 0 )

//setBlaqMenuTitle( aBlaqMenu, Element, Text, Width, Height, BGColor, BGImage, BGColorOver, BGImageOver, link )
    setBlaqMenuTitle( theMenuBar, 1, "", 77, 37, null, "images/navigation/navhome1.gif", null, "images/navigation/navhome2.gif", "index.html" )
    setBlaqMenuTitle( theMenuBar, 2, "", 86, 37, null, "images/navigation/navabout1.gif", null, "images/navigation/navabout2.gif", "about.html" )
    setBlaqMenuTitle( theMenuBar, 3, "", 116, 37, null, "images/navigation/navproducts1.gif", null, "images/navigation/navproducts2.gif", "products.html" )
    setBlaqMenuTitle( theMenuBar, 4, "", 131, 37, null, "images/navigation/navresources1.gif", null, "images/navigation/navresources2.gif", "resources.html" )
    setBlaqMenuTitle( theMenuBar, 5, "", 101, 37, null, "images/navigation/navcontact1.gif", null, "images/navigation/navcontact2.gif", "contact.html" )

//setBlaqSubMenu( aBlaqMenu, Element, width, itemHeight, TextColor, TextColorOver, BGColor, BGImage, BGColorOver, BGImageOver, {text, link}... )
    setBlaqMenuSubMenu( theMenuBar, 2, null, 20, '#1d1d71', '#ffffff', '#cccc67', null, '#1d1d71', null, "Beginnings", "about.html", "Reviews", "reviews.html" );
    setBlaqMenuSubMenu( theMenuBar, 3, null, 20, '#1d1d71', '#ffffff', '#cccc67', null, '#1d1d71', null, "Go Travel: Africa", "gotravelafrica.html", "More Games", "moregames.html", "Do-It-Yourself", "doityourself.html", "Gameplay", "gameplay.html", "Order Form", "order.html", "Freebies", "freebies.html" );
    setBlaqMenuSubMenu( theMenuBar, 4, null, 20, '#1d1d71', '#ffffff', '#cccc67', null, '#1d1d71', null, "African Development", "developing.html", "Botswana Detail", "botswana.html", "Suggested Reading", "reading.html", "Web Links", "weblinks.html" );
    setBlaqMenuSubMenu( theMenuBar, 5, null, 20, '#1d1d71', '#ffffff', '#cccc67', null, '#1d1d71', null, "To Order", "contact.html" );

//drawBlaqMenu( aBlaqMenu, xPos, yPos, XSubMenuTweak, YSubMenuTweak, align, StopFromLeft, StopFromRight )
    drawBlaqMenu( theMenuBar, 	116, 	141, 	9, 			37, 		"center", 10, 10 );