function popMap(url) {
	var winW = 700;
	var winH = 690;
	var winX = (screen.availWidth - winW) / 2;
	var winY = (screen.availHeight - winH) / 2;

	var features = 'left='
			+ winX
			+ ',top='
			+ winY
			+ ',width='
			+ winW
			+ ',height='
			+ winH
			+ ',toolbar=0,location=0,status=0,scrollbars= 1,resizable=0,menubar=0';
	newwindow = window.open(url, 'name', features);
	if (window.focus) {
		newwindow.focus()
	}
}

document.onmousemove = getMousePosition;

var mouse_x_pos = 0;
var mouse_y_pos = 0;

function showInfo(info) {
	var control = document.getElementById("beschr");
	mouse_x_pos += 10;
	// ---------position-----------------
	with (control.style) {
		visibility = 'visible';
		position = 'absolute';
		backgroundColor = '#cfcfcf';
		top = mouse_y_pos+"px";
		left = mouse_x_pos+"px";
		border = '1px solid #000000';
	}
	control.innerHTML = info;
}

function getMousePosition(e) {
	if (e == undefined)
		e = window.event;
	if (e.pageX || e.pageY) {
		mouse_x_pos = e.pageX;
		mouse_y_pos = e.pageY;
	} else if (e.clientX || e.clientY) {
		mouse_x_pos = e.clientX + document.body.scrollLeft
				+ document.documentElement.scrollLeft;
		mouse_y_pos = e.clientY + document.body.scrollTop
				+ document.documentElement.scrollTop;
	}
}

function hideInfo() {
	var control = document.getElementById("beschr");
	control.style.visibility = "hidden";
}

function isIE() {
	var ua, s, i;

	ua = navigator.userAgent;

	s = "MSIE";
	if ((i = ua.indexOf(s)) >= 0) {
		return true;
	}
	return false;
}

function goto(select){
	var wert = select.options[select.options.selectedIndex].value;
  	window.location.href = wert;
}

