function newsStory(id,headline) {
	this.id = id;
	this.headline = headline;
}

function nextNews(newsID) {

	for (j = 0; j < news.length; j++) {
		if (news[j].id == newsID) {
			break;
		}
	}
	if (j + 1 < news.length ) {
		window.location = 'news_' + news[j + 1].id + '.html';
	}
	else {
		alert('No more stories');
	}
}

function ShowNewsLinks(newsID) {
		
	
	if (!basic) {
		for (j = 0; j < news.length; j++) {  
			if (news[j].id == newsID) {  
				break;
			}
		}
		if (j == (news.length -1)) {   
			document.all.nextlink.style.visibility = 'hidden';
		}
		
	}
}


var news = new Array();
news[0] = new newsStory(42081,'International Birding News  ');
news[1] = new newsStory(181201,'Odonata tour of the Brenne/Vienne');
news[2] = new newsStory(208640,'Murcia, Spain 13th to 31st December 2011 - Part 1');
news[3] = new newsStory(209035,'Murcia, Spain 13th to 31st December 2011 - Part 2');
news[4] = new newsStory(173845,'Coto Donana, Spain 8th to 16th February 2011');
news[5] = new newsStory(71999,'Normandy 8th to 15th September 2008');
news[6] = new newsStory(66713,'La Camargue 14th to 21st June 2008');
news[7] = new newsStory(62680,'Les Vercors 8th to 14th June 2008');
news[8] = new newsStory(42969,'The French Pyrenees 29th June to 3rd July 2007');
news[9] = new newsStory(40937,'Le Teich Bird Reserve & the Bassin d\'Arcachon');
news[10] = new newsStory(39956,'Birdwatching on the Ile de Re');
news[11] = new newsStory(39021,'\'A Year in the Vienne\' ');


