﻿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(){_q195();};}ComponentArt_Ticker.prototype.GetProperty=function(_1){return this[_1];};ComponentArt_Ticker.prototype.SetProperty=function(_2,_3){this[_2]=_3;};function _q198(_4){if(_4.TickerType=="statusbar"){return window.status;}else{return _q194(document.getElementById(_4.ElementID).innerHTML);}}function _q19E(_5,_6){if(_5.TickerType=="statusbar"){window.status=_6;}else{document.getElementById(_5.ElementID).innerHTML=_q196(_6);}}function _q196(_7){if(navigator.userAgent.indexOf("MSIE")!=-1||navigator.userAgent.indexOf("Opera")!=-1){return _7.replace("&","&amp;");}else{return _7.replace("&"," ");}}function _q194(_8){if(navigator.userAgent.indexOf("MSIE")!=-1||navigator.userAgent.indexOf("Opera")!=-1){return _8.replace("&amp;","&");}else{return _8;}}function rcr_StartTicker(_9){_q19E(_9,"");var _a="rcr_PrintNextChar("+_9.GlobalID+")";_9.IntervalID=window.setInterval(_a,_9.CharDelay);}function _q1A0(_b){window.clearInterval(_b.IntervalID);}function rcr_PrintNextChar(_c){if(_q198(_c).length==_c.Lines[_c.CurLine].length){_q199(_c);}else{_q19E(_c,_q198(_c)+_c.Lines[_c.CurLine].charAt(_c.CurChar));_c.CurChar++;}}function _q199(_d){_d.CurChar=0;window.clearInterval(_d.IntervalID);if(_d.CurLine==_d.Lines.length-1){if(_d.Loop){_d.CurLine=0;}else{_q1A0(_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();}function _q195(){}

if(typeof(Sys)!=='undefined')Sys.Application.notifyScriptLoaded();