<!--
function confirmLink(theLink, theText)
{

    var is_confirmed = confirm(theText);
    if (is_confirmed) {
        theLink.href += '';
    }

    return is_confirmed;
};

function show_div(name)
{
	parent.document.getElementsByName('nachrichten')[0].height = 150;
    parent.document.getElementById(name).style.visibility = "visible";
    parent.document.getElementById(name).style.display = "block";
	//parent.document.getElementById(name).blur();
	return true;
}

function hide_div(name)
{
	parent.document.getElementsByName('nachrichten')[0].height = 300;
    parent.document.getElementById(name).style.visibility = "hidden";
    parent.document.getElementById(name).style.display = "none";
	//parent.document.getElementById(name).blur();
	return true;
}

function switch_this_div(name,zahl,bild_zahl)
{
    if (window.document.getElementsByName(name)[zahl].style.visibility == "visible")
    {
       window.document.getElementsByName(name)[zahl].style.visibility = "hidden";
       window.document.getElementsByName(name)[zahl].style.display = "none";
	   window.document.getElementsByName("switch_img")[bild_zahl].src="img/mess_open.gif";
    }
    else
    {
       window.document.getElementsByName(name)[zahl].style.visibility = "visible";
       window.document.getElementsByName(name)[zahl].style.display = "inline";
	   window.document.getElementsByName("switch_img")[bild_zahl].src="img/mess_minus.gif";
    }
	return true;
}

function switch_boxes(name, state)
{
    var boxes = window.document.getElementsByName(name);
    for (var i = 0; i < boxes.length; i++)
    {
        boxes[i].checked = state;
    }
}

function BilderVorladen()
{
    document.Vorladen = new Array();

    if(document.images)
    {
        for(var i = 0; i < BilderVorladen.arguments.length; i++)
        {
            document.Vorladen[i] = new Image();
            document.Vorladen[i].src = BilderVorladen.arguments[i];
        }
    }
}

    function setFormValues()
    {
		if (document.HiddenForm)
				{
       document.HiddenForm.pwidth.value = screen.width;
       document.HiddenForm.pheight.value = screen.height;
       document.HiddenForm.farbtiefe.value = screen.pixelDepth;
       document.HiddenForm.betriebssystem.value = navigator.platform;
       document.HiddenForm.browsercodename.value = navigator.appCodeName;
       document.HiddenForm.browsername.value = navigator.appName;
       document.HiddenForm.browserversion.value = navigator.appVersion;
       document.HiddenForm.cookieserlaubt.value = navigator.cookieEnabled;
       document.HiddenForm.browsersprache.value = (typeof(navigator.browserlanguage)!='undefined') ? navigator.browserlanguage : navigator.language;
       document.HiddenForm.systemsprache.value = navigator.systemlanguage;
       document.HiddenForm.useragent.value = navigator.userAgent;
       document.HiddenForm.javaerlaubt.value = navigator.javaEnabled;
       document.HiddenForm.cpu.value = navigator.cpuClass;
       document.HiddenForm.browserplugins.value = navigator.plugins.length;
       for (var i = 0; i < navigator.plugins.length; i++)
       {
        document.HiddenForm.browserpluginnames.value = document.HiddenForm.browserpluginnames.value+navigator.plugins[i].name+'; ';
       }
       //document.HiddenForm.submit();
      }
    }


var newwin;
function fenster(welches,name,breite,hoehe)
{
	newwin = window.open(welches,name,"toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=no,width=" + breite + ",height="+hoehe);
}
var newwin2;
function fenster_scroll(welches,name,breite,hoehe)
{
	newwin2 = window.open(welches,name,"toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=no,width=" + breite + ",height="+hoehe);
}


function fernsteuerung(){
    if (!fenster && fenster.closed){
          fenster = window.open('popup_du_fragst.php','dufragst','width=650, height=500, top=100,left=100, status=1 ,locationbar=no,menubar=no,resizable=no,scrollbars=no');

          //window.open("remote.htm", "fern", "height=200,width=400,status=1")

          self.name = "Ziel"
          if (fenster.opener == null)
             fenster.opener = self
    } else {

       if (fenster.focus) fenster.focus()

    }
}

function namehell(mycheck)
{
  document.getElementById("normal_username").style.color="#000000"
  if ( mycheck.checked == true )
  {
      document.getElementById("normal_username").style.color="#C4C4C4";
      document.getElementById("idtexteintrag").focus();
  }
}


function CreateControl(DivID, CLSID, ObjectID, ccWIDTH, ccHEIGHT, ccURL, AUTOSTART) {
  var d = document.getElementById(DivID);
  d.innerHTML = '<object classid='+CLSID+' id='+ObjectID+' width='+ccWIDTH+' height='+ccHEIGHT+'> <param name="URL" value='+ccURL+'><param name="autoStart" value='+AUTOSTART+'/>';
}


function write_zeppelin(session,browsertyp){
    if (browsertyp === "IE") {
    	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="440" height="349">');
    	document.write('<param name="movie" value="zeppelin/load.swf" />');
    	document.write('<param name=FlashVars value="userid=' + session + '">');
    	document.write('<param name="quality" value="high" />');
    	document.write('<param name="bgcolor" value="#6ABFE7" />');
    	document.write('<param name="Autostart" value="-1" />');
    	document.write('<param name="allowScriptAccess" value="sameDomain" />');
    	document.write('<p>Kein Flash - IE?</p>');
    	document.write('</object>');
    } else {
        document.write('<object type="application/x-shockwave-flash" data="zeppelin/load.swf" width="440" height="349">');
    	document.write('<param name="movie" value="zeppelin/load.swf" />');
        document.write('<param name=FlashVars value="userid=' + session + '">');
        document.write('<param name="quality" value="high" />');
        document.write('<param name="bgcolor" value="#6ABFE7" />');
        document.write('<param name="allowScriptAccess" value="sameDomain" />');
    	document.write('<p>Kein Flash - FF?</p>');
    	document.write('</object>');
    }
}



function write_header(wert1, wert2, wert3, wert4){
	document.write('<object type="application/x-shockwave-flash" data="img/header_dummy.swf?r=' + wert1 + '" width="800" height="164" id="Header" title="Header">');
	document.write('<param name="allowScriptAccess" value="sameDomain" />');
	document.write('<param name=FlashVars value="userName=' + wert2 + '&myMails=' + wert3 + '">');
	document.write('<param name="movie" value=img/header_dummy.swf?r=' + wert4 + ' />');
	document.write('<param name="quality" value="high" />');
	document.write('<param name="bgcolor" value="#6ABFE7" />');
	document.write('</object>');
}

function winOpen(url, breite, hoehe) { 

      // Popup zentrieren 
      links = (screen.width/2)-(breite/2); 
      oben = (screen.height/2)-(hoehe/2); 

      window.open(url,"popup","height="+hoehe+",width="+breite+",status = no,toolbar = no,menubar = no,location = no,resizable = no,titlebar = no,scrollbars = no,fullscreen = no,top ="+oben+",left ="+links); 
   } 


-->