/**												**
** newsticker functions							**
**************************************************
**/
// lazy news ticker 
		// This array must match the news items you 
		// wish to load 
		// news1, news{n},
var t = ""; 
var newskeys = new Array(1, 2, 4, 5);
var debug = "";
var newsitems = new Array();	
var options = {};
var frags = $('.newsitem'); 
$(document).ready(function(){  
		$('#sliderul').hide(); 
		$(newskeys).each(function(i,e){ 
				$.get('/frags/news' + e + '.html', function(data){
					$('#sliderul').html($('#sliderul').html() + '<li class = "sliderli" id = "sl' + i + '">' + data + '</li>'); 
				
				});  
		});			
});

// fully loaded
$(window).load(function(){ 
		$('#sliderul').fadeIn(500, function(){ 
			$("#slider").easySlider({
			   auto: true,
			   continuous: true,
			   vertical:false,
			   speed:500,
			   pause:5000, 
			   numeric:false, 
			   numericId: 'ncontrols', 
			   nextClass: "nextButton",
			   prevClass: "prevButton", 
			   hoverPause:false, 
			   controlsShow:false,  
		  });
		}); 
  	  
}); 					

