function NewWindow(F,w,h){
//alert();
neu=window.open(F, "neu", "width="+w+", height="+h);
//neu=window.open(F, "neu", "width=420, height=600");
neu.focus();
}

//----------------------------------------------
//    Titel: DHTML Ebenen-Rollover
//    Autor: Johannes Gamperl
//    email: jg@jg.seite.net
//
//    Copyright (c) Milch und Zucker - c. Bergmann und j. Gamperl, 1998.
//
//    Dieser Code darf f&uuml;r nicht-kommerzielle  sowie kommerzielle Zwecke frei
//    genutzt und angepa&szlig;t werden, solange dies unentgeltlich erfolgt und
//    dieser Vermerk bestehen bleibt.

var i = 1;
var test = "Text";
// alert("DHTML: "+ DHTML + " - DOM: "+DOM + " - MS: "+MS + " - NS: "+NS+ " - OP: "+OP);
function zeigeEbeneNr(ebene_nr){
    verbergen(eval('"' + test + i +'"'));
    zeigen(eval('"' + test + ebene_nr +'"'));
    i = ebene_nr;
    }

function zeigen(name) {
//alert(NS)
if (NS4) {
    document.layers[''+name].visibility = "show";
    document.layers[''+name].display = "block";
    }
    else {
//    document.all[''+name].style.visibility = "visible";
    getElement("id",''+name,null).style.visibility = "visible";
    getElement("id",''+name,null).style.display = "block";
    }
}

function verbergen(name) {
if (NS4){
    document.layers[''+name].visibility = "hide";
    document.layers[''+name].display = "none";
    }
    else {
     getElement("id",''+name,null).style.visibility = "hidden";
     getElement("id",''+name,null).style.display = "none";
    }
}
//----------------------------------------------
var ins;
ins=0;

function Sound(y)
{
if (document.layers==null)
{ if (ins==1) {document.all.ist2.outerText =" ";ins=0;}

Musik=("<p id='ist2'><embed src="+y +" autostart='true' loop='true' width='145' height='25' hidden='true'></p>");
document.all.ist.insertAdjacentHTML("AfterBegin",Musik);ins=1;}
else {Musik=("<embed src="+y +" autostart='true' width='145' height='60' >");
document.ist.document.open();
document.ist.document.write(Musik);
document.ist.document.close();}
}

//----------------------------------------------
function rev(text)
{
    var Ausgabe = "";
    var byte=0x08;
    for (i=text.length-1; i >=0  ; i-- ) {
       Ausgabe +=  String.fromCharCode(text.charCodeAt(i) ^ byte);

    }
//    document.Umkehr.VText.value = Ausgabe;
//document.write("mailto:"+Ausgabe);
return(Ausgabe);
}
//----------------------------------------------
function show_mail(mail)
{

  var mail=rev(mail);//

  document.write("<a href='mailto:" + mail + "'>");
  document.write(mail+"</a>\n");
}
/*function xor_str()
{
	var to_enc = document.forms['the_form'].elements["str"].value;

	var xor_key=document.forms['the_form'].elements.xor_key.value
	var the_res="";//the result will be here
	for(i=0;i<to_enc.length;++i)
	{
		the_res+=String.fromCharCode(xor_key^to_enc.charCodeAt(i));
	}
	document.forms['the_form'].elements.res.value=the_res;
}

function decrypt_str()
{
	var to_dec=document.forms['the_form'].elements.res.value
	document.forms['the_form'].elements.dec_res.value="";

	var xor_key=document.forms['the_form'].elements.xor_key.value
	for(i=0;i<to_dec.length;i++)
	{
		document.forms['the_form'].elements.dec_res.value+=String.fromCharCode(xor_key^to_dec.charCodeAt(i));
	}
}

*/

