

function div_list_items_drag(){

		sort_settings={ 
  		  revert: true,
//  		  containment:'parent',
		  axis:'y',
		 // delay: 100,
		//  opacity:0.5,		  
		  items: '> li',
		  handle: '.popup a.move_handle',
		  cursor: 'move',		  
			/*sort:function(e,ui){
				//ui.placeholder.height(100);					
				ui.placeholder.height(ui.helper.height());
//				ui.placeholder.width(ui.helper.width());				
			},*/
			start: function(e,ui) {
				ui.helper.css("width", ui.item.width());
				ui.helper.css("height", ui.item.height());	
				
				
				
			},			
			/*
			change: function(e,ui){
					 	sortableChange(e,ui);
//						alert(ui.Clone.height);
					//	updateColumnHeights(e,ui);
			},		*/	
		  update:function(){
			
			$.ajax({
			   url:'index.php?c=ajax&fields='+$(this).sortable('toArray')+'&template=blank&act=page_modular_order&id_page='+document.getElementById('id_page').value,
			   type:'GET'
		    });
		  }
		};
		
  		$(".side_nav").sortable(sort_settings);

	
}
$(document).livequery(div_list_items_drag);

