/* Mail decryption */
function decryptThis(s) {
	var n=0;
	var r="mailto:";
	for(var i=0;i<s.length;i++) { 
		n=s.charCodeAt(i); 
		if (n>=8364) {n = 128;}
		r += String.fromCharCode(n-(2)); 
	}
	return r;
}

function doMailto(s) {
	location.href=decryptThis(s);
}

/* Neues Fenster für Großbildanzeige */
var imagewindow = null;
function foto(img,titel){
  dummy = "_show.cfm?image=" + img + "&titel=" + titel;
  imagewindow=window.open(dummy,"Bigimage","width=20,height=20,top=0,left=0");
}

	
function nav_change(id, over) {
	if (over == true) {
		file = 'images/' + id + '_h.png';
	} else {
		file = 'images/' + id + '.png';
	}
	document.getElementById(id).src = file;
}



function menu_change(id, over) {
	if (over == true) {
		file = 'images/' + id + '_h.png';
	} else {
		file = 'images/' + id + '.png';
	}
	document.getElementById(id).src = file;
}

