function Karte(){
document.Plan.Index.reset
setTimeout("setzeDaten()",0)
setTimeout("Fenster(document.Plan.Index.value)",1)
}
function setzeDaten(){
document.Plan.Index.value = document.images.Karte.src
}
function Fenster(x){
if(x.indexOf('karte1.gif')> -1)
{set ="1";set2 ="0"}
else{
if(x.indexOf('karte2.gif')> -1)
{set ="2";set2 ="1"}
else{
if(x.indexOf('karte3.gif')> -1)
{set ="3";set2 ="2"}
else{
 set ="4";set2 ="3"};};}
var fenster = window.open("","anzeige","width=820,height=630,top=0,scrollbars=yes,menubar=no,status=yes")
if (fenster != null){
with (fenster.document){
open();
write("<html><head><title>Karte vergrößerte Ansicht</title></head><body background='../pension/cracks.jpg'>");
write("<center><IMG SRC='../pension/karte"+set+".gif'  NAME='Karte2' BORDER=2 WIDTH='770' HEIGHT='592'></center><FORM name='stID'><INPUT type='hidden' name='stID2'></FORM>")
write("<form><center><table><tr><td><A HREF='javascript:doPrevious()' onmouseover=ston(2,'fe') onmouseout=stout('yes')><IMG SRC='../pension/zoomout.gif' ALT='Klicken, um zu verkleinern!'></A></td><td><input type='button' onClick='window.close()' value='Fenster schließen'></td><td><input type='button' onClick='javascript:drucken()' value='Fenster ausdrucken'></td><td><A HREF='javascript:doNext()' onmouseover=ston(3,'fe') onmouseout=stout('yes')><IMG SRC='../pension/zoomin.gif' ALT='Klicken, um zu vergrössern!'></td></tr></table></center></form></body></html>");
write("<p align='center'><SCRIPT language='JavaScript1.2'>function drucken(){window.print()}</SCRIPT></p>");
write("<p align='center'><SCRIPT language='JavaScript'>var myPix = new Array('../pension/karte1.gif','../pension/karte2.gif','../pension/karte3.gif','../pension/karte4.gif');var thisPic = "+set2+";function doPrevious() {;if (document.images && thisPic > 0) {;thisPic--;document.Karte2.src=myPix[thisPic];};};function doNext() {;if (document.images && thisPic < 3) {;thisPic++;document.Karte2.src=myPix[thisPic];};}</SCRIPT></p>");
write("<p align='center'><SCRIPT language='JavaScript' src= 'plugins/plugin_onmaus.js'></SCRIPT></p>");
close();
}}}
var myPix = new Array("../pension/karte1.gif","../pension/karte2.gif","../pension/karte3.gif","../pension/karte4.gif")
var thisPic = 0

function doPrevious() {
    if (document.images && thisPic > 0) {
        thisPic--
        document.Karte.src=myPix[thisPic]
};}
function doNext() {
    if (document.images && thisPic < 3) {
        thisPic++
        document.Karte.src=myPix[thisPic]
};}

