boxBuilder=0; specialTrackingPrefix=""; function buildToolBox(boxPosition,printOpt,sendafriendOpt,bookmarkOpt,feedbackOpt,trckPrefix) { if (trckPrefix) specialTrackingPrefix=trckPrefix+"_"; if (boxBuilder==0) { boxBuilder++; document.writeln(""); document.writeln(""); } extraPadding=""; if (boxPosition=="bottom") extraPadding=" padding-top:10px;"; document.writeln("
"); document.write("
 
"); document.write("
"); buttonMargin=6; if (printOpt!="OFF") { document.write(""); document.write("Print this page"); buttonMargin=10; document.write(""); } if ("ON"!="OFF" && sendafriendOpt!="OFF") { //https://secure.deutsche-bank.de/pbc/seiteweiterempfehlen/index.jsp document.write("Recommend this page"); buttonMargin=6; } if ("ON"!="OFF" && bookmarkOpt!="OFF") { document.write("Add bookmark"); buttonMargin=6; } if ("ON"!="OFF" && feedbackOpt!="OFF") { //https://secure.deutsche-bank.de/feedbackmanager/ document.write("Vote this page"); buttonMargin=6; } document.write("
"); // document.write("
"); document.write(""); } /* handle print click */ function openPrintPopup() { printPopup=window.open('/en/content/print_version.htm','trgpopup','width=635,height=600,scrollbars=yes,resizable=no'); printPopup.focus(); sendTrackingRequest('service',specialTrackingPrefix+'print'); } /* handle >send a friend< klick */ function doSendAFriend() { uriAnnex=encodeURIComponent(" - "+document.getElementsByTagName("title")[0].innerHTML); loadToolBoxIFrame("https://secure.deutsche-bank.de/pbc/seiteweiterempfehlen/index.jsp?lang=en&decorator=dbag&url="+window.location.href+uriAnnex,"ToolBoxJS","736","490"); sendTrackingRequest('service',specialTrackingPrefix+'recommend'); } /* handle >feedback< klick */ function doFeedback() { loadToolBoxIFrame("https://secure.deutsche-bank.de/feedbackmanager/?id=78&lang=en&decorator=dbag&","ToolBoxJS","736","700"); sendTrackingRequest('service',specialTrackingPrefix+'feedback'); } /* handle >bookmark< klick */ function doBookmark() { ap=navigator.appName; url=location.href; t=getElementsByTagName("title")[0].innerHTML; if (window.sidebar) { window.sidebar.addPanel(t,url,''); } else if (window.external) { window.external.AddFavorite(url,t); } else if (window.addNet) { addNet(url,t); } else { alert("Your browser doess not support this functionality.\nPlease add the bookmark manually."); } sendTrackingRequest('service',specialTrackingPrefix+'bookmark'); } function loadToolBoxIFrame(boxSrc,boxID,boxWidth,boxHeight) { document.getElementById("closeButton").style.display="none"; document.getElementById("primer"+boxID).style.width="0px"; document.getElementById("primer"+boxID).style.height="0px"; document.getElementById("toolBoxIFrame"+boxID).style.width="0px"; document.getElementById("toolBoxIFrame"+boxID).style.height="0px"; document.getElementById("toolBoxIFrame"+boxID).src=boxSrc; document.getElementById("toolBoxIFrame"+boxID).style.width=boxWidth+"px"; document.getElementById("toolBoxIFrame"+boxID).style.height=boxHeight+"px"; document.getElementById("primer"+boxID).style.width=boxWidth+"px"; document.getElementById("primer"+boxID).style.height=boxHeight+"px"; window.scrollTo(100, 100); pageActiveSwitch('ON',boxID,'others'); } function buildFontSizeButtons() { document.write(""); document.write("Text size small"); document.write("Text size medium"); document.write("Text size large"); document.write("Change contrast"); }