if (document.images != null) {	
	path = "./images/nav_buttons/";	
	activeImage = "";
	
	productbutton      = new Image();  
    productbutton.src  = "./images/link_button/products_1.gif";
    productbutton2     = new Image();
    productbutton2.src = "./images/link_button/products_2.gif";
    productbutton3     = new Image();
    productbutton3.src = "./images/link_button/products_3.gif";		
	backbutton = new Image();
	backbutton.src = "./images/buttons/buttonBack.gif";
	backbutton2 = new Image();
	backbutton2.src = "./images/buttons/buttonBack_f2.gif";
	backbutton3 = new Image();
	backbutton3.src = "./images/buttons/buttonBack_f3.gif";
	detailbutton = new Image();
	detailbutton.src = "./images/link_button/detail_1.gif";
	detailbutton2 = new Image();
	detailbutton2.src = "./images/link_button/detail_2.gif";
	detailbutton3 = new Image();
	detailbutton3.src = "./images/link_button/detail_3.gif";
	searchButton = new Image();
	searchButton.src = "./images/buttons/buttonSearch.gif";
	searchButton2 = new Image();
	searchButton2.src = "./images/buttons/buttonSearch_f2.gif";
	searchButton3 = new Image();
	searchButton3.src = "./images/buttons/buttonSearch_f3.gif";
	prevButton = new Image();
	prevButton.src = "./images/buttons/buttonPre50.gif";
	prevButton2 = new Image();
	prevButton2.src = "./images/buttons/buttonPre50_f2.gif";
	prevButton3 = new Image();
	prevButton3.src = "./images/buttons/buttonPre50_f3.gif";
	nextButton = new Image();
	nextButton.src = "./images/buttons/buttonext50.gif";
	nextButton2 = new Image();
	nextButton2.src = "./images/buttons/buttonext50_f2.gif";
	nextButton3 = new Image();
	nextButton3.src = "./images/buttons/buttonext50_f3.gif";	
	prevButtonOne = new Image();
	prevButtonOne.src = "./images/buttons/buttonPrevious.gif";
	prevButtonOne2 = new Image();
	prevButtonOne2.src = "./images/buttons/buttonPrevious_f2.gif";
	prevButtonOne3 = new Image();
	prevButtonOne3.src = "./images/buttons/buttonPrevious_f3.gif";	
	nextButtonOne = new Image();	
	nextButtonOne.src = "./images/buttons/buttonNext.gif";
	nextButtonOne2 = new Image();
	nextButtonOne2.src = "./images/buttons/buttonNext_f2.gif";
	nextButtonOne3 = new Image();
	nextButtonOne3.src = "./images/buttons/buttonNext_f3.gif";	
	resetButton = new Image();
	resetButton.src = "./images/buttons/buttonReset.gif";
	resetButton2 = new Image();
	resetButton2.src = "./images/buttons/buttonReset_f2.gif";
	resetButton3 = new Image();
	resetButton3.src = "./images/buttons/buttonReset_f3.gif";	
}

function wechsleBild(bild, ziel) {	
	if (document.images != null) {
		document.images[ziel].src = eval(bild + ".src");
		return true;
	}
}

function wechsleMenuBild(bild, ziel) {	
	if (document.images != null) {		
		if(bild == "3"){
			for(i=0; i < document.images.length; i++){		
				if(document.images[i].name != ""){									
					document.images[i].src = path + document.images[i].name + "_pass.gif";	
				}			
			} 
			document.images[ziel].src = path + ziel + "_act.gif";
			activeImage = document.images[ziel].src;
		}		
		if(document.images[ziel].src != activeImage){
			if(bild == "2"){
				document.images[ziel].src = path + ziel + "_roll.gif";
			}
			if(bild == "1"){					
				document.images[ziel].src = path + ziel + "_pass.gif";
				
			}	
		}
	}
}
