// Globale Variable:
 var root = "http:\/\/10.21.0.155\/web/frank\/architekt-frank.de";  // für localhost
 var root = "";   // für online
 self.name = "hauptfenster";

function mailing(name, domain, klasse) {
 adresse = name + String.fromCharCode(64) + domain;
 if (typeof(klasse!="undefined")) klasse = "class=\"" + klasse + "\" "; else klasse="";
 document.write("<a " + klasse + "href=\"mailto:" + adresse + "\">" + adresse + "<\/a>");
}

function fenster(datei, pfad, w, h, scroller) {
 if (typeof(gross)!="undefined") gross.close();
 if (typeof(scroller)=="undefined" || scroller=="") scroller = "no"; else scroller ="auto";
 gross = window.open(datei, "_blank", "width="+ w +", height="+ h +",dependent=no,  menubar=no, resizable=yes, scrollbars="+scroller+", status=yes, toolbar=no, location=no");
}


function showDivs(stripped_divs,modus) {
 div = stripped_divs.split(",");
 var was;
 if (modus==0)  was = "hidden";
 if (modus==1)  was = "visible";
 for (i=0;i<div.length;i++) {
  document.getElementById(div[i]).style.visibility = was;
 }
}

