function labsSummary(){}labsSummary.prototype.count=new Array();labsSummary.prototype.display=new Array();labsSummary.prototype.timeout=new Array();labsSummary.prototype.init=function(e,c){this.count[e]=c;this.display[e]=0;if(this.count[e]>0){var d="";var a=0;for(var b=0;b<this.count[e];b++){a=Math.max(a,labsElement.get("contener"+e+"-"+b).offsetHeight);d+='<a href="#" id="contener'+e+"-a-X-"+b+'"'+(b==0?"":' class="disable"')+' onclick="labsSummary.select('+e+", "+b+', 30000); return false;">'+(b+1)+"</a> "}var f=labsElement.getStyle("contener"+e,"height");if(f==false||f=="0px"){labsElement.get("contener"+e).style.height=a+"px"}labsElement.setValue("contener"+e+"top",d.replace(/X/g,"top"));labsElement.setValue("contener"+e+"bottom",d.replace(/X/g,"bottom"));if(this.count[e]>1){this.select(e,this.display[e])}}return true};labsSummary.prototype.select=function(d,c,b){if(this.timeout[d]!=false){window.clearTimeout(this.timeout[d])}if(this.display[d]!=c){labsElement.morphDiv("contener"+d+"-"+c,"contener"+d+"-"+this.display[d]);
labsElement.addClass("contener"+d+"-a-top-"+this.display[d],"disable");labsElement.addClass("contener"+d+"-a-bottom-"+this.display[d],"disable");this.display[d]=c;labsElement.removeClass("contener"+d+"-a-top-"+this.display[d],"disable");labsElement.removeClass("contener"+d+"-a-bottom-"+this.display[d],"disable")}var a=(this.display[d]+1)%this.count[d];this.timeout[d]=window.setTimeout(function(){labsSummary.select(d,a)},b||5000)};var labsSummary=new labsSummary();