function showHide(id)
{ var e = document.getElementById(id);
  e.style.display = (e.style.display == 'block') ? 'none' : 'block';
}
function tgglBullet(e)
{ var cl = (e.getAttribute("className") > "")? cl = "className" :	cl="class";
  if (e.getAttribute(cl) == "plus") e.setAttribute(cl,"minus");
  else e.setAttribute(cl,"plus");
}
function hideElements(e,cl)
{ document.writeln ('<style type="text\/css">'+e+'.'+cl+' \{display:none\;\}<\/style>'); }

function cl_name()
{ return document.getElementsByTagName("p")[0].getAttribute("className") != null?
         "className": "class";
}
function getXMLHTTPpObj()
{ var XMLHTTP=null;
  try { XMLHTTP=new XMLHttpRequest(); } // Firefox, Opera 8.0+, Safari
    catch (e)
    { try { XMLHTTP=new ActiveXObject("Msxml2.XMLHTTP"); } //IE
        catch (e)
        { try { XMLHTTP=new ActiveXObject("Msxml.XMLHTTP"); } //IE alt
            catch (e)
            { try { XMLHTTP=new ActiveXObject("Microsoft.XMLHTTP"); } //IE ganz alt
                catch(e) //gar nix
                { XMLHTTP=null; }
    }   }   }
    return XMLHTTP;
}
if(window!=top) top.location.replace(location.href);
window.name="StaLa";
window.focus();
function sucheSenden ()
{ if(document.search.S.value=="Suchbegriff") return true;
  os_eventOnsubmit();
  document.search.submit();
  return false;
}
function jApplet(RS,TH,UT,SP)
{ window.open('/intermaptiv/home.asp?RS='+RS+'&TH='+TH+'&UT='+UT+'&SP='+SP, 'regKarte', 'scrollbars=yes,resizable=yes,status=0,width=1012,height=736');
  return false;
}
