var altertip = "";
var i = 0;

function einblenden(tooltip)
{
  if (ns) tooltip.visibility = "show";
  if (ie) tooltip.visibility = "visible";
  altertip = tooltip;
}

function ausblenden(tooltip)
{
  if (ns) tooltip.visibility = "hide";
  if (ie) tooltip.visibility = "hidden";
}

function warnung()
{
  i = 1;
}

function loesen()
{
  i = 0;
}

function warnen(h) {
if (i == 1){
text.top = h;
{
  if (ns) text.visibility = "show";
  if (ie) text.visibility = "visible";
  setTimeout("ende()", 1500);
}
}}

function ende()
{
  if (ns) text.visibility = "hide";
  if (ie) text.visibility = "hidden";
}

function korrektur() {
if (i == 1){
document.auswahl.splitter.checked = false;
document.auswahl.heizbar.checked = false;
document.auswahl.emv.checked = false;
document.auswahl.entsp[0].checked = true;
document.auswahl.entsp[1].checked = false;
}}



function init()
{
  if (document.layers)  { ns = 1; ie = 0; } else { ns = 0; ie = 1; }
  if (ns)
  {
    tt1 = document.chem;
    tt2 = document.opt;
    tt3 = document.heiz;
    text = document.warnungstext
  }

  if (ie)
  {
    tt1 = chem.style;
    tt2 = opt.style;
    tt3 = heiz.style;
    text = warnungstext.style;
  }
//  document.auswahl.material[0].checked = true;
//  document.auswahl.material[1].checked = false;
}
