function getNews(strID){
	$.get('include/news_ajax.php', {id: strID}, function(data){
		var navigation = "";
		data_str = data.split("<|>");
		$('td.title').html(data_str[1]);
		$('td.content').html(data_str[2]);
		$('td.date').html(data_str[3]);
		id_value = parseInt(data_str[0]);
		if(data_str[4] == 1){
			next = id_value+1;
			navigation = navigation+"<a onClick=getNews("+next+")><img src=\"images/left_arrow.gif\"></a>";
		}
		if(id_value != 0){
			next = id_value-1;
			navigation = navigation+"<a onClick=getNews("+next+")><img src=\"images/right_arrow.gif\"></a>";
		}
		//alert(navigation);
		$('td.news_nav').html(navigation);
	});
}

 
