/********************************************************************************
Variables to set.

Remember that to set fontsize and fonttype you set that in the stylesheet
above!
********************************************************************************/

//Making a menu object
oMenu=new menuObj('oMenu') //Place a name for the menu in there. Must be uniqe for each menu

//Setting menu object variables

//Style variables NOTE: The stylesheet have been removed. Use this instead! (some styles are there by default, like position:absolute ++)
oMenu.clMain='font-family:tahoma; font-size:10px; font-weight:bold' //The style for the main menus
//oMenu.clSub='padding:2px; font-family:verdana; font-size:10px' //The style for the submenus
oMenu.clSub='padding:2px; font-family:verdana; font-size:10px'

oMenu.clSubSub='padding:2px; font-family:verdana; font-size:10px' //The style for the subsubmenus
oMenu.clAMain='text-decoration:none; color:#ffffff' //The style for the main links
oMenu.clASub='text-decoration:none; color:#ffffff' //The style for the sub links
oMenu.clASubSub='text-decoration:none; color:#ffffff' //The style for the subsub links

//Background bar properties
oMenu.backgroundbar=0 //Set to 0 if no backgroundbar
oMenu.backgroundbarfromleft=0 //The left placement of the backgroundbar in pixel or %
oMenu.backgroundbarfromtop=67 //The top placement of the backgroundbar  in pixel or %
oMenu.backgroundbarsize="668" //The size of the bar in pixel or %
oMenu.backgroundbarcolor="black" //The backgroundcolor of the bar

oMenu.mainheight=15 //The height of the main menuitems in pixel or %
oMenu.mainwidth=84 //The width of the main menuitems  in pixel or %

/*These are new variables. In this example they are set like the previous version*/
oMenu.subwidth=83.5 // ** NEW ** The width of the submenus
oMenu.subheight=15 //The height if the subitems in pixel or % 

oMenu.subsubwidth=83.5 // ** NEW ** The width of the subsubmenus in pixel or % 
oMenu.subsubheight=oMenu.subheight //** NEW ** The height if the subsubitems in pixel or % 


//Writing out the style for the menu (leave this line!)
oMenu.makeStyle()

oMenu.subplacement=oMenu.mainheight //** NEW ** Relative to the main item
oMenu.subsubXplacement=oMenu.subwidth/1.1 //** NEW ** The X placement of the subsubmenus, relative to the sub item
oMenu.subsubYplacement=2 //** NEW ** The Y placement of the subsubmenus, relative to the sub item

oMenu.mainbgcoloroff='#ff0000' //The backgroundcolor of the main menuitems
oMenu.mainbgcoloron='#ff0000' //The backgroundcolor on mouseover of the main menuitems
oMenu.subbgcoloroff='#ff0000' //The backgroundcolor of the sub menuitems
oMenu.subbgcoloron='#004A25' //The backgroundcolor on mouseover of the sub menuitems
oMenu.subsubbgcoloroff='#ff0000' //The backgroundcolor of the subsub menuitems
oMenu.subsubbgcoloron='#CA0000' //The backgroundcolor on mouseover of the subsub menuitems
oMenu.stayoncolor=1 //Do you want the menus to stay on the mouseovered color when clicked?

oMenu.menuspeed=15 //The speed of the clipping in px
oMenu.menusubspeed=20 //The speed of the submenus clipping in px

oMenu.menurows=1 //Set to 0 if you want rows and to 1 if you want columns

oMenu.menueventon="mouse" //Set this to "mouse" if you want the menus to appear onmouseover, set it to "click" if you want it to appear onclick
oMenu.menueventoff="click" //Set this to "mouse" if you them to disappear onmouseout, if not set it to "click"

//Placement of the menuitems

//Example in %:


//Example in px: (remember to use the ' ' around the numbers)
//oMenu.menuplacement=new Array('0','55','115','150','200','250')

//Example right beside eachother (only adding the pxbetween variable)
oMenu.menuplacement=0

//If you use the "right beside eachother" you cant how many pixel there should be between each here
oMenu.pxbetween=0 //in pixel or %

