/* JavaScripts til NetKompas */

	function naviBar()		// sidehoved/-fod
		{
		var skiller = "&nbsp;<img border='0' src='../Images/tri.gif' width='5' height='10'>&nbsp;"
		document.write("<TABLE width='550' class='gul'><tr><td width='586'>");
		document.write("<font face='Verdana,Arial' size='2'>&nbsp;<a href='../index.htm' target='_top'>Home</a>" +skiller +"<a href='../ITvejledning/index.htm' target='_top'>ITvejledning</a>" +skiller +"<a href='../Diverse/index.htm' target='_top'>Diverse</a>" +skiller +"<a href='../Klasser/index.htm' target='_top'>Klasser</a>" +skiller +"<a href='../Fag/index.htm' target='_top'>Fag</a>" +skiller +"<a href='javascript:history.go(-1)'>Tilbage</a></font>");
		document.write("</td></tr></table><p></p>");
		}

	function popMenu (url,name,config)
		{
		window.open(url,name,'toolbar=yes,scrollbars=auto,resizable=yes,width=250,height=350,top=10,left=15');
		window.name='opener';
		}

	function otteSeks() 
		{
		if (tvaers >= 600 || kryds >= 600) {}
		else {parent.window.resizeTo(800,600);parent.window.moveTo(0,0)};
		} 

	if (document.images)
		 {
		surfLeft=new Image
		surfRight=new Image
		surfLeft.src="surfer_l.gif"
		surfRight.src="surfer.gif"
		}
	else 
		{
		surfLeft=""
		surfRight=""
		document.surf=""
		}

	function ViaKoder () 
		{
		nytvindue = window.open("viskoder.htm", "nytvin", "toolbar=no,location=no,status=no,width=350,height=150")
		}

	function go(there) 
		{document.location.href=there}

	function m_over(pointer) 
		{pointer.style.background='';}

	function m_out(pointer) 
		{pointer.style.background ='';}

	function visXtra(url) {
		nytvin=window.open(url,'','toolbar=yes,scrollbars=yes,resizable=yes,width=790,height=500,top=0,left=0')
		}
