
/* hidemail -------------------------------------------------------------------
        Purpose: hide e-mail address from spam-robots
        Parameter 'what' may be left out when calling - will be "undefined" in the mail
*/
        function adresseverstecken(name, addresse, betreff) {
                where = name + "@" + addresse;
                document.location = "mailto:" + where + "?subject=" + betreff;
        }


/* debug (msg) ----------------------------------------------------------------
  Purpose: open a window the first time we are called,
           or after an existing console window has been closed.
  Usage:
           var _console = null;
           ...
           debug ("whatever you want to display");
*/
function debug(msg) {
  if ((_console == null) || (_console.closed)) {
    _console = window.open("","console","width=600,height=200,resizable");
    _console.document.open("text/plain");
  }
    _console.document.writeln(msg);
}