function BilderLaden() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=BilderLaden.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function BildHer() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function BildHin() { //v3.0
  var i,j=0,x,a=BildHin.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


var photos=new Array()
var photoslink=new Array()
var which=0


photos[0]="../pics/bildgalerie/wz01.jpg"
photos[1]="../pics/bildgalerie/wz02.jpg"
photos[2]="../pics/bildgalerie/wz03.jpg"
photos[3]="../pics/bildgalerie/wz04.jpg"
photos[4]="../pics/bildgalerie/wz05.jpg"
photos[5]="../pics/bildgalerie/wz06.jpg"
photos[6]="../pics/bildgalerie/sz01.jpg"
photos[7]="../pics/bildgalerie/sz02.jpg"
photos[8]="../pics/bildgalerie/t01.jpg"
photos[9]="../pics/bildgalerie/t02.jpg"
photos[10]="../pics/bildgalerie/t03.jpg"
photos[11]="../pics/bildgalerie/ku01.jpg"
photos[12]="../pics/bildgalerie/ku02.jpg"
photos[13]="../pics/bildgalerie/ku03.jpg"
photos[14]="../pics/bildgalerie/kizi.jpg"

var linkoderkeinlink=0

photoslink[0]=""
photoslink[1]=""
photoslink[2]=""
photoslink[3]=""
photoslink[4]=""

var preloadedimages=new Array()
for (i=0;i<photos.length;i++){
preloadedimages[i]=new Image()
preloadedimages[i].src=photos[i]
}
function effektberechnen(){
if (document.all){
photolauf.filters.revealTrans.Transition=Math.floor(Math.random()*23)
photolauf.filters.revealTrans.stop()
photolauf.filters.revealTrans.apply()
}
}
function effektzeigen(){
if (document.all)
photolauf.filters.revealTrans.play()
}
function wievielebilder(){
window.status="Bild "+(which+1)+" von "+photos.length
}
function zurueck(){
if (which>0){
which--
effektberechnen()
document.images.photolauf.src=photos[which]
effektzeigen()
wievielebilder()
}
}
function weiter(){
if (which<photos.length-1){
which++
effektberechnen()
document.images.photolauf.src=photos[which]
effektzeigen()
wievielebilder()
}
}
function transport(){
window.location=photoslink[which]
}
