jQuery.masinfo = function( img, titular, cuerpo ) {
	
	if(typeof(titular) == "undefined" && typeof(cuerpo) == "undefined")	return;

	$('body').append('<div id="'+ img.attr('src') +'"></div>');
	$('body').append('<div id="'+ img.attr('src') +'2"></div>');

	var infoDiv = $('div[id*="' + img.attr('src') + '"]');
	var infoDiv2 = $('div[id*="' + img.attr('src') + '2"]');

	infoDiv.css({

		'opacity' : '0.7',
		'position' : 'absolute',
		'left' : img.offset().left + 1 + "px",
		'width' : img.width(),
		'background-color' : 'black',
		'z-index' : '1'
	});

	if(typeof(titular) != "undefined" && titular.length > 0 && titular.text() != "") {
		infoDiv2.append(titular.clone());
		infoDiv2.children().show()
	}

	if(typeof(cuerpo) != "undefined" && cuerpo.length > 0 && cuerpo.text() != "") {
		infoDiv2.append(cuerpo.clone());
		infoDiv2.children().show()
	}

	infoDiv2.css({

		'opacity' : '1',
		'position' : 'absolute',
		'left' : img.offset().left + 1 + "px",
		'width' : img.width(),
		'z-index' : '10',
		'background' : 'transparent'
	});

	var top = img.offset().top + img.height() - 65;

	infoDiv.css({
	
		'height' : infoDiv2.height(),
		'top'	 : top + "px"
	});

	infoDiv2.css({

		'top'	 : top + "px"
	});
}