function changeImage (whichImage,withWhat,changeText) {
	if (!document.getElementById(whichImage)) return;
	if(navigator.appVersion.indexOf("MSIE 5.5")==-1){if(document.getElementById(whichImage).filters) document.getElementById(whichImage).filters.blendTrans.apply();}
	document.getElementById(whichImage).src = withWhat;
	if(navigator.appVersion.indexOf("MSIE 5.5")==-1){if(document.getElementById(whichImage).filters) document.getElementById(whichImage).filters.blendTrans.play();}
	if (changeText)document.getElementById('contenttext').innerHTML = changeText;
}

function openWnd(which){
	neu=window.open(which,"gleich","width=300,height=450,toolbar=no,status=no,resizable=no,menubar=no");
	neu.focus();
}

function openfaircologne(which){
	neu=window.open(which,"gleich","width=890,height=460,toolbar=no,status=no,resizable=yes,menubar=no");
	neu.focus();
}


function RotatePic() {
      // name des bildes was getauscht werden soll im html-code (img-tag-name)
      var BildTDTagID = "rdmpic";  
      
      // ordner, wo die bilder gespeichert wurden
      var BildOrdner = "img/vase/";    
      
      // dateiname der bilder ohne nummer
      var BildName = "vase0";            
      
      // Bildformat (.jpg, .gif, .png, etc.)
      var BildFormat = ".jpg";        
      
      //Anzahl der Bilder im Bildordner
      var AnzahlBilder = 3;        
      
      // Zahlenwert, mit der die bildernummerierung beginnt
      var StartCounter = 1;        
      
      
      // random zahl ermitteln
      RandBild = Math.round(Math.random()*AnzahlBilder);
      if( AnzahlBilder == RandBild ) RandBild = 0;
      rb = BildOrdner + BildName + (RandBild + StartCounter) + BildFormat;
      
      if (document.images) {
         document.images[BildTDTagID].src=rb;
      }

   } 
