/**
 * Angepasste Menues
 */
function fwLoadMenus() {
  sitehome="http://www.jesusrulez.de";

  if (window.fw_menu_0) return;

  basis=sitehome+'/texte/ermutigung/';
  window.fw_menu_txt0 = new Menu("Ermutigung",300,18,"Verdana, Arial, Helvetica, sans-serif",9,"#ccccee","#ffffff","#333399","#ff9900");
  fw_menu_txt0.addMenuItem("Hoffnung (neu)","location='"+basis+"hoffnung.htm'");
  fw_menu_txt0.addMenuItem("Mein liebes kind (neu)","location='"+basis+"kind.htm'");
  fw_menu_txt0.addMenuItem("Sinn des Lebens","location='"+basis+"Sinn_des_Lebens.htm'");
  fw_menu_txt0.addMenuItem("Das Kreuz","location='"+basis+"Kreuz.html'");
  fw_menu_txt0.addMenuItem("Der bettelnde K&ouml;nigssohn","location='"+basis+"Koenigssohn.html'");
  fw_menu_txt0.addMenuItem("Die Gemeinschaft seiner J&uuml;nger","location='"+basis+"Gemeinschaft.html'");
  fw_menu_txt0.addMenuItem("Gebet als Mittel","location='"+basis+"Gebet.html'");
  fw_menu_txt0.addMenuItem("Gebet fr&uuml;hmorgens","location='"+basis+"Gebet2.html'");
  fw_menu_txt0.addMenuItem("Germany needs our prayer","location='"+basis+"Prayer.html'");
  fw_menu_txt0.addMenuItem("Gottes Sicht der Dinge","location='"+basis+"GottesSicht.html'");
  fw_menu_txt0.addMenuItem("Heilige Gehirnw&auml;sche","location='"+basis+"Gehirnwaesche.html'");
  fw_menu_txt0.addMenuItem("Heiligung","location='"+basis+"Heiligung.html'");
  fw_menu_txt0.addMenuItem("Hunger nach mehr von Gott","location='"+basis+"Hunger.html'");
  fw_menu_txt0.addMenuItem("Meine Hingabe Bekenntnis als Christ","location='"+basis+"Hingabe.html'");
  fw_menu_txt0.addMenuItem("Rivival Worship Event","location='"+basis+"Revival.html'");
  fw_menu_txt0.addMenuItem("Siehe ich tue etwas neues","location='"+basis+"Neues.html'");
  fw_menu_txt0.addMenuItem("Was w&uuml;rdest du machen","location='"+basis+"SauberesBlut.html'");
  fw_menu_txt0.addMenuItem("David und Goliath","location='"+basis+"DavidGoliath.html'");
  fw_menu_txt0.addMenuItem("Ein Herz f&uuml;r Jugend - Ein Feuer f&uuml;r Wahrheit","location='"+basis+"Herz.html'");
  fw_menu_txt0.addMenuItem("Die junge Generation","location='"+basis+"JungeGeneration.html'");
  fw_menu_txt0.addMenuItem("No other gods","location='"+basis+"NoOther.html'");
   fw_menu_txt0.hideOnMouseOut=true;

  basis=sitehome+'/texte/prophetien/';
  window.fw_menu_txt1 = new Menu("Prophetien",240,18,"Verdana, Arial, Helvetica, sans-serif",9,"#ccccee","#ffffff","#333399","#ff9900");
  fw_menu_txt1.addMenuItem("Apostolischer Rat","location='"+basis+"Rat.html'");
  fw_menu_txt1.addMenuItem("Deutschlands Bestimmung","location='"+basis+"Deutschland.html'");
  fw_menu_txt1.addMenuItem("Ein Wort an Deutschland","location='"+basis+"Deutschland2.html'");
  fw_menu_txt1.addMenuItem("I see Stadiums","location='"+basis+"Stadiums.html'");
  fw_menu_txt1.addMenuItem("Schafe unter die W&ouml;lfe","location='"+basis+"Schafe.html'");
  fw_menu_txt1.addMenuItem("Gottes Absichten mit Deutschland","location='"+basis+"Deutschland3.html'");
   fw_menu_txt1.hideOnMouseOut=true;


  basis=sitehome+'/texte/erweckung/';
  window.fw_menu_txt2 = new Menu("Erweckung",200,18,"Verdana, Arial, Helvetica, sans-serif",9,"#ccccee","#ffffff","#333399","#ff9900");
  fw_menu_txt2.addMenuItem("Weltweite Jugenderweckung","location='"+basis+"Weltweit.html'");
  fw_menu_txt2.addMenuItem("Armee von Jungendlichen","location='"+basis+"Armee.html'");
  fw_menu_txt2.addMenuItem("Prophetie f&uuml;r die Jugend","location='"+basis+"Prophetie.html'");
  fw_menu_txt2.addMenuItem("Generation X","location='"+basis+"GenerationX.html'");
  fw_menu_txt2.addMenuItem("Generation Yes","location='"+basis+"GenerationYes.html'");
  fw_menu_txt2.addMenuItem("Warriors 1","location='"+basis+"Warrior1.html'");
  fw_menu_txt2.addMenuItem("Warriors 2","location='"+basis+"Warrior2.html'");
   fw_menu_txt2.hideOnMouseOut=true;

  basis=sitehome+'/texte/lernen/';
  window.fw_menu_txt3 = new Menu("Leben &amp; Lernen",210,18,"Verdana, Arial, Helvetica, sans-serif",9,"#ccccee","#ffffff","#333399","#ff9900");
  fw_menu_txt3.addMenuItem("Nachfolge (neu)","location='"+basis+"nachfolge.htm'");
  fw_menu_txt3.addMenuItem("Das Buch Kraft zum Leben (neu)","location='"+basis+"kraft_zum_leben.htm'");
  fw_menu_txt3.addMenuItem("Andacht 1 Krinther 7, 23 (neu)","location='"+basis+"1kor.htm'");
  fw_menu_txt3.addMenuItem("Apostelgeschichte 2 (neu)","location='"+basis+"apg2.htm'");
  fw_menu_txt3.addMenuItem("Die Kreuzigung","location='"+basis+"Kreuzigung.html'");
  fw_menu_txt3.addMenuItem("Die hohe Berufung","location='"+basis+"Berufung.html'");
  fw_menu_txt3.addMenuItem("Fasten und Gebet","location='"+basis+"FastenGebet.html'");
  fw_menu_txt3.addMenuItem("David - Ein Mann nach Gottes Herzen","location='"+basis+"David.html'");
  fw_menu_txt3.addMenuItem("Sex vor der Ehe","location='"+basis+"Sex.html'");
  fw_menu_txt3.addMenuItem("Minderwertigkeitskomplexe","location='"+basis+"Minderwertigkeitskomplexe.html'");
  fw_menu_txt3.addMenuItem("Die Waffenr&uuml;stung Gottes","location='"+basis+"Waffenruestung.html'");
  fw_menu_txt3.addMenuItem("Die Taufe","location='"+basis+"taufe.html'");
  fw_menu_txt3.addMenuItem("Die Arche Noah","location='"+basis+"arche.html'");
  fw_menu_txt3.addMenuItem("Gibt es Gott wirklich ?","location='"+basis+"gott.htm'");
  fw_menu_txt3.addMenuItem("Gott ist nicht beweisbar","location='"+basis+"nicht_beweisbar.htm'");
  fw_menu_txt3.addMenuItem("Woher weiß man das die Bibel wahr ist ?","location='"+basis+"wahrheit.htm'");
  fw_menu_txt3.addMenuItem("Ist Gott an allem Schuld ?","location='"+basis+"schuld.htm'");
  fw_menu_txt3.addMenuItem("Die Sintflut","location='"+basis+"sintflut.htm'");
   fw_menu_txt3.hideOnMouseOut=true;

  basis=sitehome+'/texte/lyrics/';
  Desiderata='http://www.jesusrulez.de/texte/lyrics/Desiderata.htm';
  Dubistdu='http://www.jesusrulez.de/texte/lyrics/Du_bist_du.htm';
  Hoffnung='http://www.jesusrulez.de/texte/lyrics/Hoffnung.htm';
  Liebe='http://www.jesusrulez.de/texte/lyrics/Liebe.htm';
  Liebezwei='http://www.jesusrulez.de/texte/lyrics/Liebezwei.htm';
  Nichtsaberrichtig='http://www.jesusrulez.de/texte/lyrics/Nichts_aber_richtig.htm';
  Sehnsucht='http://www.jesusrulez.de/texte/lyrics/Sehnsucht.htm';
  Liebesbrief='http://www.jesusrulez.de/texte/lyrics/liebesbrief.htm';
  Liebesbriefzwei='http://www.jesusrulez.de/texte/lyrics/liebesbriefzwei.htm';
  Spurenimsand='http://www.jesusrulez.de/texte/lyrics/Spuren_im_Sand.htm';
  Einbaumerzaehlt='http://www.jesusrulez.de/texte/lyrics/Baum.htm';
  Zukunft='http://www.jesusrulez.de/texte/lyrics/Zukunft.htm';
  Sonnenuntergang='http://www.jesusrulez.de/texte/lyrics/Sonnenuntergang.htm';
  Freundschaft='http://www.jesusrulez.de/texte/lyrics/Freundschaft.htm';
  felsen='http://www.jesusrulez.de/texte/lyrics/Felsen.htm';
  fallen='http://www.jesusrulez.de/texte/lyrics/tiefer_fallen.htm';
  derherr='http://www.jesusrulez.de/texte/lyrics/der_herr.htm';
  dubistda='http://www.jesusrulez.de/texte/lyrics/du_bist_da.htm';
  erbaut='http://www.jesusrulez.de/texte/lyrics/erbaut.htm';
  draufankommen='http://www.jesusrulez.de/texte/lyrics/nicht_darauf_an.htm';
  fuehrung='http://www.jesusrulez.de/texte/lyrics/fuehrung.htm';
  gesternheutemorgen='http://www.jesusrulez.de/texte/lyrics/gestern_heute_morgen.htm';
  Heil='http://www.jesusrulez.de/texte/lyrics/in_keinem_anderen_heil.htm';
  Hilfeschrei='http://www.jesusrulez.de/texte/lyrics/hilfeschrei.htm';
  koennen='http://www.jesusrulez.de/texte/lyrics/ich.htm';
  Staerker='http://www.jesusrulez.de/texte/lyrics/staerker.htm';
  vorbei='http://www.jesusrulez.de/texte/lyrics/vorbei_kommst_du_nicht.htm';
  wersonst='http://www.jesusrulez.de/texte/lyrics/wer_wenn_nicht_wir.htm';
  wunschtraum='http://www.jesusrulez.de/texte/lyrics/der_wunschtraum.htm';
  
  window.fw_menu_txt4 = new Menu("Lyrics",210,18,"Verdana, Arial, Helvetica, sans-serif",9,"#ccccee","#ffffff","#333399","#ff9900");
  fw_menu_txt4.addMenuItem("Desiderata","location='javascript:openWin2(Desiderata)'");
  fw_menu_txt4.addMenuItem("Du bist du","location='javascript:openWin2(Dubistdu)'");
  fw_menu_txt4.addMenuItem("Hoffnung","location='javascript:openWin2(Hoffnung)'");
  fw_menu_txt4.addMenuItem("Liebe","location='javascript:openWin2(Liebe)'");
  fw_menu_txt4.addMenuItem("Liebe 2","location='javascript:openWin2(Liebezwei)'");
  fw_menu_txt4.addMenuItem("Nichts, aber richtig","location='javascript:openWin2(Nichtsaberrichtig)'");
  fw_menu_txt4.addMenuItem("Sehnsucht","location='javascript:openWin2(Sehnsucht)'");
  fw_menu_txt4.addMenuItem("Liebesbrief Gottes","location='javascript:openWin2(Liebesbrief)'");
  fw_menu_txt4.addMenuItem("Liebesbrief Jesu","location='javascript:openWin2(Liebesbriefzwei)'");
  fw_menu_txt4.addMenuItem("Spuren im Sand","location='javascript:openWin2(Spurenimsand)'");
  fw_menu_txt4.addMenuItem("Ein Baum erzählt","location='javascript:openWin2(Einbaumerzaehlt)'");
  fw_menu_txt4.addMenuItem("Zukunft","location='javascript:openWin2(Zukunft)'");
  fw_menu_txt4.addMenuItem("Sonnenuntergang","location='javascript:openWin2(Sonnenuntergang)'");
  fw_menu_txt4.addMenuItem("Freundschaft","location='javascript:openWin2(Freundschaft)'");
  fw_menu_txt4.addMenuItem("Wir haben einen Felsen","location='javascript:openWin2(felsen)'");
  fw_menu_txt4.addMenuItem("Du kannst nicht tiefer fallen","location='javascript:openWin2(fallen)'");
  fw_menu_txt4.addMenuItem("Der Herr","location='javascript:openWin2(derherr)'");
  fw_menu_txt4.addMenuItem("Du bist da","location='javascript:openWin2(dubistda)'");
  fw_menu_txt4.addMenuItem("Erbaut auf einem Grunde","location='javascript:openWin2(erbaut)'");
  fw_menu_txt4.addMenuItem("Es kommt nicht darauf an","location='javascript:openWin2(draufankommen)'");
  fw_menu_txt4.addMenuItem("Fuehrung","location='javascript:openWin2(fuehrung)'");
  fw_menu_txt4.addMenuItem("Gestern, heute, morgen","location='javascript:openWin2(gesternheutemorgen)'");
  fw_menu_txt4.addMenuItem("Es ist in keinem anderen Heil","location='javascript:openWin2(Heil)'");
  fw_menu_txt4.addMenuItem("Hilfeschrei","location='javascript:openWin2(Hilfeschrei)'");
  fw_menu_txt4.addMenuItem("Ich sein koennen ?","location='javascript:openWin2(koennen)'");
  fw_menu_txt4.addMenuItem("Staerker als der Wind","location='javascript:openWin2(Staerker)'");
  fw_menu_txt4.addMenuItem("Vorbei kommst du nicht","location='javascript:openWin2(vorbei)'");
  fw_menu_txt4.addMenuItem("Wer wenn nicht wir ?","location='javascript:openWin2(wersonst)'");
  fw_menu_txt4.addMenuItem("Der Wunschtraum","location='javascript:openWin2(Wunschtraum)'");
  fw_menu_txt4.hideOnMouseOut=true;
     
  basis=sitehome+'/texte/zeugnisse/';
  window.fw_menu_txt5 = new Menu("Storyz",240,18,"Verdana, Arial, Helvetica, sans-serif",9,"#ccccee","#ffffff","#333399","#ff9900");
  fw_menu_txt5.addMenuItem("Einleitung","location='"+basis+"erklaerung.htm'");
  fw_menu_txt5.addMenuItem("Vision","location='"+basis+"Vision.htm'");
  fw_menu_txt5.addMenuItem("Zu Gott durch den Jesusfreak-Chat","location='"+basis+"chat.htm'");
  fw_menu_txt5.addMenuItem("Von Gott verfolgt","location='"+basis+"verfolgt.htm'");
  fw_menu_txt5.addMenuItem("Gottes Antwort ","location='"+basis+"liebesfrage.htm'");
  fw_menu_txt5.addMenuItem("Wenn Steine zu Staub werden","location='"+basis+"staub.htm'");
  fw_menu_txt5.addMenuItem("Der starke Vater ","location='"+basis+"starker_vater.htm'");
  fw_menu_txt5.addMenuItem("Gott bewahrt","location='"+basis+"brand.htm'");
  fw_menu_txt5.addMenuItem("Ein leben für Jesus","location='"+basis+"leben_jesus.htm'");
  fw_menu_txt5.addMenuItem("Gott wirkt heute ","location='"+basis+"heute_noch.htm'");
  fw_menu_txt5.addMenuItem("Hilf mir","location='"+basis+"hilf_mir.htm'");
  fw_menu_txt5.addMenuItem("Gott wirkt","location='"+basis+"veraenderung.htm'");
  fw_menu_txt5.addMenuItem("Gebet","location='"+basis+"Gebet.htm'");
  fw_menu_txt5.addMenuItem("Vom Heavychrist zu Classicchrist","location='"+basis+"heavychrist.htm'");
  fw_menu_txt5.addMenuItem("Die Rettung aus dem WTC","location='"+basis+"Rettung.htm'");
  fw_menu_txt5.hideOnMouseOut=true;
  
  basis=sitehome+'/texte/zum_nachdenken/';
  window.fw_menu_txt6 = new Menu("Nachgedacht",240,18,"Verdana, Arial, Helvetica, sans-serif",9,"#ccccee","#ffffff","#333399","#ff9900");
  fw_menu_txt6.addMenuItem("WWJD 2 - Gespräch mit Gott (neu)","location='"+basis+"wwjd2.htm'");
  fw_menu_txt6.addMenuItem("4 Kerzen (neu)","location='"+basis+"kerzen.htm'");
  fw_menu_txt6.addMenuItem("Mein Kind (neu)","location='"+basis+"meinkind.htm'");
  fw_menu_txt6.addMenuItem("Mein Herz brach (neu)","location='"+basis+"herzbruch.htm'");
  fw_menu_txt6.addMenuItem("Vater unser","location='"+basis+"vater_unser.htm'");
  fw_menu_txt6.addMenuItem("Ralation des Lebens","location='"+basis+"Relation.html'");
  fw_menu_txt6.addMenuItem("Keine Angst","location='"+basis+"KeineAngst.html'");
  fw_menu_txt6.addMenuItem("Der wahre Sinn zu Weinachten","location='"+basis+"Weinachten.html'");
  fw_menu_txt6.addMenuItem("2 Moralfragen","location='"+basis+"moral.html'");
  fw_menu_txt6.addMenuItem("Gottes Wirken","location='"+basis+"gottes_wirken.html'");
  fw_menu_txt6.addMenuItem("Der Wunschtraum","location='"+basis+"wunschtraum.html'");
  fw_menu_txt6.addMenuItem("Schaden nehmen","location='"+basis+"schaden.html'");
  fw_menu_txt6.addMenuItem("Schuld","location='"+basis+"schuld.html'");
  fw_menu_txt6.addMenuItem("Bist du ein echter Atheist ?","location='"+basis+"atheist.htm'");
  fw_menu_txt6.addMenuItem("Das Evolutionsfrühstück","location='"+basis+"fruehstueck.htm'");
  fw_menu_txt6.addMenuItem("Der gebrochene Fuß","location='"+basis+"gebrochener_fuss.htm'");
  fw_menu_txt6.addMenuItem("Wozu ?","location='"+basis+"wozu.htm'");
  fw_menu_txt6.addMenuItem("Eine WWJD Kurzgeschichte","location='"+basis+"wwjd.htm'");
  fw_menu_txt6.addMenuItem("Michaels Freude","location='"+basis+"freude.htm'");
  fw_menu_txt6.addMenuItem("Sei dankbar","location='"+basis+"dankbar.htm'");
  fw_menu_txt6.addMenuItem("Zwei Engel auf Reise","location='"+basis+"zweiengel.htm'");
  fw_menu_txt6.addMenuItem("Busy","location='"+basis+"busy.htm'");
  fw_menu_txt6.addMenuItem("Notruf","location='"+basis+"notruf.htm'");
  fw_menu_txt6.addMenuItem("Danke für nichts","location='"+basis+"danke.htm'");
  fw_menu_txt6.hideOnMouseOut=true;
  
  basis=sitehome+'/texte/humor/';
  window.fw_menu_txt7 = new Menu("Humor",240,18,"Verdana, Arial, Helvetica, sans-serif",9,"#ccccee","#ffffff","#333399","#ff9900");
  fw_menu_txt7.addMenuItem("Vorwort","location='"+basis+"erklaerung.htm'");
  fw_menu_txt7.addMenuItem("Witze I","location='"+basis+"witze_eins.htm'");
  fw_menu_txt7.addMenuItem("Witze II","location='"+basis+"witze_zwei.htm'");
  fw_menu_txt7.addMenuItem("Witze III","location='"+basis+"witze_drei.htm'");
  fw_menu_txt7.addMenuItem("Witze IV","location='"+basis+"witze_vier.htm'");
  fw_menu_txt7.addMenuItem("Witze V","location='"+basis+"witze_fuenf.htm'");
  fw_menu_txt7.addMenuItem("Witze VI","location='"+basis+"witze_sechs.htm'");
  fw_menu_txt7.addMenuItem("Frommei","location='"+basis+"frommei.htm'");
  fw_menu_txt7.hideOnMouseOut=true;
   

  basis=sitehome+'/texte/';
  window.fw_menu_0 = new Menu("root",132,19,"Verdana, Arial, Helvetica, sans-serif",12,"#ccccee","#ffffff","#333399","#ff9900");
//  fw_menu_0.addMenuItem("Prophetien","location='"+basis+"prophetien/'");
  fw_menu_0.addMenuItem(fw_menu_txt1);
//  fw_menu_0.addMenuItem("Leben &amp; Lernen","location='"+basis+"lernen/'");
  fw_menu_0.addMenuItem(fw_menu_txt3);
//  fw_menu_0.addMenuItem("Ermutigung","location='"+basis+"ermutigung/'");
  fw_menu_0.addMenuItem(fw_menu_txt0);
//  fw_menu_0.addMenuItem("Erweckung","location='"+basis+"erweckung/'");
  fw_menu_0.addMenuItem(fw_menu_txt2);
//  fw_menu_0.addMenuItem("Lyrics","location='"+basis+"lyrics/'");
  fw_menu_0.addMenuItem(fw_menu_txt4);
//  fw_menu_0.addMenuItem("Storyz","location='"+basis+"zeugnisse/'");
  fw_menu_0.addMenuItem(fw_menu_txt5);
//  fw_menu_0.addMenuItem("Nachgedacht","location='"+basis+"zum_nachdenken/'");
  fw_menu_0.addMenuItem(fw_menu_txt6);
//  fw_menu_0.addMenuItem("Humor","location='"+basis+"humor/'");
  fw_menu_0.addMenuItem(fw_menu_txt7);
   fw_menu_0.fontWeight="bold";
   fw_menu_0.hideOnMouseOut=true;

  basis=sitehome+'/misc/';
  window.fw_menu_1 = new Menu("root",130,19,"Verdana, Arial, Helvetica, sans-serif",12,"#ccccee","#ffffff","#333399","#ff9900");
  fw_menu_1.addMenuItem("WebRadio &amp; TV","location='"+basis+"radiotv.html'");
  fw_menu_1.addMenuItem("Software","location='"+basis+"software.html'");
  fw_menu_1.addMenuItem("Filme","location='"+basis+"filme/index.html'");
  fw_menu_1.addMenuItem("Losung","location='"+basis+"losung.html'");
  fw_menu_1.fontWeight="bold";
  fw_menu_1.hideOnMouseOut=true;

  basis=sitehome+'/doit/';
  forum='http://tux.leahcim.com/tux/jrb.jsp';
  gbook='http://tux.leahcim.com/tux/xf.jsp?Q=22';
  window.fw_menu_2 = new Menu("root",101,19,"Verdana, Arial, Helvetica, sans-serif",12,"#ccccee","#ffffff","#333399","#ff9900");
  fw_menu_2.addMenuItem("Forum","location='javascript:openWin(forum)'");
  fw_menu_2.addMenuItem("G&auml;stebuch","location='javascript:openWin(gbook)'");
//  fw_menu_2.addMenuItem("Kalender","location='http://jesusrulez.uwboard.com/kalender.php'");
  fw_menu_2.addMenuItem("Chat","location='"+basis+"chat.html'");
  fw_menu_2.addMenuItem("Newsletter","location='"+basis+"newsletter.html'");
  fw_menu_2.fontWeight="bold";
  fw_menu_2.hideOnMouseOut=true;

  fw_menu_0.writeMenus();
} // fwLoadMenus()






