var locationprefix="/int/en/img/vollbildpanoramen/panoflex";

function geostring(b,h) {
x=(screen.width-b)/2;
 y=(screen.height-h)/2;
 if (bName == "NN") {
  displayfeatures='width='+b+',height='+h+',screenX='+x+',screenY='+y;
 } else {
  displayfeatures='width='+b+',height='+h+',left='+x+',top='+y+',toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0';
 }
 return displayfeatures;
};

function fullstring() {
 if (bName == "NN") {
  b=screen.availWidth -10;
  h=screen.availHeight-30;
  x=0;
  y=0;
  displayfeatures='width='+b+',height='+h+',screenX='+x+',screenY='+y;
 } else {
  displayfeatures= 'scrollbars=0,fullscreen=1';
 }
 return displayfeatures;
};

function l1(where) {  
 switch(state3z) {
  case "noqt":
   alert('Die Vollbildfunktion ist auf diesem Rechner nicht ohne die QuickTime 5-Software möglich.\nNäheres dazu finden Sie im Text auf der angezeigten Web-Seite...');
   break;
  case "qtax":
   window.open(locationprefix+'/qtax/frame1/'+where+'.htm','360gradfull',fullstring());
   break;
  case "qtbed":
   window.open(locationprefix+'/qtbed/frame1/'+where+'.htm','360gradfull',fullstring());
   break;
  default:
   alert("Es konnte nicht festgestellt werden, ob die QuickTime 5-Software und somit die Panorama-Vollbild-Funktion auf diesem Rechner verfügbar ist.");
   break;
 };
};

function l2(where) { window.open(locationprefix+'/2000/'+where+'.htm','360grad',geostring(420,347)); };
function l3(where) { window.open(locationprefix+'/1500/'+where+'.htm','360grad',geostring(324,291)); };
function l4(where) { window.open(locationprefix+'/1250/'+where+'.htm','360grad',geostring(264,263)); };

function explanation() {
 switch(state3z) {
  case "noqt":
   document.writeln('<p class="tmainmarg"><br><b>Note:</b><br> The complete picture function will only be available on this computer after the installation of version 5 of      '); 
   document.writeln('<a href="http://www.apple.com/de/quicktime/download/"    ');
   document.writeln('target="_blank" style="font-family:verdana;font-size:11px;color:#826501;">QuickTime-Software</a> by Apple.         ');
   document.writeln('<br><br>Please ');
   document.writeln('<a href="javascript:location.reload();" style="font-family:verdana;font-size:11px;color:#826501;">click here</a> after installation is complete.    ');
   document.writeln('<br><br></p>  ');
   break; 
  case "qtax":
   break;
  case "qtbed":
   break;
  default:
   break;
 };
};


