function aabnpop(url,width,height) {
	leftposition = (screen.width)?(screen.width-width)/2:100;
	topposition = (screen.height)?(screen.height-height)/2:100;
	window.open(url,"kjeldhelmuthpop","width="+width+",height="+height+",resizable=no,location=no,scrollbars=no,toolbar=no,top="+topposition+",left="+leftposition+"");
}

function aabnpopmedscroll(url,width,height) {
	leftposition = (screen.width)?(screen.width-width)/2:100;
	topposition = (screen.height)?(screen.height-height)/2:100;
	window.open(url,"kjeldhelmuthpop","width="+width+",height="+height+",resizable=no,location=no,scrollbars=yes,toolbar=no,top="+topposition+",left="+leftposition+"");
}

function aabnmailpop(navn,url,width,height) {
	leftposition = (screen.width)?(screen.width-width)/2:100;
	topposition = (screen.height)?(screen.height-height)/2:100;
	window.open(url,navn,"width="+width+",height="+height+",resizable=no,location=no,scrollbars=yes,toolbar=no,top="+topposition+",left="+leftposition+"");
}

function skoletilbud_float(element,disp) {
	if(disp == 1) {
		document.getElementById("float_"+element).style.display = "block";
	} else {
		document.getElementById("float_"+element).style.display = "none";
	}
}