﻿function ComponentArt_Ticker(){this.GlobalID="";this.ElementID="";this.CharDelay=0;this.LineDelay=0;this.Lines=new Array();this.NextTickerDelay=0;this.TickerType="default";this.IntervalID=0;this.CurLine=0;this.CurChar=0;this.OnEnd=function(){_q1A4();};}ComponentArt_Ticker.prototype.GetProperty=function(_1){return this[_1];};ComponentArt_Ticker.prototype.SetProperty=function(_2,_3){this[_2]=_3;};function _q1A7(_4){if(_4.TickerType=="statusbar"){return window.status;}else{return _q1A3(document.getElementById(_4.ElementID).innerHTML);}}function _q1AD(_5,_6){if(_5.TickerType=="statusbar"){window.status=_6;}else{document.getElementById(_5.ElementID).innerHTML=_q1A5(_6);}}function _q1A5(_7){if(navigator.userAgent.indexOf("MSIE")!=-1||navigator.userAgent.indexOf("Opera")!=-1){return _7.replace("&","&amp;");}else{return _7.replace("&"," ");}}function _q1A3(_8){if(navigator.userAgent.indexOf("MSIE")!=-1||navigator.userAgent.indexOf("Opera")!=-1){return _8.replace("&amp;","&");}else{return _8;}}window.rcr_StartTicker=function(_9){_q1AD(_9,"");var _a="rcr_PrintNextChar("+_9.GlobalID+")";_9.IntervalID=window.setInterval(_a,_9.CharDelay);};function _q1AF(_b){window.clearInterval(_b.IntervalID);}function rcr_PrintNextChar(_c){if(_q1A7(_c).length==_c.Lines[_c.CurLine].length){_q1A8(_c);}else{_q1AD(_c,_q1A7(_c)+_c.Lines[_c.CurLine].charAt(_c.CurChar));_c.CurChar++;}}function _q1A8(_d){_d.CurChar=0;window.clearInterval(_d.IntervalID);if(_d.CurLine==_d.Lines.length-1){if(_d.Loop){_d.CurLine=0;}else{_q1AF(_d);var _e="rcr_OnEnd("+_d.GlobalID+")";var _f=window.setTimeout(_e,_d.NextTickerDelay);return null;}}else{_d.CurLine++;}var _e="rcr_StartTicker("+_d.GlobalID+")";var _10=window.setTimeout(_e,_d.LineDelay);}function rcr_OnEnd(_11){_11.OnEnd();}window._q1A4=function(){};

if(typeof(Sys)!=='undefined')Sys.Application.notifyScriptLoaded();