<!--
function setDisplay(id, visible) {
var div;

if (document.all)
{
	  if (id != "ht1") document.all["ht1"].style.display = "none";
	  if (id != "ht2") document.all["ht2"].style.display = "none";
	  if (id != "ht3") document.all["ht3"].style.display = "none";
	  if (id != "ht4") document.all["ht4"].style.display = "none";
	  if (id != "ht5") document.all["ht5"].style.display = "none";
      div = document.all[id];
}
else if (document.getElementById)
{
      if (id != "ht1") document.getElementById("ht1").style.display = "none";
      if (id != "ht2") document.getElementById("ht2").style.display = "none";
      if (id != "ht3") document.getElementById("ht3").style.display = "none";
      if (id != "ht4") document.getElementById("ht4").style.display = "none";
      if (id != "ht5") document.getElementById("ht5").style.display = "none";
      div = document.getElementById(id);
}

if (div) div.style.display = (visible == true) ? "block" : "none";
}

function toggleDisplay(id) {
var div;

if (document.all)
{
	  if (id != "ht1") document.all["ht1"].style.display = "none";
	  if (id != "ht2") document.all["ht2"].style.display = "none";
	  if (id != "ht3") document.all["ht3"].style.display = "none";
	  if (id != "ht4") document.all["ht4"].style.display = "none";
	  if (id != "ht5") document.all["ht5"].style.display = "none";
      div = document.all[id];
}
else if (document.getElementById)
{
      if (id != "ht1") document.getElementById("ht1").style.display = "none";
      if (id != "ht2") document.getElementById("ht2").style.display = "none";
      if (id != "ht3") document.getElementById("ht3").style.display = "none";
      if (id != "ht4") document.getElementById("ht4").style.display = "none";
      if (id != "ht5") document.getElementById("ht5").style.display = "none";
      div = document.getElementById(id);
}

if (div)
{
	if (div.style.display == "block") div.style.display = "none";
	else div.style.display = "block";
}
}

function logindefault_de()
{
var term;
if (document.all) term = document.all["Login__tb_username"];
else if (document.getElementById) term = document.getElementById("Login__tb_username");
term.value = "Benutzer";

if (document.all) term = document.all["Login__tb_password"];
else if (document.getElementById) term = document.getElementById("Login__tb_password");
term.type = "text";
term.value = "Passwort";
}

function logindefault_en()
{
var term;
if (document.all) term = document.all["Login__tb_username"];
else if (document.getElementById) term = document.getElementById("Login__tb_username");
term.value = "User";

if (document.all) term = document.all["Login__tb_password"];
else if (document.getElementById) term = document.getElementById("Login__tb_password");
term.type = "text";
term.value = "Password";
}

function del_logindefault()
{
var term;
if (document.all) term = document.all["Login__tb_username"];
else if (document.getElementById) term = document.getElementById("Login__tb_username");
if (term.value == "User" || term.value == "Benutzer") term.value = "";
term.style.color = "#000000";

if (document.all) term = document.all["Login__tb_password"];
else if (document.getElementById) term = document.getElementById("Login__tb_password");
if (term.value == "Password" || term.value == "Passwort") term.value = "";
term.type = "password";
term.style.color = "#000000";
}

function del_searchdefault()
{
var term;
if (document.all) term = document.all["tb_text"];
else if (document.getElementById) term = document.getElementById("tb_text");

if (term.value == "Suchbegriff") term.value = "";
}

function popup(url,name,eigenschaften,hoehe,breite)
    {
	var einstellung = eigenschaften + hoehe + breite;
	var h = hoehe.substring(7, hoehe.length - 1);
	h *= 1;
	h += "";
	var b = breite.substring(6, breite.length);
	b *= 1;
	b += "";
    newwin = window.open(url,name,einstellung);
	if(version > 1.1)
        {
	    newwin.resizeTo(b, h);
        }
    if(version > 1.0)
        {
        setTimeout('newwin.focus();',200);
        }
    }

function delete_check()
{
if (confirm("Wollen Sie die Eingaben tatsächlich löschen?"))
{
return true;
}
else return false;
}

function unsubscribe_check()
{
if (confirm("Wollen Sie sich tatsächlich abmelden?"))
{
return true;
}
else return false;
}

function delete_check_en()
{
if (confirm("Do you really want to delete your inputs?"))
{
return true;
}
else return false;
}

function delete_check_it()
{
if (confirm("Do you really want to delete your inputs?"))
{
return true;
}
else return false;
}

function unsubscribe_check_en()
{
if (confirm("Do you really want to unsubscribe?"))
{
return true;
}
else return false;
}

function unsubscribe_check_it()
{
if (confirm("Do you really want to unsubscribe?"))
{
return true;
}
else return false;
}

//-->

