menunum=0;
menus=new Array();
_d=document;
function addmenu()
{
	menunum++;
	menus[menunum]=menu;
}
function dumpmenus()
{
	mt="<script language=javascript>";
	for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"
	}
	mt+="<\/script>";
_d.write(mt)
}

function CallvrbOpenWijzigPW() 
{
	parent.frames.tekst.location.href="?fr_content.dll&myMonkey=paswoordwijzigen";
}


function CallmyMonkey_eZine_NL() 
{
	parent.frames.tekst.location.href="?fr_content.dll&myMonkey=editsettings&taal=nl&tab=tab_eZine";
}

function CallmyMonkey_Tipmail_NL() 
{
	parent.frames.tekst.location.href="?fr_content.dll&myMonkey=editsettings&taal=nl&tab=tab_Tipmail";
}

function CallmyMonkey_eZine_FR() 
{
	parent.frames.tekst.location.href="?fr_content.dll&myMonkey=editsettings&taal=fr&tab=tab_eZine";
}

function CallmyMonkey_Tipmail_FR() 
{
	parent.frames.tekst.location.href="?fr_content.dll&myMonkey=editsettings&taal=fr&tab=tab_Tipmail";
}

function CallvrbTipmailsNL() 
{
	parent.frames.tekst.location.href="?fr_content.dll&file=TIPMAIL&name=node_id=2356280&taal=nl";
}
function CallvrbTipmailsFR() 
{
	parent.frames.tekst.location.href="?fr_content.dll&file=TIPMAIL&name=node_id=2356347&taal=fr";
}

function CallvrbOpenContactForm()
{
	parent.frames.tekst.location.href="?fr_content.dll&file=VRB&name=contactform.htm&contactreason=otherreason;"
}

function CallvrbOpenBestelFormNL()
{
	parent.frames.tekst.location.href="?fr_content.dll&file=VRB&name=bestelformuliermk.htm";
}

function CallvrbOpenBestelFormFR()
{
	parent.frames.tekst.location.href="?fr_content.dll&file=VRB&name=bestelformuliermk.htm";
}

function CallvrbOpenInstellingenNL()
{
    //	parent.frames.tekst.location.href="?fr_content.dll&file=VRB&name=instellingen.htm&taal=NL&style=1";	
	parent.frames.tekst.location.href="?vrb.dll=dll&mymonkey=editsettings&Submit=Bevestig&ResendAccessCode=0&taal=NL&style=1&tab=tab_AlgemeneInstellingen";
}

function CallvrbOpenInstellingenFR()
{
    //	parent.frames.tekst.location.href="?fr_content.dll&file=VRB&name=instellingen.htm&taal=FR&style=1";
    	parent.frames.tekst.location.href="?vrb.dll=dll&mymonkey=editsettings&Submit=Bevestig&ResendAccessCode=0&taal=FR&style=1&tab=tab_AlgemeneInstellingen";
}



function toon_test()
{
   alert('test');
}

