<!--
var emails = new Array();
// Specify text and corresponding email address
// Use [at] and [dot] in place of "@" and "." for anti spam purpose
emails[0]=["Hubert Baier", "hubert_baier[at]t-online[dot]de"];
emails[1]=["Erwin K&#252;ppers", "helga-kueppers[at]t-online[dot]de"];
emails[2]=["Frank Obrowski", "frank.obrowski[at]t-online[dot]de"];
emails[3]=["Kurt Schlenker", "kurtschlenker[at]gmx[dot]de"];
emails[4]=["Dieter Beckert", "gabudie[at]gmx[dot]de"];
emails[5]=["Raphael Untersinger", "die5u[at]t-online[dot]de"];
emails[6]=["Mario Stark", "Mario.Stark1[at]gmx[dot]net"];
emails[7]=["G&#252;nter Bruder", "fliesen-bruder[at]gmx[dot]de"];
emails[8]=["Paul Happle", "paul.happle[at]alcan[dot]com"];
emails[9]=["Harald Kienzler", "harald.kienzler[at]t-online[dot]de"];
emails[10]=["Gunter Rothermund", "gunter.ro[at]web[dot]de"];

function linkmail(emailarray, cssclass, extrainfo) {
   document.write('<span class="' + cssclass + '">\n');
   // if array passed consists of multiple elements
   if (typeof emailarray[0] == "object") {
      for (i=0; i<emailarray.length; i++) {
         var seperator = (i < emailarray.length - 1) ? extrainfo : "";
         document.write('<a href="mailto:' + parsemail(emailarray[i][1]) + '">' + emailarray[i][0] + '</a>' + seperator);
      }
   }
   // else if it is a single array element
   else {
      document.write('<a href="mailto:' + parsemail(emailarray[1]) + '">' + emailarray[0] + '</a>');
   }
   document.write('</span>');
}

function textmail(emailarray, cssclass, extrainfo) {
   document.write('<span class="' + cssclass + '">\n');
   // if array passed consists of multiple elements
   if (typeof emailarray[0] == "object") {
      for (i=0; i<emailarray.length; i++) {
         var seperator = (i < emailarray.length - 1) ? extrainfo : "";
         document.write(parsemail(emailarray[i][1]) + seperator);
      }
   }
   // else if it is a single array element
   else {
      document.write(parsemail(emailarray[1]));
   }
   document.write('</span>');
}

function parsemail(emailitem) {
   var modified = emailitem.replace(/\[at]/gi, "@");
   modified = modified.replace(/\[dot]/gi, ".");
   return modified;
}

function openPopupWindow(title, page, width, height) {
   var yes = 1;
   var no = 0;
   var width = width + 30;
   var height = height + 80;

   var chasm = screen.availWidth;
   var mount = screen.availHeight;

   var menubar = no;      // The File, Edit, View Menus
   var scrollbars = no;   // Horizontal and vertical scrollbars
   var locationbar = no;  // The location box with the site URL
   var resizable = no;    // Can the window be resized?
   var statusbar = no;    // Status bar (with "Document: Done")
   var toolbar = no;      // Back, Forward, Home, Stop toolbar

   windowprops = "width=" + width + ",height=" + height + ",left=" + ((chasm - width - 10) * .5) + ",top=" + ((mount - height - 30) * .5);

   windowprops += (menubar ? ",menubar=yes" : ",menubar=no") +
      (scrollbars ? ",scrollbars=yes" : ",scrollbars=no") +
      (locationbar ? ",locationbar=yes" : ",locationbar=no") +
      (resizable ? ",resizable=yes" : ",resizable=no") +
      (statusbar ? ",status=yes" : ",status=no") +
      (toolbar ? ",toolbar=yes" : ",toolbar=no");

   var PopupWindow = window.open('', 'PopupWindow', windowprops);
   PopupWindow.document.write('<html>');
   PopupWindow.document.write('<head><title>' + title + '</title></head>');
   PopupWindow.document.write('<link rel="stylesheet" href="./css/stylesheet_orange.css" type="text/css" title="stylesheet">');
   PopupWindow.document.write('<body>');
   PopupWindow.document.write('<table width="100%" border="0" cellspacing="0" cellpadding="0">');
   PopupWindow.document.write('<tr><td align="center">');
   PopupWindow.document.write('<img src="' + page + '" border="0" alt="' + title + '"/>');
   PopupWindow.document.write('</tr></td>');
   PopupWindow.document.write('<tr><td>&#160;</td></tr>');
   PopupWindow.document.write('<tr><td align="center">');
   PopupWindow.document.write('<p><a href="javascript:self.close()"><div class="small">Schliessen</div></a></p>');
   PopupWindow.document.write('</tr></td>');
   PopupWindow.document.write('</body>');
   PopupWindow.document.write('</html>');
   PopupWindow.document.close();

   if ((document.window != null) && (!PopupWindow.opener)) {
      PopupWindow.opener = document.window;
      PopupWindow.focus();
   }
   else {
      if (PopupWindow.blur) {
         PopupWindow.focus();
      }
   }
}

//-->

