function divHeight(){
	var ns = (navigator.userAgent.indexOf('Gecko')>-1)?1:0;
	var ie = (navigator.userAgent.indexOf('MSIE')>-1)?1:0;
	var t=(ie)?(document.body.clientHeight-117)+'px':(ns)?(window.innerHeight-126)+'px':(screen.availHeight-240)+'px';
	document.getElementById('indhold').style.height=t;
}

var vises = false;

function mOO(objref, color)
{
	//objref.style.background = color;
	
	//NYT DESIGN
	if(color == 1) sty = "underline";
	else sty = "none";
	objref.style.textDecoration = sty;
	//NYT DESIGN
	
	return true;
}

function login(){
	if(vises){
		logindiv.style.display='none';
	}
	else {
		logindiv.style.display='block';
		loginform.navn.focus();
	}
	vises =! vises;
}

function go(id)
{
	document.location.href="?id="+id;
}

function logaf()
{
	document.location.href="?logaf=true";
}