Prado.WebUI.TRatingList = Class.create(); Prado.WebUI.TRatingList.prototype = { selectedIndex : -1, initialize : function(options) { this.options = options; this.element = $(options['ID']); Element.addClassName(this.element,options.cssClass); this.radios = document.getElementsByName(options.field); for(var i = 0; i -1 ? this.radios[index].value : this.options.caption; } }