	var select_format = new Control.SelectMultiple('select_format','select_format_options',{
			checkboxSelector: 'table.select_multiple_table tr td input[type=checkbox]',
			nameSelector: 'table.select_multiple_table tr td.select_multiple_name',
			afterChange: function(){
				if(select_format && select_format.setSelectedRows)
					select_format.setSelectedRows();
			}
		});
		
		
		select_format.setSelectedRows = function(){
			this.checkboxes.each(function(checkbox){
				var tr = $(checkbox.parentNode.parentNode);
				tr.removeClassName('selected');
				if(checkbox.checked)
					tr.addClassName('selected');
			});
		}.bind(select_format);
		select_format.checkboxes.each(function(checkbox){
			$(checkbox).observe('click',select_format.setSelectedRows);
		});
		select_format.setSelectedRows();
		

		$('select_format_open').observe('click',function(event){
			$(this.select).style.visibility = 'hidden';
			$('select_format_open').style.visibility = 'hidden';
			new Effect.BlindDown(this.container,{
				duration: 0.3
			});
			Event.stop(event);
			return false;
		}.bindAsEventListener(select_format));
		$('select_format_close').observe('click',function(event){
			$(this.select).style.visibility = 'visible';
			$('select_format_open').style.visibility = 'visible';
			new Effect.BlindUp(this.container,{
				duration: 0.3
			});
			Event.stop(event);
			return false;
		}.bindAsEventListener(select_format));	
