/* Rotacion de Latest News del index */
//Define Global vars for nextNews
index = 0;
time = 8000;
var actNextLatestNews;
//End Define Global vars for nextNews

function nextLatestNews() {
    var amountNews = $(".a_news").length;
    if(amountNews > index+1)  {//amount > that number order (i+1) of .content
      $(".a_news").eq(index).fadeOut(2000);
      $(".a_news").eq(index+1).fadeIn(2000);
      index++;
			clearTimeout(actNextLatestNews);
    } else {
			$(".a_news").eq(index).fadeOut(2000);
      $(".a_news").eq(0).fadeIn(2000);
      index = 0;
			clearTimeout(actNextLatestNews);
		}
    if(time != 0) actNextLatestNews = setTimeout(nextLatestNews, time);
}