function topic(topic){
	window.open("http://www.onlineannoncer.dk/help/?site=gratis&topic="+topic,"pophelp","width=700,height=460,menubar=no,resizable=yes,top=0,left=0,status=yes,scrollbars=no")
}

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)}

timegap=500				// The time delay for menus to remain visible
followspeed=5			// Follow Scrolling speed
followrate=40			// Follow Scrolling Rate
suboffset_top=10;		// Sub menu offset Top position 
suboffset_left=10;		// 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.
"000000",				// Mouse Off Font Color
"FF957C",				// Mouse Off Background Color
"000000",				// Mouse On Font Color
"ECBAAF",				// Mouse On Background Color
"000000",				// Menu Border Color 
11,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"bold",					// Font Weight (bold or normal)
"Verdana, Arial",		// Font Name
2,						// Menu Item Padding
"/menu/arrow.gif",		// Sub Menu Image (Leave this blank if not needed)
"cccccc",						// 3D Border & Separator bar
"",						// 3D High Color
"000000",				// 3D Low Color
"Purple",				// Current Page Item Font Color (leave this blank to disable)
"white",				// Current Page Item Background Color (leave this blank to disable)
"",						// /menu/arrowdn.gif Top Bar image (Leave this blank to disable)
"ffffff",				// Menu Header Font Color (Leave blank if headers are not needed)
"000099",				// Menu Header Background Color (Leave blank if headers are not needed)
]

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.
"000000",				// Mouse Off Font Color
"FF957C",				// Mouse Off Background Color
"000000",				// Mouse On Font Color
"ECBAAF",				// Mouse On Background Color
"000000",				// Menu Border Color 
11,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"normal",					// Font Weight (bold or normal)
"Verdana, Arial",		// Font Name
2,						// Menu Item Padding
"/menu/arrow.gif",		// Sub Menu Image (Leave this blank if not needed)
"ff0000",				// 3D Border & Separator bar
"",						// 3D High Color
"000000",				// 3D Low Color
"Purple",				// Current Page Item Font Color (leave this blank to disable)
"white",				// Current Page Item Background Color (leave this blank to disable)
"",						// /menu/arrowdn.gif Top Bar image (Leave this blank to disable)
"ffffff",				// Menu Header Font Color (Leave blank if headers are not needed)
"000099",				// Menu Header Background Color (Leave blank if headers are not needed)
]

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
127,				// Menu Top - The Top position of the menu in pixels
164,				// 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)
,					// Reserved for future use
,					// Reserved for future use
,					// Reserved for future use

,"<nobr>Oversigt&nbsp;&nbsp;</nobr>","show-menu=oversigt",,"Oversigt over kategorier",1
,"<nobr>&nbsp;Nyt link&nbsp;&nbsp;</nobr>","show-menu=newlink","/site/nytlink.asp","Nyt link",1
,"<nobr>&nbsp;Agent&nbsp;&nbsp;</nobr>","show-menu=agent",,"Agent",1
//	,"<nobr>&nbsp;Konkurrencer&nbsp;&nbsp;</nobr>","show-menu=konkurrencer2","/site/main.asp?main=2","Konkurrencer",1
//	,"<nobr>&nbsp;Webmaster&nbsp;&nbsp;</nobr>","show-menu=webmaster2","/site/main.asp?main=5","Webmaster",1
,"<nobr>&nbsp;Samarbejde&nbsp;&nbsp;</nobr>","show-menu=samarbejde",,"Samarbejde",1
,"<nobr>&nbsp;Din side&nbsp;&nbsp;</nobr>","show-menu=yoursite",,"Din side, Login",1
,"<nobr>&nbsp;Reklame&nbsp;&nbsp;</nobr>","show-menu=reklame",,"Info",1
,"<nobr>&nbsp;Hjælp&nbsp;&nbsp;</nobr>","show-menu=help",,"hjælp",1
,"<nobr>&nbsp;Om&nbsp;&nbsp;</nobr>","show-menu=om",,"Om OnlineAnnoncer.dk",1
])


