
/* Merged Plone Javascript file
 * This file is dynamically assembled from separate parts.
 * Some of these parts have 3rd party licenses or copyright information attached
 * Such information is valid for that section,
 * not for the entire composite file
 * originating files are separated by - filename.js -
 */

/* - ++resource++werkbank.dialyse_herne_theme.javascripts/sifr.js - */
// http://www.dialyse-herne.de/portal_javascripts/++resource++werkbank.dialyse_herne_theme.javascripts/sifr.js?original=1
var sIFR=new function(){var self=this;var ClassNames={ACTIVE:'sIFR-active',REPLACED:'sIFR-replaced',IGNORE:'sIFR-ignore',ALTERNATE:'sIFR-alternate',CLASS:'sIFR-class',LAYOUT:'sIFR-layout',FLASH:'sIFR-flash',FIX_FOCUS:'sIFR-fixfocus',DUMMY:'sIFR-dummy'};ClassNames.IGNORE_CLASSES=[ClassNames.REPLACED,ClassNames.IGNORE,ClassNames.ALTERNATE];this.MIN_FONT_SIZE=6;this.MAX_FONT_SIZE=126;this.FLASH_PADDING_BOTTOM=5;this.VERSION='436';this.isActive=false;this.isEnabled=true;this.fixHover=true;this.autoInitialize=true;this.setPrefetchCookie=true;this.cookiePath='/';this.domains=[];this.forceWidth=true;this.fitExactly=false;this.forceTextTransform=true;this.useDomLoaded=true;this.useStyleCheck=false;this.hasFlashClassSet=false;this.repaintOnResize=true;this.replacements=[];var elementCount=0;var isInitialized=false;
function Errors(){this.fire=function(id){if(this[id+'Alert']) alert(this[id+'Alert']);throw new Error(this[id])};this.isFile='sIFR: Did not activate because the page is being loaded from the filesystem.';this.isFileAlert='Hi!\n\nThanks for using sIFR on your page. Unfortunately sIFR couldn\'t activate, because it was loaded '+'directly from your computer.\nDue to Flash security restrictions, you need to load sIFR through a web'+' server.\n\nWe apologize for the inconvenience.'};
function Util(sIFR){
function capitalize($){return $.toLocaleUpperCase()}
this.normalize=function(str){return str.replace(/\n|\r|\xA0/g, Util.SINGLE_WHITESPACE).replace(/\s+/g,Util.SINGLE_WHITESPACE)};this.textTransform=function(type,str){switch(type){case 'uppercase':return str.toLocaleUpperCase();case 'lowercase':return str.toLocaleLowerCase();case 'capitalize':return str.replace(/^\w|\s\w/g,capitalize)}
return str};this.toHexString=function(str){if(str.charAt(0)!='#'||str.length!=4&&str.length!=7) return str;str=str.substring(1);return '0x'+(str.length==3?str.replace(/(.)(.)(.)/,'$1$1$2$2$3$3'):str)};this.toJson=function(obj,strFunc){var json='';switch(typeof(obj)){case 'string':json='"'+strFunc(obj)+'"';break;case 'number':case 'boolean':json=obj.toString();break;case 'object':json=[];for(var prop in obj){if(obj[prop]==Object.prototype[prop]) continue;json.push('"'+prop+'":'+this.toJson(obj[prop]))}
json='{'+json.join(',')+'}';break}
return json};this.convertCssArg=function(arg){if(!arg) return{};if(typeof(arg)=='object'){if(arg.constructor==Array) arg=arg.join('');else return arg}
var obj={};var rules=arg.split('}');for(var i=0;i<rules.length;i++){var $=rules[i].match(/([^\s{]+)\s*\{(.+)\s*;?\s*/);if(!$||$.length!=3) continue;if(!obj[$[1]]) obj[$[1]]={};var properties=$[2].split(';');for(var j=0;j<properties.length;j++){var $2=properties[j].match(/\s*([^:\s]+)\s*\:\s*([^;]+)/);if(!$2||$2.length!=3) continue;obj[$[1]][$2[1]]=$2[2].replace(/\s+$/,'')}}
return obj};this.extractFromCss=function(css,selector,property,remove){var value=null;if(css&&css[selector]&&css[selector][property]){value=css[selector][property];if(remove) delete css[selector][property]}
return value};this.cssToString=function(arg){var css=[];for(var selector in arg){var rule=arg[selector];if(rule==Object.prototype[selector]) continue;css.push(selector,'{');for(var property in rule){if(rule[property]==Object.prototype[property]) continue;var value=rule[property];if(Util.UNIT_REMOVAL_PROPERTIES[property]) value=parseInt(value,10);css.push(property,':',value,';')}
css.push('}')}
return css.join('')};this.escape=function(str){return escape(str).replace(/\+/g,'%2B')};this.encodeVars=function(vars){return vars.join('&').replace(/%/g,'%25')};this.copyProperties=function(from,to){for(var property in from){if(to[property]===undefined) to[property]=from[property]}
return to};this.domain=function(){var domain='';try{domain=document.domain} catch(e){};return domain};this.domainMatches=function(domain,match){if(match=='*'||match==domain) return true;var wildcard=match.lastIndexOf('*');if(wildcard>-1){match=match.substr(wildcard+1);var matchPosition=domain.lastIndexOf(match);if(matchPosition>-1&&(matchPosition+match.length)==domain.length) return true}
return false};this.uriEncode=function(s){return encodeURI(decodeURIComponent(s))};this.delay=function(ms,func,scope){var args=Array.prototype.slice.call(arguments,3);setTimeout(function(){func.apply(scope,args)},ms)}};Util.UNIT_REMOVAL_PROPERTIES={leading:true,'margin-left':true,'margin-right':true,'text-indent':true};Util.SINGLE_WHITESPACE=' ';
function DomUtil(sIFR){var self=this;
function getDimensionFromStyle(node,property,offsetProperty){var dimension=self.getStyleAsInt(node,property,sIFR.ua.ie);if(dimension==0){dimension=node[offsetProperty];for(var i=3;i<arguments.length;i++) dimension-=self.getStyleAsInt(node,arguments[i],true)}
return dimension}
this.getBody=function(){return document.getElementsByTagName('body')[0]||null};this.querySelectorAll=function(selector){return window.parseSelector(selector)};this.addClass=function(name,node){if(node) node.className=((node.className||'')==''?'':node.className+' ')+name};this.removeClass=function(name,node){if(node) node.className=node.className.replace(new RegExp('(^|\\s)'+name+'(\\s|$)'),'').replace(/^\s+|(\s)\s+/g,'$1')};this.hasClass=function(name,node){return new RegExp('(^|\\s)'+name+'(\\s|$)').test(node.className)};this.hasOneOfClassses=function(names,node){for(var i=0;i<names.length;i++){if(this.hasClass(names[i],node)) return true}
return false};this.ancestorHasClass=function(node,name){node=node.parentNode;while(node&&node.nodeType==1){if(this.hasClass(name,node)) return true;node=node.parentNode}
return false};this.create=function(name,className){var node=document.createElementNS?document.createElementNS(DomUtil.XHTML_NS,name):document.createElement(name);if(className) node.className=className;return node};this.getComputedStyle=function(node,property){var result;if(document.defaultView&&document.defaultView.getComputedStyle){var style=document.defaultView.getComputedStyle(node,null);result=style?style[property]:null} else{if(node.currentStyle) result=node.currentStyle[property]}
return result||''};this.getStyleAsInt=function(node,property,requirePx){var value=this.getComputedStyle(node,property);if(requirePx&&!/px$/.test(value)) return 0;return parseInt(value)||0};this.getWidthFromStyle=function(node){return getDimensionFromStyle(node,'width','offsetWidth','paddingRight','paddingLeft','borderRightWidth','borderLeftWidth')};this.getHeightFromStyle=function(node){return getDimensionFromStyle(node,'height','offsetHeight','paddingTop','paddingBottom','borderTopWidth','borderBottomWidth')};this.getDimensions=function(node){var width=node.offsetWidth;var height=node.offsetHeight;if(width==0||height==0){for(var i=0;i<node.childNodes.length;i++){var child=node.childNodes[i];if(child.nodeType!=1) continue;width=Math.max(width,child.offsetWidth);height=Math.max(height,child.offsetHeight)}}
return{width:width,height:height}};this.getViewport=function(){return{width:window.innerWidth||document.documentElement.clientWidth||this.getBody().clientWidth,height:window.innerHeight||document.documentElement.clientHeight||this.getBody().clientHeight}};this.blurElement=function(element){try{element.blur();return} catch(e){};var input=this.create('input');input.style.width='0px';input.style.height='0px';element.parentNode.appendChild(input);input.focus();input.blur();input.parentNode.removeChild(input)}};DomUtil.XHTML_NS='http://www.w3.org/1999/xhtml';
function UserAgentDetection(sIFR){var ua=navigator.userAgent.toLowerCase();var product=(navigator.product||'').toLowerCase();var platform=navigator.platform.toLowerCase();this.parseVersion=UserAgentDetection.parseVersion;this.macintosh=/^mac/.test(platform);this.windows=/^win/.test(platform);this.linux=/^linux/.test(platform);this.quicktime=false;this.opera=/opera/.test(ua);this.konqueror=/konqueror/.test(ua);this.ie=false/*@cc_on || true @*/;this.ieSupported=this.ie&&!/ppc|smartphone|iemobile|msie\s5\.5/.test(ua)/*@cc_on && @_jscript_version >= 5.5 @*/
this.ieWin=this.windows&&this.ie/*@cc_on && @_jscript_version >= 5.1 @*/;this.windows=this.windows&&(!this.ie||this.ieWin);this.ieMac=this.macintosh&&this.ie/*@cc_on && @_jscript_version < 5.1 @*/;this.macintosh=this.macintosh&&(!this.ie||this.ieMac);this.safari=/safari/.test(ua);this.webkit=!this.konqueror&&/applewebkit/.test(ua);this.khtml=this.webkit||this.konqueror;this.gecko=!this.khtml&&product=='gecko';this.ieVersion=this.ie&&/.*msie\s(\d\.\d)/.exec(ua)?this.parseVersion(RegExp.$1):'0';this.operaVersion=this.opera&&/.*opera(\s|\/)(\d+\.\d+)/.exec(ua)?this.parseVersion(RegExp.$2):'0';this.webkitVersion=this.webkit&&/.*applewebkit\/(\d+).*/.exec(ua)?this.parseVersion(RegExp.$1):'0';this.geckoVersion=this.gecko&&/.*rv:\s*([^\)]+)\)\s+gecko/.exec(ua)?this.parseVersion(RegExp.$1):'0';this.konquerorVersion=this.konqueror&&/.*konqueror\/([\d\.]+).*/.exec(ua)?this.parseVersion(RegExp.$1):'0';this.flashVersion=0;if(this.ieWin){var axo;var stop=false;try{axo=new ActiveXObject('ShockwaveFlash.ShockwaveFlash.7')} catch(e){try{axo=new ActiveXObject('ShockwaveFlash.ShockwaveFlash.6');this.flashVersion=this.parseVersion('6');axo.AllowScriptAccess='always'} catch(e){stop=this.flashVersion==this.parseVersion('6')}
if(!stop) try{axo=new ActiveXObject('ShockwaveFlash.ShockwaveFlash')} catch(e){}}
if(!stop&&axo){this.flashVersion=this.parseVersion((axo.GetVariable('$version')||'').replace(/^\D+(\d+)\D+(\d+)\D+(\d+).*/g,'$1.$2.$3'))}} else if(navigator.plugins&&navigator.plugins['Shockwave Flash']){var d=navigator.plugins['Shockwave Flash'].description.replace(/^.*\s+(\S+\s+\S+$)/,'$1');var v=d.replace(/^\D*(\d+\.\d+).*$/,'$1');if(/r/.test(d)) v += d.replace(/^.*r(\d*).*$/,'.$1');else if(/d/.test(d)) v+='.0';this.flashVersion=this.parseVersion(v);var foundEnabled=false;for(var i=0,valid=this.flashVersion>=UserAgentDetection.MIN_FLASH_VERSION;valid&&i<navigator.mimeTypes.length;i++){var mime=navigator.mimeTypes[i];if(mime.type!='application/x-shockwave-flash') continue;if(mime.enabledPlugin){foundEnabled=true;if(mime.enabledPlugin.description.toLowerCase().indexOf('quicktime')>-1){valid=false;this.quicktime=true}}}
if(this.quicktime||!foundEnabled) this.flashVersion=this.parseVersion('0')}
this.flash=this.flashVersion>=UserAgentDetection.MIN_FLASH_VERSION;this.transparencySupport=this.macintosh||this.windows||this.linux&&(this.flashVersion>=this.parseVersion('10')&&(this.gecko&&this.geckoVersion>=this.parseVersion('1.9')||this.opera));this.computedStyleSupport=this.ie||!!document.defaultView.getComputedStyle;this.fixFocus=this.gecko&&this.windows;this.nativeDomLoaded=this.gecko||this.webkit&&this.webkitVersion>=this.parseVersion('525')||this.konqueror&&this.konquerorMajor>this.parseVersion('03')||this.opera;this.mustCheckStyle=this.khtml||this.opera;this.forcePageLoad=this.webkit&&this.webkitVersion<this.parseVersion('523')
this.properDocument=typeof(document.location)=='object';this.supported=this.flash&&this.properDocument&&(!this.ie||this.ieSupported)&&this.computedStyleSupport&&(!this.opera||this.operaVersion>=this.parseVersion('9.61'))&&(!this.webkit||this.webkitVersion>=this.parseVersion('412'))&&(!this.gecko||this.geckoVersion>=this.parseVersion('1.8.0.12'))&&(!this.konqueror)};UserAgentDetection.parseVersion=function(s){return s.replace(/(^|\D)(\d+)(?=\D|$)/g,
function(s,nonDigit,digits){s=nonDigit;for(var i=4-digits.length;i>=0;i--) s+='0';return s+digits})};UserAgentDetection.MIN_FLASH_VERSION=UserAgentDetection.parseVersion('8');
function FragmentIdentifier(sIFR){this.fix=sIFR.ua.ieWin&&window.location.hash!='';var cachedTitle;this.cache=function(){cachedTitle=document.title};
function doFix(){document.title=cachedTitle}
this.restore=function(){if(this.fix) setTimeout(doFix,0)}};
function PageLoad(sIFR){var dummy=null;
function pollLoad(){try{if(sIFR.ua.ie||document.readyState!='loaded'&&document.readyState!='complete'){document.documentElement.doScroll('left')}} catch(e){return setTimeout(pollLoad,10)}
afterDomLoad()};
function afterDomLoad(){if(sIFR.useStyleCheck) checkStyle();else if(!sIFR.ua.mustCheckStyle) fire(null,true)};
function checkStyle(){dummy=sIFR.dom.create("div",ClassNames.DUMMY);sIFR.dom.getBody().appendChild(dummy);pollStyle()};
function pollStyle(){if(sIFR.dom.getComputedStyle(dummy,'marginLeft')=='42px') afterStyle();else setTimeout(pollStyle,10)};
function afterStyle(){if(dummy&&dummy.parentNode) dummy.parentNode.removeChild(dummy);dummy=null;fire(null,true)};
function fire(evt,preserveReplacements){sIFR.initialize(preserveReplacements);if(evt&&evt.type=='load'){if(document.removeEventListener) document.removeEventListener('DOMContentLoaded',fire,false);if(window.removeEventListener) window.removeEventListener('load',fire,false)}};
function verifyUnload(){sIFR.prepareClearReferences();if(document.readyState=='interactive'){document.attachEvent('onstop',unloadByStop);setTimeout(function(){document.detachEvent('onstop',unloadByStop)},0)}};
function unloadByStop(){document.detachEvent('onstop',unloadByStop);fireUnload()};
function fireUnload(){sIFR.clearReferences()};this.attach=function(){if(window.addEventListener) window.addEventListener('load',fire,false);else window.attachEvent('onload',fire);if(!sIFR.useDomLoaded||sIFR.ua.forcePageLoad||sIFR.ua.ie&&window.top!=window) return;if(sIFR.ua.nativeDomLoaded){document.addEventListener('DOMContentLoaded',afterDomLoad,false)} else if(sIFR.ua.ie||sIFR.ua.khtml){pollLoad()}};this.attachUnload=function(){if(!sIFR.ua.ie) return;window.attachEvent('onbeforeunload',verifyUnload);window.attachEvent('onunload',fireUnload)}};var PREFETCH_COOKIE='sifrFetch';
function Prefetch(sIFR){var hasPrefetched=false;this.fetchMovies=function(movies){if(sIFR.setPrefetchCookie&&new RegExp(';?'+PREFETCH_COOKIE+'=true;?').test(document.cookie)) return;try{hasPrefetched=true;prefetch(movies)} catch(e){}
if(sIFR.setPrefetchCookie) document.cookie=PREFETCH_COOKIE+'=true;path='+sIFR.cookiePath};this.clear=function(){if(!hasPrefetched) return;try{var nodes=document.getElementsByTagName('script');for(var i=nodes.length-1;i>=0;i--){var node=nodes[i];if(node.type=='sifr/prefetch') node.parentNode.removeChild(node)}} catch(e){}};
function prefetch(args){for(var i=0;i<args.length;i++){document.write('<scr'+'ipt defer type="sifr/prefetch" src="'+args[i].src+'"></'+'script>')}}};
function BrokenFlashIE(sIFR){var active=sIFR.ua.ie;var fixFlash=active&&sIFR.ua.flashVersion<sIFR.ua.parseVersion('9.0.115');var resetMovies={};var registry={};this.fixFlash=fixFlash;this.register=function(flashNode){if(!active) return;var id=flashNode.getAttribute('id');this.cleanup(id,false);registry[id]=flashNode;delete resetMovies[id];if(fixFlash) window[id]=flashNode};this.reset=function(){if(!active) return false;for(var i=0;i<sIFR.replacements.length;i++){var flash=sIFR.replacements[i];var flashNode=registry[flash.id];if(!resetMovies[flash.id]&&(!flashNode.parentNode||flashNode.parentNode.nodeType==11)){flash.resetMovie();resetMovies[flash.id]=true}}
return true};this.cleanup=function(id,usePlaceholder){var node=registry[id];if(!node) return;for(var expando in node){if(typeof(node[expando])=='function') node[expando]=null}
registry[id]=null;if(fixFlash) window[id]=null;if(node.parentNode){if(usePlaceholder&&node.parentNode.nodeType==1){var placeholder=document.createElement('div');placeholder.style.width=node.offsetWidth+'px';placeholder.style.height=node.offsetHeight+'px';node.parentNode.replaceChild(placeholder,node)} else{node.parentNode.removeChild(node)}}};this.prepareClearReferences=function(){if(!fixFlash) return;__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){}};this.clearReferences=function(){if(fixFlash){var objects=document.getElementsByTagName('object');for(var i=objects.length-1;i>=0;i--) registry[objects[i].getAttribute('id')]=objects[i]}
for(var id in registry){if(Object.prototype[id]!=registry[id]) this.cleanup(id,true)}}}
function FlashInteractor(sIFR,id,vars,forceWidth,events){this.sIFR=sIFR;this.id=id;this.vars=vars;this.movie=null;this.__forceWidth=forceWidth;this.__events=events;this.__resizing=0}
FlashInteractor.prototype={getFlashElement: function(){return document.getElementById(this.id)},getAlternate: function(){return document.getElementById(this.id+'_alternate')},getAncestor: function(){var ancestor=this.getFlashElement().parentNode;return!this.sIFR.dom.hasClass(ClassNames.FIX_FOCUS,ancestor)?ancestor:ancestor.parentNode},available: function(){var flashNode=this.getFlashElement();return flashNode&&flashNode.parentNode},call: function(type){var flashNode=this.getFlashElement();if(!flashNode[type]){return false}
return Function.prototype.apply.call(flashNode[type],flashNode,Array.prototype.slice.call(arguments,1))},attempt: function(){if(!this.available()) return false;try{this.call.apply(this,arguments)} catch(e){if(this.sIFR.debug) throw e;return false}
return true},updateVars: function(name,value){for(var i=0;i<this.vars.length;i++){if(this.vars[i].split('=')[0]==name){this.vars[i]=name+'='+value;break}}
var vars=this.sIFR.util.encodeVars(this.vars);this.movie.injectVars(this.getFlashElement(),vars);this.movie.injectVars(this.movie.html,vars)},storeSize: function(type,value){this.movie.setSize(type,value);this.updateVars(type,value)},fireEvent: function(name){if(this.available()&&this.__events[name]) this.sIFR.util.delay(0,this.__events[name],this,this)},resizeFlashElement: function(height,width,firstResize){if(!this.available()) return;this.__resizing++;var flashNode=this.getFlashElement();flashNode.setAttribute('height',height);this.getAncestor().style.minHeight='';this.updateVars('renderheight',height);this.storeSize('height',height);if(width!==null){flashNode.setAttribute('width',width);this.movie.setSize('width',width)}
if(this.__events.onReplacement){this.sIFR.util.delay(0,this.__events.onReplacement,this,this);delete this.__events.onReplacement}
if(firstResize){this.sIFR.util.delay(0, function(){this.attempt('scaleMovie');this.__resizing--},this)} else{this.__resizing--}},blurFlashElement: function(){if(this.available()) this.sIFR.dom.blurElement(this.getFlashElement())},resetMovie: function(){this.sIFR.util.delay(0,this.movie.reset,this.movie,this.getFlashElement(),this.getAlternate())},resizeAfterScale: function(){if(this.available()&&this.__resizing==0) this.sIFR.util.delay(0,this.resize,this)},resize: function(){if(!this.available()) return;this.__resizing++;var flashNode=this.getFlashElement();var currentWidth=flashNode.offsetWidth;if(currentWidth==0) return;var originalWidth=flashNode.getAttribute('width');var originalHeight=flashNode.getAttribute('height');var ancestor=this.getAncestor();var minHeight=this.sIFR.dom.getHeightFromStyle(ancestor);flashNode.style.width='1px';flashNode.style.height='1px';ancestor.style.minHeight=minHeight+'px';var nodes=this.getAlternate().childNodes;var clones=[];for(var i=0;i<nodes.length;i++){var node=nodes[i].cloneNode(true);clones.push(node);ancestor.appendChild(node)}
var width=this.sIFR.dom.getWidthFromStyle(ancestor);for(var i=0;i<clones.length;i++) ancestor.removeChild(clones[i]);flashNode.style.width=flashNode.style.height=ancestor.style.minHeight='';flashNode.setAttribute('width',this.__forceWidth?width:originalWidth);flashNode.setAttribute('height',originalHeight);if(sIFR.ua.ie){flashNode.style.display='none';var repaint=flashNode.offsetHeight;flashNode.style.display=''}
if(width!=currentWidth){if(this.__forceWidth) this.storeSize('width',width);this.attempt('resize',width)}
this.__resizing--},replaceText: function(content,alternate){var escapedContent=this.sIFR.util.escape(content);if(!this.attempt('replaceText',escapedContent)) return false;this.updateVars('content',escapedContent);var node=this.getAlternate();if(alternate){while(node.firstChild) node.removeChild(node.firstChild);for(var i=0;i<alternate.length;i++) node.appendChild(alternate[i])} else{try{node.innerHTML=content} catch(e){}}
return true},changeCSS: function(css){css=this.sIFR.util.escape(this.sIFR.util.cssToString(this.sIFR.util.convertCssArg(css)));this.updateVars('css',css);return this.attempt('changeCSS',css)},remove: function(){if(this.movie&&this.available()) this.movie.remove(this.getFlashElement(),this.id)}};var MovieCreator=new function(){this.create=function(sIFR,brokenFlash,node,fixFocus,id,src,width,height,vars,wmode,backgroundColor){var klass=sIFR.ua.ie?IEFlashMovie:FlashMovie;return new klass(sIFR,brokenFlash,node,fixFocus,id,src,width,height,['flashvars',vars,'wmode',wmode,'bgcolor',backgroundColor,'allowScriptAccess','always','quality','best'])}
function FlashMovie(sIFR,brokenFlash,node,fixFocus,id,src,width,height,params){var object=sIFR.dom.create('object',ClassNames.FLASH);var attrs=['type','application/x-shockwave-flash','id',id,'name',id,'data',src,'width',width,'height',height];for(var i=0;i<attrs.length;i+=2) object.setAttribute(attrs[i],attrs[i+1]);var insertion=object;if(fixFocus){insertion=dom.create("div",ClassNames.FIX_FOCUS);insertion.appendChild(object)}
for(var i=0;i<params.length;i+=2){if(params[i]=='name') continue;var param=dom.create('param');param.setAttribute('name',params[i]);param.setAttribute('value',params[i+1]);object.appendChild(param)}
node.style.minHeight=height+'px';while(node.firstChild) node.removeChild(node.firstChild);node.appendChild(insertion);this.html=insertion.cloneNode(true)}
FlashMovie.prototype={reset: function(flashNode,alternate){flashNode.parentNode.replaceChild(this.html.cloneNode(true),flashNode)},remove: function(flashNode,id){flashNode.parentNode.removeChild(flashNode)},setSize: function(type,value){this.html.setAttribute(type,value)},injectVars: function(flash,encodedVars){var params=flash.getElementsByTagName('param');for(var i=0;i<params.length;i++){if(params[i].getAttribute('name')=='flashvars'){params[i].setAttribute('value',encodedVars);break}}}};
function IEFlashMovie(sIFR,brokenFlash,node,fixFocus,id,src,width,height,params){this.dom=sIFR.dom;this.broken=brokenFlash;this.html='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="'+id+'" width="'+width+'" height="'+height+'" class="'+ClassNames.FLASH+'">'+'<param name="movie" value="'+src+'"></param></object>'
;var paramsHtml='';for(var i=0;i<params.length;i+=2){paramsHtml+='<param name="'+params[i]+'" value="'+params[i+1]+'"></param>'}
this.html=this.html.replace(/(<\/object>)/,paramsHtml+'$1');node.style.minHeight=height+'px';node.innerHTML=this.html;this.broken.register(node.firstChild)}
IEFlashMovie.prototype={reset: function(flashNode,alternate){alternate=alternate.cloneNode(true);var parent=flashNode.parentNode;parent.innerHTML=this.html;this.broken.register(parent.firstChild);parent.appendChild(alternate)},remove: function(flashNode,id){this.broken.cleanup(id)},setSize: function(type,value){this.html=this.html.replace(type=='height'?/(height)="\d+"/ : /(width)="\d+"/,'$1="'+value+'"')},injectVars: function(flash,encodedVars){if(flash!=this.html) return;this.html=this.html.replace(/(flashvars(=|\"\svalue=)\")[^\"]+/,'$1'+encodedVars)}}}
this.errors=new Errors(self);var util=this.util=new Util(self);var dom=this.dom=new DomUtil(self);var ua=this.ua=new UserAgentDetection(self);var hacks={fragmentIdentifier:new FragmentIdentifier(self),pageLoad:new PageLoad(self),prefetch:new Prefetch(self),brokenFlashIE:new BrokenFlashIE(self)};this.__resetBrokenMovies=hacks.brokenFlashIE.reset;var replaceKwargsStore={kwargs:[],replaceAll: function(preserve){for(var i=0;i<this.kwargs.length;i++) self.replace(this.kwargs[i]);if(!preserve) this.kwargs=[]}};this.activate=function(){if(!ua.supported||!this.isEnabled||this.isActive||!isValidDomain()||isFile()) return;hacks.prefetch.fetchMovies(arguments);this.isActive=true;this.setFlashClass();hacks.fragmentIdentifier.cache();hacks.pageLoad.attachUnload();if(!this.autoInitialize) return;hacks.pageLoad.attach()};this.setFlashClass=function(){if(this.hasFlashClassSet) return;dom.addClass(ClassNames.ACTIVE,dom.getBody()||document.documentElement);this.hasFlashClassSet=true};this.removeFlashClass=function(){if(!this.hasFlashClassSet) return;dom.removeClass(ClassNames.ACTIVE,dom.getBody());dom.removeClass(ClassNames.ACTIVE,document.documentElement);this.hasFlashClassSet=false};this.initialize=function(preserveReplacements){if(!this.isActive||!this.isEnabled) return;if(isInitialized){if(!preserveReplacements) replaceKwargsStore.replaceAll(false);return}
isInitialized=true;replaceKwargsStore.replaceAll(preserveReplacements);if(self.repaintOnResize){if(window.addEventListener) window.addEventListener('resize',resize,false);else window.attachEvent('onresize',resize)}
hacks.prefetch.clear()};this.replace=function(kwargs,mergeKwargs){if(!ua.supported) return;if(mergeKwargs) kwargs=util.copyProperties(kwargs,mergeKwargs);if(!isInitialized) return replaceKwargsStore.kwargs.push(kwargs);if(this.onReplacementStart) this.onReplacementStart(kwargs);var nodes=kwargs.elements||dom.querySelectorAll(kwargs.selector);if(nodes.length==0) return;var src=getSource(kwargs.src);var css=util.convertCssArg(kwargs.css);var filters=getFilters(kwargs.filters);var forceSingleLine=kwargs.forceSingleLine===true;var preventWrap=kwargs.preventWrap===true&&!forceSingleLine;var fitExactly=forceSingleLine||(kwargs.fitExactly==null?this.fitExactly:kwargs.fitExactly)===true;var forceWidth=fitExactly||(kwargs.forceWidth==null?this.forceWidth:kwargs.forceWidth)===true;var ratios=kwargs.ratios||[];var pixelFont=kwargs.pixelFont===true;var tuneHeight=parseInt(kwargs.tuneHeight)||0;var events=!!kwargs.onRelease||!!kwargs.onRollOver||!!kwargs.onRollOut;if(fitExactly) util.extractFromCss(css,'.sIFR-root','text-align',true);var fontSize=util.extractFromCss(css,'.sIFR-root','font-size',true)||'0';var backgroundColor=util.extractFromCss(css,'.sIFR-root','background-color',true)||'#FFFFFF';var kerning=util.extractFromCss(css,'.sIFR-root','kerning',true)||'';var opacity=util.extractFromCss(css,'.sIFR-root','opacity',true)||'100';var cursor=util.extractFromCss(css,'.sIFR-root','cursor',true)||'default';var leading=parseInt(util.extractFromCss(css,'.sIFR-root','leading'))||0;var gridFitType=kwargs.gridFitType||(util.extractFromCss(css,'.sIFR-root','text-align')=='right')?'subpixel':'pixel';var textTransform=this.forceTextTransform===false?'none':util.extractFromCss(css,'.sIFR-root','text-transform',true)||'none';fontSize=/^\d+(px)?$/.test(fontSize)?parseInt(fontSize):0;opacity=parseFloat(opacity)<1?100 * parseFloat(opacity):opacity;var cssText=kwargs.modifyCss?'':util.cssToString(css);var wmode=kwargs.wmode||'';if(!wmode){if(kwargs.transparent) wmode='transparent';else if(kwargs.opaque) wmode='opaque'}
if(wmode=='transparent'){if(!ua.transparencySupport) wmode='opaque';else backgroundColor='transparent'} else if(backgroundColor=='transparent'){backgroundColor='#FFFFFF'}
for(var i=0;i<nodes.length;i++){var node=nodes[i];if(dom.hasOneOfClassses(ClassNames.IGNORE_CLASSES,node)||dom.ancestorHasClass(node,ClassNames.ALTERNATE)) continue;var dimensions=dom.getDimensions(node);var height=dimensions.height;var width=dimensions.width;var display=dom.getComputedStyle(node,'display');if(!height||!width||!display||display=='none') continue;width=dom.getWidthFromStyle(node);var size,lines;if(!fontSize){var calculation=calculate(node);size=Math.min(this.MAX_FONT_SIZE,Math.max(this.MIN_FONT_SIZE,calculation.fontSize));if(pixelFont) size=Math.max(8,8 * Math.round(size/8));lines=calculation.lines} else{size=fontSize;lines=1}
var alternate=dom.create('span',ClassNames.ALTERNATE);var contentNode=node.cloneNode(true);node.parentNode.appendChild(contentNode);for(var j=0,l=contentNode.childNodes.length;j<l;j++){var child=contentNode.childNodes[j];if(!/^(style|script)$/i.test(child.nodeName)){alternate.appendChild(child.cloneNode(true))}}
if(kwargs.modifyContent) kwargs.modifyContent(contentNode,kwargs.selector);if(kwargs.modifyCss) cssText=kwargs.modifyCss(css,contentNode,kwargs.selector);var content=parseContent(contentNode,textTransform,kwargs.uriEncode);contentNode.parentNode.removeChild(contentNode);if(kwargs.modifyContentString) content.text=kwargs.modifyContentString(content.text,kwargs.selector);if(content.text=='') continue;var renderHeight=Math.round(lines * getRatio(size,ratios) * size)+this.FLASH_PADDING_BOTTOM+tuneHeight;if(lines>1&&leading){renderHeight+=Math.round((lines-1) * leading)}
var forcedWidth=forceWidth?width:'100%';var id='sIFR_replacement_'+elementCount++;var vars=['id='+id,'content='+util.escape(content.text),'width='+width,'renderheight='+renderHeight,'link='+util.escape(content.primaryLink.href||''),'target='+util.escape(content.primaryLink.target||''),'size='+size,'css='+util.escape(cssText),'cursor='+cursor,'tunewidth='+(kwargs.tuneWidth||0),'tuneheight='+tuneHeight,'offsetleft='+(kwargs.offsetLeft||''),'offsettop='+(kwargs.offsetTop||''),'fitexactly='+fitExactly,'preventwrap='+preventWrap,'forcesingleline='+forceSingleLine,'antialiastype='+(kwargs.antiAliasType||''),'thickness='+(kwargs.thickness||''),'sharpness='+(kwargs.sharpness||''),'kerning='+kerning,'gridfittype='+gridFitType,'flashfilters='+filters,'opacity='+opacity,'blendmode='+(kwargs.blendMode||''),'selectable='+(kwargs.selectable==null||wmode!=''&&!sIFR.ua.macintosh&&sIFR.ua.gecko&&sIFR.ua.geckoVersion>=sIFR.ua.parseVersion('1.9')?'true':kwargs.selectable===true),'fixhover='+(this.fixHover===true),'events='+events,'delayrun='+hacks.brokenFlashIE.fixFlash,'version='+this.VERSION];var encodedVars=util.encodeVars(vars);var interactor=new FlashInteractor(self,id,vars,forceWidth,{onReplacement:kwargs.onReplacement,onRollOver:kwargs.onRollOver,onRollOut:kwargs.onRollOut,onRelease:kwargs.onRelease});interactor.movie=MovieCreator.create(sIFR,hacks.brokenFlashIE,node,ua.fixFocus&&kwargs.fixFocus,id,src,forcedWidth,renderHeight,encodedVars,wmode,backgroundColor);this.replacements.push(interactor);this.replacements[id]=interactor;if(kwargs.selector){if(!this.replacements[kwargs.selector]) this.replacements[kwargs.selector]=[interactor];else this.replacements[kwargs.selector].push(interactor)}
alternate.setAttribute('id',id+'_alternate');node.appendChild(alternate);dom.addClass(ClassNames.REPLACED,node)}
hacks.fragmentIdentifier.restore()};this.getReplacementByFlashElement=function(node){for(var i=0;i<self.replacements.length;i++){if(self.replacements[i].id==node.getAttribute('id')) return self.replacements[i]}};this.redraw=function(){for(var i=0;i<self.replacements.length;i++) self.replacements[i].resetMovie()};this.prepareClearReferences=function(){hacks.brokenFlashIE.prepareClearReferences()};this.clearReferences=function(){hacks.brokenFlashIE.clearReferences();hacks=null;replaceKwargsStore=null;delete self.replacements};
function isValidDomain(){if(self.domains.length==0) return true;var domain=util.domain();for(var i=0;i<self.domains.length;i++){if(util.domainMatches(domain,self.domains[i])){return true}}
return false}
function isFile(){if(document.location.protocol=='file:'){if(self.debug) self.errors.fire('isFile');return true}
return false}
function getSource(src){if(ua.ie&&src.charAt(0)=='/'){src=window.location.toString().replace(/([^:]+)(:\/?\/?)([^\/]+).*/,'$1$2$3')+src}
return src}
function getRatio(size,ratios){for(var i=0;i<ratios.length;i+=2){if(size<=ratios[i]) return ratios[i+1]}
return ratios[ratios.length-1]||1}
function getFilters(obj){var filters=[];for(var filter in obj){if(obj[filter]==Object.prototype[filter]) continue;var properties=obj[filter];filter=[filter.replace(/filter/i,'')+'Filter'];for(var property in properties){if(properties[property]==Object.prototype[property]) continue;filter.push(property+':'+util.escape(util.toJson(properties[property],util.toHexString)))}
filters.push(filter.join(','))}
return util.escape(filters.join(';'))}
function resize(evt){var current=resize.viewport;var viewport=dom.getViewport();if(current&&viewport.width==current.width&&viewport.height==current.height) return;resize.viewport=viewport;if(self.replacements.length==0) return;if(resize.timer) clearTimeout(resize.timer);resize.timer=setTimeout(function(){delete resize.timer;for(var i=0;i<self.replacements.length;i++) self.replacements[i].resize()},200)}
function calculate(node){var fontSize=dom.getComputedStyle(node,'fontSize');var deduce=fontSize.indexOf('px')==-1;var html=node.innerHTML;if(deduce){node.innerHTML='X'}
node.style.paddingTop=node.style.paddingBottom=node.style.borderTopWidth=node.style.borderBottomWidth='0px';node.style.lineHeight='2em';node.style.display='block';fontSize=deduce?node.offsetHeight/2:parseInt(fontSize,10);if(deduce){node.innerHTML=html}
var lines=Math.round(node.offsetHeight/(2 * fontSize));node.style.paddingTop=node.style.paddingBottom=node.style.borderTopWidth=node.style.borderBottomWidth=node.style.lineHeight=node.style.display='';if(isNaN(lines)||!isFinite(lines)||lines==0){lines=1}
return{fontSize:fontSize,lines:lines}}
function parseContent(source,textTransform,uriEncode){uriEncode=uriEncode||util.uriEncode;var stack=[],content=[];var primaryLink=null;var nodes=source.childNodes;var whiteSpaceEnd=false,firstText=false;var i=0;while(i<nodes.length){var node=nodes[i];if(node.nodeType==3){var text=util.textTransform(textTransform,util.normalize(node.nodeValue)).replace(/</g,'&lt;');if(whiteSpaceEnd&&firstText) text=text.replace(/^\s+/,'');content.push(text);whiteSpaceEnd=/\s$/.test(text);firstText=false}
if(node.nodeType==1&&!/^(style|script)$/i.test(node.nodeName)){var attributes=[];var nodeName=node.nodeName.toLowerCase();var className=node.className||'';if(/\s+/.test(className)){if(className.indexOf(ClassNames.CLASS)>-1) className=className.match('(\\s|^)'+ClassNames.CLASS+'-([^\\s$]*)(\\s|$)')[2];else className=className.match(/^([^\s]+)/)[1]}
if(className!='') attributes.push('class="'+className+'"');if(nodeName=='a'){var href=uriEncode(node.getAttribute('href')||'');var target=node.getAttribute('target')||'';attributes.push('href="'+href+'"','target="'+target+'"');if(!primaryLink){primaryLink={href:href,target:target}}}
content.push('<'+nodeName+(attributes.length>0?' ':'')+attributes.join(' ')+'>');firstText=true;if(node.hasChildNodes()){stack.push(i);i=0;nodes=node.childNodes;continue} else if(!/^(br|img)$/i.test(node.nodeName)) content.push('</',node.nodeName.toLowerCase(),'>')}
if(stack.length>0&&!node.nextSibling){do{i=stack.pop();nodes=node.parentNode.parentNode.childNodes;node=nodes[i];if(node) content.push('</',node.nodeName.toLowerCase(),'>')} while(i==nodes.length-1&&stack.length>0)}
i++}
return{text:content.join('').replace(/^\s+|\s+$|\s*(<br>)\s*/g,'$1'),primaryLink:primaryLink||{}}}};var parseSelector=jQuery;

/* - ++resource++werkbank.dialyse_herne_theme.javascripts/jquery.jcarousel.pack.js - */
// http://www.dialyse-herne.de/portal_javascripts/++resource++werkbank.dialyse_herne_theme.javascripts/jquery.jcarousel.pack.js?original=1
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(9($){$.1s.A=9(o){z 4.14(9(){2H r(4,o)})};8 q={W:F,23:1,1G:1,u:7,15:3,16:7,1H:\'2I\',24:\'2J\',1i:0,B:7,1j:7,1I:7,25:7,26:7,27:7,28:7,29:7,2a:7,2b:7,1J:\'<N></N>\',1K:\'<N></N>\',2c:\'2d\',2e:\'2d\',1L:7,1M:7};$.A=9(e,o){4.5=$.17({},q,o||{});4.Q=F;4.D=7;4.H=7;4.t=7;4.R=7;4.S=7;4.O=!4.5.W?\'1N\':\'2f\';4.E=!4.5.W?\'2g\':\'2h\';8 a=\'\',1d=e.J.1d(\' \');1k(8 i=0;i<1d.K;i++){6(1d[i].2i(\'A-2j\')!=-1){$(e).1t(1d[i]);8 a=1d[i];1l}}6(e.2k==\'2K\'||e.2k==\'2L\'){4.t=$(e);4.D=4.t.18();6(4.D.1m(\'A-H\')){6(!4.D.18().1m(\'A-D\'))4.D=4.D.B(\'<N></N>\');4.D=4.D.18()}X 6(!4.D.1m(\'A-D\'))4.D=4.t.B(\'<N></N>\').18()}X{4.D=$(e);4.t=$(e).2M(\'>2l,>2m,N>2l,N>2m\')}6(a!=\'\'&&4.D.18()[0].J.2i(\'A-2j\')==-1)4.D.B(\'<N 2N=" \'+a+\'"></N>\');4.H=4.t.18();6(!4.H.K||!4.H.1m(\'A-H\'))4.H=4.t.B(\'<N></N>\').18();4.S=$(\'.A-11\',4.D);6(4.S.u()==0&&4.5.1K!=7)4.S=4.H.1u(4.5.1K).11();4.S.V(4.J(\'A-11\'));4.R=$(\'.A-19\',4.D);6(4.R.u()==0&&4.5.1J!=7)4.R=4.H.1u(4.5.1J).11();4.R.V(4.J(\'A-19\'));4.H.V(4.J(\'A-H\'));4.t.V(4.J(\'A-t\'));4.D.V(4.J(\'A-D\'));8 b=4.5.16!=7?1n.1O(4.1o()/4.5.16):7;8 c=4.t.2O(\'1v\');8 d=4;6(c.u()>0){8 f=0,i=4.5.1G;c.14(9(){d.1P(4,i++);f+=d.T(4,b)});4.t.y(4.O,f+\'U\');6(!o||o.u===L)4.5.u=c.u()}4.D.y(\'1w\',\'1x\');4.R.y(\'1w\',\'1x\');4.S.y(\'1w\',\'1x\');4.2n=9(){d.19()};4.2o=9(){d.11()};4.1Q=9(){d.2p()};6(4.5.1j!=7)4.5.1j(4,\'2q\');6($.2r.2s){4.1e(F,F);$(2t).1y(\'2P\',9(){d.1z()})}X 4.1z()};8 r=$.A;r.1s=r.2Q={A:\'0.2.3\'};r.1s.17=r.17=$.17;r.1s.17({1z:9(){4.C=7;4.G=7;4.Y=7;4.12=7;4.1a=F;4.1f=7;4.P=7;4.Z=F;6(4.Q)z;4.t.y(4.E,4.1A(4.5.1G)+\'U\');8 p=4.1A(4.5.23);4.Y=4.12=7;4.1p(p,F);$(2t).1R(\'2u\',4.1Q).1y(\'2u\',4.1Q)},2v:9(){4.t.2w();4.t.y(4.E,\'2R\');4.t.y(4.O,\'2S\');6(4.5.1j!=7)4.5.1j(4,\'2v\');4.1z()},2p:9(){6(4.P!=7&&4.Z)4.t.y(4.E,r.I(4.t.y(4.E))+4.P);4.P=7;4.Z=F;6(4.5.1I!=7)4.5.1I(4);6(4.5.16!=7){8 a=4;8 b=1n.1O(4.1o()/4.5.16),O=0,E=0;$(\'1v\',4.t).14(9(i){O+=a.T(4,b);6(i+1<a.C)E=O});4.t.y(4.O,O+\'U\');4.t.y(4.E,-E+\'U\')}4.15(4.C,F)},2T:9(){4.Q=1g;4.1e()},2U:9(){4.Q=F;4.1e()},u:9(s){6(s!=L){4.5.u=s;6(!4.Q)4.1e()}z 4.5.u},2V:9(i,a){6(a==L||!a)a=i;6(4.5.u!==7&&a>4.5.u)a=4.5.u;1k(8 j=i;j<=a;j++){8 e=4.M(j);6(!e.K||e.1m(\'A-1b-1B\'))z F}z 1g},M:9(i){z $(\'.A-1b-\'+i,4.t)},2x:9(i,s){8 e=4.M(i),1S=0,2x=0;6(e.K==0){8 c,e=4.1C(i),j=r.I(i);1q(c=4.M(--j)){6(j<=0||c.K){j<=0?4.t.2y(e):c.1T(e);1l}}}X 1S=4.T(e);e.1t(4.J(\'A-1b-1B\'));1U s==\'2W\'?e.2X(s):e.2w().2Y(s);8 a=4.5.16!=7?1n.1O(4.1o()/4.5.16):7;8 b=4.T(e,a)-1S;6(i>0&&i<4.C)4.t.y(4.E,r.I(4.t.y(4.E))-b+\'U\');4.t.y(4.O,r.I(4.t.y(4.O))+b+\'U\');z e},1V:9(i){8 e=4.M(i);6(!e.K||(i>=4.C&&i<=4.G))z;8 d=4.T(e);6(i<4.C)4.t.y(4.E,r.I(4.t.y(4.E))+d+\'U\');e.1V();4.t.y(4.O,r.I(4.t.y(4.O))-d+\'U\')},19:9(){4.1D();6(4.P!=7&&!4.Z)4.1W(F);X 4.15(((4.5.B==\'1X\'||4.5.B==\'G\')&&4.5.u!=7&&4.G==4.5.u)?1:4.C+4.5.15)},11:9(){4.1D();6(4.P!=7&&4.Z)4.1W(1g);X 4.15(((4.5.B==\'1X\'||4.5.B==\'C\')&&4.5.u!=7&&4.C==1)?4.5.u:4.C-4.5.15)},1W:9(b){6(4.Q||4.1a||!4.P)z;8 a=r.I(4.t.y(4.E));!b?a-=4.P:a+=4.P;4.Z=!b;4.Y=4.C;4.12=4.G;4.1p(a)},15:9(i,a){6(4.Q||4.1a)z;4.1p(4.1A(i),a)},1A:9(i){6(4.Q||4.1a)z;i=r.I(i);6(4.5.B!=\'1c\')i=i<1?1:(4.5.u&&i>4.5.u?4.5.u:i);8 a=4.C>i;8 b=r.I(4.t.y(4.E));8 f=4.5.B!=\'1c\'&&4.C<=1?1:4.C;8 c=a?4.M(f):4.M(4.G);8 j=a?f:f-1;8 e=7,l=0,p=F,d=0;1q(a?--j>=i:++j<i){e=4.M(j);p=!e.K;6(e.K==0){e=4.1C(j).V(4.J(\'A-1b-1B\'));c[a?\'1u\':\'1T\'](e)}c=e;d=4.T(e);6(p)l+=d;6(4.C!=7&&(4.5.B==\'1c\'||(j>=1&&(4.5.u==7||j<=4.5.u))))b=a?b+d:b-d}8 g=4.1o();8 h=[];8 k=0,j=i,v=0;8 c=4.M(i-1);1q(++k){e=4.M(j);p=!e.K;6(e.K==0){e=4.1C(j).V(4.J(\'A-1b-1B\'));c.K==0?4.t.2y(e):c[a?\'1u\':\'1T\'](e)}c=e;8 d=4.T(e);6(d==0){2Z(\'30: 31 1N/2f 32 1k 33. 34 35 36 37 38 39. 3a...\');z 0}6(4.5.B!=\'1c\'&&4.5.u!==7&&j>4.5.u)h.3b(e);X 6(p)l+=d;v+=d;6(v>=g)1l;j++}1k(8 x=0;x<h.K;x++)h[x].1V();6(l>0){4.t.y(4.O,4.T(4.t)+l+\'U\');6(a){b-=l;4.t.y(4.E,r.I(4.t.y(4.E))-l+\'U\')}}8 n=i+k-1;6(4.5.B!=\'1c\'&&4.5.u&&n>4.5.u)n=4.5.u;6(j>n){k=0,j=n,v=0;1q(++k){8 e=4.M(j--);6(!e.K)1l;v+=4.T(e);6(v>=g)1l}}8 o=n-k+1;6(4.5.B!=\'1c\'&&o<1)o=1;6(4.Z&&a){b+=4.P;4.Z=F}4.P=7;6(4.5.B!=\'1c\'&&n==4.5.u&&(n-k+1)>=1){8 m=r.10(4.M(n),!4.5.W?\'1r\':\'1Y\');6((v-m)>g)4.P=v-g-m}1q(i-->o)b+=4.T(4.M(i));4.Y=4.C;4.12=4.G;4.C=o;4.G=n;z b},1p:9(p,a){6(4.Q||4.1a)z;4.1a=1g;8 b=4;8 c=9(){b.1a=F;6(p==0)b.t.y(b.E,0);6(b.5.B==\'1X\'||b.5.B==\'G\'||b.5.u==7||b.G<b.5.u)b.2z();b.1e();b.1Z(\'2A\')};4.1Z(\'3c\');6(!4.5.1H||a==F){4.t.y(4.E,p+\'U\');c()}X{8 o=!4.5.W?{\'2g\':p}:{\'2h\':p};4.t.1p(o,4.5.1H,4.5.24,c)}},2z:9(s){6(s!=L)4.5.1i=s;6(4.5.1i==0)z 4.1D();6(4.1f!=7)z;8 a=4;4.1f=3d(9(){a.19()},4.5.1i*3e)},1D:9(){6(4.1f==7)z;3f(4.1f);4.1f=7},1e:9(n,p){6(n==L||n==7){8 n=!4.Q&&4.5.u!==0&&((4.5.B&&4.5.B!=\'C\')||4.5.u==7||4.G<4.5.u);6(!4.Q&&(!4.5.B||4.5.B==\'C\')&&4.5.u!=7&&4.G>=4.5.u)n=4.P!=7&&!4.Z}6(p==L||p==7){8 p=!4.Q&&4.5.u!==0&&((4.5.B&&4.5.B!=\'G\')||4.C>1);6(!4.Q&&(!4.5.B||4.5.B==\'G\')&&4.5.u!=7&&4.C==1)p=4.P!=7&&4.Z}8 a=4;4.R[n?\'1y\':\'1R\'](4.5.2c,4.2n)[n?\'1t\':\'V\'](4.J(\'A-19-1E\')).20(\'1E\',n?F:1g);4.S[p?\'1y\':\'1R\'](4.5.2e,4.2o)[p?\'1t\':\'V\'](4.J(\'A-11-1E\')).20(\'1E\',p?F:1g);6(4.R.K>0&&(4.R[0].1h==L||4.R[0].1h!=n)&&4.5.1L!=7){4.R.14(9(){a.5.1L(a,4,n)});4.R[0].1h=n}6(4.S.K>0&&(4.S[0].1h==L||4.S[0].1h!=p)&&4.5.1M!=7){4.S.14(9(){a.5.1M(a,4,p)});4.S[0].1h=p}},1Z:9(a){8 b=4.Y==7?\'2q\':(4.Y<4.C?\'19\':\'11\');4.13(\'25\',a,b);6(4.Y!==4.C){4.13(\'26\',a,b,4.C);4.13(\'27\',a,b,4.Y)}6(4.12!==4.G){4.13(\'28\',a,b,4.G);4.13(\'29\',a,b,4.12)}4.13(\'2a\',a,b,4.C,4.G,4.Y,4.12);4.13(\'2b\',a,b,4.Y,4.12,4.C,4.G)},13:9(a,b,c,d,e,f,g){6(4.5[a]==L||(1U 4.5[a]!=\'2B\'&&b!=\'2A\'))z;8 h=1U 4.5[a]==\'2B\'?4.5[a][b]:4.5[a];6(!$.3g(h))z;8 j=4;6(d===L)h(j,c,b);X 6(e===L)4.M(d).14(9(){h(j,4,d,c,b)});X{1k(8 i=d;i<=e;i++)6(i!==7&&!(i>=f&&i<=g))4.M(i).14(9(){h(j,4,i,c,b)})}},1C:9(i){z 4.1P(\'<1v></1v>\',i)},1P:9(e,i){8 a=$(e).V(4.J(\'A-1b\')).V(4.J(\'A-1b-\'+i));a.20(\'3h\',i);z a},J:9(c){z c+\' \'+c+(!4.5.W?\'-3i\':\'-W\')},T:9(e,d){8 a=e.2C!=L?e[0]:e;8 b=!4.5.W?a.1F+r.10(a,\'2D\')+r.10(a,\'1r\'):a.2E+r.10(a,\'2F\')+r.10(a,\'1Y\');6(d==L||b==d)z b;8 w=!4.5.W?d-r.10(a,\'2D\')-r.10(a,\'1r\'):d-r.10(a,\'2F\')-r.10(a,\'1Y\');$(a).y(4.O,w+\'U\');z 4.T(a)},1o:9(){z!4.5.W?4.H[0].1F-r.I(4.H.y(\'3j\'))-r.I(4.H.y(\'3k\')):4.H[0].2E-r.I(4.H.y(\'3l\'))-r.I(4.H.y(\'3m\'))},3n:9(i,s){6(s==L)s=4.5.u;z 1n.3o((((i-1)/s)-1n.3p((i-1)/s))*s)+1}});r.17({3q:9(d){z $.17(q,d||{})},10:9(e,p){6(!e)z 0;8 a=e.2C!=L?e[0]:e;6(p==\'1r\'&&$.2r.2s){8 b={\'1w\':\'1x\',\'3r\':\'3s\',\'1N\':\'1i\'},21,22;$.2G(a,b,9(){21=a.1F});b[\'1r\']=0;$.2G(a,b,9(){22=a.1F});z 22-21}z r.I($.y(a,p))},I:9(v){v=3t(v);z 3u(v)?0:v}})})(3v);',62,218,'||||this|options|if|null|var|function||||||||||||||||||||list|size||||css|return|jcarousel|wrap|first|container|lt|false|last|clip|intval|className|length|undefined|get|div|wh|tail|locked|buttonNext|buttonPrev|dimension|px|addClass|vertical|else|prevFirst|inTail|margin|prev|prevLast|callback|each|scroll|visible|extend|parent|next|animating|item|circular|split|buttons|timer|true|jcarouselstate|auto|initCallback|for|break|hasClass|Math|clipping|animate|while|marginRight|fn|removeClass|before|li|display|block|bind|setup|pos|placeholder|create|stopAuto|disabled|offsetWidth|offset|animation|reloadCallback|buttonNextHTML|buttonPrevHTML|buttonNextCallback|buttonPrevCallback|width|ceil|format|funcResize|unbind|old|after|typeof|remove|scrollTail|both|marginBottom|notify|attr|oWidth|oWidth2|start|easing|itemLoadCallback|itemFirstInCallback|itemFirstOutCallback|itemLastInCallback|itemLastOutCallback|itemVisibleInCallback|itemVisibleOutCallback|buttonNextEvent|click|buttonPrevEvent|height|left|top|indexOf|skin|nodeName|ul|ol|funcNext|funcPrev|reload|init|browser|safari|window|resize|reset|empty|add|prepend|startAuto|onAfterAnimation|object|jquery|marginLeft|offsetHeight|marginTop|swap|new|normal|swing|UL|OL|find|class|children|load|prototype|0px|10px|lock|unlock|has|string|html|append|alert|jCarousel|No|set|items|This|will|cause|an|infinite|loop|Aborting|push|onBeforeAnimation|setTimeout|1000|clearTimeout|isFunction|jcarouselindex|horizontal|borderLeftWidth|borderRightWidth|borderTopWidth|borderBottomWidth|index|round|floor|defaults|float|none|parseInt|isNaN|jQuery'.split('|'),0,{}))


/* - ++resource++werkbank.dialyse_herne_theme.javascripts/javascripts.js - */
// http://www.dialyse-herne.de/portal_javascripts/++resource++werkbank.dialyse_herne_theme.javascripts/javascripts.js?original=1
jq(document).ready(function(){jq(".portletNews .portletItem").each(function(itemIndex,item){jq(item).append('<div class="newsitem_container"></div>');jq(item).children("div.newsitem_container").load(jq(item).children("a.read_more").attr('href')+' .newsImageContainer, .documentFirstHeading, #parent-fieldname-text .homepagetext', function(){jq(item).children("div.newsitem_container").append('<a href="'+jq(item).children("a.read_more").attr('href')+'" class="more_details">zur Detailansicht</a>')}).hide();jq(item).mouseenter(function(){if(jq(this).children("div.newsitem_container").is(":hidden")){jq(this).children("div.newsitem_container").fadeIn()};jq(item).parents().find("div.newsitem_container:visible").not(jq(this).children("div.newsitem_container")).hide();jq(item).parents(".portletNews").addClass("news_active");jq(this).addClass("selected_news")});jq(item).mouseleave(function(){if(jq(this).children("div.newsitem_container").is(":visible")){jq(this).children("div.newsitem_container").hide()};jq(item).parents(".portletNews").removeClass("news_active");jq(this).removeClass("selected_news")})})});jq(document).ready(function(){var faq=jq("#faq");faq.children().hide();faq.click(function(){if(faq.children().first().is(':hidden')){faq.animate({width:"311px",height:"94px",bottom:"156px",left:"0px",},800, function(){faq.children().show()})}
else{faq.animate({width:"79px",height:"66px",bottom:"148px",left:"3px",},800);faq.children().hide()}})});jq(document).ready(function(){jq("#rufbereitschaft").boxShadow(2,2,576,29,7,"#bdbdbd")});jq(document).ready(function(){jq("div.galleryinfo").hide();jq(".section-front-page li.jcarousel-item").live('mouseenter',function(){jq(this).children("div.galleryinfo").show();jq(this).parents(".jcarousel-clip").css("z-index","100")});jq(".section-front-page li.jcarousel-item").live('mouseleave',function(){jq(this).children("div.galleryinfo").hide();jq(this).parents(".jcarousel-clip").css("z-index","0")})});jq(document).ready(function(){jq("body").append('<div id="dropdown_navi_source" />');jq("#dropdown_navi_source").hide();jq(".portletTopicSitemapPortlet ul li ul").each(function(){var thisname=jq(this).attr("class").replace("navTree navTreeLevel1 ","");var clone=jq(this).clone();clone[0].id=thisname+'_ddnavi';jq("#dropdown_navi_source").append(clone);jq("#dropdown_navi_source>#"+clone[0].id).wrap('<div class="dropdown_navi_top" />').wrap('<div class="dropdown_navi" />')})});
function findTabName(element){return element.id.replace("portaltab-",'').replace(/(^|\s)([a-z])/g, function(m,p1,p2){return p1+p2.toUpperCase()})}
jq(document).ready(function(){jq("[id^='portaltab-']").find("a").each(function(index,item){var image=document.createElement('img');image.setAttribute('src',jq(item).attr("href")+'/image_navDropdown');var parentid=jq(item).parent().attr("id").replace("portaltab-","");image.setAttribute('id',"img_"+parentid);image.setAttribute('class',"naviImage");jq('#'+findTabName(jq(this).parent()[0])+'_ddnavi').append(image);jq("#img_"+parentid).hide();jq(item).mouseover(function(){jq("img.naviImage").hide();jq("#img_"+parentid).show()})})
jq("[id^='portaltab-']").each(function(index,item){jq(this).mouseenter(function(){jq(this).parent().find(".dropdown_navi_top").appendTo(jq("#dropdown_navi_source"));jq(this).append(jq("#dropdown_navi_source").find('#'+findTabName(this)+'_ddnavi').parent().parent())});jq(this).mouseleave(function(){jq(this).children(".dropdown_navi_top").appendTo(jq("#dropdown_navi_source"))})})
jq("#dropdown_navi_source").find("img").preload({placeholder:'/Plone/spinner.gif',notFound:'/Plone/null.gif'})});

/* - ++resource++werkbank.dialyse_herne_theme.javascripts/jquery.boxshadow.js - */
// http://www.dialyse-herne.de/portal_javascripts/++resource++werkbank.dialyse_herne_theme.javascripts/jquery.boxshadow.js?original=1
(function(jq){jq.fn.boxShadow=function(xOffset,yOffset,IEAbsoluteX,IEAbsoluteY,blurRadius,shadowColor){if(!jq.browser.msie) return this.each(function(){jq(this).css({'box-shadow':xOffset+'px '+yOffset+'px '+blurRadius+'px '+shadowColor,'-o-box-shadow':xOffset+'px '+yOffset+'px '+blurRadius+'px '+shadowColor,'-moz-box-shadow':xOffset+'px '+yOffset+'px '+blurRadius+'px '+shadowColor,'-webkit-box-shadow':xOffset+'px '+yOffset+'px '+blurRadius+'px '+shadowColor,})})
return this.each(function(){jq(this).css({position:"relative",zoom:1,zIndex:"2"});jq(this).parent().css({position:"relative"});var div=document.createElement("div");jq(this).parent().append(div);var _top,_left,_width,_height;if(blurRadius!=0){jq(div).css("filter","progid:DXImageTransform.Microsoft.Blur(pixelRadius="+(blurRadius)+", enabled='true')");_top=IEAbsoluteY-blurRadius-1;_left=IEAbsoluteX-blurRadius-1;_width=jq(this).outerWidth()+1;_height=jq(this).outerHeight()+1} else{_top=IEAbsoluteY;_left=IEAbsoluteX;_width=jq(this).outerWidth();_height=jq(this).outerHeight()}
jq(div).css({top:_top,left:_left,width:_width,height:_height,background:shadowColor,position:"absolute",zIndex:1})})}})(jQuery);

/* - ++resource++werkbank.dialyse_herne_theme.javascripts/jquery.preload.js - */
// http://www.dialyse-herne.de/portal_javascripts/++resource++werkbank.dialyse_herne_theme.javascripts/jquery.preload.js?original=1
;(function(jq){var $preload=jq.preload=function(original,settings){if(original.split)
original=jq(original);settings=jq.extend({},$preload.defaults,settings);var sources=jq.map(original, function(source){if(!source)
return;if(source.split)
return settings.base+source+settings.ext;var url=source.src||source.href;if(typeof settings.placeholder=='string'&&source.src)
source.src=settings.placeholder;if(url&&settings.find)
url=url.replace(settings.find,settings.replace);return url||null});var data={loaded:0,failed:0,next:0,done:0,total:sources.length};if(!data.total)
return finish();var imgs=jq(Array(settings.threshold+1).join('<img/>')).load(handler).error(handler).bind('abort',handler).each(fetch);
function handler(e){data.element=this;data.found=e.type=='load';data.image=this.src;data.index=this.index;var orig=data.original=original[this.index];data[data.found?'loaded':'failed']++;data.done++;if(settings.enforceCache)
$preload.cache.push(jq('<img/>').attr('src',data.image)[0]);if(settings.placeholder&&orig.src)
orig.src=data.found?data.image:settings.notFound||orig.src;if(settings.onComplete)
settings.onComplete(data);if(data.done<data.total)
fetch(0,this);else{if(imgs&&imgs.unbind)
imgs.unbind('load').unbind('error').unbind('abort');imgs=null;finish()}};
function fetch(i,img,retry){if(img.attachEvent&&data.next&&data.next%$preload.gap==0&&!retry){setTimeout(function(){fetch(i,img,true)},0);return false}
if(data.next==data.total) return false;img.index=data.next;img.src=sources[data.next++];if(settings.onRequest){data.index=img.index;data.element=img;data.image=img.src;data.original=original[data.next-1];settings.onRequest(data)}};
function finish(){if(settings.onFinish)
settings.onFinish(data)}};$preload.gap=14;$preload.cache=[];$preload.defaults={threshold:2,base:'',ext:'',replace:''};jq.fn.preload=function(settings){$preload(this,settings);return this}})(jQuery);

