/*** Milonic Menu for URNEN.de ***/

fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=50;
_subOffsetTop=0;
_subOffsetLeft=1;

// Urnen-MainStyle
with(UrnenMainStyle=new mm_style()){
align="right";
bordercolor="#999999";
borderstyle="solid";
borderwidth=0;
fontfamily="Georgia,Garamond,Times New Roman,serif";
fontsize="80%";
fontstyle="normal";
fontweight="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
image="bilder/blank.gif";
imagealign="right";
imageheight=20;
imageposition="right";
imagewidth=20;
itemwidth=245;
offbgcolor="";  //transparent
offcolor="#ffffff";
//onbgcolor="#ddffdd";
oncolor="#6D769B";
outfilter="randomdissolve(duration=0.3)";
//overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=3)";
overimage="bilder/menuline.gif";
padding=2;
pagebgcolor="";
pagecolor="#6D769B";
pageimage="bilder/menuline.gif";
separatorcolor="#999999";
separatorsize=0;
//subimage="menu/arrow.gif";
//subimagepadding=2;
}

// Urnen-SubStyle
with(UrnenSubStyle=new mm_style()){
align="right";
bordercolor="#999999";
borderstyle="solid";
borderwidth=0;
fontfamily="Georgia,Garamond,Times New Roman,serif";
fontsize="80%";
fontstyle="normal";
fontweight="normal";
//headerbgcolor="#ffffff";
headercolor="#ffffff";
offbgcolor="";  //transparent
offcolor="#ffffff";
//onbgcolor="#ddffdd";
oncolor="#6D769B";
//outfilter="randomdissolve(duration=0.3)";
//overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=3)";
overimage="bilder/menuline.gif";
padding=2;
pagebgcolor="";
pagecolor="#6D769B";
separatorcolor="#999999";
separatorsize=0;
//subimage="menu/arrow.gif";
//subimagepadding=2;
}

with(milonic=new menuname("hauptmenue")){
alwaysvisible=1;
left=35;
orientation="vertical";
style=UrnenMainStyle;
top=25;
aI("text=Startseite;url=index.php; status=Back To Home Page;");
aI("text=<b>Die Ring-Urne...</b>;url=welche-himmelblau-urnen-gibt-es.html;");
aI("text=mit Holzring;url=urnen-holz.html;");
aI("text=mit Plexiglasring;url=urnen-plexiglas.html;");
aI("text=mit Ringen aus anderen Materialien;url=urnen-filz.html;");
aI("text=<b><font color=white></font> Die Symbol-Urne...</b>;url=symbol-urne.html;");
aI("text=;url=http://www.urnen.de/urn/index.html;");
aI("text=<b><font color=white></font>NEU: Shop für Bestatter</font></b>;url=urnen-shop.html;");
//aI("text=<b><font color=#993399>NEU: Urnen-Shop für Bestatter</font></b>;url=urnen-shop.html;");
aI("text=Weitere Informationen;url=;showmenu=weitere_Infos;");
aI("text=Kontakt;url=urnen-kontakt.php;");
aI("text=english;url=http://www.urnen.de/urn/index.html;");
}

with(milonic=new menuname("weitere_Infos")){
align="left";
left=295;
top=86;
overflow="scroll";
position="absolute";
style=UrnenSubStyle;
aI("text=Newsletter;url=newsletter.html;");
aI("text=Gedichte und Zitate;url=gedichte-tod-sterben.html;");
aI("text=Bildergalerie;url=bildergalerie.php;");
aI("text=Zertifizierte Qualität;url=vorschriften-urnen-produktion.html;");
aI("text=Presse;url=presse-himmelblau.html;");
aI("text=Aktuelles;url=aktuelles.html;");
//aI("text=Die Designerin;url=wer-sind-wir.html;");


}

drawMenus();

//# OpenMenuByUrl #
//mm_maxLevels=0;         // parameter [INTEGER] to fix the number of menus displayed to the specified maximum value.
resetAutoOpen=true      // parameter This bit allows the menu to re-open if sibling menus have been closed, displaying the menu again if required.
forceChildSubOpen=true  // Forces the opening of a child sub menu if the opening items URL matches the current page URL and also opens a sub menu

function _ocURL(){
	if(_W.forceChildSubOpen){
		//alert()
		_cln=_cip.length
		for(_c=0;_c<_cln;_c++){
			if(_mi[_cip[_c]][3]){
				_mn=getMenuByName(_mi[_cip[_c]][3])
				_cip[_cip.length]=_m[_mn][0][0]
			}
		}
		forceChildSubOpen=0
	}
	
	_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()", 50)
	}
	else{
		if(_ombcu.length&&(_W.mm_maxLevels>0||_W.mm_maxLevels+" "==$u)){
			for(_oma=_ombcu.length-1;_oma>-1;_oma--){
				_i=_ombcu[_oma];
				_I=_mi[_i];
				_popi(_i);
				clickAction(_i);
				_ofMT=1;
				if(_I[32]){
					_tI=gmobj("img"+_i)
					if(_tI&&_I[29])_tI.src=_I[29]
				}
				if(_oma==_W.mm_maxLevels)return
			}
		}
		if(_ombcu.length){
  			itemOff(_ombcu[0])
  			hmL(_mi[_ombcu[0]][0])
  		}
	}
}
_ocURL()

