<!--
// Copyright (c) 2006 DaVinci Technology GmbH - www.davinci-tec.de - Alle Rechte vorbehalten ! //

	function hcube(robj,cpid)	{

		var cube = document.getElementById(cpid);

		if( cube != null ){

			cube.style.visibility = "hidden";
		}
	}

	function scube(robj,cpid, x , y)
	{

		var cube = document.getElementById(cpid);

		if( cube != null ){

			if( robj != null ){
				var ny = calcOffset(robj,'offsetTop') + y;
				var nx = calcOffset(robj,'offsetLeft') + x;
				cube.style.top = ny + "px";
				cube.style.left = nx + "px";

			}

			cube.style.visibility = "visible";
			cube.ZOrder = 0 ;
		}
	}
	function calcOffset(oitem, offsetName)
	{
		var total = -1;
		var item = oitem;
		do
		{
			total += eval('item.'+offsetName);
			item = eval('item.offsetParent');

			if(item != null){
				//if(item.tagName == "DIV") break;
			}

		} while (item != null);
		return total;
	}

// -->

<!--
	/*
	(C) www.dhtmlgoodies.com, September 2005

	This is a script from www.dhtmlgoodies.com. You will find this and a lot of other scripts at our website.

	Terms of use:
	You are free to use this script as long as the copyright message is kept intact. However, you may not
	redistribute, sell or repost it without our permission.

	Thank you!

	www.dhtmlgoodies.com
	Alf Magne Kalleland

	*/
	function showHideAnswer()
	{
		var numericID = this.id.replace(/[^\d]/g,'');
		var obj = document.getElementById('a' + numericID);
		if(obj.style.display=='block'){
			obj.style.display='none';
		}else{
			obj.style.display='block';
		}
	}


	function initShowHideContent()
	{
		var divs = document.getElementsByTagName('DIV');
		for(var no=0;no<divs.length;no++){
			if(divs[no].className=='aktionhead'){
				divs[no].onclick = showHideAnswer;
			}

		}
	}


	function MM_jumpMenu(targ,selObj,restore)
	{ //v3.0
  		eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  		if (restore) selObj.selectedIndex=0;
	}


// -->
