 
function visi_in(nr) {
    if (document.layers) {
        document.layers[nr].visibility = 'show';
    }
    else if (document.all) {
        document.all[nr].style.visibility = 'visible';
    }
    else if (document.getElementById) {
        document.getElementById(nr).style.visibility = "visible";
    }
}

function visi_out(nr) {
    if (document.layers) {
        document.layers[nr].visibility = 'hide';
    }
    else if (document.all) {
        document.all[nr].style.visibility = 'hidden';
    }
    else if (document.getElementById) {
        document.getElementById(nr).style.visibility = "hidden";
    }
}


function changePic(bild,objekt) {
   if(objekt == 'bt') {
      window.document.images[bild].src = "upload/system/1x1.gif";
   } 
   if(objekt == 'bth') {
      window.document.images[bild].src = "upload/system/punkt.gif";
   }
}

function domove(x,y) {
    var mytext = "<img src=\"upload/system/punkt.gif\" width=\"13\" height=\"15\" border=\"0\">";
    x += 200;
    y += 100;
    if (document.all)  {
        window.document.all.lupe.style.visibility="visible";
        window.document.all.lupe.style.left=x;
        window.document.all.lupe.style.left=x;
        window.document.all.lupe.style.top=y;
        window.document.all.lupe.innerHTML = '<b>' + mytext + ' </b>';
    } else {
        if (typeof(document.getElementById)=="function") {
            window.document.getElementById("lupe").style.visibility="visible";
            window.document.getElementById("lupe").style.left=x;
            window.document.getElementById("lupe").style.top=y;
            window.document.getElementById("lupe").innerHTML='<b>' + mytext + ' </b>';
        } else {
            if (document.lupe) {
                window.document.lupe.left=x;
                window.document.lupe.top=y;
                window.document.lupe.innerHTML='<b>' + mytext + ' </b>';
            }
        }
    }
}

function domove_out() {
    if (document.all)  {
        window.document.all.lupe.style.visibility="hidden";
    } else {
        if (typeof(document.getElementById)=="function") {
            window.document.getElementById("lupe").style.visibility="hidden";
        }
    }
}

function changePic(Bildnr,Bildobjekt) {
   window.document.getElementById(Bildnr).src = Bildobjekt.src;
}
