 if(top.frames.length <2)
  top.location.href="../index.html";


M=false;
N=false;
var s_bild
var bild=1;
var test;

var app=navigator.appName.substring(0,1);
if (app=='N') N=true; else M=true;

function show_window(o_bild,o_titel){
	//Für InternetExplorer
	if (M) {
		var opener = o_bild
		newWindow = window.open(opener,o_titel,'width=650,height=500,left=0,top=0,resizable=yes,scrollbars=yes' )

		newWindow.document.open();
    newWindow.document.writeln('<html>');
    newWindow.document.writeln('<head>');
    newWindow.document.writeln('</head>');
    newWindow.document.writeln('<body>');
    newWindow.document.writeln('<img src='+opener+' border=0>');    
    newWindow.document.writeln('</body>');
    newWindow.document.writeln('</html>');
    newWindow.document.close(); 
		
	}

//Für Netscape, Mozilla etc.
	if (N){
		newWindow = window.open(o_bild,o_titel,'width=650,height=500,left=0,top=0,resizable=yes,scrollbars=yes' )
		
		newWindow.document.open();
    newWindow.document.writeln('<html>');
    newWindow.document.writeln('<head>');
    newWindow.document.writeln('</head>');
    newWindow.document.writeln('<body>');
    newWindow.document.writeln('<img src='+o_bild+' border=0>');    
    newWindow.document.writeln('</body>');
    newWindow.document.writeln('</html>');
    newWindow.document.close();    
    
	}
	}


var message = "";
function clickIE() {
    if(document.all) {
	    (message);
	    return false;
	}
}

function clickNS(e) {
    if(document.layers || (document.getElementById && !document.all)) {
        if(e.which == 2 || e.which == 3) {
		    (message);
			return false;
		}
	}
}

if(document.layers) {
    document.captureEvents(Event.MOUSEDOWN);
	document.onmousedown = clickNS;
} else {
    document.onmouseup = clickNS;
	document.oncontextmenu = clickIE;
}

document.oncontextmenu = new Function("return false");	

function erlebnis(div) 
{
ns4      =   (document.layers) ? 1   :   0;
ie4       =   (document.all) ? 1   :   0;
ie5ns6  =   (document.documentElement) ? 1  :  0;
	if (ie5ns6)
 	{ 
  		with(document.getElementById(div).style)
		{
    		if(display=="none")
			{
      		display="inline";
			}
    		else
			{
      		display="none";
    		}
  		}
	}
	if (ns4)
	{
		if (document.layers[div].visibility=="show")
		{
			document.layers[div].visibility="hide";
		}
		else
		{ document.layers[div].visibility="show";}
		 
	}
}


  ns4      =   (document.layers) ? 1   :   0;
  ie4       =   (document.all)      ? 1   :   0;
  ie5ns6  =   (document.documentElement)         ? 1  :  0; 

function Anzeigen (name)   {
  if (ie5ns6)    document.getElementById(name).style.visibility = "visible";
  else if (ie4)  document.all[name].style.visibility = "visible";
  else             document.layers[name].visibility = "show";  }

function Verschwinden(name)  {
  if (ie5ns6)    document.getElementById(name).style.visibility = "hidden";
  else if (ie4)  document.all[name].style.visibility = "hidden"; 
  else             document.layers[name].visibility = "hide";  }
  
 

