
function links_over(nr) {
	if (document.getElementById)
		image = document.getElementById("links_"+nr);
	else 
		image = document.all["links_"+nr];
	
	image.src="auswahl_links/"+seite+"_"+nr+"_a.gif";
}

function links_out(nr) {
	if (document.getElementById)
		image = document.getElementById("links_"+nr);
	else 
		image = document.all["links_"+nr];
	
	image.src="auswahl_links/"+seite+"_"+nr+"_i.gif";
}

function menu_over(nr) {
	if (document.getElementById)
		image = document.getElementById("menu_"+nr);
	else 
		image = document.all["menu_"+nr];
	
	image.src="menu/"+nr+"_aktiv.gif";
}

function menu_out(nr) {
	if (document.getElementById)
		image = document.getElementById("menu_"+nr);
	else 
		image = document.all["menu_"+nr];
	
	image.src="menu/"+nr+"_inaktiv.gif";
}

function imgfenster(name,width,height)
{
	var left = (screen.availWidth-width-20)/2;
	var top = (screen.availHeight-height-50)/2; 
	popup=window.open('image.php?url='+name,"popup","width="+(width+20)+",height="+(height+20)+",top="+top+",left="+left);
	setTimeout("popup.focus();",100);
}

function menfenster(file)
{
	var width=500;
	var height=400;

	var left = (screen.availWidth-width)/2;
	var top = (screen.availHeight-height-50)/2; 
	mpopup=window.open('menue.php?menue='+file,"mpopup","width="+width+",height="+height+",left="+left+",top="+top+",scrollbars=yes");
	setTimeout("mpopup.focus();",100);
}

function newsfenster(nr)
{
	var width=320;
	var height=400;

	var left = (screen.availWidth-width)/2;
	var top = (screen.availHeight-height-50)/2; 
	npopup=window.open('news.php#id_'+nr,"npopup","width="+width+",height="+height+",left="+left+",top="+top+",scrollbars=yes");
	setTimeout("npopup.focus();",100);
}