//And you can set where it should start from the left here
oMenu.fromleft=32//in pixel or %

//This is how much from the top the menu should be.
oMenu.fromtop=15//in pixel or %

/********************************************************************************
Construct your menus below
********************************************************************************/

//MAIN 0

//Main items:
// makeMain(MAIN_NUM,'TEXT','LINK','FRAME_TARGET') (set link to 0 if you want submenus of this menu item)
// makeSub(MAIN_NUM,SUB_NUM,'TEXT','LINK','TOTAL','FRAME_TARGET')

oMenu.makeMain(0,'Voorpagina','http://www.maghreb.nl','_top')

/* Construct Nieuws menu */
oMenu.makeMain(1,'| Nieuws',0,'_top')
oMenu.makeSub(1,0,'marokkaans','http://www.maghreb.nl/nieuws/','6','_top')
oMenu.makeSub(1,1,'algemeen','http://www.maghreb.nl/nieuws/algemeen/','6','_top')
oMenu.makeSub(1,2,'columns','http://www.maghreb.nl/column/','6','_top')
oMenu.makeSub(1,3,'nieuwsbrief','http://www.maghreb.nl/mailing/','6','_top')
oMenu.makeSub(1,4,'sport','http://www.maghreb.nl/nieuws/sport/','6','_top')
oMenu.makeSub(1,5,'arbeidsmarkt','http://www.maghreb.nl/vacatures/vacaturebank.html','6','_top')

/* Construct Links menu */
oMenu.makeMain(2,'| Links',0,'_top')
oMenu.makeSub(2,0,'categorieën',0,'6','_top')
oMenu.makeSub(2,1,'zoeken','http://www.maghreb.nl/cgi-bin/links/search.cgi','6','_top')
oMenu.makeSub(2,2,'toevoegen','http://www.maghreb.nl/cgi-bin/links/add.cgi','6','_top')
oMenu.makeSub(2,3,'nieuw','http://www.maghreb.nl/links/New/','6','_top')
oMenu.makeSub(2,4,'populair','http://www.maghreb.nl/links/Cool/','6','_top')
oMenu.makeSub(2,5,'top links','http://www.maghreb.nl/links/Ratings/','6','_top')

oMenu.makeSubSub(2,0,0,'business','http://www.maghreb.nl/links/Business/','7','_top')
oMenu.makeSubSub(2,0,1,'islam','http://www.maghreb.nl/links/Islam/','7','_top')
oMenu.makeSubSub(2,0,2,'media','http://www.maghreb.nl/links/Media/','7','_top')
oMenu.makeSubSub(2,0,3,'entertainment','http://www.maghreb.nl/links/Muziek_en_Entertainment','7','_top')
oMenu.makeSubSub(2,0,4,'non profit','http://www.maghreb.nl/links/Non_Profit/','7','_top')
oMenu.makeSubSub(2,0,5,'sport','http://www.maghreb.nl/links/Sport/','7','_top')
oMenu.makeSubSub(2,0,6,'toerisme','http://www.maghreb.nl/links/Toerisme/','7','_top')


/* Construct Interactie menu */
oMenu.makeMain(3,'| Forum-Chat',0,'_top')

oMenu.makeSub(3,0,'Forum','http://www.maghreb.nl/marokkaansforum/index.php','5','_top')
oMenu.makeSub(3,1,'E-cards','http://www.maghreb.nl/ecards/cardcenter.html',5,'_top')
oMenu.makeSub(3,2,'3D chat','http://www.chatpoint.com/maghreb','5','_top')
oMenu.makeSub(3,3,'Text Chat (Chattv)','http://www.maghreb.nl/chat/textchat/chattv.htm','5','_top')
oMenu.makeSub(3,4,'Voice chat','http://www.maghreb.nl/voicechat.htm',5,'_top')

