
function opna_glugga(url, nafn, w, h, r, sc) {
	if (isNaN(w))  { w=620; }
	if (isNaN(h))  { h=600; }
	if (isNaN(r))  { r=0; }
	if (isNaN(sc)) { sc=0; }
	gluggi = window.open(url,nafn,"width="+w+",height="+h+",toolbar=0,status=0,resizable="+r+",menubar=0,scrollbars="+sc);
	gluggi.focus();
}

function opna_nyjan(url) {
	gluggi = window.open(url);
	gluggi.focus();
}

function ekkert () {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("nav");
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI") {
				node.onmouseover=function() {
					this.className+=" over";
				}
				node.onmouseout=function() {
					this.className=this.className.replace(" over", "");
				}
			}
		}
	}
}

var leit = true;
var listi = true;
function hreinsa(f, s) {
	if (s) {
		f.value = '';
		s = false;
	}
}
