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(197930,'21 pound mirror landed by season ticket holder - Alan Hall');
news[1] = new newsStory(181010,'Season ticket holder - Terry Gore lands four crucians over 3lbs');
news[2] = new newsStory(181007,'Brian Whitmarsh lands a good brace of perch');
news[3] = new newsStory(176760,'Roach feeding frenzy');
news[4] = new newsStory(149977,'Derek Wilkinson lands the first perch over 3.5lbs in 2010');
news[5] = new newsStory(141891,'We now stock fishing bait from three different suppliers...');
news[6] = new newsStory(141888,'Season tickets now available');
news[7] = new newsStory(141886,'Stockwell Farmhouse Sold - Fancott Fishery open as usual');
news[8] = new newsStory(112473,'New road nearly complete');
news[9] = new newsStory(110079,'Brian Carr Memorial Match - Peg money goes to charity');
news[10] = new newsStory(107777,'New swims...');
news[11] = new newsStory(103214,'Brian Carr Memorial Match');
news[12] = new newsStory(100949,'Towcester Angling club match June 21st');
news[13] = new newsStory(97678,'500 new carp introduced in June 2009...');
news[14] = new newsStory(96169,'Four pound perch landed in May');
news[15] = new newsStory(89533,'Spring brings better catch rates');
news[16] = new newsStory(85319,'Relocation Relocation comes to Fancott Fishery');
news[17] = new newsStory(72624,'Jon Ravenhall fishes peg 11');
news[18] = new newsStory(68339,'Crucian carp of 3lbs 8oz landed in August');
news[19] = new newsStory(67904,'Ben Middleton - aged eight catches his first carp...');
news[20] = new newsStory(67604,'Offley angler - Richard Gore fishes at Fancott for the first time today.');
news[21] = new newsStory(67603,'First time at Fancott...');
news[22] = new newsStory(67551,'August - Great sport with roach and carp');
news[23] = new newsStory(58047,'An exciting new development');


