// jQuery dragable portlets
$(function() {
//	$('.column_right').sortable({
//		connectWith: '.column_left'
//	});
//	
//	$('.column_left').sortable({
//		connectWith: '.column_right'
//	});		
	
	$('.portlet').addClass('ui-widget ui-widget-content ui-helper-clearfix ui-corner-all')
		.find('.portlet-header')
			.addClass('ui-widget-header ui-corner-all')
			.prepend('<span class="ui-icon ui-icon-plusthick"></span>')
			.end()
		.find('.portlet-content');
		
	$('.portlet-header .ui-icon').click(function() {
		$(this).toggleClass('ui-icon-minusthick');
		$(this).parents('.portlet:first').find('.portlet-content').toggle();
	});
	
	$('.column_right').disableSelection();
});