oMenu.makeSubSub(3,0,0,'vandaag','http://www.maghreb.nl/marokkaansforum/last.html',4,'_top')
oMenu.makeSubSub(3,0,1,'deze week','http://www.maghreb.nl/marokkaansforum/search.php?search_id=newposts',4,'_top')
oMenu.makeSubSub(3,0,2,'registreer','http://www.maghreb.nl/marokkaansforum/profile.php?mode=register',4,'_top')
oMenu.makeSubSub(3,0,3,'zoek','http://www.maghreb.nl/marokkaansforum/search.php',4,'_top')

oMenu.makeSubSub(3,1,0,'ophalen','http://www.maghreb.nl/ecards/pickup.html',2,'_top')
oMenu.makeSubSub(3,1,1,'versturen','http://www.maghreb.nl/ecards/',2,'_top')

/* Construct Sub-Forum menu */
oMenu.makeMain(4,'| Business',0,'_top')
oMenu.makeSub(4,0,'marktplaats','http://www.maghreb.nl/cgi-bin/plaza/classifieds.cgi',5,'_top')
oMenu.makeSub(4,1,'bedrijvengids','http://www.maghreb.nl/~homesite/index.php3',5,'_top')
oMenu.makeSub(4,2,'adverteren','http://www.maghreb.nl/about/adverteren.html',5,'_top')
oMenu.makeSub(4,3,'banners','http://www.maghreb.nl/banners.htm',5,'_top')
oMenu.makeSub(4,4,'vacaturebank','http://www.maghreb.nl/vacatures/vacaturebank.html',5,'_top')


oMenu.makeSubSub(4,0,0,'overzicht','http://www.maghreb.nl/cgi-bin/plaza/classifieds.cgi',3,'_top')
oMenu.makeSubSub(4,0,1,'plaatsen','http://www.maghreb.nl/cgi-bin/plaza/classifieds.cgi?action=new',3,'_top')
oMenu.makeSubSub(4,0,2,'zoeken','http://www.maghreb.nl/cgi-bin/plaza/classifieds.cgi?action=advancedsearchform',3,'_top')


/* Construct Sub-host menu */
oMenu.makeMain(5,'| Marokko',0,'_top')
oMenu.makeSub(5,0,'toerisme','http://www.maghreb.nl/marokko/tourisme.htm',4,'_top')
oMenu.makeSub(5,1,'islam','http://www.maghreb.nl/marokko/islam.htm',4,'_top')
oMenu.makeSub(5,2,'cuisine','http://www.maghreb.nl/marokko/cuisine.htm',4,'_top')
oMenu.makeSub
(5,3,'wallpapers','http://www.maghreb.nl/entertainment/wallpapers.html',4,'_top')
oMenu.makeSub(5,4,'weer','http://www.maghreb.nl/marokko/hetweer.htm',4,'_top')

/* Construct News menu */
oMenu.makeMain(6,'| Entertainment',0,'_top')
oMenu.makeSub(6,0,'events','http://www.maghreb.nl/entertainment/',4,'_top')
oMenu.makeSub(6,1,'dating','http://www.maghreb.nl/cgi-bin/plaza/classifieds.cgi?action=showsub&Category=Dating+&Variable=personals.variables',4,'_top')
oMenu.makeSub(6,2,'online games','http://www.khamsa.nl/games/maghrebgames.htm',4,'_top')
oMenu.makeSub(6,3,'music','http://www.maghreb.nl/entertainment/realaudio.htm',4,'_top')

/* Construct Other menu */
oMenu.makeMain(7,'| Over ons',0,'_top')
oMenu.makeSub(7,0,'over Maghreb.NL','http://www.maghreb.nl/about/over.html',5,'_top')
oMenu.makeSub(7,1,'adverteren','http://www.maghreb.nl/about/adverteren.html',5,'_top')
oMenu.makeSub(7,2,'instellingen','http://www.maghreb.nl/about/instellingen.html',5,'_top')
oMenu.makeSub(7,3,'contact','http://www.maghreb.nl/about/contact.html',5,'_top')
oMenu.makeSub(7,4,'voorwaarden','http://www.maghreb.nl/cgi-bin/plaza/classifieds.cgi?action=terms',5,'_top')

/********************************************************************************
End menu construction
********************************************************************************/
		
		
//When all the menus are written out we initiates the menu
oMenu.construct()
