var a=1;

function zeigen(id,nr) {
var x;
x=id+nr;

if (document.getElementById) {
document.getElementById(x).style.visibility="visible";
}

if (document.all) {
document.all[x].style.visibility="visible";
}

if (document.layers) {
document.layers[x].visibility="visible";
}
}


function verstecken(id,nr){

var x;
x=id+nr;

if (document.getElementById) {
document.getElementById(x).style.visibility="hidden";
}


if (document.all) {
document.all[x].style.visibility="hidden";
}

if (document.layers) {
document.layers[x].visibility="hidden";
}
}





function breite()
 {
 var breite;
 breite=screen.innerwidth-25;

 if (document.getElementById) {
document.getElementById('ht').width=breite;
}


if (document.all) {
ht.width=breite;
}

if (document.layers) {
window.document.ht.width=breite;
 }
}









function  ein()
{
a=1;

zeigen('bild',a);
}





function zuruck()
{
wega(a)
a--;
if (a<=0)
   {
   a=20;
   }
zeigen('bild',a);
}


function vor()
{
wega(a);
a++;
if (a>=21)
   {
   a=1;
   }
zeigen('bild',a);
}

function wega(x)
{
verstecken('bild',x);
}

function ld()
{
var ld= window.open("./real/theway1.html", "ld", "Height=45, Width=25, resizable=no, screenx=800, screeny=1000, scrollbars=no, menubar=no, locationbar=no")
}

function l(index)
{

var z=index+".ram"
var ld= window.open("", "ld", "Height=45, Width=25, resizable=no, screenx=800, screeny=1000, scrollbars=no, menubar=no, locationbar=no");
window.location.href=z;}





function links(x) {

var left;
width=screen.width;
left=width/2-130;

if (document.getElementById) {
document.getElementById(x).style.left=left;
}

if (document.all) {
document.all[x].style.left=left;
}

if (document.layers) {
document.layers[x].left=left;
}
}