/**
 * fw_menu 24OCT2000 Version 4.0
 * John Ahlquist, October 2000
 * Copyright (c) 2000 Macromedia, Inc.
 *
 * based on menu.js
 * by gary smith, July 1997
 * Copyright (c) 1997-1999 Netscape Communications Corp.
 *
 * Netscape grants you a royalty free license to use or modify this
 * software provided that this copyright notice appears on all copies.
 * This software is provided "AS IS," without a warranty of any kind.
 */
function Menu(label, mw, mh, fnt, fs, fclr, fhclr, bg, bgh) {
	this.version = "990702 [Menu; menu.js]";
	this.type = "Menu";
	this.menuWidth = mw;
	this.menuItemHeight = mh;
	this.fontSize = fs||12;
	this.fontWeight = "plain";
	this.fontFamily = fnt||"arial,helvetica,verdana,sans-serif";
	this.fontColor = fclr||"#000000";
	this.fontColorHilite = fhclr||"#ffffff";
	this.bgColor = "#555555";
	this.menuBorder = 1;
	this.menuItemBorder = 1;
	this.menuItemBgColor = bg||"#cccccc";
	this.menuLiteBgColor = "#ffffff";
	this.menuBorderBgColor = "#ff9900";
	this.menuHiliteBgColor = bgh||"#000084";
	this.menuContainerBgColor = "#ff9900";
	this.childMenuIcon = "http://www.jesusrulez.de/img/arrow_0.gif";
	this.items = new Array();
	this.actions = new Array();
	this.childMenus = new Array();

	this.hideOnMouseOut = true;

	this.addMenuItem = addMenuItem;
	this.addMenuSeparator = addMenuSeparator;
	this.writeMenus = writeMenus;
	this.FW_showMenu = FW_showMenu;
	this.onMenuItemOver = onMenuItemOver;
	this.onMenuItemAction = onMenuItemAction;
	this.hideMenu = hideMenu;
	this.hideChildMenu = hideChildMenu;

	if (!window.menus) window.menus = new Array();
	this.label = label || "menuLabel" + window.menus.length;
	window.menus[this.label] = this;
	window.menus[window.menus.length] = this;
	if (!window.activeMenus) window.activeMenus = new Array();
}

