/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
function displayDeletePasta(){

	$('.pasta').hover( function(){
		//alert();
		//$(this).closest('.view').find('.deleteIcon').css('display','block');
		var delIcon = $(this).closest('.view').find('.deleteIcon');
		
		delIcon.css('display', 'block');
		delIcon.hover( function(){
			$(this).css('display', 'block');
		},
		function(){
			$(this).css('display', 'none'); } );
	},
	function(){
		$(this).closest('.view').find('.deleteIcon').css('display', 'none');
	});
}

function displayDeleteDocumento(){

	$('.documento').hover( function(){
		//alert();
		//$(this).closest('.view').find('.deleteIcon').css('display','block');
		var delIcon = $(this).closest('.view').find('.deleteIcon');

		delIcon.css('display', 'block');
		delIcon.hover( function(){
			$(this).css('display', 'block');
		},
		function(){
			$(this).css('display', 'none'); } );
	},
	function(){
		$(this).closest('.view').find('.deleteIcon').css('display', 'none');
	});
}

function displayEditDocumento(){

	$('.documento').hover( function(){
		//alert();
		//$(this).closest('.view').find('.deleteIcon').css('display','block');
		var delIcon = $(this).closest('.view').find('.editIcon');

		delIcon.css('display', 'block');
		delIcon.hover( function(){
			$(this).css('display', 'block');
		},
		function(){
			$(this).css('display', 'none'); } );
	},
	function(){
		$(this).closest('.view').find('.editIcon').css('display', 'none');
	});
}


