String.prototype.z=function(){var v=this;return v.split("").reverse().join("")};var SLIDETIMER=3;var SLIDESPEED=3;var SCROLLTIMER=3;var SCROLLSPEED=3;var STARTINGOPACITY=40;function slideContent(c,d,e){var f=document.getElementById(c);var g=f.parentNode;clearInterval(g.timer);g.section=parseInt(c.replace(/\D/g,''));g.target=f.offsetTop;g.style.top=g.style.top||'0px';g.current=g.style.top.replace('px','');g.direction=(Math.abs(g.current)>g.target)?1:-1;g.style.opacity=STARTINGOPACITY*.01;g.style.filter="=yticapo(ahpla".z()+STARTINGOPACITY+'\x29';g.timer=setInterval(function(){slideAnimate(g,d,e)},SLIDETIMER)}function slideAnimate(c,d,e){var f=Math.abs(c.current);var g=Math.abs(c.target);var h=c.direction;if((g-f<=SLIDESPEED&&h==-1)||(f-g<=SLIDESPEED&&h==1)){c.style.top=(c.target*-1)+'px';c.style.opacity=1;c.style.filter=")001=yticapo(ahpla".z();clearInterval(c.timer);if(c.autoscroll){setTimeout(function(){autoScroll(c.id,d,e)},e*1000)}}else{var i=(h==1)?parseInt(c.current)+SLIDESPEED:c.current-SLIDESPEED;c.current=i;c.style.top=i+'px'}}function scrollContent(c,d){var e=document.getElementById(c);clearInterval(e.timer);var f=e.getElementsByTagName('div');var length=f.length;var g;if(d==-1){g=0}else{if(length>1){g=f[length-1].offsetTop}else{g=f[length-1].offsetHeight-e.parentNode.offsetHeight+20}}e.style.opacity=STARTINGOPACITY*.01;e.style.filter="=yticapo(ahpla".z()+STARTINGOPACITY+'\x29';e.timer=setInterval(function(){scrollAnimate(e,d,g)},SCROLLTIMER)}function scrollAnimate(c,d,e){c.style.top=c.style.top||'0px';var top=c.style.top.replace('px','');if(d==1){if(e-Math.abs(top)<=SCROLLSPEED){cancelScroll(c.id);c.style.top='\x2d'+e+'px'}else{c.style.top=top-SCROLLSPEED+'px'}}else{if(Math.abs(top)-e<=SCROLLSPEED){cancelScroll(c.id);c.style.top=e+'px'}else{c.style.top=parseInt(top)+SCROLLSPEED+'px'}}}function cancelScroll(c){var d=document.getElementById(c);d.style.opacity=1;d.style.filter=")001=yticapo(ahpla".z();clearTimeout(d.timer)}function autoScroll(c,d,e,f){var g=document.getElementById(c);g.autoscroll=(!g.autoscroll&&!f)?false:true;if(g.autoscroll){var h=g.getElementsByTagName('div');var length=h.length;g.section=(g.section&&g.section<length)?g.section+1:1;slideContent(d+'\x2d'+g.section,d,e)}}function cancelAutoScroll(c){var d=document.getElementById(c);d.autoscroll=false}