function addMenuItem(label, action) {
	this.items[this.items.length] = label;
	this.actions[this.actions.length] = action;
}

function addMenuSeparator() {
	this.items[this.items.length] = "separator";
	this.actions[this.actions.length] = "";
	this.menuItemBorder = 0;
}

// For NS6. 
function FIND(item) {
	if (document.all) return(document.all[item]);
	if (document.getElementById) return(document.getElementById(item));
	return(false);
}

function writeMenus(container) {
	if (window.triedToWriteMenus) return;

	if (!container && document.layers) {
		window.delayWriteMenus = this.writeMenus;
		var timer = setTimeout('delayWriteMenus()', 250);
		container = new Layer(100);
		clearTimeout(timer);
	} else if (document.all || document.hasChildNodes) {
		document.writeln('<SPAN ID="menuContainer"></SPAN>');
		container = FIND("menuContainer");
	}

	window.fwHideMenuTimer = null;
	if (!container) return;	
	window.triedToWriteMenus = true; 
	container.isContainer = true;
	container.menus = new Array();
	for (var i=0; i<window.menus.length; i++) 
		container.menus[i] = window.menus[i];
	window.menus.length = 0;
	var countMenus = 0;
	var countItems = 0;
	var top = 0;
	var content = '';
	var lrs = false;
	var theStat = "";
	var tsc = 0;
	if (document.layers) lrs = true;
	for (var i=0; i<container.menus.length; i++, countMenus++) {
		var menu = container.menus[i];
		if (menu.bgImageUp) {
			menu.menuBorder = 0;
			menu.menuItemBorder = 0;
		}
		if (lrs) {
			var menuLayer = new Layer(100, container);
			var lite = new Layer(100, menuLayer);
			lite.top = menu.menuBorder;
			lite.left = menu.menuBorder;
			var body = new Layer(100, lite);
			body.top = menu.menuBorder;
			body.left = menu.menuBorder;
		} else {
			content += ''+
			'<DIV ID="menuLayer'+ countMenus +'" STYLE="position:absolute;z-index:1;left:10;top:'+ (i * 100) +';visibility:hidden;">\n'+
			'  <DIV ID="menuLite'+ countMenus +'" STYLE="position:absolute;z-index:1;left:'+ menu.menuBorder +';top:'+ menu.menuBorder +';visibility:hide;" onMouseOut="mouseoutMenu();">\n'+
			'	 <DIV ID="menuFg'+ countMenus +'" STYLE="position:absolute;left:'+ menu.menuBorder +';top:'+ menu.menuBorder +';visibility:hide;">\n'+
			'';
		}
		var x=i;
		for (var i=0; i<menu.items.length; i++) {
			var item = menu.items[i];
			var childMenu = false;
			var defaultHeight = menu.fontSize+6;
			var defaultIndent = menu.fontSize;
			if (item.label) {
				item = item.label;
				childMenu = true;
			}
			menu.menuItemHeight = menu.menuItemHeight || defaultHeight;
			menu.menuItemIndent = menu.menuItemIndent || defaultIndent;
			var itemProps = 'font-family:' + menu.fontFamily +';font-weight:' + menu.fontWeight + ';fontSize:' + menu.fontSize + ';';
			if (menu.fontStyle) itemProps += 'font-style:' + menu.fontStyle + ';';
			if (document.all) 
				itemProps += 'font-size:' + menu.fontSize + ';" onMouseOver="onMenuItemOver(null,this);" onClick="onMenuItemAction(null,this);';
			else if (!document.layers) {
				itemProps += 'font-size:' + menu.fontSize + 'px;'; // zilla wants 12px.
			}
			var l;
			if (lrs) {
				l = new Layer(800,body);
			}
			var dTag	= '<DIV ID="menuItem'+ countItems +'" STYLE="position:absolute;left:0;top:'+ (i * menu.menuItemHeight) +';'+ itemProps +'">';
			var dClose = '</DIV>'
			if (menu.bgImageUp) {
				menu.menuBorder = 0;
				menu.menuItemBorder = 0;
				dTag	= '<DIV ID="menuItem'+ countItems +'" STYLE="background:url('+menu.bgImageUp+');position:absolute;left:0;top:'+ (i * menu.menuItemHeight) +';'+ itemProps +'">';
				if (document.layers) {
					dTag = '<LAYER BACKGROUND="'+menu.bgImageUp+'" ID="menuItem'+ countItems +'" TOP="'+ (i * menu.menuItemHeight) +'" style="' + itemProps +'">';
					dClose = '</LAYER>';
				}
			}
			var textProps = 'position:absolute;left:' + menu.menuItemIndent + ';top:1;';
			if (lrs) {
				textProps +=itemProps;
				dTag = "";
				dClose = "";
			}

			var dText	= '<DIV ID="menuItemText'+ countItems +'" STYLE="' + textProps + 'color:'+ menu.fontColor +';">'+ item +'&nbsp</DIV>\n<DIV ID="menuItemHilite'+ countItems +'" STYLE="' + textProps + 'top:1;color:'+ menu.fontColorHilite +';visibility:hidden;">'+ item +'&nbsp</DIV>';
			if (item == "separator") {
				content += ( dTag + '<DIV ID="menuSeparator'+ countItems +'" STYLE="position:absolute;left:1;top:2;"></DIV>\n<DIV ID="menuSeparatorLite'+ countItems +'" STYLE="position:absolute;left:1;top:2;"></DIV>\n' + dClose);
			} else if (childMenu) {
				content += ( dTag + dText + '<DIV ID="childMenu'+ countItems +'" STYLE="position:absolute;left:0;top:0;"><IMG SRC="'+ menu.childMenuIcon +'"></DIV>\n' + dClose);
			} else {
				content += ( dTag + dText + dClose);
			}
			if (lrs) {
				l.document.open("text/html.html");
				l.document.writeln(content);
				l.document.close();	
				content = '';
				theStat += "-";
				tsc++;
				if (tsc > 50) {
					tsc = 0;
					theStat = "";
				}
				status = theStat;
			}
			countItems++;  
		}
		if (lrs) {
			// focus layer
			var focusItem = new Layer(100, body);
			focusItem.visiblity="hidden";
			focusItem.document.open("text/html.html");
			focusItem.document.writeln("&nbsp;");
			focusItem.document.close();	
		} else {
		  content += '	  <DIV ID="focusItem'+ countMenus +'" STYLE="position:absolute;left:0;top:0;visibility:hide;" onClick="onMenuItemAction(null,this);">&nbsp;</DIV>\n';
		  content += '   </DIV>\n  </DIV>\n</DIV>\n';
		}
		i=x;
	}
	if (document.layers) {		
		container.clip.width = window.innerWidth;
		container.clip.height = window.innerHeight;
		container.onmouseout = mouseoutMenu;
		container.menuContainerBgColor = this.menuContainerBgColor;
		for (var i=0; i<container.document.layers.length; i++) {
			proto = container.menus[i];
			var menu = container.document.layers[i];
			container.menus[i].menuLayer = menu;
			container.menus[i].menuLayer.Menu = container.menus[i];
			container.menus[i].menuLayer.Menu.container = container;
			var body = menu.document.layers[0].document.layers[0];
			body.clip.width = proto.menuWidth || body.clip.width;
			body.clip.height = proto.menuHeight || body.clip.height;
			for (var n=0; n<body.document.layers.length-1; n++) {
				var l = body.document.layers[n];
				l.Menu = container.menus[i];
				l.menuHiliteBgColor = proto.menuHiliteBgColor;
				l.document.bgColor = proto.menuItemBgColor;
				l.saveColor = proto.menuItemBgColor;
				l.onmouseover = proto.onMenuItemOver;
				l.onclick = proto.onMenuItemAction;
				l.action = container.menus[i].actions[n];
				l.focusItem = body.document.layers[body.document.layers.length-1];
				l.clip.width = proto.menuWidth || body.clip.width + proto.menuItemIndent;
				l.clip.height = proto.menuItemHeight || l.clip.height;
				if (n>0) l.top = body.document.layers[n-1].top + body.document.layers[n-1].clip.height + proto.menuItemBorder;
				l.hilite = l.document.layers[1];
				if (proto.bgImageUp) l.background.src = proto.bgImageUp;
				l.document.layers[1].isHilite = true;
				if (l.document.layers[0].id.indexOf("menuSeparator") != -1) {
					l.hilite = null;
					l.clip.height -= l.clip.height / 2;
					l.document.layers[0].document.bgColor = proto.bgColor;
					l.document.layers[0].clip.width = l.clip.width -2;
					l.document.layers[0].clip.height = 1;
					l.document.layers[1].document.bgColor = proto.menuLiteBgColor;
					l.document.layers[1].clip.width = l.clip.width -2;
					l.document.layers[1].clip.height = 1;
					l.document.layers[1].top = l.document.layers[0].top + 1;
				} else if (l.document.layers.length > 2) {
					l.childMenu = container.menus[i].items[n].menuLayer;
					l.document.layers[2].left = l.clip.width -13;
					l.document.layers[2].top = (l.clip.height / 2) -4;
					l.document.layers[2].clip.left += 3;
					l.Menu.childMenus[l.Menu.childMenus.length] = l.childMenu;
				}
			}
			body.document.bgColor = proto.bgColor;
			body.clip.width  = l.clip.width +proto.menuBorder;
			body.clip.height = l.top + l.clip.height +proto.menuBorder;
			var focusItem = body.document.layers[n];
			focusItem.clip.width = body.clip.width;
			focusItem.Menu = l.Menu;
			focusItem.top = -30;
            focusItem.captureEvents(Event.MOUSEDOWN);
            focusItem.onmousedown = onMenuItemDown;
			menu.document.bgColor = proto.menuBorderBgColor;
			var lite = menu.document.layers[0];
			lite.document.bgColor = proto.menuLiteBgColor;
			lite.clip.width = body.clip.width +1;
			lite.clip.height = body.clip.height +1;
			menu.clip.width = body.clip.width + (proto.menuBorder * 3) ;
			menu.clip.height = body.clip.height + (proto.menuBorder * 3);
		}
	} else {
		if ((!document.all) && (container.hasChildNodes)) {
			container.innerHTML=content;
		} else {
			container.document.open("text/html.html");
			container.document.writeln(content);
			container.document.close();	
		}
		if (!FIND("menuLayer0")) return;
		var menuCount = 0;
		for (var x=0; x<container.menus.length; x++) {
			var menuLayer = FIND("menuLayer" + x);
			container.menus[x].menuLayer = "menuLayer" + x;
			menuLayer.Menu = container.menus[x];
			menuLayer.Menu.container = "menuLayer" + x;
			menuLayer.style.zIndex = 1;
		    var s = menuLayer.style;
			s.top = s.pixelTop = -300;
			s.left = s.pixelLeft = -300;

			var menu = container.menus[x];
			menu.menuItemWidth = menu.menuWidth || menu.menuIEWidth || 140;
			menuLayer.style.backgroundColor = menu.menuBorderBgColor;
			var top = 0;
			for (var i=0; i<container.menus[x].items.length; i++) {
				var l = FIND("menuItem" + menuCount);
				l.Menu = container.menus[x];
				if (l.addEventListener) { // ns6
					l.style.width = menu.menuItemWidth;	
					l.style.height = menu.menuItemHeight;
					l.style.top = top;
					l.addEventListener("mouseover", onMenuItemOver, false);
					l.addEventListener("click", onMenuItemAction, false);
					l.addEventListener("mouseout", mouseoutMenu, false);
				} else { //ie
					l.style.pixelWidth = menu.menuItemWidth;	
					l.style.pixelHeight = menu.menuItemHeight;
					l.style.pixelTop = top;
				}
				top = top + menu.menuItemHeight+menu.menuItemBorder;
				l.style.fontSize = menu.fontSize;
				l.style.backgroundColor = menu.menuItemBgColor;
				l.style.visibility = "inherit";
				l.saveColor = menu.menuItemBgColor;
				l.menuHiliteBgColor = menu.menuHiliteBgColor;
				l.action = container.menus[x].actions[i];
				l.hilite = FIND("menuItemHilite" + menuCount);
				l.focusItem = FIND("focusItem" + x);
				l.focusItem.style.pixelTop = l.focusItem.style.top = -30;
				var childItem = FIND("childMenu" + menuCount);
				if (childItem) {
					l.childMenu = container.menus[x].items[i].menuLayer;
					childItem.style.pixelLeft = childItem.style.left = menu.menuItemWidth -11;
					childItem.style.pixelTop = childItem.style.top =(menu.menuItemHeight /2) -4;
					//childItem.style.pixelWidth = 30 || 7;
					//childItem.style.clip = "rect(0 7 7 3)";
					l.Menu.childMenus[l.Menu.childMenus.length] = l.childMenu;
				}
				var sep = FIND("menuSeparator" + menuCount);
				if (sep) {
					sep.style.clip = "rect(0 " + (menu.menuItemWidth - 3) + " 1 0)";
					sep.style.width = sep.style.pixelWidth = menu.menuItemWidth;	
					sep.style.backgroundColor = menu.bgColor;
					sep = FIND("menuSeparatorLite" + menuCount);
					sep.style.clip = "rect(1 " + (menu.menuItemWidth - 3) + " 2 0)";
					sep.style.width = sep.style.pixelWidth = menu.menuItemWidth;	
					sep.style.backgroundColor = menu.menuLiteBgColor;
					l.style.height = l.style.pixelHeight = menu.menuItemHeight/2;
					l.isSeparator = true
					top -= (menu.menuItemHeight - l.style.pixelHeight)
				} else {
					l.style.cursor = "hand"
				}
				menuCount++;
			}
			menu.menuHeight = top-1;
			var lite = FIND("menuLite" + x);
			var s = lite.style;
			s.height = s.pixelHeight = menu.menuHeight +(menu.menuBorder * 2);
			s.width = s.pixelWidth = menu.menuItemWidth + (menu.menuBorder * 2);
			s.backgroundColor = menu.menuLiteBgColor;

			var body = FIND("menuFg" + x);
			s = body.style;
			s.height = s.pixelHeight = menu.menuHeight + menu.menuBorder;
			s.width = s.pixelWidth = menu.menuItemWidth + menu.menuBorder;
			s.backgroundColor = menu.bgColor;

			s = menuLayer.style;
			s.width = s.pixelWidth  = menu.menuItemWidth + (menu.menuBorder * 4);
			s.height = s.pixelHeight  = menu.menuHeight+(menu.menuBorder*4);
		}
	}
	if (document.captureEvents) {	
		document.captureEvents(Event.MOUSEUP);
	}
	if (document.addEventListener) {	
		document.addEventListener("mouseup", onMenuItemOver, false);
	}
	if (document.layers && window.innerWidth) {
		window.onresize = NS4resize;
		window.NS4sIW = window.innerWidth;
		window.NS4sIH = window.innerHeight;
	}
	document.onmouseup = mouseupMenu;
	window.fwWroteMenu = true;
	status = "";
}

