
<!-- Må ikke åbnes i frame
if (self != top) top.location.href = document.location.href; 
// -->

<!-- pop-up funktion 

function PopWin(url,h,w) { var ww = 480, wh = 340, leftPos = null, topPos = null; 

IE=(document.all)?true:false; 
var wh = (IE)?document.body.clientHeight : window.innerHeight; 
var ww = (IE)?document.body.clientWidth : window.innerWidth; 

if (top.screen){ 
  if (screen.width){ 
    leftPos = Math.round((ww-w-10)/2); 
    topPos = Math.round((wh-h-29)/2); 
  } else { 
    leftPos = 50 
    topPos = 50 
  } 
} 

 popupWin = window.open(url, 'popup', 'scrollbars,resizable,height=' + h + ',width=' + w + ',top=' + topPos + ',left=' + leftPos + '') 
} 
// --> 

  <!--
  function checkAll( elem ){
    var frm = document.frm;
    for( i  =0; i<frm.length; i++ ){
      if( frm.elements[ i ].type == "checkbox" ) {
        frm.elements[ i ].checked = elem.checked;
      }
    }
  }
  //-->
  
  <!-- navigation mouse-over
  
  function mOvr(src,clrOver){ 
	if (!src.contains(event.fromElement)){ 
		src.bgColor = clrOver; 
	} 
} 
function mOut(src,clrIn){ 
	if (!src.contains(event.toElement)){ 
		src.style.cursor = 'default'; 
		src.bgColor = clrIn; 
	} 
} 
function mClk(src){ 
	if(event.srcElement.tagName=='TD')
		src.children.tags('A')[0].click();
}
  
  //-->
  
  <!-- // vis tekst ved klik

// hide text from MSIE browsers

with (document)
{
	write("<STYLE TYPE='text/css'>");
	if (navigator.appName == 'Microsoft Internet Explorer')
		{
		write(".hiddentext {display:none}  .outline {cursor:hand; text-decoration:underline}");
		}
	write("</STYLE>");
}

// show text on click for MSIE browsers

function expandIt(whichEl)
{
	if (navigator.appName == 'Microsoft Internet Explorer')
		{
		whichEl.style.display = (whichEl.style.display == "block" ) ? "none" : "block";
		}
	else return;
}
// end hiding from old browsers -->


<!-- sletning skal bekræftes

function Confirm()
	{ 	
		var agree=confirm("Er du sikker på, at sletning skal foretages?");
		if (agree)
		return true;
		else
		return false; 
	}
 //-->
 
 <!-- jump-menu
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
//-->

<!-- række ændrer farve, når checkbox afkrydses (anvender valuen)

function chooserow(chk, color) {
    if (document.all) {
        //IE4+
        if (chk.checked) {
            document.all.item('r' + chk.value).bgColor = 
color;    
        }
        else {
            document.all.item('r' + chk.value).bgColor = 
document.bgColor;
        }
    }
}


//-->


<!--

//Smart Folding Menu tree- By Dynamic Drive (rewritten 03/03/02)
//For full source code and more DHTML scripts, visit http://www.dynamicdrive.com
//This credit MUST stay intact for use

var head="display:''"
img1=new Image()
img1.src="../images/gif/ikoner/fold.gif"
img2=new Image()
img2.src="../images/gif/ikoner/open.gif"

var ns6=document.getElementById&&!document.all
var ie4=document.all&&navigator.userAgent.indexOf("Opera")==-1

function checkcontained(e){
var iscontained=0
cur=ns6? e.target : event.srcElement
i=0
if (cur.id=="foldheader")
iscontained=1
else
while (ns6&&cur.parentNode||(ie4&&cur.parentElement)){
if (cur.id=="foldheader"||cur.id=="foldinglist"){
iscontained=(cur.id=="foldheader")? 1 : 0
break
}
cur=ns6? cur.parentNode : cur.parentElement
}

if (iscontained){
var foldercontent=ns6? cur.nextSibling.nextSibling : cur.all.tags("UL")[0]
if (foldercontent.style.display=="none"){
foldercontent.style.display=""
cur.style.listStyleImage="url(../images/gif/ikoner/open.gif)"
}
else{
foldercontent.style.display="none"
cur.style.listStyleImage="url(../images/gif/ikoner/fold.gif)"
}
}
}

if (ie4||ns6)
document.onclick=checkcontained

//-->