function myprintln(s)
 { 
document.writeln(s);
 }

wbreit=window.screen.availWidth
whoehe=window.screen.availHeight
window.moveTo(0,0);
window.resizeTo(wbreit, whoehe);
window.focus();
browser = navigator.appName
sys=navigator.platform

function randbr()
{

panourl= location.href;
if (parent.frames.goomap)
{
top.location.replace(panourl)
}

hoehe=window.screen.availHeight;
if (!(browser == "Netscape"&& sys != "Win32"))
{
pmh=window.document.pmvr.height
if (pmh <= 575)
{pmh=hoehe-75};
breite=window.document.pmvr.width;
pmb=window.screen.availWidth
if (pmb<= breite)
{breite=breite-36};
if (pmb> 1850)
{breite=1850}
}
}

function rand()
{
panourl= location.href;

if (parent.frames.goomapc && browser == "Microsoft Internet Explorer")
 {
     parent.location.replace('panoramas.html');
     alert("Please click on View Larger Map\nbefore clicking on Widescreen!");    
    }
    else
   {
   randbr()
   }
 }




function panostop()
{
try{document.pmvr.set('vauto','0');}
catch(e){a=a}
}

function panogo()
{
try{document.pmvr.set('vauto','20');}
catch(e){a=a}
}

function panovgo()
{
try{document.pmvr.set('vauto','80');}
catch(e){a=a}
}



  Bild5=new Image();
  Bild5.src="../navpic/pfeil_r.gif";
  Bild6=new Image();
  Bild6.src="../navpic/pfeil_h.gif";

  BildK5=new Image();
  BildK5.src="../../navpic/pfeil_r.gif";
  BildK6=new Image();
  BildK6.src="../../navpic/pfeil_h.gif";
  
  
  BildKo=new Image();
  BildKo.src="../../navpic/bkontakt.gif";
  BildKt=new Image();
  BildKt.src="../../navpic/bkontakt2.gif";

var a,Bild;
function tauschpf(a,Bild)
  {
   window.document.pfname.src=Bild.src;
  }
function tauschpo(a,Bild)
  {
   window.document.poname.src=Bild.src;
  }


function hk()
{
if (!(browser == "Netscape"&& sys != "Win32"))
{
document.pmvr.set('auto','0');
document.pmvr.set('vauto','0');
var win
win=window.open("http://www.panorama-cities.net/html/kontakt.html","","width=800,height=600,screenX=80,resizable=yes");
}
}
function hkk()
{
if (!(browser == "Netscape"&& sys != "Win32"))
{
document.pmvr.set('auto','0');
document.pmvr.set('vauto','0');
var win
win=window.open("http://www.panorama-cities.net/html/kontakt.html","","width=800,height=600,screenX=80,resizable=yes");
}
}

function panostop()
{
if (!(browser == "Netscape"&& sys != "Win32"))
{
document.pmvr.set('auto','0');
document.pmvr.set('vauto','0');
}
}
function panogo()
{
if (!(browser == "Netscape"&& sys != "Win32"))
{
document.pmvr.set('auto','20');
}
}
function panovgo()
{
if (!(browser == "Netscape"&& sys != "Win32"))
{
document.pmvr.set('vauto','80');
}
}

function kontakt()
{
panostop();
win=window.open("kontakt.html","","width=340,height=170,screenX=80");
win.moveTo(650,20)
};




  Bildfs=new Image();
  Bildfs.src="../navpic/fullscreen.gif";
  Bildfsc=new Image();
  Bildfsc.src="../navpic/fullscreen_w.gif";
function tauschfs(a,Bild)
{
window.document.fsname.src=Bild.src;
}



  Bildgiga=new Image();
  Bildgiga.src="../navpic/gigapan.gif";
  Bildgigaw=new Image();
  Bildgigaw.src="../navpic/gigapan_w.gif";
function tauschgiga(a,Bild)
{
window.document.giganame.src=Bild.src;
}


function full()
{
try{document.pmvr.set('fullscreen','yes');}
catch(e){alert("Rightclick on the image and select Full Sreen Modus")}
}


function fullsc()
{
panostop();
dname5c=window.location.href;
datei8=dname5c.replace(/_5c.html/,"_8.html");
location.href=datei8;
}

function fullhd()
{
panostop();
dname5c=window.location.href;
dateihd=dname5c.replace(/_5c.html/,"_hd.html");
location.href=dateihd;
}


  Bildaus=new Image();
  Bildaus.src="../navpic/tastenaus.jpg";
  Bildll=new Image();
  Bildll.src="../navpic/taste-ll.jpg";
  Bildll2=new Image();
  Bildll2.src="../navpic/taste-ll2.jpg";
  Bildl=new Image();
  Bildl.src="../navpic/taste-l.jpg";
  Bildl2=new Image();
  Bildl2.src="../navpic/taste-l2.jpg";
  Bildstop=new Image();
  Bildstop.src="../navpic/taste-stop.jpg";
  Bildstop2=new Image();
  Bildstop2.src="../navpic/taste-stop2.jpg";
  Bildr=new Image();
  Bildr.src="../navpic/taste-r.jpg";
  Bildr2=new Image();
  Bildr2.src="../navpic/taste-r2.jpg";
  Bildrr=new Image();
  Bildrr.src="../navpic/taste-rr.jpg";
  Bildrr2=new Image();
  Bildrr2.src="../navpic/taste-rr2.jpg";
  Bildrr3=new Image();
  Bildrr3.src="../navpic/taste-rr3.jpg";
  
var a,Bild,but;
function tastel(a,Bild)

  {
   window.document.tastenname.src=Bild.src;
  }
;

function tastell(a,Bild)
  {
   window.document.tastenname.src=Bild.src;
  }
;

function tastestop(a,Bild)
  {
   window.document.tastenname.src=Bild.src;
  }
;

function taster(a,Bild)
  {
   window.document.tastenname.src=Bild.src;
  }
;
function tasterr(a,Bild)
  {
   window.document.tastenname.src=Bild.src;
  }

function ll()
{
  document.pmvr.set('auto','-20x3');
}
function l()
{
  document.pmvr.set('auto','-20');
}
function stop()
{
  document.pmvr.set('auto','0');
}
function r()
{
  document.pmvr.set('auto','20');
}
function rr()
{
  document.pmvr.set('auto','20x3');
}

function end()
{
 if (browser == "Netscape" && history.length == "1")
  {
   window.close()
  }
   else
   {
    if (history.length == "0")
        {
          window.close()
         }
   else
        {
          window.close()
         }
    }
  }






function end()
{
hl=history.length;
 if (browser == "Netscape" && history.length == "1")
  {
   window.close()
   }
   else
   {
    if (browser != "Netscape" && history.length == "0")
        {
          window.close()
         }
   else
       history.back();
    }
  }
  
