



function toggleImage(name,status){
	imagepath = "nav/";
	/*name = imgObjekt.name;
	// if only a filename and no image object is given
	if (name == 'undefined') name = imgObjekt;*/
	if (status==1){
		// generate the new image-path-name
		imageName = imagepath + name + "_a.png";
	}else{
		imageName = imagepath + name + ".png";
	}
	theImage = new Image(); 
	theImage.src = imageName;
	document.images[name].src = theImage.src;
}
/** function to open a url in a popup
 **/
function openWindow (url,width,height) {
	fenster = window.open(url, "Win", "width="+width+",height="+height+",status=yes,scrollbars=yes,resizable=yes");
	fenster.focus();
}

