﻿ root = "http:\/\/10.21.0.155\/web\/glatz\/glatz-galabau.de_neu";
 root = "";

 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 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;
 }
}

 function fenster(fenstername, datei, pfad, w, h, scroller) {
//	 if (typeof(gross)!="undefined") gross.close();
  if (scroller!=0) scroller = "auto"; else scroller ="no";
  if (pfad!="") {
   if (pfad.substring(0,4) == "http")
    pfad+= "\/";
   else
    pfad = root+"\/"+pfad;
   gross = window.open( pfad+datei, fenstername, "dependent=no, width=" +w+ ", height=" +h+ ", menubar=yes, resizable=yes, scrollbars=" +scroller+ ", status=yes, toolbar=no, location=no");
  }
 }

 function inlineloadbild(pfad,bild) {
  inline.location.href=root+"/"+pfad+"/"+bild;
 }

 function inlineloadseite(pfad, seite, para) {
  if (typeof(para)=="undefined" || para =="")  inline.location.href=root+"/"+pfad+"/"+seite;
  else  inline.location.href=root+"/"+pfad+"/"+seite+"?"+para;
 }

