function winOpen(b,c,a){var e=(screen.width/2)-(c/2);var d=(screen.height/2)-(a/2);window.open(b,"popup","height="+a+",width="+c+",status=no,toolbar=no,menubar=no,location=no,resizable=no,titlebar=no,scrollbars=no,fullscreen=no,top="+d+",left="+e)}function get_xml_http_request_object(){if(window.XMLHttpRequest){return new XMLHttpRequest()}else{if(window.ActiveXObject){try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(a){}}}return false}function toggleInfo(a,b){node=document.getElementById(b);node.style.display=node.style.display=="none"?"block":"none"}function dsbl_sbmt_btns_disable(){window.setTimeout(function(){for(f=0;f<document.forms.length;++f){frm=document.forms[f];for(i=0;i<frm.elements.length;++i){if(frm.elements[i].type){if(frm.elements[i].type.toLowerCase()=="submit"){frm.elements[i].disabled=true}}}}},0)}function dsbl_sbmt_btns_window_onload(){for(f=0;f<document.forms.length;++f){if(document.forms[f].addEventListener){document.forms[f].addEventListener("submit",dsbl_sbmt_btns_disable,false)}if(document.forms[f].attachEvent){document.forms[f].attachEvent("onsubmit",dsbl_sbmt_btns_disable)}}}if(window.addEventListener){window.addEventListener("load",dsbl_sbmt_btns_window_onload,false)}if(window.attachEvent){window.attachEvent("onload",dsbl_sbmt_btns_window_onload)}var dbox;function vdialog121(ckey,cntframe,weit,hoch,username,userkey,design,SessionID,Gruppe){var ttl=document.title;var hp=document.location;if(cntframe!=""&&cntframe!=" "){ttl=eval("parent."+cntframe+".document.title");hp=eval("parent."+cntframe+".document.location")}if(!weit||weit==""){weit=596}if(!hoch||hoch==""){hoch=382}var rzBorderW=((screen.width-weit)/2);var rzBorderH=((screen.height-hoch)/4);if(!username){username=""}if(!userkey){userkey=""}var u="http://www.TalkEvent4.de/cgi-bin/121vdialog.pl?stroke=Dialog&ckey="+ckey+"&ttl="+escape(ttl)+"&hp="+escape(hp)+"&call=WantDialog&name="+username+"&userkey="+userkey+"&d="+design+"&cs=1&SessionID="+SessionID+"&vgruppe="+Gruppe;var Optionen="height="+hoch+",width="+weit+",top="+rzBorderH+",left="+rzBorderW+",resizable=no,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no";if(dbox&&!dbox.closed){dbox.focus();return false}dbox=window.open(u,"DialogBox",Optionen);if(!dbox||dbox.closed){alert("Die TalkEvent-LiveBeratung wird als PopUp-Fenster angezeigt. Bitte lassen Sie PopUp-Fenster für TalkEvent4.de zu.");return false}dbox.focus();return false}function vdialog121SSL(ckey,cntframe,weit,hoch,username,userkey,design,SessionID,Gruppe){var ttl=document.title;var hp=document.location;if(cntframe!=""&&cntframe!=" "){ttl=eval("parent."+cntframe+".document.title");hp=eval("parent."+cntframe+".document.location")}if(!weit||weit==""){weit=596}if(!hoch||hoch==""){hoch=382}var rzBorderW=((screen.width-weit)/2);var rzBorderH=((screen.height-hoch)/4);if(!username){username=""}if(!userkey){userkey=""}var u="https://www.TalkEvent4.de/cgi-bin/121vdialog.pl?stroke=Dialog&ckey="+ckey+"&ttl="+escape(ttl)+"&hp="+escape(hp)+"&call=WantDialog&name="+username+"&userkey="+userkey+"&d="+design+"&cs=1&SessionID="+SessionID+"&vgruppe="+Gruppe;var Optionen="height="+hoch+",width="+weit+",top="+rzBorderH+",left="+rzBorderW+",resizable=no,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no";if(dbox&&!dbox.closed){dbox.focus();return false}dbox=window.open(u,"DialogBox",Optionen);if(!dbox||dbox.closed){alert("Die TalkEvent-LiveBeratung wird als PopUp-Fenster angezeigt. Bitte lassen Sie PopUp-Fenster für TalkEvent4.de zu.");return false}dbox.focus();return false}function clearval(b,a){if(b.value==b.defaultValue){if(a!=null){b.type="password"}b.value=""}}function restore(b,a){if(b.value==""){if(a!=null){b.type="text"}b.value=b.defaultValue}}function click_on_changed_state_only(a){var b=document.getElementById(a);if(b==null){return true}else{return b.value!=b.defaultValue}}var IEPNGFix=window.IEPNGFix||{};IEPNGFix.tileBG=function(h,t,p){var H=this.data[h.uniqueID],b=Math.max(h.clientWidth,h.scrollWidth),j=Math.max(h.clientHeight,h.scrollHeight),l=h.currentStyle.backgroundPositionX,k=h.currentStyle.backgroundPositionY,q=h.currentStyle.backgroundRepeat;if(!H.tiles){H.tiles={elm:h,src:"",cache:[],img:new Image(),old:{}}}var D=H.tiles,w=D.img.width,c=D.img.height;if(t){if(!p&&t!=D.src){D.img.onload=function(){this.onload=null;IEPNGFix.tileBG(h,t,1)};return D.img.src=t}}else{if(D.src){p=1}w=c=0}D.src=t;if(!p&&b==D.old.w&&j==D.old.h&&l==D.old.x&&k==D.old.y&&q==D.old.r){return}var e={top:"0%",left:"0%",center:"50%",bottom:"100%",right:"100%"},n,m,a;n=e[l]||l;m=e[k]||k;if(a=n.match(/(\d+)%/)){n=Math.round((b-w)*(parseInt(a[1])/100))}if(a=m.match(/(\d+)%/)){m=Math.round((j-c)*(parseInt(a[1])/100))}n=parseInt(n);m=parseInt(m);var F={repeat:1,"repeat-x":1}[q],C={repeat:1,"repeat-y":1}[q];if(F){n%=w;if(n>0){n-=w}}if(C){m%=c;if(m>0){m-=c}}this.hook.enabled=0;if(!({relative:1,absolute:1}[h.currentStyle.position])){h.style.position="relative"}var g=0,o,B=F?b:n+0.1,u,z=C?j:m+0.1,A,r,E;if(w&&c){for(o=n;o<B;o+=w){for(u=m;u<z;u+=c){E=0;if(!D.cache[g]){D.cache[g]=document.createElement("div");E=1}var v=(o+w>b?b-o:w),G=(u+c>j?j-u:c);A=D.cache[g];r=A.style;r.behavior="none";r.left=o+"px";r.top=u+"px";r.width=v+"px";r.height=G+"px";r.clip="rect("+(u<0?0-u:0)+"px,"+v+"px,"+G+"px,"+(o<0?0-o:0)+"px)";r.display="block";if(E){r.position="absolute";r.zIndex=-999;if(h.firstChild){h.insertBefore(A,h.firstChild)}else{h.appendChild(A)}}this.fix(A,t,0);g++}}}while(g<D.cache.length){this.fix(D.cache[g],"",0);D.cache[g++].style.display="none"}this.hook.enabled=1;D.old={w:b,h:j,x:l,y:k,r:q}};IEPNGFix.update=function(){for(var b in IEPNGFix.data){var a=IEPNGFix.data[b].tiles;if(a&&a.elm&&a.src){IEPNGFix.tileBG(a.elm,a.src)}}};IEPNGFix.update.timer=0;if(window.attachEvent&&!window.opera){window.attachEvent("onresize",function(){clearTimeout(IEPNGFix.update.timer);IEPNGFix.update.timer=setTimeout(IEPNGFix.update,100)})};