//var page,wid,hit,nam;
function win2( page,nam, wid)
{
 // var wid = 900;	
  var itop = screen.availHeight-540;
  var ileft = screen.availWidth * 0.18;
  var nw = window.open(page.replace(':', '%3A'),nam, 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=yes,width='+wid+',top='+ itop + ',left='+ileft);
  if (!nw.opener) 
     nw.opener = self;
}//end of win(page,nam,wid,hit)



//effect = "Fade(duration=0.2);Alpha(style=0,opacity=85);Shadow(color='#777777', Direction=135, Strength=5)"
effect = "Fade(duration=0.2);Alpha(style=0,opacity=95);"


timegap=500			// The time delay for menus to remain visible
followspeed=5		// Follow Scrolling speed
followrate=40		// Follow Scrolling Rate
suboffset_top=1;	// Sub menu offset Top position 
suboffset_left=1;	// Sub menu offset Left position

style1=[			// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"252620",				// Mouse Off Font Color
"",			// Mouse Off Background Color
"FFFFFF",			// Mouse On Font Color
"",			// Mouse On Background Color
"",			// Menu Border Color 
12,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",				// Font Weight (bold or normal)
"Verdana, Helvetica, Verdana, sans-serif",	// Font Name
1,					// Menu Item Padding
"",		// Sub Menu Image (Leave this blank if not needed)
0,					// 3D Border & Separator bar
"",			// 3D High Color
"",			// 3D Low Color
"000000",			// Current Page Item Font Color (leave this blank to disable)
"grey",				// Current Page Item Background Color (leave this blank to disable)
"",		// Top Bar image (Leave this blank to disable)
"",			// Menu Header Font Color (Leave blank if headers are not needed)
"",			// Menu Header Background Color (Leave blank if headers are not needed)
"",				// Menu Item Separator Color
]

style2=[			// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"FFFFFF",				// Mouse Off Font Color
"",			// Mouse Off Background Color
"FFFFFF",			// Mouse On Font Color
"",			// Mouse On Background Color
"",			// Menu Border Color 
12,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",				// Font Weight (bold or normal)
"Verdana, Helvetica, Verdana, sans-serif",	// Font Name
1,					// Menu Item Padding
"",		// Sub Menu Image (Leave this blank if not needed)
0,					// 3D Border & Separator bar
"",			// 3D High Color
"",			// 3D Low Color
"000000",			// Current Page Item Font Color (leave this blank to disable)
"grey",				// Current Page Item Background Color (leave this blank to disable)
"",		// Top Bar image (Leave this blank to disable)
"",			// Menu Header Font Color (Leave blank if headers are not needed)
"",			// Menu Header Background Color (Leave blank if headers are not needed)
"",				// Menu Item Separator Color
]


if (globaleTaal=="nl")
{

addmenu(menu=[		// This is the array that contains your menu properties and details
"mainmenu",			// Menu Name - This is needed in order for the menu to be called
6,					// Menu Top - The Top position of the menu in pixels
90,				// Menu Left - The Left position of the menu in pixels
,					// Menu Width - Menus width in pixels
0,					// Menu Border Width 
,					// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style1,				// Properties Array - this is set higher up, as above
1,					// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"left",				// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
,				// Filter - Text variable for setting transitional effects on menu activation - see above for more info
,					// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
1, 					// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
,					// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,					// Position of TOP sub image left:center:right
,					// Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
,					// Right To Left - Used in Hebrew for example. (1=on/0=off)
,					// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,					// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,			// Background image for menu when BGColor set to transparent.
,					// Scrollable Menu
'img/bgline_menub.gif',			// Reserved for future use ==> onscroll image 20080606 Yves
,"&nbsp;Geavanceerde&nbsp;zoek&nbsp;&nbsp;&nbsp","javascript:CallvrbOpenZoekScherm();",,"Ga naar de indexpagina",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
//,"&nbsp;Mijn&nbsp;abonnement&nbsp;&nbsp;&nbsp;","http://www.monkey.be/admin?lang=nl target=new",,"beschrijving van het item",1
,"&nbsp;My&nbsp;monKEY&nbsp;&nbsp;&nbsp;","show-menu=animatie",,"beschrijving van het item",1 
,"&nbsp;Auteurs&nbsp;&nbsp;&nbsp;","?auteurs.dll target=tekst",,"beschrijving van het item",1
,"&nbsp;Help&nbsp;&nbsp;&nbsp;","show-menu=scripts",,"beschrijving van het item",1
,"&nbsp;Bestellen&nbsp;&nbsp;&nbsp;","javascript:CallvrbOpenBestelFormNL();",,"",1
])



	addmenu(menu=["start",
//	,,100,1,"",style1,,"left",effect,,,,,,,,,'img/bgline_menua.gif',,,
	,,100,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Start","",,,1
	])

	addmenu(menu=["animatie",
	,,200,1,"",style2,,"left",effect,,,,,,,,,'img/bgline_menu.gif',,'img/bgline_menub.gif',
        ,"Administratie&nbsp;Module","http://www.monkey.be/admin?lang=nl target=new",,,1	
	,"Wijzig&nbsp;paswoord","javascript:CallvrbOpenWijzigPW();",,,1
	,"E-zine&nbsp;instellingen","javascript:CallmyMonkey_eZine_NL();",,,1
	,"Tipmail&nbsp;instellingen","javascript:CallmyMonkey_Tipmail_NL();",,,1
	,"Algemene&nbsp;instellingen","javascript:CallvrbOpenInstellingenNL();",,,1
	])	
	
	
	addmenu(menu=["info",
	,,210,1,"",style2,,"left",effect,,,,,,,,,'img/bgline_menu.gif',,'img/bgline_menub.gif',
	,"Nieuwe&nbsp;stukken","javascript:goPage1();",,,1
	,"Nieuwe&nbsp;functionaliteiten","javascript:goPage2();",,,1
	,"De&nbsp;auteurs","?auteurs.dll target=tekst",,,1
	//,"Privacy&nbsp;statement","?Start",,,1
	//,"Algemene&nbsp;voorwaarden","?Start",,,1
	//,"Algemene&nbsp;licentievoorwaarden","?Start",,,1
	,"Privacy&nbsp;statement","javascript:win2(\"resc/NL/bin/privacy.htm\",\"Locator\",900);",,,1
	,"Algemene&nbsp;voorwaarden","javascript:win2(\"resc/NL/bin/algvoorwaarden.htm\",\"Locator\",900);",,,1
	,"Algemene&nbsp;licentievoorwaarden","javascript:win2(\"resc/NL/bin/ds_license_conditions.htm\",\"Locator\",900);",,,1
	])	



	addmenu(menu=["scripts",
	,,210,1,"",style2,,"left",effect,,,,,,,,,'img/bgline_menu.gif',,'img/bgline_menub.gif',
   	,"Handleiding","javascript:win2(\"resc/NL/bin/handl.pdf\",\"Locator\",900);",,,1
   	,"Tipmails","javascript:CallvrbTipmailsNL()",,,1
	//,"e-Learning","http://jura.elearner.be/login/testLogin.php?userid=mo_1348546&cursus=monkey&taal=nl target=new",,,1
	,"Algemene&nbsp;voorwaarden","javascript:win2(\"resc/NL/bin/algvoorwaarden.htm\",\"Locator\",900);",,,1
	,"Algemene&nbsp;licentievoorwaarden","javascript:win2(\"resc/NL/bin/ds_license_conditions.htm\",\"Locator\",900);",,,1
	,"Contact","javascript:CallvrbOpenContactForm();",,,1
	,"About","javascript:toon_about();",,,1
	
	])		
}
else //frans
{
	addmenu(menu=[		// This is the array that contains your menu properties and details
"mainmenu",			// Menu Name - This is needed in order for the menu to be called
6,					// Menu Top - The Top position of the menu in pixels
85,				// Menu Left - The Left position of the menu in pixels
,					// Menu Width - Menus width in pixels
0,					// Menu Border Width 
,					// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style1,				// Properties Array - this is set higher up, as above
1,					// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"left",				// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
,				// Filter - Text variable for setting transitional effects on menu activation - see above for more info
,					// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
1, 					// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
,					// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,					// Position of TOP sub image left:center:right
,					// Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
,					// Right To Left - Used in Hebrew for example. (1=on/0=off)
,					// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,					// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,					// Background image for menu when BGColor set to transparent.
,					// Scrollable Menu
'img/bgline_menub.gif',			// Reserved for future use ==> onscroll image 20080606 Yves
,"&nbsp;Recherche&nbsp;avancée&nbsp;&nbsp;","javascript:CallvrbOpenZoekScherm();",,"Ga naar de indexpagina",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
//,"&nbsp;Mon&nbsp;abonnement&nbsp;&nbsp;","http://www.monkey.be/admin?lang=fr target=new",,"beschrijving van het item",1
,"&nbsp;My&nbsp;monKEY&nbsp;&nbsp;","show-menu=animatie",,"beschrijving van het item",1 
,"&nbsp;Les&nbsp;auteurs&nbsp;&nbsp;","?auteurs.dll target=tekst",,"beschrijving van het item",1
,"&nbsp;Aide&nbsp;&nbsp;&nbsp;","show-menu=scripts",,"beschrijving van het item",1
,"&nbsp;Commander&nbsp;&nbsp;&nbsp;","javascript:CallvrbOpenBestelFormFR();",,"",1
])

	addmenu(menu=["start",
	,,100,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Start","",,,1
	])

	addmenu(menu=["animatie",
	,,210,1,"",style2,,"left",effect,,,,,,,,,'img/bgline_menu.gif',,'img/bgline_menub.gif',
	,"Module&nbsp;d'Administration","http://www.monkey.be/admin?lang=fr target=new",,,1
	,"Modifiez&nbsp;votre&nbsp;mot&nbsp;de&nbsp;passe","javascript:CallvrbOpenWijzigPW();",,,1
	,"Paramètres&nbsp;e-zine","javascript:CallmyMonkey_eZine_FR();",,,1
	,"Paramètres&nbsp;Astuces","javascript:CallmyMonkey_Tipmail_FR();",,,1
	,"Paramètres&nbsp;générales","javascript:CallvrbOpenInstellingenFR();",,,1
	])	
	
	
	
	addmenu(menu=["info",
	,,210,1,"",style2,,"left",effect,,,,,,,,,'img/bgline_menu.gif',,'img/bgline_menub.gif',
	,"Nouveaut‚s","javascript:goPage1();",,,1
	,"Nouvelle&nbsp;Fonctionnalit‚s","javascript:goPage2();",,,1
	,"Les&nbsp;auteurs","?auteurs.dll target=tekst",,,1
//	,"Privacy&nbsp;statement","?start",,,1
//	,"Conditions&nbsp;générales","?start",,,1
//	,"Conditions&nbsp;générales&nbsp;de&nbsp;licence","?start",,,1
	,"Privacy&nbsp;statement","javascript:win2(\"resc/FR/bin/privacy.htm\",\"Locator\",900);",,,1
	,"Conditions&nbsp;générales","javascript:win2(\"resc/FR/bin/algvoorwaarden.htm\",\"Locator\",900);",,,1
	,"Conditions&nbsp;générales&nbsp;de&nbsp;licence","javascript:win2(\"resc/FR/bin/ds_license_conditions.htm\",\"Locator\",900);",,,1

	])	

	addmenu(menu=["scripts",
	,,210,1,"",style2,,"left",effect,,,,,,,,,'img/bgline_menu.gif',,'img/bgline_menub.gif',
	,"Manuel","javascript:win2(\"resc/FR/bin/handl.pdf\",\"Locator\",900);",,,1
	,"Astuces","javascript:CallvrbTipmailsFR()",,,1	
//	,"Manuel","http://www.monkey.be/DBFR/handl/handl.pdf target=new",,,1
     //	,"e-Learning","http://jura.elearner.be/login/testLogin.php?userid=mo_1348546&cursus=monkey&taal=fr target=new",,,1
     	,"Conditions&nbsp;générales","javascript:win2(\"resc/FR/bin/algvoorwaarden.htm\",\"Locator\",900);",,,1
	,"Conditions&nbsp;générales&nbsp;de&nbsp;licence","javascript:win2(\"resc/FR/bin/ds_license_conditions.htm\",\"Locator\",900);",,,1
	,"Contact","javascript:CallvrbOpenContactForm();",,,1
	,"About","javascript:toon_about();",,,1
	
	])		
}	
	
dumpmenus()

