 		@_dblclickaction = null
 		@_style = "JSListStyleStandard"
 		@_textSize = 12
+		@_select = -1
 		
 	setFrame:(frame)->
 		super(frame)

				if (@_style=="JSListStyleStandard")
					$(@_viewSelector+"_select").click (e) =>
						e.stopPropagation()
						select = $(@_viewSelector+"_select option:selected").val()
						if (@_clickaction? && select?)
							@_clickaction(select)
					$(@_viewSelector+"_select").dblclick (e) =>
						e.stopPropagation()
						select = $(@_viewSelector+"_select option:selected").val()
						if (@_dblclickaction? && select?)
							@_dblclickaction(select)
				else
					$(@_viewSelector+"_select").change (e) =>
						e.stopPropagation()
						select = $(@_viewSelector+"_select option:selected").val()
						if (@_clickaction? && select?)
							@_clickaction(select)
						
			when "JSListStyleSortable"
				@_tag = "<table style='width:100%;'><tbody id='"+@_objectID+"_select'>"

		num = @_listData.indexOf(target)
		return num
		
	getSelect:->
		return @_select

	setSelect:(select)->
		$(@_viewSelector+"_select").val(select)
	
