function getCoordinates( obj ) {
	//alert('halloooo')
    var x = 0; var y = 0;

    if( typeof obj == "string" ) {
        obj = document.getElementById( obj );
     }

    if( obj != null ) {
        while( obj.tagName != "BODY" ) {
            x += obj.offsetLeft;
            y += obj.offsetTop;
            obj = obj.offsetParent;
            y=y+20;
        }
        return new Array( x, y );
    } else {
        alert( "Object not found." );
        return false;
    }
}

var positionen = new Array();
positionen=getCoordinates('navipos');
/***********************************************************************************
*	(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
	
//Obermenü
var LowBgColor='#C4DCFB';			// Background color when mouse is not over
var HighBgColor='#132C84';			// Background color when mouse is over
var FontLowColor='#37509C';			// Font color when mouse is not over
var FontHighColor='white';			// Font color when mouse is over
var BorderColor='#98A3C9';			// Border color
//1. Untermenü
var LowSubBgColor='#EBF3FE';			// Background color when mouse is not over on subs
var HighSubBgColor='#C4DCFB';			// Background color when mouse is over on subs
var FontSubLowColor='#37509C';			// Font color subs when mouse is not over
var FontSubHighColor='#37509C';			// Font color subs when mouse is over
var BorderSubColor='#98A3C9';			// Border color for subs

var BorderWidth=1;				// Border width
var BorderBtwnElmnts=1;			// Border between elements 1 or 0

//Schrift
var FontFamily="verdana,arial,comic sans ms"	// Font family menu items
var FontSize=9;				// Font size menu items
var FontBold=1;				// Bold menu items 1 or 0
var FontItalic=0;				// Italic menu items 1 or 0

//Ausrichtung in Navi-Punkten
var LeftPaddng=3;				// Left padding
var TopPaddng=4;

//Position 
var StartTop=30;//positionen[1];	//141			// Menu offset x coordinate
var StartLeft=0;//positionen[0];				// Menu offset y coordinate				// Top padding

var MenuTextCentered='left';			// Item text position 'left', 'center' or 'right'
var MenuCentered='left';			// 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 VerCorrect=0;				// Multiple frames y correction
var HorCorrect=0;				// Multiple frames x correction
var FirstLineHorizontal=0;			// 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='bannerframe';			// Frame where first level appears
var SecLineFrame='bannerframe';			// Frame where sub levels appear
var DocTargetFrame='self';			// Frame where target documents appear
var TargetLoc='navipos';				// 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=1;			// menu tree checking on or off 1 or 0
var ShowArrow=1;				// Uses arrow gifs when 1
var KeepHilite=1;				// Keep selected path highligthed
var Arrws=['images/pfeil.gif',11,12,'images/pfeil.gif',11,12,'images/pfeil.gif',11,12];	// Arrow source, width and height

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


// 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"

var naviBreite=160;
var naviBreiteSchmal=152;
var naviSchmal=24;
var naviBreit=38;

        Menu1=new Array("Home","index.php?navi=1","",0,naviSchmal,naviBreiteSchmal);
        
        Menu2=new Array("Angebote","","",8);
	Menu2_1=new Array("Projekte der Gewaltprävention","","",9,naviBreit,naviBreite);	
	Menu2_1_1=new Array("AAT","index.php?navi=211","",0,naviSchmal,naviBreite);
        Menu2_1_2=new Array("Coolness-Gruppe für Jungen","index.php?navi=212","",0,naviBreit,naviBreite);
        Menu2_1_3=new Array("Lady Cool","index.php?navi=213","",0,naviSchmal,naviBreite);
        Menu2_1_4=new Array("Lässige Ladies","index.php?navi=214","",0,naviSchmal,naviBreite);
	Menu2_1_5=new Array("Koole Kerle","index.php?navi=215","",0,naviSchmal,naviBreite);
	Menu2_1_6=new Array("MUT","index.php?navi=216","",0,naviSchmal,naviBreite);
        Menu2_1_7=new Array("MUTIGER","index.php?navi=217","",0,naviSchmal,naviBreite);
        Menu2_1_8=new Array("PiCOOLino","index.php?navi=218","",0,naviSchmal,naviBreite);
 	 Menu2_1_9=new Array("Zweikampfverhalten","index.php?navi=220","",0,naviSchmal,naviBreite);


	        Menu2_2=new Array("Ambulante Hilfen","","",4,naviSchmal,naviBreite);
		Menu2_2_1=new Array("Ambulante Betreuung","index.php?navi=221","",0,naviSchmal,naviBreite);
		Menu2_2_2=new Array("Sozialpädagogische Familienhilfe","index.php?navi=222","",0,naviBreit,naviBreite);	
		Menu2_2_3=new Array("Erziehungsberatung","index.php?navi=223","",0,naviSchmal,naviBreite);
		Menu2_2_4=new Array("Elterntraining","","",3,naviSchmal,naviBreite);
		Menu2_2_5=new Array("PSI - Psychosoziale Intervention","index.php?navi=225","",0,naviBreit,naviBreite);

			Menu2_2_4_1=new Array("Elternkompetenz-training","index.php?navi=2241","",0,naviBreit,naviBreite);
			Menu2_2_4_2=new Array("PEP","index.php?navi=2242","",0,naviSchmal,naviBreite);
			Menu2_2_4_3=new Array("Triple - P","index.php?navi=2243","",0,naviSchmal,naviBreite);
	

                Menu2_3=new Array("Stationäre Hilfen","","",8,naviSchmal,naviBreite);
		Menu2_3_1=new Array("Jugendwohnung","index.php?navi=261","",0,naviSchmal,naviBreite);	
		Menu2_3_2=new Array("Lebensgemeinschaft Oldenfelde","index.php?navi=262","",0,naviBreit,naviBreite);
		Menu2_3_3=new Array("Lebensgemeinschaft Rahlstedt","index.php?navi=263","",0,naviBreit,naviBreite);
		Menu2_3_3=new Array("Lebensgemeinschaft Bergstedt","index.php?navi=264","",0,naviBreit,naviBreite);
		Menu2_3_4=new Array("Lebensgemeinschaft Henstedt-Ulzburg","index.php?navi=265","",0,naviBreit,naviBreite);
		Menu2_3_5=new Array("Lebensgemeinschaft Projekt-Arche","index.php?navi=266","",0,naviBreit,naviBreite);
		Menu2_3_6=new Array("Lebensgemeinschaft Ahrensburg","index.php?navi=267","",0,naviBreit,naviBreite);
		Menu2_3_7=new Array("Lebensgemeinschaft Alt-Rahlstedt","index.php?navi=268","",0,naviBreit,naviBreite);
              Menu2_3_8=new Array("Freiplatzmeldung Lebensgemeinschaften","index.php?navi=269","",0,naviBreit,naviBreite);
	
       Menu2_4=new Array("Anmeldung","index.php?navi=27","",0,naviSchmal,naviBreite);
	Menu2_5=new Array("Fort- und Weiterbildung","index.php?navi=23","",0,naviBreit,naviBreite);
	Menu2_6=new Array("Aktuelles","index.php?navi=24","",0,naviSchmal,naviBreite);
	Menu2_7=new Array("Rückmeldungen","index.php?navi=25","",0,naviSchmal,naviBreite);
	Menu2_8=new Array("Verweise","index.php?navi=26","",0,naviSchmal,naviBreite);

	  Menu3=new Array("Kontakt","","",4);
	Menu3_1=new Array("Standorte","","",7,naviSchmal,naviBreite);
	Menu3_1_1=new Array("Rahlstedt","index.php?navi=311","",0,naviSchmal,naviBreite);
	Menu3_1_2=new Array("Farmsen","index.php?navi=312","",0,naviSchmal,naviBreite);
	Menu3_1_3=new Array("HH Nord (Mundsburg)","index.php?navi=313","",0,naviSchmal,naviBreite);
	Menu3_1_4=new Array("Altona","index.php?navi=314","",0,naviSchmal,naviBreite);
	Menu3_1_5=new Array("Lübeck","index.php?navi=315","",0,naviSchmal,naviBreite);
	Menu3_1_6=new Array("Wolfsburg","index.php?navi=316","",0,naviSchmal,naviBreite);
	Menu3_1_7=new Array("Übersichtskarte","index.php?navi=317","",0,naviSchmal,naviBreite);

		Menu3_2=new Array("Kontakt","index.php?navi=32","",0,naviSchmal,naviBreite);
		Menu3_3=new Array("Mitarbeiter","index.php?navi=33","",0);
		Menu3_4=new Array("Anregungen","index.php?navi=34","",0);

Menu4=new Array("Anmeldungen","index.php?navi=27","",0);

Menu5=new Array("Über uns","index.php?navi=5","",0);

Menu6=new Array("Spenden","","",2);
	Menu6_1=new Array("Spenden","index.php?navi=61","",0,naviSchmal,naviBreite);
	Menu6_2=new Array("Sponsoren","index.php?navi=62","",0);

Menu7=new Array("Impressum","index.php?navi=7","",0);

Menu8=new Array("Standorte","","",7);
	Menu8_1=new Array("Rahlstedt","index.php?navi=81","",0,naviSchmal,naviBreite);
	Menu8_2=new Array("Farmsen","index.php?navi=82","",0,naviSchmal,naviBreite);
	Menu8_3=new Array("HH Nord (Mundsburg)","index.php?navi=83","",0,naviSchmal,naviBreite);
	Menu8_4=new Array("Altona","index.php?navi=84","",0,naviSchmal,naviBreite);
	Menu8_5=new Array("Lübeck","index.php?navi=85","",0,naviSchmal,naviBreite);
	Menu8_6=new Array("Wolfsburg","index.php?navi=86","",0,naviSchmal,naviBreite);
	Menu8_7=new Array("Übersichtskarte","index.php?navi=87","",0,naviSchmal,naviBreite);



