/*** Menu System for TARGO ***/

_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;
projectid=1;

with(targoHomeStyle=new mm_style()){
borderwidth=0;
bordercolor="#999999";
borderstyle="solid";
fontfamily="Verdana, Tahoma, Arial";
fontsize="8pt";
fontweight="bold";
headerbgcolor="#ffffff";
headercolor="#000000";
itemheight=30;
offcolor="#000099";
oncolor="#666666";
//outfilter="randomdissolve(duration=0.3)";
//overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=3)";
padding=0;
pagecolor="#666666";
rawcss="margin:0 10;";
separatorcolor="#000099";
separatorsize=1;
separatorpadding=0;
subimage="menu/pfeil.gif";
valign="top";
}

with(targoMainStyle=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=0;
fontfamily="Verdana, Tahoma, Arial";
fontsize="9pt";
fontweight="bold";
headerbgcolor="#ffffff";
headercolor="#000000";
image="menu/pfeil.gif";
imagepadding=3;
offcolor="#ffffff";
oncolor="#CCCCCC";
//outfilter="randomdissolve(duration=0.3)";
//overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=3)";
overimage="menu/pfeil2.gif";
padding=4;
pagecolor="#cccccc";
pageimage="menu/quadrat.gif";
separatorcolor="transparent";
separatorsize=1;
separatorpadding=10;
//subimage="menu/pfeil.gif";
}

with(targoSubStyle=new mm_style()){
fontfamily="Verdana, Tahoma, Arial";
fontsize="10pt";
headerbgcolor="#ffffff";
headercolor="#000000";
offcolor="#ffffff";
oncolor="#0000aa";
//outfilter="randomdissolve(duration=0.3)";
//overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=3)";
padding=4;
pagecolor="#000099";
rawcss="filter: dropshadow(color=#777777, offx=1, offy=1, positive=1)";
separatorcolor="#aaaaaa";
separatorsize=1;
separatorpadding=10;
}

with(targoSubSubStyle=new mm_style()){
fontfamily="Verdana, Tahoma, Arial";
fontsize="1pt";
offcolor="#ffffff";
oncolor="#ffffff";
padding=4;
pagecolor="#ffffff";
}

with(milonic=new menuname("Home Menu")){
alwaysvisible=1;
left=60;
top=15;
orientation="horizontal";
style=targoHomeStyle;
aI("");
aI("text=HOME;url=index.html;");
aI("text=KONTAKT;url=kontakt.html;");
aI("text=IMPRESSUM;url=impressum.html;");
aI("text=ENGLISH;url=english/index.html;");
aI("");
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
left=58;
top=135;
orientation="horizontal";
style=targoMainStyle;
aI("text=UNSERE L&Ouml;SUNGEN;url=loesungen.html;showmenu=Loesungen;");
aI("text=SELBSTVERST&Auml;NDNIS;url=was_wir_tun.html;showmenu=Selbstverstaendnis;");
aI("text=MENSCHEN;url=menschen_im_team.html;showmenu=Menschen;");
aI("image=menu/pfeil.gif;text=REFERENZEN;url=referenzen.html;");
aI("image=menu/pfeil.gif;text=AKTUELLES;url=aktuelles.html;");
aI("image=menu/pfeil.gif;text=MY TARGO;url=my_targo.php;");
}

with(milonic=new menuname("Selbstverstaendnis")){
overflow="scroll";
top='offset=20';
style=targoSubStyle;
orientation="horizontal";
aI("text=Was wir tun;url=was_wir_tun.html;")
aI("text=Wof&uuml;r wir einstehen;url=wofuer_wir_einstehen.html;")
}

with(milonic=new menuname("Loesungen")){
style=targoSubStyle;
top='offset=20';
orientation="horizontal";
aI("text=&Uuml;bersicht;url=loesungen.html;");
aI("text=Führungskräfte;url=fuehrungskraefte-mobilisieren.html;");
aI("text=Teams;url=im-team-zum-erfolg.html;");
aI("text=Projekterfolg;url=projekterfolg-realisieren.html;");
aI("text=Wirkungsvolles Verhalten;url=wirkungsvolles-verhalten.html;");
aI("text=Kundenorientierung;url=kundenorientierung-leben.html;");
}

with(milonic=new menuname("Menschen")){
style=targoSubStyle;
top='offset=20';
orientation="horizontal";
aI("text=Menschen im Team;url=menschen_im_team.html;showmenu=Team");
aI("text=Kooperationspartner;url=kooperationspartner.html;");
}

  /* Dieses Untermenü ist unsichtbar, aber es dient dazu, das Menschen-Menü sichtbar zu halten, 
  wenn eine Unter-Team-Seite geöffnet wird. Zum Sichtbarmachen die screenposition ändern. */
  with(milonic=new menuname("Team")){
  style=targoSubSubStyle;
  screenposition='right;top';
  top='offset=-30';
  orientation="horizontal";
  aI("text=Andreas Kl&ouml;pzig;url=andreas_kloepzig.html;");
  aI("text=R&uuml;diger Sch&auml;fer;url=ruediger_schaefer.html;");
  aI("text=Uschi Viererbl;url=uschi_viererbl.html;");
  aI("text=Heike Wittstamm;url=heike_wittstamm.html;");
  aI("text=Manfred Regenbrecht;url=manfred_regenbrecht.html;");
  aI("text=Andrea G&auml;ssler;url=andrea_gaessler.html;");
  }

drawMenus();

resetAutoOpen=true;
function _ocURL() {
	_ombcu=new Array()
	if(_cip.length>0){
		for(_c=0;_c<_cip.length;_c++){
			_ci=_cip[_c];
			_mni=getParentItemByItem(_ci);
			if(_mni==-1)_mni=_ci			
			if(_mni+" "!=$u){
				while(_mni!=-1){
					_ombcu[_ombcu.length]=_mni
					_mni=getParentItemByItem(_mni);
					if(_mni+" "==$u)_mni=-1					
				}
			}
		}
	}
	
	if(_startM){
		setTimeout("_ocURL()", 300)
	}
	else
	{
		if(_ombcu.length){
			for(_oma=_ombcu.length-1;_oma>-1;_oma--){
				_popi(_ombcu[_oma])
				clickAction(_ombcu[_oma])
				_ofMT=1
				if(_oma==_W.mm_maxLevels)return
			}
		}
	}
}
_ocURL()

/* (P) S. Ruby */

