BrowserOK =  (((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 3 )) || 

  ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4 ))); 



function ImgPreload(img) {

 var abild=new Image(); abild.src=img; return abild; 

 }



if(BrowserOK) {

abild01h=ImgPreload('../../galerie/01.jpg');

abild02h=ImgPreload('../../galerie/02.jpg');

abild03h=ImgPreload('../../galerie/03.jpg');

abild04h=ImgPreload('../../galerie/04.jpg');

abild05h=ImgPreload('../../galerie/05.jpg');

abild06h=ImgPreload('../../galerie/06.jpg');

abild07h=ImgPreload('../../galerie/07.jpg');

abild08h=ImgPreload('../../galerie/08.jpg');

abild09h=ImgPreload('../../galerie/09.jpg');

abild10h=ImgPreload('../../galerie/10.jpg');

abild11h=ImgPreload('../../galerie/11.jpg');

abild12h=ImgPreload('../../galerie/12.jpg');

abild13h=ImgPreload('../../galerie/13.jpg');

abild14h=ImgPreload('../../galerie/14.jpg');

abild15h=ImgPreload('../../galerie/15.jpg');

abild16h=ImgPreload('../../galerie/16.jpg');

abild17h=ImgPreload('../../galerie/17.jpg');

abild18h=ImgPreload('../../galerie/18.jpg');

abild19h=ImgPreload('../../galerie/19.jpg');

abild20h=ImgPreload('../../galerie/20.jpg');

abild21h=ImgPreload('../../galerie/21.jpg');

abild22h=ImgPreload('../../galerie/22.jpg');


}



function fBack() 
{ 
history.back(1);
} 


function fZoom(imageName,imageWidth,imageHeight,bildunterschrift)

{ 
if (fZoom.arguments.length>3){
newWindow = window.open("","newWindow","width="+(20+imageWidth)+",height="+(50+imageHeight)+",scrollbars=no");
}else{
newWindow = window.open("","newWindow","width="+(20+imageWidth)+",height="+(40+imageHeight)+",scrollbars=no");
}

newWindow.document.open();
newWindow.document.write('<html><head><title>Gratschwirt - Picture gallery</title>');
newWindow.document.write('<link rel=stylesheet ype="text/css" href="../../format.css"></head>');
newWindow.document.write('<body bgcolor="#ffffff" leftmargin="0" topmargin="10" marginheight="10" marginwidth="0" onBlur="self.close()">'); 

newWindow.document.write('<p align="center"><a href="javascript:self.close()"><img src=\"'+imageName+'\"  align="absmiddle" align="center" border=0></a>'); 

if (fZoom.arguments.length>3){
newWindow.document.write('<br><b><table width="410" border="0" cellspacing="1" cellpadding="4" bgcolor="#bf9162"><tr><td bgcolor="#f6c34c">'+ bildunterschrift+'</b>')
}
newWindow.document.write('<br><a href="javascript:self.close()">close window</a></td></tr></table></p></body></html>');

newWindow.document.close(); 
newWindow.focus(); 
}
