if (typeof(UIFI) == 'undefined')
	UIFI = {};

if (typeof(UIFI.AnuntulGratuit) == 'undefined')
	UIFI.AnuntulGratuit = {};

UIFI.AnuntulGratuit.listingAd = {
	/**
	 * show the full content for the ad where this is called on
	 */
	showFullContent: function(elem) {
		var content_elem = elem.parentNode.parentNode.children[0]; // div with content
		content_elem.children[1].style.display = 'none'; // hide the span with '...'
		content_elem.children[2].style.display = 'inline'; // show the span with the rest of the content
		elem.style.display = 'none'; // hide the icon once we showed all the content
	}
};

