/* Werbetext*/
window.defaultStatus = " WWW.webdaum.de      Wir gestalten programmieren und pflegen Webauftritte";

/* Neues Fenster */

function Linktausch() {
 NeuFenster =
 window.open("../../html/links_downloads/linktausch.htm", "Fenster1", "width=600,height=500");
 NeuFenster.focus();
}


function Gaestebuch() { 
 BuchFenster =
 window.open("../../html/kontakt/gaestebuch.htm", "Fenster2", "width=600,height=500"); 
 BuchFenster.focus();
}

/* DHTML-Bibliothek */

var name = navigator.appName;
var vers = navigator.appVersion;
var ua = navigator.userAgent;

var DHTML = 0, DOM = 0, MS = 0, NS = 0, OP = 0, OP6 = 0, NS6 = 0;

function verOP() {
  var pos = ua.indexOf("Opera");
  var string = ua.substring(pos + 6, pos + 9);
  return parseFloat(string);         
}
function DHTML_init() {

 if(window.opera) {
   OP = 1;
 }   
 if(OP== 1 && verOP() < 7) {
   OP6 = 1;
 }
 if(document.getElementById) {
   DHTML = 1;
   DOM = 1;
 }
 if(document.all && !OP) {
   DHTML = 1;
   MS = 1;
 }
if((name == "Netscape") && (parseFloat(vers) < 6)) {
   NS6 == 1;
 }
if(document.layers && !OP) {
   DHTML = 1;
   NS = 1;
 }
}

DHTML_init();

/* CSS-Drop-down-Menus auch im IE und alten Browsern ausklappen: */



function show(objekt) {
  if (MS||OP6||NS6) {
    var obj=objekt;
    obj.getElementsByTagName("ul")[0].style.display="block";
  } 
}
function hide(objekt) {
  if (MS||OP6||NS6) {
    var obj=objekt;
    obj.getElementsByTagName("ul")[0].style.display="none";
  } 
}

