/* Copyright 2008 DAB bank AG */
﻿
function _isInteger(val){var digits="1234567890";for(var i=0;i<val.length;i++){if(digits.indexOf(val.charAt(i))==-1){return false;}}
return true;}
function _getInt(str,i,minlength,maxlength){for(var x=maxlength;x>=minlength;x--){var token=str.substring(i,i+x);if(token.length<minlength){return null;}
if(_isInteger(token)){return token;}}
return null;}
function getDateFromFormat(val,format){val=val+"";format=format+"";var i_val=0;var i_format=0;var c="";var token="";var token2="";var x,y;var now=new Date();var year=now.getYear();var month=now.getMonth()+1;var date=1;var hh=now.getHours();var mm=now.getMinutes();var ss=now.getSeconds();var ampm="";while(i_format<format.length){c=format.charAt(i_format);token="";while((format.charAt(i_format)==c)&&(i_format<format.length)){token+=format.charAt(i_format++);}
if(token=="yyyy"||token=="yy"||token=="y"){if(token=="yyyy"){x=4;y=4;}
if(token=="yy"){x=2;y=2;}
if(token=="y"){x=2;y=4;}
year=_getInt(val,i_val,x,y);if(year==null){return 0;}
i_val+=year.length;if(year.length==2){if(year>70){year=1900+(year-0);}
else{year=2000+(year-0);}}}
else if(token=="MMM"||token=="NNN"){month=0;for(var i=0;i<MONTH_NAMES.length;i++){var month_name=MONTH_NAMES[i];if(val.substring(i_val,i_val+month_name.length).toLowerCase()==month_name.toLowerCase()){if(token=="MMM"||(token=="NNN"&&i>11)){month=i+1;if(month>12){month-=12;}
i_val+=month_name.length;break;}}}
if((month<1)||(month>12)){return 0;}}
else if(token=="EE"||token=="E"){for(var i=0;i<DAY_NAMES.length;i++){var day_name=DAY_NAMES[i];if(val.substring(i_val,i_val+day_name.length).toLowerCase()==day_name.toLowerCase()){i_val+=day_name.length;break;}}}
else if(token=="MM"||token=="M"){month=_getInt(val,i_val,token.length,2);if(month==null||(month<1)||(month>12)){return 0;}
i_val+=month.length;}
else if(token=="dd"||token=="d"){date=_getInt(val,i_val,token.length,2);if(date==null||(date<1)||(date>31)){return 0;}
i_val+=date.length;}
else if(token=="hh"||token=="h"){hh=_getInt(val,i_val,token.length,2);if(hh==null||(hh<1)||(hh>12)){return 0;}
i_val+=hh.length;}
else if(token=="HH"||token=="H"){hh=_getInt(val,i_val,token.length,2);if(hh==null||(hh<0)||(hh>23)){return 0;}
i_val+=hh.length;}
else if(token=="KK"||token=="K"){hh=_getInt(val,i_val,token.length,2);if(hh==null||(hh<0)||(hh>11)){return 0;}
i_val+=hh.length;}
else if(token=="kk"||token=="k"){hh=_getInt(val,i_val,token.length,2);if(hh==null||(hh<1)||(hh>24)){return 0;}
i_val+=hh.length;hh--;}
else if(token=="mm"||token=="m"){mm=_getInt(val,i_val,token.length,2);if(mm==null||(mm<0)||(mm>59)){return 0;}
i_val+=mm.length;}
else if(token=="ss"||token=="s"){ss=_getInt(val,i_val,token.length,2);if(ss==null||(ss<0)||(ss>59)){return 0;}
i_val+=ss.length;}
else if(token=="a"){if(val.substring(i_val,i_val+2).toLowerCase()=="am"){ampm="AM";}
else if(val.substring(i_val,i_val+2).toLowerCase()=="pm"){ampm="PM";}
else{return 0;}
i_val+=2;}
else{if(val.substring(i_val,i_val+token.length)!=token){return 0;}
else{i_val+=token.length;}}}
if(i_val!=val.length){return 0;}
if(month==2){if(((year%4==0)&&(year%100!=0))||(year%400==0)){if(date>29){return 0;}}
else{if(date>28){return 0;}}}
if((month==4)||(month==6)||(month==9)||(month==11)){if(date>30){return 0;}}
if(hh<12&&ampm=="PM"){hh=hh-0+12;}
else if(hh>11&&ampm=="AM"){hh-=12;}
var newdate=new Date(year,month-1,date,hh,mm,ss);return newdate.getTime();}
function isDate(val){var date=getDateFromFormat(val,"dd.MM.yyyy");if(date==0){return false;}
return true;}
function setPageAtTop(){if(self.location!=top.location){top.location.href=this.location.href;}}
function reloadTopIfNotOnTop(){if(self.location!=top.location){top.location.reload();}}
function clearDefaultInputTxt(curObject){curObject.value="";}
function setDefaultInputTxt(curObject){if(curObject.value==""){curObject.value="Suchbegriff, WKN, ISIN";}}
function showContent(currentNode){var tab="tab";var content="Content";var currentTabId=document.getElementById(currentNode.parentNode.parentNode.id).id;var tabComponentID=currentTabId.substr(4,10);var i=1;while(document.getElementById(tab+i+tabComponentID)&&document.getElementById(tab+i+tabComponentID+content)){document.getElementById(tab+i+tabComponentID).className="tab";jQuery('#'+tab+i+tabComponentID+' .CornerLT').attr('src','/img/registerCornerLTW.gif');jQuery('#'+tab+i+tabComponentID+' .CornerRT').attr('src','/img/registerCornerRTW.gif');document.getElementById(tab+i+tabComponentID+content).className="tabContent";i++;}
if(document.getElementById(currentTabId)&&document.getElementById(currentTabId+content)){document.getElementById(currentTabId).className="tab tabActive";jQuery('#'+currentTabId+' .CornerLT').attr('src','/img/registerCornerLTW_dark.gif');jQuery('#'+currentTabId+' .CornerRT').attr('src','/img/registerCornerRTW_dark.gif');document.getElementById(currentTabId+content).className="tabContent contentActive";}}
function setEvent(){if(!document.getElementById||!document.getElementsByTagName)return false;var container=document.getElementById('colContainerWide');if(container){activeCommand=" activeLevel";plusMinus=container.getElementsByTagName('IMG');plusIconPath="/img/icon_plus.gif";minusIconPath="/img/icon_minus.gif";listElement=container.getElementsByTagName('LI');for(var i=0;i<plusMinus.length;i++){if(plusMinus[i].className=="plusminus"){plusMinus[i].onclick=function(){controllShowHideSublevel(this);};}}
if(document.getElementById("expand")&&document.getElementById("retract")){document.getElementById("expand").onclick=function(){showSublevel(2);};document.getElementById("retract").onclick=function(){hideSublevel(2);};}}}
function controllShowHideSublevel(currentObj){subLevel=getNextSibling(currentObj.parentNode);icon=currentObj;if(subLevel.className.indexOf(activeCommand)==-1){showSublevel(1);}
else{hideSublevel(1);}}
function showSublevel(showType){if(showType==1){subLevel.className+=" "+activeCommand;icon.src=minusIconPath;}
else{for(var i=0;i<listElement.length;i++){if(listElement[i].className.indexOf(activeCommand)==-1&&listElement[i].className.indexOf("level2")>-1){listElement[i].className+=activeCommand;icon=getFirstChild(getPreviousSibling(listElement[i]));icon.src=minusIconPath;}}}}
function hideSublevel(hideType){if(hideType==1){subLevel.className=subLevel.className.replace(activeCommand,"");icon.src=plusIconPath;}
else{for(var i=0;i<listElement.length;i++){if(listElement[i].className.indexOf(activeCommand)!=-1&&listElement[i].className.indexOf("level2")>-1){icon=getFirstChild(getPreviousSibling(listElement[i]));listElement[i].className=listElement[i].className.replace(activeCommand,"");icon.src=plusIconPath;}}}}
function getNextSibling(startBrother){endBrother=startBrother.nextSibling;while(endBrother!=null&&endBrother.nodeType!=1){endBrother=endBrother.nextSibling;}
return endBrother;}
function getPreviousSibling(startBrother){endBrother=startBrother.previousSibling;while(endBrother!=null&&endBrother.nodeType!=1){endBrother=endBrother.previousSibling;}
return endBrother;}
function getFirstChild(startChild){endChild=startChild.firstChild;while(endChild!=null&&endChild.nodeType!=1){endChild=endChild.nextSibling;}
return endChild;}
function openIdxChart(symbol){var temp=window.open(window.location.protocol+'//extis.dab-bank.de/dab_neu/aktieninvest/chart_popup.html?popup=1&spring=detail&detailSym='+symbol,'Chart','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=yes,width=660,height=460');temp.focus();}
function toggleNew(nr){for(var foo=1;foo<5;foo++){document.getElementById("chartPic"+foo).style.display=(nr==foo)?"block":"none";document.getElementById("chartnav"+foo).className=(nr==foo)?"reiterSel":"reiterNorm";}}
function showLargePic(PIC){var popup=window.open('','','toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,width=400,height=200,left=50,top=150');popup.document.write("<html><head><title>Bildbetrachter</title>");popup.document.write("<script language='javascript'>");popup.document.write("var NS = (navigator.appName.substring(0,8)=='Netscape')?true:false;");popup.document.write("function FitPic() {");popup.document.write("iWidth = (NS)?window.innerWidth:document.body.clientWidth;");popup.document.write("iHeight = (NS)?window.innerHeight:document.body.clientHeight;");popup.document.write("iWidth = document.images[0].width - iWidth;");popup.document.write("iHeight = document.images[0].height - iHeight;");popup.document.write("window.resizeBy(iWidth, iHeight);");popup.document.write("}  </script> </head>");popup.document.write("<body onload='FitPic();' style='margin:0px;' marginwidth='0' marginheight='0'><img src='"+PIC+"'name='largePic' alt='grosses Bild'></body></html>");popup.document.close();popup.focus();}
function popup(link,id,opt){var url=link.href;if(url=='')return true;popupW=window.open(url,id,opt);popupW.focus();return false;}
function openPopup(link,id,opt){if(link=='')return true;popupW=window.open(link,id,opt);popupW.focus();return false;}
function tabWidth($t){var tabComponentID=$t.attr('id').slice(3);if(tabComponentID=="")tabComponentID="1";if(navigator.appVersion.indexOf("MSIE 7.")==-1){var tab="tab";var i=1;while(document.getElementById(tab+i+'_'+tabComponentID)){i++;}
i=i-1;var completeWidth=document.getElementById("tab1_"+tabComponentID).parentNode.offsetWidth-1-(i*5);widthElement=new Array(i);for(j=0;j<i;j++){widthElement[j]=0;}
for(elementWidth=completeWidth;elementWidth>0;elementWidth--){var actualElement=elementWidth%i;widthElement[actualElement]=widthElement[actualElement]+1;}
i=1;while(document.getElementById(tab+i+'_'+tabComponentID)){document.getElementById(tab+i+'_'+tabComponentID).style.width=widthElement[i-1]+"px";i++;}}}
function navLevel2ElementWidth(){var node="node";var i=1;var sumWidthElements=0;if(document.getElementById("navLevel2")==null)return;widthElement=new Array();while(document.getElementById(node+i)){widthElement[i]=document.getElementById(node+i).offsetWidth;sumWidthElements=sumWidthElements+widthElement[i];i++;}
i=i-1;var completeWidth=965;var restWidth=completeWidth-sumWidthElements;if(restWidth/i>28){for(widthOfElement=(i*15);widthOfElement>0;widthOfElement--){var actualElement=(widthOfElement%i)+1;widthElement[actualElement]=widthElement[actualElement]+1;}
i=1;while(document.getElementById(node+i)){document.getElementById(node+i).style.width=widthElement[i]+"px";i++;}}
else{for(widthOfElement=restWidth;widthOfElement>0;widthOfElement--){var actualElement=(widthOfElement%i)+1;widthElement[actualElement]=widthElement[actualElement]+1;}
i=1;while(document.getElementById(node+i)){document.getElementById(node+i).style.width=widthElement[i]+"px";i++;}}}
window.onload=setEvent;function _isInteger(val){var digits="1234567890";for(var i=0;i<val.length;i++){if(digits.indexOf(val.charAt(i))==-1){return false;}}
return true;}
function _getInt(str,i,minlength,maxlength){for(var x=maxlength;x>=minlength;x--){var token=str.substring(i,i+x);if(token.length<minlength){return null;}
if(_isInteger(token)){return token;}}
return null;}
function getDateFromFormat(val,format){val=val+"";format=format+"";var i_val=0;var i_format=0;var c="";var token="";var token2="";var x,y;var now=new Date();var year=now.getYear();var month=now.getMonth()+1;var date=1;var hh=now.getHours();var mm=now.getMinutes();var ss=now.getSeconds();var ampm="";while(i_format<format.length){c=format.charAt(i_format);token="";while((format.charAt(i_format)==c)&&(i_format<format.length)){token+=format.charAt(i_format++);}
if(token=="yyyy"||token=="yy"||token=="y"){if(token=="yyyy"){x=4;y=4;}
if(token=="yy"){x=2;y=2;}
if(token=="y"){x=2;y=4;}
year=_getInt(val,i_val,x,y);if(year==null){return 0;}
i_val+=year.length;if(year.length==2){if(year>70){year=1900+(year-0);}
else{year=2000+(year-0);}}}
else if(token=="MMM"||token=="NNN"){month=0;for(var i=0;i<MONTH_NAMES.length;i++){var month_name=MONTH_NAMES[i];if(val.substring(i_val,i_val+month_name.length).toLowerCase()==month_name.toLowerCase()){if(token=="MMM"||(token=="NNN"&&i>11)){month=i+1;if(month>12){month-=12;}
i_val+=month_name.length;break;}}}
if((month<1)||(month>12)){return 0;}}
else if(token=="EE"||token=="E"){for(var i=0;i<DAY_NAMES.length;i++){var day_name=DAY_NAMES[i];if(val.substring(i_val,i_val+day_name.length).toLowerCase()==day_name.toLowerCase()){i_val+=day_name.length;break;}}}
else if(token=="MM"||token=="M"){month=_getInt(val,i_val,token.length,2);if(month==null||(month<1)||(month>12)){return 0;}
i_val+=month.length;}
else if(token=="dd"||token=="d"){date=_getInt(val,i_val,token.length,2);if(date==null||(date<1)||(date>31)){return 0;}
i_val+=date.length;}
else if(token=="hh"||token=="h"){hh=_getInt(val,i_val,token.length,2);if(hh==null||(hh<1)||(hh>12)){return 0;}
i_val+=hh.length;}
else if(token=="HH"||token=="H"){hh=_getInt(val,i_val,token.length,2);if(hh==null||(hh<0)||(hh>23)){return 0;}
i_val+=hh.length;}
else if(token=="KK"||token=="K"){hh=_getInt(val,i_val,token.length,2);if(hh==null||(hh<0)||(hh>11)){return 0;}
i_val+=hh.length;}
else if(token=="kk"||token=="k"){hh=_getInt(val,i_val,token.length,2);if(hh==null||(hh<1)||(hh>24)){return 0;}
i_val+=hh.length;hh--;}
else if(token=="mm"||token=="m"){mm=_getInt(val,i_val,token.length,2);if(mm==null||(mm<0)||(mm>59)){return 0;}
i_val+=mm.length;}
else if(token=="ss"||token=="s"){ss=_getInt(val,i_val,token.length,2);if(ss==null||(ss<0)||(ss>59)){return 0;}
i_val+=ss.length;}
else if(token=="a"){if(val.substring(i_val,i_val+2).toLowerCase()=="am"){ampm="AM";}
else if(val.substring(i_val,i_val+2).toLowerCase()=="pm"){ampm="PM";}
else{return 0;}
i_val+=2;}
else{if(val.substring(i_val,i_val+token.length)!=token){return 0;}
else{i_val+=token.length;}}}
if(i_val!=val.length){return 0;}
if(month==2){if(((year%4==0)&&(year%100!=0))||(year%400==0)){if(date>29){return 0;}}
else{if(date>28){return 0;}}}
if((month==4)||(month==6)||(month==9)||(month==11)){if(date>30){return 0;}}
if(hh<12&&ampm=="PM"){hh=hh-0+12;}
else if(hh>11&&ampm=="AM"){hh-=12;}
var newdate=new Date(year,month-1,date,hh,mm,ss);return newdate.getTime();}
function isDate(val){var date=getDateFromFormat(val,"dd.MM.yyyy");if(date==0){return false;}
return true;}
function CFC_popup(url,name,attributes){popup=window.open(url,name,attributes);popup.focus();}
function submitForm(){$("form").submit();}
(function($){function getCookieOrQueryValue(name){ret=$.cookie(name);if(ret==null){ret=$(document).getUrlParam(name);}
return ret;}
function setLoggedIn(){var mc=Array('MC','MD','MO','MS','zanpid');for(i=0;i<mc.length;i++){var val=$(document).getUrlParam(mc[i]);if(val!=null){$.cookie('dab_accop_'+mc[i].toLowerCase(),val,{path:'/'});}}
var login=$.cookie("loggedIn");if(login==null||login==false||login!=$.cookie("JSESSIONID")){$.cookie("loggedIn",null);}else{if($("#LoginText").size()>0){$("#LoginText").attr("href",$("#LoginText").attr("href").substring(0,$("#LoginText").attr("href").lastIndexOf('/')+1)+"securityLogoff.app.html");$("#LoginText").html("Logout");$("#LoginText").attr("title","Logout");}}}
function closePopUp(){self.focus();self.close();}
if($("#navLevel1Container")!=null){$("#navLevel1Container").ready(function(){navLevel2ElementWidth();setLoggedIn();if($(document).getUrlParam("searchfor")!=null&&$('#searchString')!=null){$('#searchString').val(decodeURI($(document).getUrlParam("searchfor")));$('#searchString').focus();$('#searchString').select();}
$('#searchString').focus(function(){if($(this).val()=="Suchbegriff, WKN, ISIN"){$(this).val("");}else{$(this).select();}});$('#searchString').blur(function(){if($(this).val()==""){$(this).val("Suchbegriff, WKN, ISIN");}});$('#label_Traderpwd').keyup(function(e){if(e.keyCode==13){$("#authorizeButton",this).click();}});});}})(jQuery);(function($){$(document).ready(function(){$('.flashInput').each(function(){if($(this).parent().hasClass("gtPreviewContent"))return;var so=new SWFObject($(this).find('.flash_swf').val(),$(this).find('.flash_id').val(),$(this).find('.flash_width').val(),$(this).find('.flash_height').val(),$(this).find('.flash_version').val(),$(this).find('.flash_background').val());so.addParam("wmode","opaque");so.write($(this).find('.flash_target').val());});$('.tabBox:not(.easyTrader, .markets)').each(function(){tabWidth($(this));});$(".jq_ui_help a").click(function(){CFC_popup($(this).attr("href"),"Hilfe","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=auto,resizable=yes,copyhistory=yes,width=980");return false;});$(".closeWindow").click(function(){window.close();});if($(".showInLayer").length>0){$.blockUI({message:'<a class="closeButton" title="Hinweis schlie&szlig;en" href="javascript:void(0)"><span>Hinweis schlie&szlig;en</span></a>'+'<h2>'+$(".showInLayer").html()+'</h2>',css:{left:'20%',border:'2px solid #ff0000',color:'#ff0000',padding:'5px',backgroundColor:'#fff',cursor:'default'},overlayCSS:{backgroundColor:'#000',opacity:'0.6'}});$('.blockUI h2 a').focus();$('.blockUI').click(function(){$.unblockUI();});};});})(jQuery);function setMonthYear(id){setTimeout(function(){var dateValue=document.getElementById(id).value;var s=dateValue.split(".");if(document.getElementById(id).value.length>7){document.getElementById(id).value=s[1]+"."+s[2];}else{document.getElementById(id).value=dateValue;}},500);}
function CFC_popup(url,name,attributes){popup=window.open(url,name,attributes);popup.focus();}
String.prototype.trim=function(){var str=this.replace(/^\s\s*/,''),ws=/\s/,i=str.length;while(ws.test(str.charAt(--i)));return str.slice(0,i+1);};function getCheckedValue(radioObj){if(!radioObj)
return"";var radioLength=radioObj.length;if(radioLength==undefined)
if(radioObj.checked)
return radioObj.value;else
return"";for(var i=0;i<radioLength;i++){if(radioObj[i].checked){return radioObj[i].value;}}
return"";}
function setCheckedValue(radioObj,newValue){if(!radioObj)
return;var radioLength=radioObj.length;if(radioLength==undefined){radioObj.checked=(radioObj.value==newValue.toString());return;}
for(var i=0;i<radioLength;i++){radioObj[i].checked=false;if(radioObj[i].value==newValue.toString()){radioObj[i].checked=true;}}}
function LengthDelimiter(){}
LengthDelimiter.prototype.init=function(field,maxLength){this.contentCache=field.value;this.field=field;this.maxLength=maxLength;}
LengthDelimiter.prototype.checkForMax=function(){if(this.field.value.length>this.maxLength){this.field.value=this.contentCache;}else{this.contentCache=this.field.value;}}
function disableIfSet(elementToCheck,elementToDisable,valueToSet){if(elementToCheck!=null&&elementToDisable!=null){if(elementToCheck.value!=''){elementToDisable.value=valueToSet;elementToDisable.disabled='disabled';}else{elementToDisable.disabled=false;}}}
function limitMtanPhoneNumber(inputFieldToLimit){limitSizeSum(inputFieldToLimit,18,new Array(document.getElementById("phoneMobileNumber"),document.getElementById("phoneMobileCode"),document.getElementById("phoneMobileCountry")));}
function limitSizeSum(inputFieldToLimit,maxLength,inputFieldArray){currentSize=0;for(i=0;i<inputFieldArray.length;i++){currentSize=currentSize+inputFieldArray[i].value.length;}
if(currentSize<=maxLength){alreadyTyped=document.getElementById(inputFieldToLimit).value.length;document.getElementById(inputFieldToLimit).maxLength=maxLength-currentSize+alreadyTyped;}else{surplus=currentSize-maxLength;for(i=0;i<inputFieldArray.length;i++){currentInputField=inputFieldArray[i];if(surplus<currentInputField.value.length){currentInputField.value=currentInputField.value.substr(0,currentInputField.value.length-surplus);break;}else{currentInputField.value='';surplus=surplus-currentInputField.value.length;}}}}
if(typeof deconcept=="undefined"){var deconcept=new Object();}if(typeof deconcept.util=="undefined"){deconcept.util=new Object();}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();}deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a){if(!document.getElementById){return;}this.DETECT_KEY=_a?_a:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(_1){this.setAttribute("swf",_1);}if(id){this.setAttribute("id",id);}if(w){this.setAttribute("width",w);}if(h){this.setAttribute("height",h);}if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true;}if(c){this.addParam("bgcolor",c);}var q=_7?_7:"high";this.addParam("quality",q);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var _c=(_8)?_8:window.location;this.setAttribute("xiRedirectUrl",_c);this.setAttribute("redirectUrl","");if(_9){this.setAttribute("redirectUrl",_9);}};deconcept.SWFObject.prototype={useExpressInstall:function(_d){this.xiSWFPath=!_d?"expressinstall.swf":_d;this.setAttribute("useExpressInstall",true);},setAttribute:function(_e,_f){this.attributes[_e]=_f;},getAttribute:function(_10){return this.attributes[_10];},addParam:function(_11,_12){this.params[_11]=_12;},getParams:function(){return this.params;},addVariable:function(_13,_14){this.variables[_13]=_14;},getVariable:function(_15){return this.variables[_15];},getVariables:function(){return this.variables;},getVariablePairs:function(){var _16=new Array();var key;var _18=this.getVariables();for(key in _18){_16[_16.length]=key+"="+_18[key];}return _16;},getSWFHTML:function(){var _19="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath);}_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\"";_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";var _1a=this.getParams();for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";}var _1c=this.getVariablePairs().join("&");if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";}_19+="/>";}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath);}_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\">";_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";var _1d=this.getParams();for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";}var _1f=this.getVariablePairs().join("&");if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";}_19+="</object>";}return _19;},write:function(_20){if(this.getAttribute("useExpressInstall")){var _21=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title);}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var n=(typeof _20=="string")?document.getElementById(_20):_20;n.innerHTML=this.getSWFHTML();return true;}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}return false;}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var _23=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var x=navigator.plugins["Shockwave Flash"];if(x&&x.description){_23=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var axo=1;var _26=3;while(axo){try{_26++;axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+_26);_23=new deconcept.PlayerVersion([_26,0,0]);}catch(e){axo=null;}}}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");_23=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}catch(e){if(_23.major==6){return _23;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}catch(e){}}if(axo!=null){_23=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}}return _23;};deconcept.PlayerVersion=function(_29){this.major=_29[0]!=null?parseInt(_29[0]):0;this.minor=_29[1]!=null?parseInt(_29[1]):0;this.rev=_29[2]!=null?parseInt(_29[2]):0;};deconcept.PlayerVersion.prototype.versionIsValid=function(fv){if(this.major<fv.major){return false;}if(this.major>fv.major){return true;}if(this.minor<fv.minor){return false;}if(this.minor>fv.minor){return true;}if(this.rev<fv.rev){return false;}return true;};deconcept.util={getRequestParameter:function(_2b){var q=document.location.search||document.location.hash;if(_2b==null){return q;}if(q){var _2d=q.substring(1).split("&");for(var i=0;i<_2d.length;i++){if(_2d[i].substring(0,_2d[i].indexOf("="))==_2b){return _2d[i].substring((_2d[i].indexOf("=")+1));}}}return"";}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var _2f=document.getElementsByTagName("OBJECT");for(var i=_2f.length-1;i>=0;i--){_2f[i].style.display="none";for(var x in _2f[i]){if(typeof _2f[i][x]=="function"){_2f[i][x]=function(){};}}}};if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs);};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true;}}if(!document.getElementById&&document.all){document.getElementById=function(id){return document.all[id];};}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;function generateMtan(tanTds,tanSmsMessage,clickSource){var $jqAnchor=jQuery(clickSource).parents('.sp2');indicator(true,$jqAnchor);if($jqAnchor.find('.tanMsg').length===0){$jqAnchor.find('.tanDiv').hide().after('<div class="tanDiv tanMsg">Die mobileTAN wird angefordert.</div>');}
$jqAnchor.find('.traderpwd').removeAttr('disabled');$jqAnchor.find('.tanType').val("MTAN");var inputObject=new Object();inputObject.tanTds=tanTds;inputObject.tanSmsMessage=tanSmsMessage;TanAjaxService.generateMtan(inputObject,{callback:function(){handleGenerateMtan($jqAnchor);},errorHandler:function(errorString,exception){jQuery('#sendAddress').hide();tanErrorHandling(errorString,exception,$jqAnchor);}});}
function tanErrorHandling(errorString,exception,$jqAnchor){indicator(false,$jqAnchor);$jqAnchor.find('.tanDiv').hide();alert(errorString);}
function toggleTan(callback,$jqAnchor){var buttonID="confirmButton";isShow=(jQuery("#label_Traderpwd").css('display'));grayButtonDummyFront='<div class="buttonGray clear floatRight"><span><img src="/img/btt_GrayLeft.gif" alt=""/></span><span class="buttonMiddle"><span class="buttonText">';grayButtonDummyBack='</span></span><span><img src="/img/btt_GrayRight.gif" alt=""/></span></a></div>';if(isShow=="block"||callback){jQuery('#aufgeben').html('<input type="image" src="/img/app/buttons/de/aufgeben_gruen.gif" tabindex="2" id="'+buttonID+'"/>');jQuery('#aendern').html(' <input type="image" src="/img/app/buttons/de/aendern.gif" tabindex="2" id="'+buttonID+'"/>');jQuery('#mobNbr').html('<div id="aufgeben" class="buttonOrange floatRight"><a href="javascript: void(0);" id="'+buttonID+'" onclick="javascript: mtanChangeNumber.submit(); return false;"><span><img src="/img/btt_OrangeLeft.gif" alt=""/></span><span class="buttonMiddle"><span class="buttonText">Aufgeben</span></span><span><img src="/img/btt_OrangeRight.gif" alt=""/></span></a></div>');jQuery('#loeschen').html(' <input type="image" src="/img/app/buttons/de/loeschen.gif" tabindex="2" id="'+buttonID+'"/>');jQuery('#durchfuehren').html(' <input type="image" src="/img/app/buttons/de/durchfuehren.gif" tabindex="2" id="'+buttonID+'"/>');jQuery('#erstellen').html(' <input type="image" src="/img/app/buttons/de/erstellen.gif" tabindex="2" id="'+buttonID+'"/>');jQuery('#streichen').html(' <input type="image" src="/img/app/buttons/de/streichen.gif" tabindex="2" id="'+buttonID+'"/>');}else{jQuery('#aufgeben').html('<img src="/img/app/buttons/de/aufgeben_disabled.gif" alt="Aufgeben" border="0" class="flbutton">');jQuery('#aendern').html('<img src="/img/app/buttons/de/aendern_disabled.gif" alt="Ändern" border="0" class="flbutton">');jQuery('#mobNbr').html('<div id="aufgeben" class="buttonGray clear floatRight"><span class="wrapper"><span><img src="/img/btt_GrayLeft.gif" alt=""/></span><span class="buttonMiddle"><span class="buttonText">Aufgeben</span></span><span><img src="/img/btt_GrayRight.gif" alt=""/></span></span></div>');jQuery('#loeschen').html('<img src="/img/app/buttons/de/loeschen_disabled.gif" alt="Löschen" border="0" class="flbutton">');jQuery('#durchfuehren').html('<img src="/img/app/buttons/de/durchfuehren_disabled.gif" alt="Druchführen" border="0" class="flbutton">');jQuery('#erstellen').html('<img src="/img/app/buttons/de/erstellen_disabled.gif" alt="Erstellen" border="0" class="flbutton">');jQuery('#streichen').html('<img src="/img/app/buttons/de/streichen_disabled.gif" alt="Streichen" border="0" class="flbutton">');}
jQuery('#traderpwd').val('');if($jqAnchor!=undefined){$jqAnchor.find('.traderpwd').val('').focus();}}
function handleGenerateMtan($jqAnchor){indicator(false,$jqAnchor);$jqAnchor.find('.label_Traderpwd').show();$jqAnchor.find('.label_Traderpwd_text').html("mobileTAN eingeben");$jqAnchor.find('.tanDiv').hide();if($jqAnchor.find('.deliverMsg').length===0){$jqAnchor.find('.label_Traderpwd ul').append('<li class="deliverMsg">(Die mobileTAN für diesen Auftrag wurde an Ihr Mobilfunkgerät versendet)</li>');}
toggleTan(true,$jqAnchor);}
function requestTanIndex(clickSource){var $jqAnchor=jQuery(clickSource).parents('.sp2');indicator(true,$jqAnchor);if($jqAnchor.find('.tanMsg').length>0){$jqAnchor.find('.tanDiv').hide();}else{$jqAnchor.find('.tanDiv').hide().after('<div class="tanDiv tanMsg">Der iTAN Index wird angefordert.</div>');}
$jqAnchor.find('.traderpwd').removeAttr('disabled');$jqAnchor.find('.tanType').val("ITAN");TanAjaxService.requestTanIndex({callback:function(index){handleRequestTanIndex(index,$jqAnchor);},errorHandler:function(errorString,exception){tanErrorHandling(errorString,exception,$jqAnchor);}});}
function handleRequestTanIndex(index,$jqAnchor){indicator(false,$jqAnchor);$jqAnchor.find('.tanDiv').hide();$jqAnchor.find('.label_Traderpwd').show();$jqAnchor.find('.label_Traderpwd_text').html("iTAN "+index+": ");$jqAnchor.find('.label_Traderpwd li.iTan_index').remove();$jqAnchor.find('.label_Traderpwd ul').append('<li class="iTan_index">Bitte geben Sie die iTAN Nr. '+index+' ein</li>');$jqAnchor.find('.tanIndex').val(index);toggleTan(true,$jqAnchor);}
function indicator(show,$jqAnchor){var $pw=$jqAnchor.find('.pleaseWait');if(show){$pw.show();}
else{$pw.hide();}}
function disableButton(){jQuery('#confirmButton').attr("disabled","disabled");}
function enableButton(){jQuery('#confirmButton').removeAttr("disabled");}
function cConfigTechAddon()
{this.m_bControlCookie=true;this.m_bAutoparams=true;this.m_bAutosend=true;this.m_strPixelProtocol=location.href.substr(0,location.href.indexOf(":"));this.m_strPixelServer=false;this.m_strPixelPath="/img/dummy.gif";this.m_oTechPlugins=new Object();this.m_oTechPlugins['Director']=false;this.m_oTechPlugins['MediaPlayer']=false;this.m_oTechPlugins['Flash']=false;this.m_oTechPlugins['RealPlayer']=false;this.m_oTechPlugins['AcroRead']=false;}
function configTech_getSendTechPlugin(strPlugin)
{if(this.m_oTechPlugins)
{return this.m_oTechPlugins[strPlugin];}
return false;}
cConfigTechAddon.prototype.getSendTechPlugin=configTech_getSendTechPlugin;oTechConfig=new cConfigTechAddon();function cSession()
{bTimeout=false;var strSessionIDURL="/";var strNewNetMindSID=strSessionIDURL.substr(6,54);this.m_strNetMindSID=strNewNetMindSID;}
function session_getSessionID()
{return this.m_strNetMindSID;}
cSession.prototype.getSID=session_getSessionID;oNMTechSession=new cSession();function cPixel()
{this.m_oImage=new Image();this.m_arParameterList=new Array();this.m_nParameterCount=0;if(oTechConfig.m_strPixelServer)
{this.m_strPixelURLPrefixSID=oTechConfig.m_strPixelProtocol+"://"
+oTechConfig.m_strPixelServer;this.m_strPixelURLPrefixNoSID=oTechConfig.m_strPixelProtocol+"://"
+oTechConfig.m_strPixelServer+"/";}
else
{this.m_strPixelURLPrefixSID=oTechConfig.m_strPixelProtocol+"://"+location.hostname;if(location.port)
{this.m_strPixelURLPrefixSID+=":"+location.port;}
this.m_strPixelURLPrefixNoSID="";}
this.m_strPixelURLPrefixSID+="/-snm-";if(oTechConfig.m_strPixelPath.charAt(0)=="/")
{this.m_strPixelURLSuffixSID="-enm-"+oTechConfig.m_strPixelPath.substr(1);}
else
{this.m_strPixelURLSuffixSID="-enm-"+oTechConfig.m_strPixelPath;}
if(oTechConfig.m_strPixelPath.charAt(0)=="/"&&this.m_strPixelURLPrefixNoSID!="")
{this.m_strPixelURLSuffixNoSID=oTechConfig.m_strPixelPath.substr(1);}
else
{this.m_strPixelURLSuffixNoSID=oTechConfig.m_strPixelPath;}
if(oTechConfig.m_strPixelPath.indexOf("?")!=-1)
{this.m_cConcatChar="&";}
else
{this.m_cConcatChar="?";}}
function pixel_addParameter(key,value)
{var arPair=new Array(key,value);this.m_arParameterList[this.m_nParameterCount]=arPair;this.m_nParameterCount++;}
function pixel_sendData(oSession)
{var strURL;var strSID=oSession.getSID();if(strSID!="")
strURL=this.m_strPixelURLPrefixSID+strSID+this.m_strPixelURLSuffixSID+this.m_cConcatChar;else
strURL=this.m_strPixelURLPrefixNoSID+this.m_strPixelURLSuffixNoSID+this.m_cConcatChar;for(i=0;i<this.m_arParameterList.length;i++)
{if(i>0)strURL+="&";strURL+=escape(this.m_arParameterList[i][0])+"="+escape(this.m_arParameterList[i][1]);}
this.m_oImage.src=strURL;}
function pixel_getTechData(){var javaOK="unknown";var cookiesOK="unknown";var browsLang="unknown";var availheight=screen.availHeight;var availwidth=screen.availWidth;var colordepth=screen.colorDepth+" bit";var height=screen.height;var width=screen.width;var title=document.title;var flashPlugin="-";var flashVersion="0";var directorPlugin="-";var wmplayerPlugin="-";var realplayerPlugin="-";var quicktimePlugin="-";var adobe_svgPlugin="-";var adobe_pdfPlugin="-";var agt=navigator.userAgent.toLowerCase();var ie=(agt.indexOf("msie")!=-1);var ie7=false;if(ie){ie=(agt.indexOf("msie 4")==-1)&&(agt.indexOf("msie 3")==-1);ie7=(agt.indexOf("msie 7")>-1);}
var win=((agt.indexOf("win")!=-1)||(agt.indexOf("32bit")!=-1));if(navigator.javaEnabled()==true){javaOK="yes"}else{javaOK="no"}
if((navigator.cookieEnabled)&&(navigator.cookieEnabled==true)){cookiesOK="yes"}else{cookiesOK="no"}
if(navigator.language)browsLang=navigator.language;if(ie&&win){if(oTechConfig.getSendTechPlugin('Director'))
{directorPlugin=detectIE("SWCtl.SWCtl.1");}
if(oTechConfig.getSendTechPlugin('Flash'))
{flashPlugin=detectIE("ShockwaveFlash.ShockwaveFlash.1");}
if(oTechConfig.getSendTechPlugin('RealPlayer'))
{realplayerPlugin=detectIE("rmocx.RealPlayer G2 Control.1");}
if(oTechConfig.getSendTechPlugin('MediaPlayer'))
{wmplayerPlugin=detectIE("MediaPlayer.MediaPlayer.1");}
if(oTechConfig.getSendTechPlugin('AcroRead'))
{adobe_pdfPlugin=detectIEAcrobat("Acrobat Reader");}}
else{nse="";for(var i=0;i<navigator.mimeTypes.length;i++)nse+=navigator.mimeTypes[i].type.toLowerCase();if(oTechConfig.getSendTechPlugin('Director'))
{directorPlugin=detectNS(nse,"application/x-director");}
if(oTechConfig.getSendTechPlugin('Flash'))
{flashPlugin=detectNS(nse,"application/x-shockwave-flash");}
if(oTechConfig.getSendTechPlugin('RealPlayer'))
{realplayerPlugin=detectNS(nse,"audio/x-pn-realaudio-plugin");}
if(oTechConfig.getSendTechPlugin('MediaPlayer'))
{wmplayerPlugin=detectNS(nse,"application/x-mplayer2");}
if(oTechConfig.getSendTechPlugin('AcroRead'))
{adobe_pdfPlugin=detectNS(nse,"application/pdf");}}
this.addParameter("nm_java",javaOK);this.addParameter("nm_cookies",cookiesOK);this.addParameter("nm_screen",width+"x"+height);this.addParameter("nm_colordepth",colordepth);this.addParameter("nm_plugin_flash",flashPlugin);this.addParameter("nm_plugin_director",directorPlugin);this.addParameter("nm_plugin_wmplayer",wmplayerPlugin);this.addParameter("nm_plugin_realplayer",realplayerPlugin);this.addParameter("nm_plugin_acroread",adobe_pdfPlugin);}
cPixel.prototype.addParameter=pixel_addParameter;cPixel.prototype.sendData=pixel_sendData;cPixel.prototype.getTechData=pixel_getTechData;function detectIEAcrobat(name){var acrobat=new Object();if(window.ActiveXObject){for(x=2;x<10;x++){try{oAcro=eval("new ActiveXObject('PDF.PdfCtrl."+x+"');");if(oAcro){return'yes';}}
catch(e){}}
try{oAcro4=new ActiveXObject('PDF.PdfCtrl.1');if(oAcro4){return'yes';}}
catch(e){}
try{oAcro7=new ActiveXObject('AcroPDF.PDF.1');if(oAcro7){return'yes';}}
catch(e){}}
return'no';}
function detectIE(ClassID){try{new ActiveXObject(ClassID);return'yes';}
catch(e){return'no';}}
function detectNS(strMimetypes,ClassID){if(strMimetypes.indexOf(ClassID)!=-1)
if(navigator.mimeTypes[ClassID].enabledPlugin!=null)
return'yes';return'no';}
oNMTechPixel=new cPixel();if(oTechConfig.m_bAutosend){if(oTechConfig.m_bControlCookie){bFound=false;strCookie=document.cookie
var arCookies=strCookie.split("; ");for(i=0;i<arCookies.length;i++){strActCookie=arCookies[i];arActCookie=strActCookie.split("=");strActCookieName=arActCookie[0];if(strActCookieName=="NM_TECHCONTROL"){bFound=true;break;}}
if(!bFound){document.cookie="NM_TECHCONTROL=true; path=/;";if(oTechConfig.m_bAutoparams){oNMTechPixel.getTechData();}
oNMTechPixel.sendData(oNMTechSession);}}
else{if(oTechConfig.m_bAutoparams){oNMTechPixel.getTechData();}
oNMTechPixel.sendData(oNMTechSession);}}
else
{if(oTechConfig.m_bAutoparams){oNMTechPixel.getTechData();}}