function preload()
{
	// alert("Hallo");
	if(document.images)
	{
		imgPath = "http://img.customer.map24.com/t-com_t-mobile/staticnav/";
		// active images	
		back_a = new Image();
		back_a.src = imgPath + "back_a.gif";		
		
		next_a = new Image();
		next_a.src = imgPath + "next_a.gif";		
		
		home_a = new Image();
		home_a.src = imgPath + "home_a.gif";		
		
		zoomin_a = new Image();
		zoomin_a.src = imgPath + "zoomin_a.gif";		
		
		zoomout_a = new Image();
		zoomout_a.src = imgPath + "zoomout_a.gif";		
		
		print_a = new Image();
		print_a.src = imgPath + "print_a.gif";		
		
		// inactive images	
		back_ia = new Image();
		back_ia.src = imgPath + "back_ia.gif";		
		
		next_ia = new Image();
		next_ia.src = imgPath + "next_ia.gif";		
		
		home_ia = new Image();
		home_ia.src = imgPath + "home_ia.gif";		
		
		zoomin_ia = new Image();
		zoomin_ia.src = imgPath + "zoomin_ia.gif";		
		
		zoomout_ia = new Image();
		zoomout_ia.src = imgPath + "zoomout_ia.gif";		
		
		print_ia = new Image();
		print_ia.src = imgPath + "print_ia.gif";				
		
		// over images	
		back_o = new Image();
		back_o.src = imgPath + "back_o.gif";		
		
		next_o = new Image();
		next_o.src = imgPath + "next_o.gif";		
		
		home_o = new Image();
		home_o.src = imgPath + "home_o.gif";		
		
		zoomin_o = new Image();
		zoomin_o.src = imgPath + "zoomin_o.gif";		
		
		zoomout_o = new Image();
		zoomout_o.src = imgPath + "zoomout_o.gif";		
		
		print_o = new Image();
		print_o.src = imgPath + "print_o.gif";			
	}
}

preload();

function swapImg(imgName,imgState) 
{
	if (document.images) 
	{
    	document[imgName].src = eval(imgName+"_"+imgState + ".src");
		// document[imgName].src = "http://www.pixelpeter.de/pp_klein.gif";
	}
}