function openSortable(ID){
//	$(".ListText").slideToggle();	
	$("#" + ID + " .ListText").slideToggle();
//	alert(ID);
}

$(document).ready(function(){
						   
$("#PrioriteringSortable").sortable({
	handle : '.Handle',
//	connectWith: ["#NewsColumn2","#NewsColumn3"],
	dropOnEmpty: true, 
	scroll: true, // enable scroll while dragging
    placeholder: 'placeholder', // placeholder marking drop zone
//	revert: true, // float back
	opacity: 	0.8, // opacity of element while dragging
//	containment: '#PrioriteringRight', // constrain drag inside this element
//	delay: 200, // time delay until drag
	zIndex: 1000,
	sort: function(){
		$(".ListText:Visible").hide();
/*
		var itemSize = $(".ui-sortable-helper").height(); // Getting height from the item being moved
		$(".placeholder").css("height",itemSize-4); // Applying height to the placeholder
*/
		$(".SortableList").css("z-index","10"); // giving all lists a z-index of 10 (canceling previous drag-applied css)
		$(this).css("z-index", "100"); // applying a z-index of 100 to the list containing the item being moved
	}
//     update: function(event, ui) {
//		$.cookie('thelist' + $(this).attr('id'), $(this).sortable("toArray"), { expires: setCookieExpiry, path: "/" });
//	}
});


/*
$(".LiSortable").find(".ListContent").hover(function () {
	var displayText = $(this).find(".ListText").
	$(this).find(".Icon").click(function () {
		displayText
	});
	
});
*/


});
