/**
 * The Syn.PhotoNews Component Class
 */ 

/**
 * Create a Syn.PhotoNews component instance
 * @constructor
 */
Syn.PhotoNews = Syn.Component.extend(
{
	/**
	 * Initialize the component class. This is called automatically by the default constructor.
	 * @member Syn.PhotoNews
	 * @param {Object} config
	 */
	init: function(config)
	{
		this._super(config);

		this.uniqueElmt('news_photo_car').jCarouselLite({
			btnNext: '#' + this.uniqueKey('next'),
			btnPrev: '#' + this.uniqueKey('prev'),
			visible: (config.items != null) ? config.items : 3
		});
	}
});
