/***********************************************************************************
*	(c) Ger Versluis 2000 version 5.411 24 December 2001 (updated Jan 31st, 2003 by Dynamic Drive for Opera7)
*	For info write to menus@burmees.nl		          *
*	You may remove all comments for faster loading	          *		
***********************************************************************************/

	var NoOffFirstLineMenus=8;			// Number of first level items
	var LowBgColor='#D2102A';			// Background color when mouse is not over
	var LowSubBgColor='#ffffff';			// Background color when mouse is not over on subs
	var HighBgColor='#D2102A';			// Background color when mouse is over
	var HighSubBgColor='#D2102A';			// Background color when mouse is over on subs
	var FontLowColor='#D0D0D0';			// Font color when mouse is not over
	var FontSubLowColor='#979797';			// Font color subs when mouse is not over
	var FontHighColor='#ffffff';			// Font color when mouse is over
	var FontSubHighColor='#ffffff';			// Font color subs when mouse is over
	var BorderColor='#D2102A';			// Border color
	var BorderSubColor='#949494';			// Border color for subs
	var BorderWidth=1;				// Border width
	var BorderBtwnElmnts=1;			// Border between elements 1 or 0
	var FontFamily="Verdana, Helvetica, Arial, sans-serif"	// Font family menu items
	if (document.layers){
		var FontSize="8px";				// Font size menu items
	}else{
		var FontSize="11px";				// 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 MenuTextVerticalAlign='middle';
	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
	
	if (ie){
		var StartTop=-2;				// Menu offset x coordinate
	}else{
		var StartTop=0;				// Menu offset x coordinate
	}
	
	if (ie){
		var StartLeft=0;				// Menu offset y coordinate
	}else if (ns7){
		var StartLeft=-8;				// Menu offset y coordinate
	}else if (document.layers){
		var StartLeft=-8;				// Menu offset y coordinate
	}
	
	var VerCorrect=0;				// Multiple frames y correction
	var HorCorrect=0;				// Multiple frames x correction
	var LeftPaddng=8;				// Left padding
	
	if (document.layers){
		var TopPaddng=4;				// Top padding
	}else{
		var TopPaddng=1;				// Top padding
	}
	var FirstLineHorizontal=1;			// SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL
	var MenuFramesVertical=1;			// Frames in cols or rows 1 or 0
	var DissapearDelay=1000;			// delay before menu folds in
	var TakeOverBgColor=1;			// Menu frame takes over background color subitem frame
	var FirstLineFrame='self';			// Frame where first level appears
	var SecLineFrame='self';			// Frame where sub levels appear
	var DocTargetFrame='self';			// Frame where target documents appear
	var TargetLoc='MenuPosition';				// span id for relative positioning
	var HideTop=0;				// Hide first level when loading new document 1 or 0
	var MenuWrap=0;				// 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=['',0,0,'',0,0,'',0,0];	// Arrow source, width and height

function BeforeStart(){return}
function AfterBuild(){return}
function BeforeFirstOpen(){return}
function AfterCloseAll(){return}

if (ns){
	bullet="<img src=\"/images/dot_white.gif\" alt=\"\" border=\"0\"><font class=\"navi\">";
	rear="</font>";
}else{
	bullet="<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td><img src=\"/images/1.gif\" height=\"1\" width=\"1\" alt=\"\" border=\"0\"></td></tr><tr><td><img src=\"/images/dot_white.gif\" alt=\"\" border=\"0\"><font class=\"navi\">";
	rear="</font></td></tr></table>";
}
startseite_text="Startseite";
nachrichten_text="Nachrichten";
flotte_text="Flotte";
unternehmen_text="Unternehmen"
kontakt_text="Kontakt";
inhalt_text="Inhalt";
english_text="English";

self_url=self.location.href;
bereich=self_url.indexOf("/de/");
if (bereich<0)
{
	bereich="startseite";
}

nachrichten=self_url.search("type_of_document=0");
unternehmen=self_url.search("unternehmen");
flotte=self_url.search("DWT");
kontakt=self_url.search("kontakt");
inhalt=self_url.search("inhalt");

if (nachrichten>0){
	bereich="nachrichten";
}

if (unternehmen>0){
	bereich="unternehmen";
}

if (flotte>0){
	bereich="flotte";
}

if (kontakt>0){
	bereich="kontakt";
}

if (inhalt>0){
	bereich="inhalt";
}

switch (bereich){
	case "startseite" : 
		startseite_text=bullet+startseite_text+rear;
		break;
	case "nachrichten" : 
		nachrichten_text=bullet+nachrichten_text+rear;
		break;
	case "unternehmen" : 
		unternehmen_text=bullet+unternehmen_text+rear;
		break;
	case "flotte" : 
		flotte_text=bullet+flotte_text+rear;
		break;
	case "kontakt" : 
		kontakt_text=bullet+kontakt_text+rear;
		break;
	case "inhalt" : 
		inhalt_text=bullet+inhalt_text+rear;
}

// Menu tree
//	MenuX=new Array(Text to show, Link, background image (optional), number of sub elements, height, width);
//	For rollover images set "Text to show" to:  "rollover:Image1.jpg:Image2.jpg"


Menu1=new Array("","","",0,17,20);

Menu2=new Array(startseite_text,"/index.html","",0,17,92);

Menu3=new Array(nachrichten_text,"/cgi-bin/mediapublish/view.cgi?latest=1&last5=1&year=2010&type_of_document=0&col=1&claim=Aktuell","",2,17,102);
	Menu3_1=new Array("Aktuell","/cgi-bin/mediapublish/view.cgi?latest=1&last5=1&year=2010&type_of_document=0&col=1&claim=Aktuell","",0,18,102);
	Menu3_2=new Array("Archiv","/cgi-bin/mediapublish/view.cgi?latest=1&date_low_month=01&date_low_year=2009&date_high_month=12&date_high_year=2009&year=2009&type_of_document=0&col=1&claim=Archiv","",0,18,102);

Menu4=new Array(unternehmen_text,"/de/unternehmen/profil/index.html","",3,17,150);
	Menu4_1=new Array("Profil","/de/unternehmen/profil/index.html","",0,18,150);
	Menu4_2=new Array("Geschichte","/de/unternehmen/ursprung/index.html","",0,18,150);
	Menu4_3=new Array("Tochter- & Beteiligungs- unternehmen","/de/unternehmen/toechter/dsag.html","",0,32,150);
	
Menu5=new Array(flotte_text,"/cgi-bin/mediapublish/view.cgi?showall=1&biggest=1&orderby=DWT_DESC&type_of_document=1","",7,17,124);
	Menu5_1=new Array("Container","/cgi-bin/mediapublish/view.cgi?showall=1&biggest=1&orderby=DWT_DESC&type_of_document=1","",0,18,124);
	Menu5_2=new Array("Massengut","/cgi-bin/mediapublish/view.cgi?showall=1&biggest=1&orderby=DWT_DESC&type_of_document=2","",0,18,124);
	Menu5_3=new Array("Gas","/cgi-bin/mediapublish/view.cgi?showall=1&biggest=1&orderby=DWT_DESC&type_of_document=3","",0,18,124);
	Menu5_4=new Array("RoRo / RoPax","/cgi-bin/mediapublish/view.cgi?showall=1&biggest=1&orderby=DWT_DESC&type_of_document=4","",0,18,124);
	Menu5_5=new Array("Car Carrier","/cgi-bin/mediapublish/view.cgi?showall=1&biggest=1&orderby=DWT_DESC&type_of_document=5","",0,18,124);
	Menu5_6=new Array("Forschung","/cgi-bin/mediapublish/view.cgi?showall=1&biggest=1&orderby=DWT_DESC&type_of_document=6","",0,18,124);
	Menu5_7=new Array("Kühlschiffe","/cgi-bin/mediapublish/view.cgi?showall=1&biggest=1&orderby=DWT_DESC&type_of_document=7","",0,18,124);

Menu6=new Array(kontakt_text,"/de/kontakt/hamburg.html","",3,17,127);
	Menu6_1=new Array("Hamburg","/de/kontakt/hamburg.html","",0,18,127);
	Menu6_2=new Array("Rostock","/de/kontakt/rostock.html","",0,18,127);
	Menu6_3=new Array("Bremerhaven","/de/kontakt/bremerhaven.html","",0,18,127);

Menu7=new Array(inhalt_text,"/de/inhalt/struktur.html","",2,17,98);
	Menu7_1=new Array("Struktur","/de/inhalt/struktur.html","",0,18,98);
	Menu7_2=new Array("Impressum","/de/inhalt/impressum.html","",0,18,98);

Menu8=new Array(english_text,"/en/index.html","",0,17,58);
