function Fenster(URL1,URL2,URL3,ACTNAV) {	
	
	// Frames laden
	if (URL1 != 'stay'){
		parent.oben_rechts.location.href=URL1;
	 }
	 
	 if (URL2 != 'stay'){
		parent.unten_links.location.href=URL2;
	 }
	 
	 if (URL3 != 'stay'){
		parent.unten_rechts.location.href=URL3;
	 }
	 


	//setzen des Navpfeilchen so dass auch ohne parent-child struktur Akt Hauptnav erhalten bleibt
	if(typeof lastActive != "undefined"){
		if(this.document.getElementById(lastActive) != 'akt'){
	 	this.document.getElementById(lastActive).style.backgroundImage = "url('')";
	 	this.document.getElementById(lastActive).style.backgroundRepeat = '';
	 	this.document.getElementById(lastActive).style.paddingLeft = '';
		this.document.getElementById(lastActive).style.marginLeft = '';				
		}
	} 
	if (ACTNAV != 'no' ){
		if (ACTNAV != 'akt' ){
	 	this.document.getElementById(ACTNAV).style.backgroundImage = "url('pics-navi/li.gif')";
	 	this.document.getElementById(ACTNAV).style.backgroundRepeat = 'no-repeat';
	 	this.document.getElementById(ACTNAV).style.paddingLeft = '8px';
		this.document.getElementById(ACTNAV).style.marginLeft = '8px';
		lastActive = ACTNAV;
		}
	}
	 
	 // sidpic anpassen gemäss der id des nav-hrefs
	 parent.document.sidepic.src = 'pics-content/'+ACTNAV+'.gif';
	 
	 //mainpic anpassen gemäss der id des nav-hrefs
	 parent.document.mainpic.src = 'pics-content/p_'+ACTNAV+'.jpg'; 
}
 
function picchange(navpunkt){
	document.getElementById('sidepic').src = 'pics-content/'+navpunkt+'.gif';
	document.getElementById('mainpic').src = 'pics-content/p_'+navpunkt+'.jpg';
}