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)}

////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
	effect = "Fade(duration=0.2);Alpha(style=0,opacity=88);Shadow(color='#777777', Direction=135, Strength=5)"
}
else
{
	effect = "Shadow(color='#777777', Direction=135, Strength=5)" // Stop IE5.5 bug when using more than one filter
}


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.
"black",				// Mouse Off Font Color
"C19595",			// Mouse Off Background Color
"ffebdc",			// Mouse On Font Color
"C19595",			// Mouse On Background Color
"000000",			// Menu Border Color 
12,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",				// Font Weight (bold or normal)
"Verdana, Arial",	// Font Name
4,					// Menu Item Padding
"site_graphics/arrow.gif",		// Sub Menu Image (Leave this blank if not needed)
,					// 3D Border & Separator bar
"66ffff",			// 3D High Color
"000099",			// 3D Low Color
"green",			// Current Page Item Font Color (leave this blank to disable)
"grey",				// Current Page Item Background Color (leave this blank to disable)
"site_graphics/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)
"black",			// 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.
"black",				// Mouse Off Font Color
"C9BDBD",			// Mouse Off Background Color
"ffebdc",			// Mouse On Font Color
"C9BDBD",			// Mouse On Background Color
"000000",			// Menu Border Color 
12,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",				// Font Weight (bold or normal)
"Verdana, Arial",	// Font Name
4,					// Menu Item Padding
"site_graphics/arrow.gif",		// Sub Menu Image (Leave this blank if not needed)
,					// 3D Border & Separator bar
"66ffff",			// 3D High Color
"000099",			// 3D Low Color
"Purple",			// Current Page Item Font Color (leave this blank to disable)
"pink",				// Current Page Item Background Color (leave this blank to disable)
"site_graphics/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)
"black",			// Menu Item Separator Color
]

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
20,					// Menu Top - The Top position of the menu in pixels
20,				// Menu Left - The Left position of the menu in pixels
75,					// Menu Width - Menus width in pixels
1,					// 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)
"center",				// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
effect,				// Filter - Text variable for setting transitional effects on menu activation - see above for more info
1,					// 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)
"AftNews",					// 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
,					// Reserved for future use
,"Hjem","http://gethome.no/selsto/",,"Tilbake til hjemmesiden",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"Nyheter&nbsp;&nbsp;","show-menu=news",,"",1
,"Webmaster&nbsp;&nbsp;","show-menu=webmaster",,"",1
,"Nedlastinger&nbsp;&nbsp;","show-menu=downloads",,"",1
,"S&oslash;k&nbsp;&nbsp;","show-menu=search",,"",1
,"Humor&nbsp;&nbsp;","show-menu=humor",,"",1
,"Spill&nbsp;&nbsp;","show-menu=other",,"",1
])

	addmenu(menu=["news",
	,,120,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"Generelle","show-menu=generalnews","Nyheter",,1
	,"Teknologi","show-menu=technonews","Teknologinytt",,1
	])
	
	
		addmenu(menu=["generalnews",
		,,170,1,"",style2,,"left",effect,,,,,,,,,,,,
		,"VG","http://www.vg.no",,,0
		,"Aftenposten","http://www.aftenposten.no",,,0
		,"Dagbladet","http://www.dagbladet.no",,,0
		,"Nettavisen","http://www.nettavisen.no",,,0
		,"Lokal nyheter","show-menu=grorudnews","Lokalnytt",,0
		,"Internasjonale nyheter","show-menu=intnews","Internasjonalt",,0
		
		])

			addmenu(menu=["grorudnews",
			,,120,1,"",style2,,"left",effect,,,,,,,,,,,,
			,"Akers Avis/Groruddalen","http://www.groruddalen.no",,,
			,"Bydel Bjerke","http://www.bydel-bjerke.oslo.kommune.no/",,,
			])

			addmenu(menu=["intnews",
			,,170,1,"",style2,,"left",effect,,,,,,,,,,,,
			,"CNN","http://www.cnn.com",,,0
			,"MSNBC","http://www.msnbc.com",,,0
			,"ABC News","http://www.abcnews.com",,,0
			,"BBC News","http://news.bbc.co.uk",,,0
			])


		
		addmenu(menu=["technonews",
		,,110,1,"",style2,,"left",effect,,,,,,,,,,,,
		,"TechWeb","http://www.techweb.com/",,,0
		,"News.com","http://www.news.com",,,0
		,"Wired News","http://www.wired.com",,,0
		,"Slashdot","http://www.slashdot.com",,,0		
		])



	addmenu(menu=["webmaster",
	,,170,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"<img src=site_graphics/newsimage.gif border=0>&nbsp;Dynamic Drive","http://www.dynamicdrive.com swapimage=site_graphics/newsimage_over.gif",,,1
	,"<img src=site_graphics/newsimage.gif border=0>&nbsp;JavaScript Kit","http://www.javascriptkit.com swapimage=site_graphics/newsimage_over.gif",,,1
	,"<img src=site_graphics/newsimage.gif border=0>&nbsp;Freewarejava.Com","http://www.freewarejava.com swapimage=site_graphics/newsimage_over.gif",,,1
	,"<img src=site_graphics/newsimage.gif border=0>&nbsp;Active-X.com","http://www.active-x.com swapimage=site_graphics/newsimage_over.gif",,,1
	,"<img src=site_graphics/newsimage.gif border=0>&nbsp;Web Monkey","http://www.webmonkey.com swapimage=site_graphics/newsimage_over.gif",,,1
	,"<img src=site_graphics/newsimage.gif border=0>&nbsp;Jars","http://www.jars.com swapimage=site_graphics/newsimage_over.gif",,,1
	])
	
	addmenu(menu=["downloads",,,120,1,,style2,0,"left",effect,0,,,,,,,,,,,
	,"Download.com","http://www.download.com",,,1
	,"Tucows","http://www.tucows.com",,,1
	])
	
	addmenu(menu=["search",
	,,140,1,"",style2,,"",effect,,,,,,,,,,,,
	,"<img src=site_graphics/google_icon.gif border=0>&nbsp;Google.com", "http://www.google.com",,,1
	,"<img src=site_graphics/yahoo_icon.gif border=0>&nbsp;Yahoo", "http://www.yahoo.com",,,1
	,"<img src=site_graphics/av_icon.gif border=0>&nbsp;Altavista", "http://altavista.com",,,1
	,"<img src=site_graphics/excite.gif border=0>&nbsp;Excite", "http://www.excite.com",,,1
	])
	
	addmenu(menu=["humor",,,140,1,"",style2,,"",effect,,,,,,,,,,,,
	,"Humor bilder","humor_bilder/help_desk.gif",,"Humor bilder",1
	])
	
	addmenu(menu=["Other",,,140,1,,style2,0,"left","randomdissolve(duration=0.5);Shadow(color='#999999', Direction=135, Strength=5)",0,,,,,,,,,,,
	,"DHTML Web spill","spillindex.html",,"Helges DHTML spill samling",1
	])
	

dumpmenus()
