//copyright: geminic webdesign
var base = "http://www.geminic.ch/pict/buttons/";
var suffixon = "_on";
var suffixoff = "_off";
var endg = ".gif";

if (document.images) {
	bild1on = new Image();   bild1on.src = base + "servicehome" + suffixon + endg; 
	bild1off = new Image();   bild1off.src = base + "servicehome" + suffixoff + endg;
	bild2on = new Image();   bild2on.src = base + "projectshome" + suffixon + endg; 
	bild2off = new Image();   bild2off.src = base + "projectshome" + suffixoff + endg;
	bild3on = new Image();   bild3on.src = base + "profilehome" + suffixon + endg; 
	bild3off = new Image();   bild3off.src = base + "profilehome" + 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");
                }
                
        
        }
