//  Menu tree
//	MenuX=new Array(ItemText, Link, background image, number of sub elements, height, width);
//	For rollover images ItemText format is:  'rollover:Image1.jpg:Image2.jpg'

var SiteWidth = "760px";
var MenuHeight = 20;

var NoOffFirstLineMenus=9;					// Number of first level items

var LowBgColor='#0051A0';					// Background color when mouse is not over
var LowSubBgColor='#F2F5FA';				// Background color when mouse is not over on subs

var HighBgColor='#0051A0';					// Background color when mouse is over
var HighSubBgColor='#ffffff';				// Background color when mouse is over on subs

var FontLowColor='#FFFFFF';					// Font color when mouse is not over
var FontSubLowColor='#053462';				// Font color subs when mouse is not over
var FontHighColor='#BECAD3';				// Font color when mouse is over
var FontSubHighColor='#053462';				// Font color subs when mouse is over

var BorderBtwnElmnts=1;						// Border between elements 1 or 0
var BorderWidth=1;							// Border width
var BorderSubColor='#6D8FAB';				// Border color for subs
var BorderColor='#0051A0';					// Border color

var FontFamily='Verdana'					// Font family menu items
var FontSize=8;								// Font size menu items
var FontBold=0;								// Bold menu items 1 or 0
var FontItalic=0;							// Italic menu items 1 or 0

var MenuTextCentered='left';				// Item text position 'left', 'center' or 'right'
var MenuCentered='center';					// Menu horizontal position 'left', 'center' or 'right'
var MenuVerticalCentered='top';				// Menu vertical position 'top', 'middle','bottom' or static

var ChildOverlap=.2;						// horizontal overlap child/ parent
var ChildVerticalOverlap=.2;				// vertical overlap child/ parent

var StartTop=70;							// Menu offset x coordinate
var StartLeft=0;							// Menu offset y coordinate

var VerCorrect=0;							// Multiple frames y correction
var HorCorrect=0;							// Multiple frames x correction
var LeftPaddng=2;							// Left padding
var TopPaddng=3;							// Top padding
var FirstLineHorizontal=1;					// First level items layout horizontal 1 or 0
var MenuFramesVertical=1;					// Frames in cols or rows 1 or 0
var DissapearDelay=500;						// delay before menu folds in
var TakeOverBgColor=1;						// Menu frame takes over background color subitem frame
var FirstLineFrame='navig';					// Frame where first level appears
var SecLineFrame='space';					// Frame where sub levels appear
var DocTargetFrame='space';					// Frame where target documents appear
var TargetLoc='';							// span id for relative positioning
var HideTop=0;								// Hide first level when loading new document 1 or 0
var MenuWrap=1;								// enables/ disables menu wrap 1 or 0
var RightToLeft=0;							// enables/ disables right to left unfold 1 or 0
var UnfoldsOnClick=0;						// Level 1 unfolds onclick/ onmouseover
var WebMasterCheck=0;						// menu tree checking on or off 1 or 0
var ShowArrow=0;							// Uses arrow gifs when 1
var KeepHilite=1;							// Keep selected path highligthed

var Arrws=['tri.gif',5,10,'tridown.gif',10,5,'trileft.gif',5,10];	// Arrow source, width and height

Menu1 		= new Array("",						"",						"",  0, MenuHeight, 30);

Menu2 		= new Array(":: Salgsemner",		"",						"",  7, MenuHeight, 100);
Menu2_1 	= new Array("Alle",				"sagsoversigt.aspx?Id=100",		"",  0, MenuHeight, 150);
Menu2_2 	= new Array("Villa",				"sagsoversigt.aspx?Id=101",		"",  0, MenuHeight, 150);
Menu2_3 	= new Array("Lejlighed",			"sagsoversigt.aspx?Id=102",		"",  0, MenuHeight, 150);
Menu2_4 	= new Array("Fritidshus",			"sagsoversigt.aspx?Id=103",		"",  0, MenuHeight, 150);
Menu2_5 	= new Array("Grund",				"sagsoversigt.aspx?Id=104",		"",  0, MenuHeight, 150);
Menu2_6 	= new Array("Erhverv",				"sagsoversigt.aspx?Id=105",		"",  0, MenuHeight, 150);
Menu2_7 	= new Array("Bolig til leje",			"sagsoversigt.aspx?Id=106&type=boligleje",		"",  0, MenuHeight, 150);

	
Menu3 		= new Array(":: Sælg bolig",		"default.aspx?Id=33&AutoID=581",		"",  0, MenuHeight, 100);
Menu4 		= new Array(":: Firmaprofil",		"default.aspx?Id=32&AutoID=582",		"",  0, MenuHeight, 100);
Menu5 		= new Array(":: Køberkartotek",		"koberkartotekbolig.aspx?Id=200&AutoID=617",	"",  0, MenuHeight, 120);
Menu6 		= new Array(":: Links",			"default.aspx?Id=31&AutoID=583",		"",  0, MenuHeight,  70);
Menu7 		= new Array(":: Kontakt os",		"default.aspx?Id=30&AutoID=584",		"",  0, MenuHeight, 100);

Menu8 		= new Array(":: Forside",			"default.aspx?Id=20&AutoID=580",	"",  0, MenuHeight,  70);

Menu9 		= new Array("",						"",						"",  0, MenuHeight, 30);


document.write("<SCRIPT LANGUAGE='JavaScript1.2' SRC='script/menucom.js' TYPE='text/javascript'><\/SCRIPT>");

document.write("<table border='0' cellpadding='0' cellspacing='0' style='position:absolute; left:0px; top:" + StartTop + "px; width:100%; height:" + (MenuHeight+(2*BorderWidth)) + "px; background-color:transparent;'>");
document.write("  <tr>");
document.write("    <td width='*'>&nbsp;</td>");
document.write("    <td align='center' width='" + SiteWidth + "' bgcolor='" + LowBgColor + "'></td>");
document.write("    <td width='*'>&nbsp;</td>");
document.write("  </tr>");
document.write("</table>");
