function importXML(a){if(document.implementation&&document.implementation.createDocument){xmlFeed=document.implementation.createDocument("","",null);xmlFeed.async=false}else if(window.ActiveXObject&&document.all){xmlFeed=new ActiveXObject("Microsoft.XMLDOM");xmlFeed.async=false}else return false;xmlFeed.load(a);return typeof xmlFeed!="undefined"?xmlFeed:false} function MessageCenter(a,e){var c=e?e:4E3,b=[],d=0,f=new Timer(this),h,i=0,j=0,k;this.addMessage=function(g){b[b.length]=g};this.addXMLMessage=function(g){k=importXML(g);zMessage=k.getElementsByTagName("addXMLMessage");zMessageLen=zMessage.length;for(x=0;x<zMessageLen;x++)b[b.length]=zMessage[x].firstChild.data};this.start=function(){if(document.getElementById){document.getElementById(a).innerHTML=b[d];d++;if(d>b.length-1)d=0}f.clearTimeout(void 0);h=f.setTimeout("start",c);i=j=0};this.resume=function(){this.start()}; this.pause=function(g){this.stopMsg=g?g:null;f.clearTimeout(h);if(this.stopMsg)document.getElementById(a).innerHTML=this.stopMsg};this.stop=function(g){this.pause(g)};this.clear=function(){f.clearTimeout(h);document.getElementById(a).innerHTML="";i=j=d=0};this.end=function(){this.clear()};this.kill=function(){this.clear()};this.NoDisassembleNumberFive=function(){this.clear()};this.next=function(){if(j==0)i=j=1;else j!=0&&d++;if(d>b.length-1)d=0;if(d<0)d=b.length-1;f.clearTimeout(h);h=f.setTimeout("start", c);document.getElementById(a).innerHTML=b[d]};this.forward=function(){this.next()};this.fwd=function(){this.next()};this.previous=function(){if(i==0){i=1;d-=2;j=1}else i!=0&&d--;if(d>b.length-1)d=0;if(d<0)d=b.length-1;f.clearTimeout(h);h=f.setTimeout("start",c);document.getElementById(a).innerHTML=b[d]};this.prev=function(){this.previous()};this.back=function(){this.previous()}}function Timer(){this.obj=arguments.length?arguments[0]:window;return this} Timer.prototype.setInterval=function(a,e){var c=Timer.getNew(),b=Timer.buildCall(this.obj,c,arguments);Timer.set[c].timer=window.setInterval(b,e);return c};Timer.prototype.setTimeout=function(a,e){var c=Timer.getNew();Timer.buildCall(this.obj,c,arguments);Timer.set[c].timer=window.setTimeout("Timer.callOnce("+c+");",e);return c};Timer.prototype.clearInterval=function(a){if(Timer.set[a]){window.clearInterval(Timer.set[a].timer);Timer.set[a]=null}}; Timer.prototype.clearTimeout=function(a){if(Timer.set[a]){window.clearTimeout(Timer.set[a].timer);Timer.set[a]=null}};Timer.set=[];Timer.buildCall=function(a,e,c){var b="";Timer.set[e]=[];if(a!=window){Timer.set[e].obj=a;b="Timer.set["+e+"].obj."}b+=c[0]+"(";if(c.length>2){Timer.set[e][0]=c[2];b+="Timer.set["+e+"][0]";for(a=1;a+2<c.length;a++){Timer.set[e][a]=c[a+2];b+=", Timer.set["+e+"]["+a+"]"}}b+=");";return Timer.set[e].call=b}; Timer.callOnce=function(a){if(Timer.set[a]){eval(Timer.set[a].call);Timer.set[a]=null}};Timer.getNew=function(){for(var a=0;Timer.set[a];)a++;return a};
