function OpenWin( url, h, w ,fenstername,noscrollbar,nostatus) {
              if (self.location.search!="" && self.location.search!="?") {
                  if (url.indexOf("?")==-1) url=url+self.location.search;
                    else url=url.split("?")[0]+self.location.search+"&amp;"+url.split("?")[1]; }
                  if (parseInt(h).toString()=="NaN") h=500;
              if (parseInt(h)<210) h=250;
              if (parseInt(w).toString()=="NaN") w=395;
              if (parseInt(w)<210) w=385;

                  if (!fenstername || fenstername=="") fenstername="popup";
                  if (noscrollbar==1) {var scrollbar="no"; } else {var scrollbar="yes"; }
                  if (nostatus==1) {var varstatus="no"; } else {var varstatus="yes"; }
                  popup=window.open(url,fenstername,"height=" + h + ",width=" + w + ",resizable=no,scrollbars="+scrollbar+",status="+varstatus+",menubar=no,left=145,top=130");

                if (url.indexOf("hr.telekom.de")==-1 && self.location.href.indexOf("search.t-systems.com")==-1) {
                // popup.moveTo(170,130);
                  popup.focus();
                        }

        }

ablage="/ipl2/statics/772/images/"
function pic_set(strImgObj, strImgSrc, lay1, lay2) {

  if ( document.images && document.images[strImgObj] != null ) {
    document.images[strImgObj].src = ablage + strImgSrc;
  }
  else {
    if ( lay1 ) {
      if ( lay2 ) { window.document.layers[lay1].document.layers[lay2].document.images[strImgObj].src = ablage + strImgSrc; }
      else { window.document.layers[lay1].document.images[strImgObj].src = ablage + strImgSrc; }
    }
  }
}

function pic_set2(strImgObj, strImgSrc, lay1, lay2) {
// pfadangabe wird mit angegeben
  if ( document.images && document.images[strImgObj] != null ) {
    document.images[strImgObj].src = "" + strImgSrc;
  }
  else {
    if ( lay1 ) {
      if ( lay2 ) { window.document.layers[lay1].document.layers[lay2].document.images[strImgObj].src = "" + strImgSrc; }
      else { window.document.layers[lay1].document.images[strImgObj].src = "" + strImgSrc; }
    }
  }
}

function url(ziel,zielfenster,hoehe,weite,bereich)
{

    if (ziel=="") return;

   if (ziel.indexOf(";")>-1) {
    var zielelemente=ziel.split(";");

    ziel=zielelemente[0];
    if (zielelemente[1]) zielfenster=zielelemente[1];
    if (zielelemente[2]) hoehe=zielelemente[2];
    if (zielelemente[3]) weite=zielelemente[3];

}

if (zielfenster==void(0)) {zielfenster="_self"};

   ziel=ziel.replace("?=&","")

   if (zielfenster=="OpenWin" && ziel.indexOf("GuidedTours")==-1) {
      OpenWin(ziel,hoehe,weite);
      return;
      }

    var anhang=self.location.search;
    if (anhang.indexOf("?=&")==0) anhang="?"+anhang.substring(3);

   if (self.location.search!="" && anhang!="" && zielfenster!="_blank") {



      if (ziel.indexOf("?")==-1) ziel=ziel+anhang;

      else {

        ziel=ziel.split("?")[0]+anhang+"&"+ziel.split("?")[1];

      }

   }

   if (ziel.indexOf("GuidedTours")>-1) window.open(ziel,"Guid01da","width=778,height=545,resizable=0,scrollbars=0,status=0,menubar=0,left=145,top=130");
   else if (zielfenster=="_top") top.location.href=ziel;

   else if (zielfenster=="_self") {self.location.href=ziel;}

   else if (zielfenster=="_parent") parent.location.href=ziel;

   else if (zielfenster=="_blank") window.open(ziel,"_blank");

   else if (top.frames && top.frames[zielfenster]) {
    top.frames[zielfenster].location.href=ziel;

        }

}

function FocusSolutions()
{
   url = "http://www.t-systems.de/TSI/cda/Index/0,,-1788,00.html";
   rooturl = "http://www.t-systems.de/TSI/cda/Index/0,,-1788,00.html";

   window.open(""+rooturl+"");
   top.blur();
}

function drucken(sprache)
{
 if (window.print) {
  window.print();
 }
  else {
   if (document.all && navigator.platform.toLowerCase()=="win32") {

          self.focus();
          var OLECMDID_PRINT = 6;
          var OLECMDEXECOPT_DONTPROMPTUSER = 2;
          var OLECMDEXECOPT_PROMPTUSER = 1;
          var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH="0" HEIGHT="0" CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
          document.body.insertAdjacentHTML('beforeEnd',WebBrowser);
          WebBrowser1.ExecWB(OLECMDID_PRINT,OLECMDEXECOPT_DONTPROMPTUSER);
          WebBrowser1.outerHTML = '';
   } else { if (sprache && sprache.charAt(0)=="e") alert("Please, use the print function of your browser."); else alert("Bitte verwenden Sie die Druckfunktion Ihres Browsers.");}

  }

}

function schliessen()
{
 if (self!=top) top.close(); else self.close();
}



function setzeParameter()
{

if (self.location.search=="" || self.location.search=="?") return;
var anhang=self.location.search;

if (anhang.indexOf("?=&")==0) anhang="?"+anhang.substring(3);

for (var i=0;i<document.links.length;i++)
{
 document.links[i].href=document.links[i].href.replace("?=&","")

if
(document.links[i].href.toLowerCase().indexOf(self.location.hostname)>-1
&& document.links[i].href.toLowerCase().indexOf("javascript:")==-1 &&
document.links[i].href.toLowerCase().indexOf("mailto:")==-1) {

//URL-Text Korrektur IE
var merke=false;
if (document.links[i].innerText) merke=document.links[i].innerText

//ende Korrektur

if (document.links[i].href.indexOf("?")==-1)
document.links[i].href=document.links[i].href+anhang;
else
document.links[i].href=document.links[i].href.split("?")[0]+anhang+"&"+document.links[i].href.split("?")[1];

//URL-Text Korrektur IE

if (merke && document.links[i].innerText!=merke)
document.links[i].innerText=merke;

//Ende Korrektur
}
}
}

function logout(url)
{
  top.location.href = url;
}
