//copyright: update Zuerich
var base = "http://www.tolhusen.ch/pict/button/";
var base1 = "http://www.tolhusen.ch/pict/button_et/";
var suffixon = "_on";
var suffixoff = "_off";
var endg = ".gif";

if (document.images) {
	bild1on = new Image();   bild1on.src = base + "kontakt" + suffixon + endg; 
	bild1off = new Image();   bild1off.src = base + "kontakt" + suffixoff + endg;
	bild2on = new Image();   bild2on.src = base + "standort" + suffixon + endg; 
	bild2off = new Image();   bild2off.src = base + "standort" + suffixoff + endg;
	bild3on = new Image();   bild3on.src = base + "profil" + suffixon + endg; 
	bild3off = new Image();   bild3off.src = base + "profil" + suffixoff + endg;
	bild4on = new Image();   bild4on.src = base + "kompetenzen" + suffixon + endg; 
	bild4off = new Image();   bild4off.src = base + "kompetenzen" + suffixoff + endg;
	bild5on = new Image();   bild5on.src = base + "aktuell" + suffixon + endg; 
	bild5off = new Image();   bild5off.src = base + "aktuell" + suffixoff + endg;
	bild6on = new Image();   bild6on.src = base + "home" + suffixon + endg; 
	bild6off = new Image();   bild6off.src = base + "home" + suffixoff + endg;

  bild30on = new Image();   bild30on.src = base1 + "portrait" + suffixon + endg; 
	bild30off = new Image();   bild30off.src = base1 + "portrait" + suffixoff + endg;
	bild31on = new Image();   bild31on.src = base1 + "neuerscheinung" + suffixon + endg; 
	bild31off = new Image();   bild31off.src = base1 + "neuerscheinung" + suffixoff + endg;
	bild32on = new Image();   bild32on.src = base1 + "kostprobe" + suffixon + endg; 
	bild32off = new Image();   bild32off.src = base1 + "kostprobe" + suffixoff + endg;
  bild33on = new Image();   bild33on.src = base1 + "backlist" + suffixon + endg; 
  bild33off = new Image();   bild33off.src = base1 + "backlist" + suffixoff + endg;
 }

        function bildOn(bildName) {
                if (document.images) {
                        document[bildName].src = eval(bildName + "on.src");       
                }
        }

        function bildOff(bildName) {
                if (document.images) {
                        document[bildName].src = eval(bildName + "off.src");
                }
                
        
        }

