var groups = UI.$('selArea1').options.length; var group = new Array(groups) for(var i=0 ; i