function showHighlight(_1){_1.style.backgroundColor="#E1FDA9";}function hideHighlight(_2){_2.style.backgroundColor=(_2.className=="listalternaterow")?"#EFF8DD":"#FFFFFF";}if(!Array.prototype.push){Array.prototype.push=function(_3){this[this.length]=_3;};}var EventManager={_registry:null,Initialise:function(){if(this._registry==null){this._registry=[];EventManager.Add(window,"unload",this.CleanUp);}},Add:function(_4,_5,fn,_7){this.Initialise();if(typeof _4=="string"){_4=document.getElementById(_4);}if(_4==null||fn==null){return false;}if(_4.addEventListener){_4.addEventListener(_5,fn,_7);this._registry.push({obj:_4,type:_5,fn:fn,useCapture:_7});return true;}if(_4.attachEvent&&_4.attachEvent("on"+_5,fn)){this._registry.push({obj:_4,type:_5,fn:fn,useCapture:false});return true;}return false;},CleanUp:function(){var _8=0;for(var i=0;i<EventManager._registry.length;i++){_8=EventManager._registry[i];if(_8.obj.removeEventListener){_8.obj.removeEventListener(_8.type,_8.fn,_8.useCapture);}else{if(_8.obj.detachEvent){_8.obj.detachEvent("on"+_8.type,_8.fn);}}}EventManager._registry=null;}};
