<!--
function print_page(uri)
{
	window.open('print.php?page='+uri,'PRINTER','width=750,height=700');
}
function imgWin(img,width,height)
{
window.open('popup.php?img='+img,'Popup','toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbar=yes,resizable=yes,copyhistory=yes,width=0,height=0');
}

function popUp(val)
{
	window.open(val,"POPUP","width=700,height=500,left=100,top=50");
}

function checkIt(what){
	var obj = document.getElementById("ak"+what);
	if(obj.checked == true){
		obj.checked = false;
	}
}

function setMod(what){
	document.anmeldung.an_mod.options[what].selected = true;
	if(what == 3){
		document.getElementById("msg").innerHTML = "<label>&nbsp;</label><span class=\"error\">Sie haben manuell den Preis f&uuml;r ein Einzelmodul gew&auml;hlt. Bitte &uuml;berpr&uuml;fen Sie Ihre Modulauswahl noch einmal.</span>";
	}
	else{
		document.getElementById("msg").innerHTML = "";
	}
}

function setPrice(){
	document.getElementById("msg").innerHTML = "";
	var val = parseInt(document.getElementById("an_mod").value);
	switch(val){
		case 3:
		checkIt(1); checkIt(2);
		document.getElementById("ak3").checked = true;
		break;
		
		default:
		checkIt(3);
		document.getElementById("ak1").checked = true;
		break;
	}
}
	
function popUpImage(img,val)
{
	document.getElementById("popUp"+img).style.visibility = "visible";
	var width = document["popupImage"+img].width / 2;
	var height = document["popupImage"+img].height;
	if(!document.all)
	{
	function getKey (Ereignis) {
		
		var posY = Ereignis.clientY;
		//document.getElementById("popUp").style.left = posX+"px";
		document.getElementById("popUp"+img).style.marginTop = "-200px";
		}
	document.onclick = getKey;
	//document.onmousemove = getKey;
	}
	
	else
	{
		var width = document.popupImage.width;
		var height = document.popupImage.height;
		if(!document.all)
		{
		var winWidth = window.innerWidth;
		var winHeight = window.innerHeight;
		}
		else
		{
		var winWidth = screen.availWidth;
		var winHeight = screen.availHeight;
		}
		var posX = (winWidth/2) - width;
		var posY = (winHeight/2) - height;
	}
	document.getElementById("popUp"+img).style.display = "visible";
}

function popUpClose(img)
{
	document.getElementById("popUp"+img).style.visibility = "hidden";
}
-->