<!--
/*  */
function setElement(eID,ifStyle,funct,wert){
    if (document.getElementById){
        if (ifStyle == 1){
            var newElement = document.getElementById(eID).style;
        }
        else {
            var newElement = document.getElementById(eID);
        }
        newElement[funct] = wert;
    }
}
var contentOld="";
var boxesId = new Array();
function setElementId(id) {
    if (contentOld == "") contentOld = id;
    boxesId[boxesId.length] = id;
}
function initQuickBoxes() {
    for (var i=0; i<boxesId.length; i++){
        if (boxesId[i] != contentOld) setElement(boxesId[i],0,"className","content content_hidden");
    }
}
function getContent(contentID){
    if (contentOld != ""){
        setElement(contentOld,0,"className","content content_hidden");
    }
    setElement(contentID,0,"className","content content_visible");
    contentOld = contentID;
}

function printThisPage() {

    var sContactDataHTML = 'making-EXPerts.de ist das Expedientenportal von<br />DERTOUR, MEIERS WELTREISEN und ADAC Reisen!<br /><br /><table><tr><td width="210">Postanschrift:<br />Emil-von-Behring-Stra&szlig;e 6<br />60439 Frankfurt am Main</td><td>Tel.: +49 (0) 69 9588-00<br />Fax: +49 (0) 69 9588-1010<br />Internet: www.makingexperts.de </td></tr></table>';
    var sOption="toolbar=no,location=no,directories=no,menubar=no,scrollbars=yes,width=600,height=600,left=100,top=25"; 
    var sWinHTML = document.getElementById('content_middle').innerHTML;
    var sWinHTML2 = document.getElementById('breadcrumb').innerHTML;
    var strBereich = document.title;
    var strBody = document.body.className;
    
    var winprint=window.open("","",sOption); 
       winprint.document.open(); 
       winprint.document.write('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">');
       winprint.document.write('<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">');
       winprint.document.write('<head><!-- PageID 8 - published by Open Text Web Solutions 10.1 - 10.1.1.284 - 33898 --><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />');
       winprint.document.write('<title>' + document.title + '</title><link rel="stylesheet" href="/xchg/SID-3E8DD8EA-288AAF3D/making-experts/hs.xsl/screen.css" type="text/css" /><link rel="stylesheet" href="/xchg/SID-3E8DD8EA-288AAF3D/making-experts/hs.xsl/print.css" type="text/css" /></head><bo'+'dy class="'+strBody+'">'); 
       winprint.document.write('<div style="width: 526px; text-align: right; padding: 25px 0 20px 0; margin-left: 20px;"><div class="link"><a href="#" onclick="window.print(); return false;">Jetzt drucken <img src="/xbcr/SID-3E8DD8EA-288AAF3D/making-experts/icon_pfeil_kl.gif" width="8" height="8" alt="" border="0" /></a></div></div>');
       winprint.document.write('<div style="width: 526px; text-align: center; border-top: 1px dotted #000; border-bottom: 1px dotted #000; margin: 0 20px;"><img src="/xbcr/SID-3E8DD8EA-288AAF3D/making-experts/content_print_head.png" width="526" height="88" border="0" /></div>');
       winprint.document.write('<div class="content_artikel" id="content_artikel"><div class="content_middle" id="content_middle">');
       winprint.document.write('<div class="breadcrumb" id="breadcrumb">'+sWinHTML2+'</div><div id="printable">'+sWinHTML+'</div><div style="width: 526px; border-top: 1px dotted #000; padding: 20px 0;">' + sContactDataHTML + '</div>');
       winprint.document.write('<div style="width: 526px; text-align: right; padding: 25px 0 20px 0; border-top: 1px dotted #000;"><div class="link"><a href="#" onclick="window.print(); return false;">Jetzt drucken <img src="/xbcr/SID-3E8DD8EA-288AAF3D/making-experts/icon_pfeil_kl.gif" width="8" height="8" alt="" border="0" /></a></div></div>');
       winprint.document.write('</div></div></body></html>');
       winprint.document.close(); 
       winprint.focus();

}

function setFontSize(x){
    if (x=="negativ"){
        if (document.body.className=="bigger"){
            fontClass="big";
            document.body.className="big";
        }
        else if (document.body.className=="big"){
            fontClass="small";
            document.body.className="small";
        }
        else if (document.body.className=="small" || document.body.className=="smaller"){
            fontClass="smaller";
            document.body.className="smaller";
        }
    }
    
    if (x=="positiv"){
        if (document.body.className=="big" || document.body.className=="bigger"){
            fontClass="bigger";
            document.body.className="bigger";
        }
        else if (document.body.className=="small"){
            fontClass="big";
            document.body.className="big";
        }
        else if (document.body.className=="smaller"){
            fontClass="small";
            document.body.className="small";
        }
    }
    
    
    var datum = new Date();
    var ablauf = datum.getTime() + (365 * 24 * 60 * 60 * 1000);
    datum.setTime(ablauf);
    
    document.cookie="Schrift="+fontClass+"; path=/; expires="+datum.toGMTString();
    
    
}
function initFontSize(){
    var getVar = new Array();
    var schriftClass = 'big';
    var allCookies=document.cookie;
    var params = unescape(allCookies).split(";");
    var res_search = false;
    
    for(i=0; i<params.length; i++) {
        param = params[i].split("=");
        param[0] = param[0].replace(/ /g, "");
        getVar[param[0]] = param[1];
        if (param[0] == 'Schrift') res_search = true;
    }
    
    var datum = new Date();
    var ablauf = datum.getTime() + (365 * 24 * 60 * 60 * 1000);
    datum.setTime(ablauf);
    
    if (res_search == true) schriftClass = getVar["Schrift"];
    
    document.body.className = schriftClass;
}
function _goto(value){
    if (value!="") {
        document.location.href = "#"+value;
    }
}
// Klappnavigation
function d_obj (id){
  if (document.layers) {
      return document.layers[id];
  } else if (document.all) {
      return document.all[id];
  } else if (document.getElementById) {
      return document.getElementById(id);
  } else {
      return false;
  }
}  
function d_style(id){
  if (document.layers) {
      return this.d_obj(id);
  } else if (document.all || document.getElementById) {
      if (this.d_obj(id)) return this.d_obj(id).style;
      else return false;
  } else {
      return false;
  }
}

function showItem(item_id){
      if (d_obj(item_id)) {
            d_style(item_id).display = "block";
      }
}
function hideItem(item_id){
      if (d_obj(item_id)) {
            d_style(item_id).display = "none";
      }
}
// -->

if(typeof openwindow== 'undefined') {
  function openwindow(t_url,sbars,width,height) {
    var wx, wy;
    if (sbars == 1) {
    scrollb = "scrollbars=yes,";
    } else {
    scrollb = "";
    }
    if (screen.availWidth >= width) {
    wx = (screen.availWidth - width) / 2;
    } else {
    wx = 0;
    }
    if (screen.availHeight >= height) {
    wy = (screen.availHeight - height) / 2;
    } else {
    wy = 0;
    }
    window.open(t_url,'',scrollb + 'width=' + width + ',height=' + height + ',left=' + wx + ',top=' + wy + ',resizable=yes');
  }
}