function NS4resize() {
	if (NS4sIW < window.innerWidth || 
		NS4sIW > window.innerWidth || 
		NS4sIH > window.innerHeight || 
		NS4sIH < window.innerHeight ) 
	{
		window.location.reload();
	}
}

function onMenuItemOver(e, l) {
	FW_clearTimeout();
	l = l || this;
	a = window.ActiveMenuItem;
	if (document.layers) {
		if (a) {
			a.document.bgColor = a.saveColor;
			if (a.hilite) a.hilite.visibility = "hidden";
			if (a.Menu.bgImageOver) {
				a.background.src = a.Menu.bgImageUp;
			}
			a.focusItem.top = -100;
			a.clicked = false;
		}
		if (l.hilite) {
			l.document.bgColor = l.menuHiliteBgColor;
			l.zIndex = 1;
			l.hilite.visibility = "inherit";
			l.hilite.zIndex = 2;
			l.document.layers[1].zIndex = 1;
			l.focusItem.zIndex = this.zIndex +2;
		}
		if (l.Menu.bgImageOver) {
			l.background.src = l.Menu.bgImageOver;
		}
		l.focusItem.top = this.top;
		l.Menu.hideChildMenu(l);
	} else if (l.style && l.Menu) {
		if (a) {
			a.style.backgroundColor = a.saveColor;
			if (a.hilite) a.hilite.style.visibility = "hidden";
			if (a.Menu.bgImageUp) {
				a.style.background = "url(" + a.Menu.bgImageUp +")";;
			}
		} 
		if (l.isSeparator) return;
		l.style.backgroundColor = l.menuHiliteBgColor;
		l.zIndex = 1;  // magic IE 4.5 mac happy doohicky.	jba
		if (l.Menu.bgImageOver) {
			l.style.background = "url(" + l.Menu.bgImageOver +")";
		}
		if (l.hilite) {
			l.style.backgroundColor = l.menuHiliteBgColor;
			l.hilite.style.visibility = "inherit";
		}
		l.focusItem.style.top = l.focusItem.style.pixelTop = l.style.pixelTop;
		l.focusItem.style.zIndex = l.zIndex +1;
		l.Menu.hideChildMenu(l);
	} else {
		return; // not a menu - magic IE 4.5 mac happy doohicky.  jba
	}
	window.ActiveMenuItem = l;
}

