  function moveMenu() {
/*
  	var user_agent = navigator.userAgent.toLowerCase();
    var its_ie = false;
    var its_ns = false;

    if (user_agent.indexOf("msie") != -1 ) { its_ie = true }
    else if (user_agent.indexOf("mozilla") != -1 ) { its_ns = true }

    if (its_ie) {
      document.getElementById("leftmenu").style.top = 230 + document.body.scrollTop;
    } else if (its_ns){
      document.getElementById("leftmenu").style.top = 230 + pageYOffset;
    }

    timerID=setTimeout('moveMenu()',300);
*/
    }

function Confirm(text, url) {
		if(confirm(text)) {
			location.replace(url);
		}
}

var input;
function new_input(url, width, height) {
	var column, row;
	//lukker allerede åbne vinduer
	if(input) {
		input.close();
	}
	input = window.open(url,'opret_window','width='+width+',height='+height+',scrollbars=no,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no');

	column = (screen.availWidth - width) / 2;
	row = (screen.availHeight - height) / 2;

	input.moveTo(column, row);
}

function new_input_scroll(url, width, height) {
	var column, row;
	//lukker allerede åbne vinduer
	if(input) {
		input.close();
	}
	input = window.open(url,'opret_window','width='+width+',height='+height+',scrollbars=yes,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no');

	column = (screen.availWidth - width) / 2;
	row = (screen.availHeight - height) / 2;

	input.moveTo(column, row);
}

function ChangeImg() {
img = new Image;

img.src = 'http://130.225.63.63/aet/images/sider/' + document.form1.template.options[document.form1.template.selectedIndex].text.toLowerCase() + '.gif'
document.pic1.src = img.src;
}




