var menucontent = "";
var sourcedir = "http://www.erftbbs.de";
menucontent += '<HTML><HEAD><STYLE><!--.generale{ position: absolute; left: -999; top: -999; z-index: 999; cursor: default; background-color: menu; color: menuText; width: 180;visibility: hidden; border-style: outset; border-width: 2px; height: 190}.components{ font-family: Ms Shell Dlg; font-size: 12px; padding-left: 10px; padding-right: 10px; padding-top: 3px; padding-bottom: 3px }// --></STYLE></HEAD>';
menucontent += '<BODY><OBJECT ID="cerca" CLASSID="clsid:B45FF030-4447-11D2-85DE-00C04FA35C89" HEIGHT="0" WIDTH="0"></OBJECT><DIV ID="right_menu" CLASS="generale">';
menucontent += '<center><b><font color="#800000" face="Verdana" size="1">www.erftbbs.de.de</font></b></center><hr>';
menucontent += '<DIV CLASS="components" ONCLICK="exe(\'back\')" STATUSTEXT="zurück"><IMG SRC="Bilder/mouse/zurueck.gif" ALIGN="absmiddle" WIDTH="16" HEIGHT="16">  Vorherige Seite</DIV>';
menucontent += '<DIV CLASS="components" ONCLICK="exe(\'forward\')" STATUSTEXT="vor"><IMG SRC="Bilder/mouse/vor.gif" ALIGN="absmiddle" WIDTH="16" HEIGHT="15">  Nächste Seite</DIV>';
menucontent += '<DIV CLASS="components" ONCLICK="exe(\'reload\')" STATUSTEXT="Aktualisieren"><IMG SRC="Bilder/mouse/aktualisieren.gif" ALIGN="absmiddle" WIDTH="16" HEIGHT="16">  Aktualisieren</DIV><HR>';
menucontent += '<DIV CLASS="components" ONCLICK="exe(\'home\')" STATUSTEXT="Home"><IMG SRC="Bilder/mouse/home.gif" ALIGN="absmiddle" WIDTH="16" HEIGHT="15">  Als Startseite einfügen?</DIV>';
menucontent += '<DIV CLASS="components" ONCLICK="exe(\'bookmark\')" STATUSTEXT="Favoriten"><IMG SRC="Bilder/mouse/favoriten.gif" ALIGN="absmiddle" WIDTH="16" HEIGHT="15">  Zu den Favoriten?</DIV><HR>';
menucontent += '<DIV CLASS="components" ONCLICK="exe(\'emailws\')" STATUSTEXT="Email"><td><IMG SRC="Bilder/mouse/email.gif" ALIGN="absmiddle" WIDTH="16" HEIGHT="16">  E-Mail schreiben?</DIV><HR>';
menucontent += '<DIV CLASS="components" ONCLICK="exe(\'info\')" STATUSTEXT="Info"><IMG SRC="Bilder/mouse/info.gif" ALIGN="absmiddle" WIDTH="16" HEIGHT="16">  Info & Copyright</DIV>';
menucontent += '</BODY></HTML>';

	if (document.all && window.print) document.write (menucontent);


	function light_on (){
		if (event.srcElement.className == "components"){
			event.srcElement.style.backgroundColor="highlight";
			event.srcElement.style.color="highlightText";
				if (event.srcElement.STATUSTEXT) {
					window.status = event.srcElement.STATUSTEXT;
				}
		}
	}

	function light_off (){
		if (event.srcElement.className == "components"){
			event.srcElement.style.backgroundColor= "menu";
			event.srcElement.style.color="menuText";
			window.status = "";
		}
	}

	function extension (){
		if (event.clientY > 0 && event.clientX > 0  &&  event.clientY < document.body.clientHeight && event.clientX < document.body.clientWidth) {
			if (document.body.clientHeight - event.clientY + document.body.scrollTop > document.body.clientHeight / 2){
				right_menu.style.top = event.clientY + document.body.scrollTop;
			} else {
				right_menu.style.top = event.clientY + document.body.scrollTop - 255;
			}

			if (document.body.clientWidth- event.clientX + document.body.scrollLeft > document.body.clientWidth / 2){
				right_menu.style.left = event.clientX + document.body.scrollLeft;
			} else {
				right_menu.style.left = event.clientX + document.body.scrollLeft - 180;
			}
		} else {
			right_menu.style.top = document.body.scrollTop;
			right_menu.style.left = document.body.scrollLeft;
		}

		right_menu.style.visibility = "visible";
		return false;

	}

	function hide (){
			right_menu.style.visibility = "hidden";
			right_menu.style.left = -999;
			right_menu.style.top = -999;

	}

	function exe (type){
		if (type == "back"){
			history.back();
			
		} else if (type == "forward"){
			history.forward();

		} else if (type == "home"){
			document.body.style.behavior='url(#default#homepage)';
			document.body.setHomePage('http://www.erftbbs.de/');

		} else if (type == "bookmark"){
			var imgFav= new Image();
			imgFav.src= "";
			window.external.AddFavorite('http://www.erftbbs.de', 'www.erftbbs.de');
		
		} else if (type == "reload"){
			self.location.reload();

		} else if (type == "icq"){
			location.href="";

		} else if (type == "emailws"){
			location.href="mailto:webmaster@erftbbs.de";

		} else if (type == "vote"){
              			location.href="";
		
		} else if (type == "autor"){
			alert('');
				
		} else if (type == "pass"){
			alert('');
					
		} else if (type == "info"){
			alert('Copyright © 2002 by Udo4Web');

		}
	}

	function cancelproc () { 
		window.event.cancelBubble = true;
		window.event.returnValue = false;
	}

	if (document.all && window.print){
		document.oncontextmenu=extension;
		document.body.onclick=hide;
		right_menu.onmouseover=light_on;
		right_menu.onmouseout=light_off;
		right_menu.ondragstart=cancelproc;
		right_menu.onselectstart=cancelproc;
	}