function onMenuItemAction(e, l) {
	l = window.ActiveMenuItem;
	if (!l) return;
	hideActiveMenus();
	if (l.action) {
		eval("" + l.action);
	}
	window.ActiveMenuItem = 0;
}

function FW_clearTimeout()
{
	if (fwHideMenuTimer) clearTimeout(fwHideMenuTimer);
	fwHideMenuTimer = null;
	fwDHFlag = false;
}
function FW_startTimeout()
{
	fwStart = new Date();
	fwDHFlag = true;
	fwHideMenuTimer = setTimeout("fwDoHide()", 1000);
}

function fwDoHide()
{
	if (!fwDHFlag) return;
	var elapsed = new Date() - fwStart;
	if (elapsed < 1000) {
		fwHideMenuTimer = setTimeout("fwDoHide()", 1100-elapsed);
		return;
	}
	fwDHFlag = false;
	hideActiveMenus();
	window.ActiveMenuItem = 0;
}

function FW_showMenu(menu, x, y, child) {
	if (!window.fwWroteMenu) return;
	FW_clearTimeout();
	if (document.layers) {
		if (menu) {
			var l = menu.menuLayer || menu;
			l.left = 1;
			l.top = 1;
			hideActiveMenus();
			if (this.visibility) l = this;
			window.ActiveMenu = l;
		} else {
			var l = child;
		}
		if (!l) return;
		for (var i=0; i<l.layers.length; i++) { 			   
			if (!l.layers[i].isHilite) 
				l.layers[i].visibility = "inherit";
			if (l.layers[i].document.layers.length > 0) 
				FW_showMenu(null, "relative", "relative", l.layers[i]);
		}
		if (l.parentLayer) {
			if (x != "relative") 
				l.parentLayer.left = x || window.pageX || 0;
			if (l.parentLayer.left + l.clip.width > window.innerWidth) 
				l.parentLayer.left -= (l.parentLayer.left + l.clip.width - window.innerWidth);
			if (y != "relative") 
				l.parentLayer.top = y || window.pageY || 0;
			if (l.parentLayer.isContainer) {
				l.Menu.xOffset = window.pageXOffset;
				l.Menu.yOffset = window.pageYOffset;
				l.parentLayer.clip.width = window.ActiveMenu.clip.width +2;
				l.parentLayer.clip.height = window.ActiveMenu.clip.height +2;
				if (l.parentLayer.menuContainerBgColor) l.parentLayer.document.bgColor = l.parentLayer.menuContainerBgColor;
			}
		}
		l.visibility = "inherit";
		if (l.Menu) l.Menu.container.visibility = "inherit";
	} else if (FIND("menuItem0")) {
		var l = menu.menuLayer || menu;	
		hideActiveMenus();
		if (typeof(l) == "string") {
			l = FIND(l);
		}
		window.ActiveMenu = l;
		var s = l.style;
		s.visibility = "inherit";
		if (x != "relative") 
			s.left = s.pixelLeft = x || (window.pageX + document.body.scrollLeft) || 0;
		if (y != "relative") 
			s.top = s.pixelTop = y || (window.pageY + document.body.scrollTop) || 0;
		l.Menu.xOffset = document.body.scrollLeft;
		l.Menu.yOffset = document.body.scrollTop;
	}
	if (menu) {
		window.activeMenus[window.activeMenus.length] = l;
	}
}