addmenu(menu=["oversigt",
,,220,1,"",style2,,"left",,,,,,,,,,,,,
,"Gratis ting","show-menu=kat1","/site/main.asp?main=1","Gratis ting",0
,"Konkurrencer","show-menu=kat2","/site/main.asp?main=2","Konkurrencer",0
,"Webmaster","show-menu=kat5","/site/main.asp?main=5","Webmaster",1
,"Fortæl om OnlineAnnoncer.dk","/site/multitip.asp",,"Fortæl om OnlineAnnoncer.dk",0]) 

  addmenu(menu=["kat1",
   ,,200,1,"",style2,,"left",,,,,,,,,,,,,
   ,"Aktiviteter","/site/list.asp?main=1&kat=15",,"Aktiviteter",0
   ,"Computer & Internet","/site/list.asp?main=1&kat=3",,"Computer & Internet",0
   ,"Materielt","/site/list.asp?main=1&kat=2",,"Materielt",0
   ,"Mobilos","/site/list.asp?main=1&kat=10",,"Mobilos",0
   ,"Programmer","/site/list.asp?main=1&kat=28",,"Programmer",0
   ,"Tjen penge","/site/list.asp?main=1&kat=5",,"Tjen penge",0
   ,"Underholdning","/site/list.asp?main=1&kat=31",,"Underholdning",0
   ,"Webmaster","/site/list.asp?main=1&kat=4",,"Webmaster",0
   ]) 

  addmenu(menu=["kat2",
   ,,200,1,"",style2,,"left",,,,,,,,,,,,,
   ,"Bliv medlem","/site/list.asp?main=2&kat=9",,"Bliv medlem",0
   ,"Diverse","/site/list.asp?main=2&kat=6",,"Diverse",0
   ,"Held og lotto","/site/list.asp?main=2&kat=8",,"Held og lotto",0
   ,"Kontanter","/site/list.asp?main=2&kat=32",,"Kontanter",0
   ,"Link dig til gevinst","/site/list.asp?main=2&kat=7",,"Link dig til gevinst",0
   ,"Nyhedsbreve","/site/list.asp?main=2&kat=11",,"Nyhedsbreve",0
   ,"Spil og vind","/site/list.asp?main=2&kat=12",,"Spil og vind",0
   ,"Svar parat","/site/list.asp?main=2&kat=13",,"Svar parat",0
   ,"Tip en ven og VIND !","/site/list.asp?main=2&kat=14",,"Tip en ven og VIND !",0
   ]) 

  addmenu(menu=["kat5",
   ,,200,1,"",style2,,"left",,,,,,,,,,,,,
   ,"Afstemningssystemer","/site/list.asp?main=5&kat=29",,"Afstemningssystemer",0
   ,"Bannerstyring","/site/list.asp?main=5&kat=22",,"Bannerstyring",0
   ,"Diverse","/site/list.asp?main=5&kat=17",,"Diverse",0
   ,"Gratis chat","/site/list.asp?main=5&kat=26",,"Gratis chat",0
   ,"Gratis grafik","/site/list.asp?main=5&kat=27",,"Gratis grafik",0
   ,"Gratis hjemmeside","/site/list.asp?main=5&kat=16",,"Gratis hjemmeside",0
   ,"Gratis scripts","/site/list.asp?main=5&kat=25",,"Gratis scripts",0
   ,"Gæstebøger","/site/list.asp?main=5&kat=18",,"Gæstebøger",0
   ,"Linkpartnere","/site/list.asp?main=5&kat=30",,"Linkpartnere",0
   ,"Mailinglister","/site/list.asp?main=5&kat=23",,"Mailinglister",0
   ,"Sponsor","/site/list.asp?main=5&kat=24",,"Sponsor",0
   ,"Tjen penge","/site/list.asp?main=5&kat=21",,"Tjen penge",0
   ,"Trafik","/site/list.asp?main=5&kat=19",,"Trafik",0
   ,"Tællere","/site/list.asp?main=5&kat=20",,"Tællere",0
   ,"Webstatistik","/site/list.asp?main=5&kat=33",,"Webstatistik",0
   ]) 



	
	/*	addmenu(menu=["gratis",
		,,140,1,"",style1,,"left",,,,,,,,,,,,,
		,"Virkelige ting","#",,"Virkelige ting",1
		,"På nettet","#",,"På nettet",1
		,"Webmaster","#",,"Webmaster",1
		,"Tjen penge","#",,"Tjen penge",1
		])
		
		addmenu(menu=["konkurrencer",
		,,140,1,"",style1,,"left",,,,,,,,,,,,,
		,"Blandet","#",,"Blandet",1
		,"Link og vind","#",,"Link og vind",1
		,"Lotto","#",,"Lotto",1
		])
		
		addmenu(menu=["webmaster",
		,,160,1,"",style1,,"left",,,,,,,,,,,,,
		,"Afstemningssystemer","#",,"Afstemningssystemer",1
		,"Bannersystemer","#",,"Bannersystemer",1
		,"Diverse","#",,"Diverse",1
		,"Gratis chat","#",,"Gratis chat",1
		,"Gratis grafik","#",,"Gratis grafik",1
		])
	*/
		
	addmenu(menu=["newlink",
	,,160,1,"",style2,,"left",,,,,,,,,,,,,
	,"Nyt 'Gratis ting' link","/site/nytlink.asp","","Tilføj link",0
	,"Nyt 'Konkurrence' link","/site/nytlink.asp?type=2","","Tilføj link",0
	,"Nyt 'Webmaster' link","/site/nytlink.asp?type=5","","Tilføj link",0
	])

	addmenu(menu=["konkurrencer2",
	,,140,1,"",style2,,"left",,,,,,,,,,,,,
	,"Tilføj link","/site/nytlink.asp?type=2","","Tilføj link",1
	,"Nyeste links","#","","Nye links",1
	,"Mest populære","#","","Mest populære",1
	])
	
	addmenu(menu=["webmaster2",
	,,140,1,"",style2,,"left",,,,,,,,,,,,,
	,"Tilføj link","/site/nytlink.asp?type=5","","Tilføj link",1
	,"Nyeste links","#","","Nye links",1
	,"Mest populære","#","","Mest populære",1
	])
	
	addmenu(menu=["agent",
	,,140,1,"",style2,,"left",,,,,,,,,,,,,
	,"Opret Agent","/site/agent_opret.asp",,"Opret agent",0
	,"Ændring af agent","/admin/default.asp?gonext=admagent",,"Ændring af agent",0

	])

	addmenu(menu=["samarbejde",
	,,270,1,"",style2,,"left",,,,,,,,,,,,,
	,"Generelt","javascript:topic(58);",,"Generelt",0
	,"Opret gratis AnnonceBox","/global/?show=annoncebox",,"Opret gratis AnnonceBox",0
	,"Link til OnlineAnnoncer.dk","/global/?show=bannerfarm",,"Link til OnlineAnnoncer.dk",0
	,"Fortæl om OnlineAnnoncer.dk","/site/multitip.asp",,"Fortæl om OnlineAnnoncer.dk",0
	,"Annoncering","javascript:topic(36);",,"Annoncering",0
	,"Kontakt os med forslag til samarbejde","javascript:topic(73);",,"Kontakt os med forslag til samarbejde",0
	])
		
	addmenu(menu=["reklame",
	,,200,1,"",style2,,"left",,,,,,,,,,,,,
	,"Generelt","javascript:topic(36);",,"Generelt",0
	,"AdBox","javascript:topic(37);",,"AdBox",0
	,"QuickLinks","javascript:topic(39);",,"QuickLinks",0
	,"Bannere","javascript:topic(38);",,"Bannere",0
	,"Nyhedsbreve","javascript:topic(40);",,"Nyhedsbreve",0
	,"Agentmails","javascript:topic(41);",,"Agentmmails",0
	,"Shutters","javascript:topic(75);",,"Shutters",0
	,"Kontakt OnlineAnnoncer.dk","javascript:topic(73);",,"Kontakt OnlineAnnoncer.dk",0
	])
	
	addmenu(menu=["yoursite",
	,,140,1,"",style2,,"left",,,,,,,,,,,,,
	,"Login til Din Side","/admin/default.asp",,"Login til Annoncer, Agenter mv.",0
	,"Favorit annoncer","/admin/default.asp?gonext=favoritann",,"Favoritannoncer",0
	,"Favorit søgninger","/admin/default.asp?gonext=favoritsog",,"Favoritsøgninger",0
	,"Dine annoncer","/admin/default.asp?gonext=admannonce",,"Dine annoncer",0
	,"Din konto","/admin/default.asp?gonext=admkonto",,"Din konto",0
	])
	
	addmenu(menu=["brugerprofil",
	,,200,1,"",style2,,"left",,,,,,,,,,,,,
	,"Din brugerprofil","/admin/default.asp?gonext=profil",,"Din brugerprofil",0
	,"Dine Søgeagenter","/admin/default.asp?gonext=agenter",,"Dine Søgeagenter",0
	,"Dine Links","/admin/default.asp?gonext=links",,"Dine Links",0
	,"Tilmeldte nyhedsbreve","/admin/default.asp?gonext=nyhedsbrev",,"Tilmeldte nyhedsbreve",0
	])

	addmenu(menu=["webmaster",
	,,200,1,"",style2,,"left",,,,,,,,,,,,,
	,"Info til webmastere","",,"Info til webmastere",0
	,"AnnonceBox","/global/?show=annoncebox",,"Info til webmastere",0
	,"Bannere","#",,"Bannere",0
//	,"Indsæt dit link","/links/?mode=new",,"Indsæt dit link",0
	])
	
	addmenu(menu=["om",
	,,250,1,"",style2,,"left",,,,,,,,,,,,,
	,"Om OnlineAnnoncer.dk","javascript:topic(5);",,"Om OnlineAnnoncer.dk",0
	,"Generelle regler","javascript:topic(10);",,"Generelle regler",0
	,"Særlige betingelser","javascript:topic(15);",,"Særlige betingelser",0
	,"Personoplysninger","javascript:topic(16);",,"Personoplysninger",0
	,"Reklame","javascript:topic(36);",,"Reklame",0
//	,"Linksektion","/links/",,"Linksektion",0
	,"Fortæl andre om OnlineAnnoncer.dk","/site/multitip.asp",,"Fortæl andre om OnlineAnnoncer.dk",0
	,"Kontakt OnlineAnnoncer.dk","javascript:topic(73);",,"Kontakt OnlineAnnoncer.dk",0
	])

	addmenu(menu=["help",
	,,200,1,"",style2,,"left",,,,,,,,,,,,,
	,"Hjælpecenter","javascript:topic(74)",,"Hjælpecenter",0
//	,"Links til eksterne sites","/links/",,"Links til eksterne sites",0
	,"Fortæl om OnlineAnnoncer.dk","/site/multitip.asp",,"Fortæl om OnlineAnnoncer.dk",0
	,"Kontakt OnlineAnnoncer.dk","javascript:topic(73);",,"Kontakt OnlineAnnoncer.dk",0
	,"Om OnlineAnnoncer.dk","javascript:topic(5)",,"Om OnlineAnnoncer.dk",0
	])
	
dumpmenus()
