var wbd_accordion_max=300;var wbd_accordion_id=0;function wbd_accordion_set(w){if(wbd_accordion_max==w)return;wbd_accordion_max=w;$(wbd_accordion_id).style.height=w+'px';$('wbd-content').maxh=w;$('wbd1-content').maxh=w;$('wbd2-content').maxh=w;$('wbd3-content').maxh=w;$('wbd4-content').maxh=w;$('wbd5-content').maxh=w;$('wbd6-content').maxh=w;$('wbd7-content').maxh=w;};function wbd_accordion_click(f){var j=null;if(f==0){j=$('wbd-header');}else{j=$('wbd'+f+'-header');}if(j!=null){j.onclick();}};function _(){return document;};function $(d){return document.getElementById(d);};function dsp(d,v){if(v==undefined){return d.style.display;}else{d.style.display=v;}};function sh(d,v){if(v==undefined){if(dsp(d)!='none'&&dsp(d)!=''){return d.offsetHeight;}viz=d.style.visibility;d.style.visibility='hidden';o=dsp(d);dsp(d,'block');r=parseInt(d.offsetHeight);dsp(d,o);d.style.visibility=viz;return r;}else{d.style.height=v;}};s=7;t=10;function ct(d){d=$(d);if(sh(d)>0){v=Math.round(sh(d)/d.s);v=(v<1)?1:v;v=(sh(d)-v);sh(d,v+'px');d.style.opacity=(v/d.maxh);d.style.filter='alpha(opacity='+(v*100/d.maxh)+');';}else{sh(d,0);dsp(d,'none');clearInterval(d.t);}};function et(d){wbd_accordion_id=d;d=$(d);if(sh(d)<d.maxh){v=Math.round((d.maxh-sh(d))/d.s);v=(v<1)?1:v;v=(sh(d)+v);sh(d,v+'px');d.style.opacity=(v/d.maxh);d.style.filter='alpha(opacity='+(v*100/d.maxh)+');';}else{sh(d,d.maxh);clearInterval(d.t);}};function cl(d){if(dsp(d)=='block'){clearInterval(d.t);d.t=setInterval('ct("'+d.id+'")',t);}};function ex(d){if(dsp(d)=='none'){dsp(d,'block');d.style.height='0px';clearInterval(d.t);d.t=setInterval('et("'+d.id+'")',t);}};function cc(n,v){s=n.className.split(/\s+/);for(p=0;p<s.length;p++){if(s[p]==v+n.tc){s.splice(p,1);n.className=s.join(' ');break;}}};function wbd_Accordian(d,s,tc){l=$(d).getElementsByTagName('div');c=[];for(i=0;i<l.length;i++){h=l[i].id;if(h.substr(h.indexOf('-')+1,h.length)=='content'){c.push(h);}}sel=null;for(i=0;i<l.length;i++){h=l[i].id;if(h.substr(h.indexOf('-')+1,h.length)=='header'){d=$(h.substr(0,h.indexOf('-'))+'-content');d.style.display='none';d.style.overflow='auto';d.maxh=sh(d);d.maxh=wbd_accordion_max;d.s=(s==undefined)?7:s;h=$(h);h.tc=tc;h.c=c;h.onclick=function(){for(i=0;i<this.c.length;i++){cn=this.c[i];n=cn.substr(0,cn.indexOf('-'));if((n+'-header')==this.id){wbd_accordion_id=n+'-content';if(n=='wbd'){parent.oben.go1();}if(n=='wbd1'){parent.oben.go4_1();}if(n=='wbd2'){parent.oben.partner();}if(n=='wbd3'){parent.oben.qw2map();}if(n=='wbd4'){parent.oben.uk();}if(n=='wbd5'){}if(n=='wbd6'){parent.oben.logo();}if(n=='wbd7'){parent.oben.health(0);}ex($(n+'-content'));n=$(n+'-header');cc(n,'__');n.className=n.className+' '+n.tc;}else{cl($(n+'-content'));cc($(n+'-header'),'');}}};if(h.className.match(/selected+/)!=undefined){sel=h;}}}if(sel!=undefined){sel.onclick();}};function wbd_AccordionChangeSize(){var B;var A;if(self.innerHeight){B=self.innerWidth;A=self.innerHeight;}else{if(document.documentElement&&document.documentElement.clientHeight){B=document.documentElement.clientWidth;A=document.documentElement.clientHeight;}else if(document.body){B=document.body.clientWidth;A=document.body.clientHeight;}}C=307;wbd_accordion_max=A-C;};wbd_AccordionChangeSize();