function onMenuItemDown(e, l) {
	var a = window.ActiveMenuItem;
	if (document.layers) {
		if (a) {
			a.eX = e.pageX;
			a.eY = e.pageY;
			a.clicked = true;
		}
    }
}

function mouseupMenu(e)
{
	hideMenu(true, e);
	hideActiveMenus();
	return true;
}

function mouseoutMenu()
{
	hideMenu(false, false);
	return true;
}


function hideMenu(mouseup, e) {
	var a = window.ActiveMenuItem;
	if (a && document.layers) {
		a.document.bgColor = a.saveColor;
		a.focusItem.top = -30;
		if (a.hilite) a.hilite.visibility = "hidden";
		if (mouseup && a.action && a.clicked && window.ActiveMenu) {
 			if (a.eX <= e.pageX+15 && a.eX >= e.pageX-15 && a.eY <= e.pageY+10 && a.eY >= e.pageY-10) {
				setTimeout('window.ActiveMenu.Menu.onMenuItemAction();', 2);
			}
		}
		a.clicked = false;
		if (a.Menu.bgImageOver) {
			a.background.src = a.Menu.bgImageUp;
		}
	} else if (window.ActiveMenu && FIND("menuItem0")) {
		if (a) {
			a.style.backgroundColor = a.saveColor;
			if (a.hilite) a.hilite.style.visibility = "hidden";
			if (a.Menu.bgImageUp) {
				a.style.background = "url(" + a.Menu.bgImageUp +")";;
			}
		}
	}
	if (!mouseup && window.ActiveMenu) {
		if (window.ActiveMenu.Menu) {
			if (window.ActiveMenu.Menu.hideOnMouseOut) {
				FW_startTimeout();
			}
			return(true);
		}
	}
	return(true);
}

