
document.onmousedown=click

function click() {
	if (event.button==2){
        alert("Copyright by Ute Schendel\nKasernenstr. 32, 4058 Basel");
       }
}
	  
function MM_openBrWindow(theURL,winName,features) { //v2.0
  fenster=window.open(theURL,winName,features);
  if (fenster.focus)  fenster.focus();
}

function MM_preloadImages() { //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=MM_preloadImages.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 Bildzoom2(url2,winName,features) { //v2.0
  var urlx, hoch
	  hoch=parseInt(features.substr(features.length-3))
	  if (hoch > screen.availheight) {
	     hoch = screen.availheight-20
		 hoch = hoch.toString()
	     features = features.substr(0,features.length-3)+ hoch + ", scrollbars=yes"
		 }

    if (! fenster || fenster.closed){
	  fenster=window.open(url2,winName,features)
	  }
	else {
  		if (!(fenster.name==winName)) {
	  		fenster.close()
		    fenster=window.open(url2,winName,features)
  	  		fenster.focus()
    		}	
		else
		    { 
		  urlx=url2.substr(0,url2.length-3)+"jpg"
		  Bildzoom(urlx,winName, features)
		    }
		}
	}  

function Bildzoom(bild1,winName,features) { //v2.0
  if (! fenster || fenster.closed) {
	  fenster=window.open(url2,winName,features)
	  }
  else { 
  fenster.document.bild.src="../spacer.gif"
  fenster.document.bild.src=bild1
  legname=bild1.substr(0,1)+"T_"+bild1.substr(3,2)+".gif"
  fenster.document.legende.src=legname
  }
  fenster.focus()
  
}

