function highlightnav(id){
	document.getElementById(id).style.borderTop='1px solid #C8C299';
	document.getElementById(id).style.borderBottom='1px solid #C8C299';
	document.getElementById(id).style.backgroundColor='#FFFFFF';
}

function lowlightnav(id){
	document.getElementById(id).style.borderTop='1px solid #F5F5D1';
	document.getElementById(id).style.borderBottom='1px solid #F5F5D1';
	document.getElementById(id).style.backgroundColor='';
}

function lowlightschwulnav(id){
	document.getElementById(id).style.borderTop='1px solid #fe0000';
	document.getElementById(id).style.borderBottom='1px solid #fe0000';
	document.getElementById(id).style.backgroundColor='';
}

function gotobooking(){
	alert('jetzt muss ich diese Fenster schliessen und im Hauptfenster die bookingseite aufrufen.');
}

function changeimage(id,path){
	document.getElementById(id).src=path;
}

function highlightmonth(id){
	document.getElementById(id).style.border='1px solid #C8C299';
	document.getElementById(id).style.backgroundColor='#FFFFFF';
}

function lowlightmonth(id){
	document.getElementById(id).style.border='1px solid #EFF6D2';
	document.getElementById(id).style.backgroundColor='';
}


/* calendar mouseover and out*/
/* diese 4 funktionen werden vom kleinen und vom grossen kalender aufgerufen. der zweite parameter ist relevant für den kleinen kalender */
function highlighttitle(nr,ac){
	if(ac!=''){ 
		/*wenn ac einen wert hat (passiert nur, wenn der punkt im kalender aktiv ist, wird die farbe beim rollover nicht geändert, bzw. es wird praktisch beim rollover diesselbe farbe genommen. es macht keinen sinn, den aktiven kalenderpunt mit irgendwelchen effekten zu belegen. gültig für alle 3 folgefunktionen)*/
		color="#E5DBB3";
	}else{
		color="#F2F0D4";
	}
	document.getElementById('date'+nr).style.backgroundColor=color;
	document.getElementById('day'+nr).style.backgroundColor=color;
	document.getElementById('title'+nr).style.backgroundColor=color;
	document.getElementById('details'+nr).style.backgroundColor=color;
}
function lowlighttitle(nr,ac){
	if(ac!=''){
		color="#E5DBB3";
	}else{
		color="#F9FBED";
	}
	document.getElementById('date'+nr).style.backgroundColor=color;
	document.getElementById('day'+nr).style.backgroundColor=color;
	document.getElementById('title'+nr).style.backgroundColor=color;
	document.getElementById('details'+nr).style.backgroundColor=color;
}

function highlightbooking(nr,ac){
	if(ac!=''){
		color="#E5DBB3";
	}else{
		color="#F2F0D4";
	}
	document.getElementById('book'+nr).style.backgroundColor=color;
}
function lowlightbooking(nr,ac){
	if(ac!=''){
		color="#E5DBB3";
	}else{
		color="#F9FBED";
	}
	document.getElementById('book'+nr).style.backgroundColor=color;
}