/**
* DNUGs fading sponsor list
* @author: Michael Gollmick (MGO)
* @depends: Dojo
* (c)2009 TIMETOACT Software & Consulting, Cologne, Germany
* ALL RIGHTS RESERVED
*/
dojo.require("dojo.fx");var createFadeList=function(_1,_2){try{var _3=(typeof _1==="string")?dojo.byId(_1):_1;var _4=((typeof _2!=="undefined")&&(_2!==null))?_2:{displayTime:5000,fadeInTime:1000,fadeOutTime:1000};var _5={currentNode:null,displayTime:((_4.displayTime)?_4.displayTime:5000),fadeInTime:((_4.fadeInTime)?_4.fadeInTime:1000),fadeOutTime:((_4.fadeOutTime)?_4.fadeOutTime:1000),parentNode:_3,getAllEntries:function(){try{return dojo.query("div.entry",this.parentNode);}catch(e){console.error("getAllEntries()::"+e);}},getNextEntry:function(){try{var _6=this.getAllEntries();if(this.currentNode===null){this.currentNode=_6[0];}else{for(var a=0;a<_6.length;a++){if(_6[a]===this.currentNode){if((a+1)<_6.length){this.currentNode=_6[a+1];}else{this.currentNode=_6[0];}break;}}}return (this.currentNode);}catch(e){console.error("getNextEntry()::"+e);}},animate:function(){try{var _8=this.getNextEntry();var _9=dojo.fadeIn({node:_8,duration:this.fadeInTime,beforeBegin:function(){dojo.NodeList(_8).style("opacity",0).style("display","block");}});var _a=dojo.fadeOut({node:_8,duration:this.fadeOutTime,parentNode:this.parentNode,onEnd:function(){dojo.NodeList(_8).style("opacity",0).style("display","none");this.parentNode._FadeList.animate();},delay:this.displayTime});var _b=dojo.fx.chain([_9,_a]);_b.play();}catch(e){console.error("animate()::"+e);}}};_3._FadeList=_5;return _5;}catch(e){console.error("addOnLoad()::"+e);}return null;};dojo.addOnLoad(function(){try{var fl=createFadeList("logoArea");fl.animate();}catch(e){console.error("addOnLoad()::"+e);}});