function PxToNum(pxStr)
{ // pxStr == 27px, we want 27.
	if (pxStr.length > 2) {
		n = Number(pxStr.substr(0, pxStr.length-2));
		return(n);
	}
	return(0);
}

function hideChildMenu(hcmLayer) {
	FW_clearTimeout();
	var l = hcmLayer;
	for (var i=0; i < l.Menu.childMenus.length; i++) {
		var theLayer = l.Menu.childMenus[i];
		if (document.layers) {
			theLayer.visibility = "hidden";
		} else {
			theLayer = FIND(theLayer);
			theLayer.style.visibility = "hidden";
		}
		theLayer.Menu.hideChildMenu(theLayer);
	}

	if (l.childMenu) {
		var childMenu = l.childMenu;
		if (document.layers) {
			l.Menu.FW_showMenu(null,null,null,childMenu.layers[0]);
			childMenu.zIndex = l.parentLayer.zIndex +1;
			childMenu.top = l.top + l.parentLayer.top + l.Menu.menuLayer.top + l.Menu.menuItemHeight/3;
			if (childMenu.left + childMenu.clip.width > window.innerWidth) {
				childMenu.left = l.parentLayer.left - childMenu.clip.width + l.Menu.menuLayer.left + 15;
				l.Menu.container.clip.left -= childMenu.clip.width;
			} else {
				childMenu.left = l.parentLayer.left + l.parentLayer.clip.width  + l.Menu.menuLayer.left -5;
			}
			var w = childMenu.clip.width+childMenu.left-l.Menu.container.clip.left;
			if (w > l.Menu.container.clip.width)  
				l.Menu.container.clip.width = w;
			var h = childMenu.clip.height+childMenu.top-l.Menu.container.clip.top;
			if (h > l.Menu.container.clip.height) l.Menu.container.clip.height = h;
			l.document.layers[1].zIndex = 0;
			childMenu.visibility = "inherit";
		} else if (FIND("menuItem0")) {
			childMenu = FIND(l.childMenu);
			var menuLayer = FIND(l.Menu.menuLayer);
			var s = childMenu.style;
			s.zIndex = menuLayer.style.zIndex+1;
			if (document.all) { // ie case.
				s.pixelTop = l.style.pixelTop + menuLayer.style.pixelTop + l.Menu.menuItemHeight/3;
				s.left = s.pixelLeft = (menuLayer.style.pixelWidth) + menuLayer.style.pixelLeft -5;
			} else { // zilla case
				var top = PxToNum(l.style.top) + PxToNum(menuLayer.style.top) + l.Menu.menuItemHeight/3;
				var left = (PxToNum(menuLayer.style.width)) + PxToNum(menuLayer.style.left) -5;
				s.top = top;
				s.left = left;
			}
			childMenu.style.visibility = "inherit";
		} else {
			return;
		}
		window.activeMenus[window.activeMenus.length] = childMenu;
	}
}

function hideActiveMenus() {
	if (!window.activeMenus) return;
	for (var i=0; i < window.activeMenus.length; i++) {
		if (!activeMenus[i]) continue;
		if (activeMenus[i].visibility && activeMenus[i].Menu) {
			activeMenus[i].visibility = "hidden";
			activeMenus[i].Menu.container.visibility = "hidden";
			activeMenus[i].Menu.container.clip.left = 0;
		} else if (activeMenus[i].style) {
			var s = activeMenus[i].style;
			s.visibility = "hidden";
			s.left = -200;
			s.top = -200;
		}
	}
	if (window.ActiveMenuItem) {
		hideMenu(false, false);
	}
	window.activeMenus.length = 0;
}
function openWin(url) {
	window.open(url,'','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=800,height=600');
}

function openWin2(url) {
	window.open(url,'','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=700,height=700');
}
function openWin3(url) {
	window.open(url,'','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=350,height=10');
}

