$(document).ready(function() {

	try
	{
		$('.frontnews-hot').serialScroll({
			items:'div',
			duration:4000,
			force:true,
			start: 0,
			axis:'y',
			easing:'swing',
			lazy:true,// NOTE: it's set to true, meaning you can add/remove/reorder items and the changes are taken into account.
			interval:1, // yeah! I now added auto-scrolling
			step:3 // scroll 2 news each time
		});
		
		$('.frontnews-hot').hover(
			function(){
			$(this).trigger('stop');
			},
			function(){
			$(this).trigger('start');
			});
	}
	catch(e){}
	
	/*try
	{*/
		$('.flag-row .flag-list-content').css('display', 'none');
		
		$('.flag-row h3').click( function(event)
		{
			/*if (($(event.target).is('h3') || $(event.target).is('h3 img')) )
			{*/
				//alert(event.target);
			
				$(this).parent().children('.flag-list-content').slideToggle('fast');
			    
				$(this).parent().children('h3').toggleClass('on');
			    
				return false;
			/*}*/

		});
	/*}
	catch(e){}*/

});