		
    // open a new window to view reports
    function ShowPopup(strUrl, strWindow)
    {
        //alert(strUrl);
        window.open(strUrl, strWindow,
	        "height=700, width=860, location=no, menubar=yes, toolbar=yes, scrollbars=yes",
	        true);
	    return false;
    }
        
	function show(ind)
	{
		show_el("GET_" + ind.getAttribute("ID", 2).substring(4));
/*		block = eval("GET_" + ind.getAttribute("ID", 2).substring(4));

		if(block.style.getAttribute("display",2) == "none")
			block.style.setAttribute ("display", "block", false);
		else
			block.style.setAttribute("display", "none", false);
			*/
	}
	function show_el(ind)
	{
		block = eval(ind);
//alert(ind);
		if(block.style.getAttribute("display",2) == "none")
		
			block.style.setAttribute ("display", "block", false);
		else
			block.style.setAttribute("display", "none", false);
	}

	function xy()
	{
		//Tut nix brauch ich aber um den Link zu kontrollieren!!
	}
	
	// bei move over links
	function ShowStatusbarDetails()
	{
	    window.status='Details anzeigen';
	    return true;
	}

	function mit(URL,txt,bez,wer)
	{
		var endText="";
		if(wer == 1)
			endText = eval("text" + txt +1);
		else if(wer == 2)
			endText = eval("text" + txt +2);
		else if(wer == 3)
			endText = eval("text" + txt +3);
		else if(wer == 4)
			endText = eval("text" + txt +4);
			
		switch (txt)
		{
			case 1: parent.text=endText; break
			case 2: parent.text=endText; break
			case 3: parent.text=endText; break
			case 4: parent.text=endText; break
		}

		parent.bild=URL;
		parent.bez=bez;

		document.location="bilder.htm";
	}
	