
function oeffnen(welches) {
document.getElementById(welches).style.height="auto";
document.getElementById(welches+"auf").style.visibility = "hidden";
document.getElementById(welches+"zu").style.visibility = "visible";
}

function schliessen(welches) {
document.getElementById(welches).style.height="96px";
document.getElementById(welches+"auf").style.visibility = "visible";
document.getElementById(welches+"zu").style.visibility = "hidden";

}

function anfahrt(was) {
if (was=='en') {
var nPosX = (top.screen.availWidth/4);
var nPosY = (top.screen.availHeight/4);
var fenster = window.open ("../../anfahrtsskizze.php","anfahrt",'left=' + nPosX +',top=' + nPosY +',width=580,height=458');
}
else {
var nPosX = (top.screen.availWidth/4);
var nPosY = (top.screen.availHeight/4);
var fenster = window.open ("../../anfahrtsskizze_rus.php","anfahrt",'left=' + nPosX +',top=' + nPosY +',width=580,height=458');
}
fenster.focus();
}

function WindowClose(){
fenster.close();
}

function show(id)
    {
        document.getElementById(id).style.display = "block";
    }

    function hide(id)
    {
        document.getElementById(id).style.display = "none";
    }
    function showHide(id)
    {   //alert(document.getElementById(id).style.display);
        if (document.getElementById(id).style.display == "none" || document.getElementById(id).style.display == "")
          {
              document.getElementById(id).style.display = "block";

          }
         else
          {
            document.getElementById(id).style.display = "none";
          }
    }