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(203720,'November 2011');
news[1] = new newsStory(173659,'News from February 2012');
news[2] = new newsStory(170130,'News from January 2010');
news[3] = new newsStory(166179,'News from December 2010');
news[4] = new newsStory(153923,'Loads of activity at Far Ings.');
news[5] = new newsStory(153811,'Red Grouse on Langsett Moor');
news[6] = new newsStory(153222,'An eager return to Far Ings and kingfishers.');
news[7] = new newsStory(153218,'A Short Break on the North Yorkshire Coast');
news[8] = new newsStory(152251,'A Late Summer Day with Dragons');
news[9] = new newsStory(152250,'Early Morning at The Fitties');
news[10] = new newsStory(152249,'Lincolnshire Wolds Sunset');
news[11] = new newsStory(151094,'A Cloudy Day at Whisby');
news[12] = new newsStory(150950,'A Showery Day looking for Brown Hairstreaks');
news[13] = new newsStory(152248,'A Day out at Aberlady.');
news[14] = new newsStory(149546,'Dragonfly feast at Messingham');
news[15] = new newsStory(149545,'Messingham Sand Quarry');
news[16] = new newsStory(149025,'Sunrise over the Humber Estuary');
news[17] = new newsStory(149017,'Crowle Moor');
news[18] = new newsStory(147107,'Butterflies at Messingham Sand Quarry');
news[19] = new newsStory(146289,'A blank at Far Ings');
news[20] = new newsStory(146288,'Black Darters at Crowle Moor');
news[21] = new newsStory(146285,'A quick trip to Rimac');
news[22] = new newsStory(146134,'Frampton Marsh RSPB reserve');
news[23] = new newsStory(146281,'Red Hill, Southrey and Chambers');
news[24] = new newsStory(146132,'Titchwell');
news[25] = new newsStory(146130,'The Farne Islands 29 June and 1st July');
news[26] = new newsStory(143977,'Is this the hottest day of the year?');
news[27] = new newsStory(143742,'Bee Orchids and dragons (or not!!)');
news[28] = new newsStory(143113,'Rare butterflies and dragonflies in Norfolk');
news[29] = new newsStory(142605,'A morning at Messingham');
news[30] = new newsStory(142602,'Marsh Orchids at Cleethorpes');
news[31] = new newsStory(141877,'North Wales June 2010');
news[32] = new newsStory(140729,'Hairies at Messingham');
news[33] = new newsStory(140728,'Marsh Fritillaries and Banded Demoiselles');
news[34] = new newsStory(140409,'An Excellent day at Bempton');
news[35] = new newsStory(140408,'Black-necked Grebes');
news[36] = new newsStory(139676,'Four Spot Chasers and Hairies at Messingham');
news[37] = new newsStory(139298,'Bluebells in the Lincolnshire Wolds');
news[38] = new newsStory(138721,'Wheatears still at The Fitties');
news[39] = new newsStory(138720,'Early Purples at Roxton');
news[40] = new newsStory(138292,'Butterflies and Damsels at Messingham.');
news[41] = new newsStory(137068,'A walk round Gooseman\'s Field.');
news[42] = new newsStory(136388,'My First Cuckoo of the year.');
news[43] = new newsStory(136185,'A Warm Afternoon at Toft Newton');
news[44] = new newsStory(136052,'Migrant at The Fitties');
news[45] = new newsStory(135889,'Spring finally arrives at Far Ings');
news[46] = new newsStory(135611,'Ospreys in Scotland!!');
news[47] = new newsStory(134477,'More Summer visitors and an afternoon in the sun!');
news[48] = new newsStory(134284,'Swallows and Sandmartins at Far Ings');
news[49] = new newsStory(134089,'Nuthatch at Bradley Woods and my first summer visitor.');
news[50] = new newsStory(133833,'Marsh Harriers at Far Ings NNR');
news[51] = new newsStory(132626,'Frampton RSPB reserve');
news[52] = new newsStory(132624,'Far Ings');
news[53] = new newsStory(132625,'Far Ings');
news[54] = new newsStory(131209,'Snipe at Humberston');
news[55] = new newsStory(86903,'Lincolnshire Wildlife Trust Far Ings Reserve');
news[56] = new newsStory(93385,'A Wet Day at Far Ings');
news[57] = new newsStory(85969,'Marsh Harriers at Blacktoft');
news[58] = new newsStory(85747,'Water Rail at Far Ings Nature Reserve, Barton, North Lincolnshire');
news[59] = new newsStory(85267,'Humberston Fitties, Cleethorpes');
news[60] = new newsStory(84445,'East Ravendale School and The Feeding Station');
news[61] = new newsStory(84441,'A snowy day at \'The Drome\'.');
news[62] = new newsStory(83304,'An Hour at the Feeding Station');
news[63] = new newsStory(83303,'Waxwings at Witham-St-Hughs');
news[64] = new newsStory(82654,'Far Ings Nature Reserve, Barton, North Lincolnshire');
news[65] = new newsStory(81369,'The Yard, Covenham and Waxwings');
news[66] = new newsStory(80492,'Woodpecker and Longtailed tits at the feeding station.');
news[67] = new newsStory(78552,'Donna Nook and the yard');
news[68] = new newsStory(78551,'Lindsey Tree Services Woodyard, Grimsby,Lincolnshire');
news[69] = new newsStory(78548,'Lindsey Tree Services Woodyard, Grimsby,Lincolnshire');
news[70] = new newsStory(78546,'Lindsey Tree Services Woodyard, Grimsby,Lincolnshire');
news[71] = new newsStory(78545,'Denia, Spain');
news[72] = new newsStory(78478,'Kirkby Pits Lincolnshire Trust Reserve.');
news[73] = new newsStory(78475,'Longniddry Bents, Aberlady Bay and Musselburgh Scrapes');
news[74] = new newsStory(78471,'Goosanders at Fisherharrow');
news[75] = new newsStory(63537,'Kirkby Pits Lincolnshire Trust Reserve.');
news[76] = new newsStory(63532,'Blacktoft Sands RSPB Reserve');
news[77] = new newsStory(63531,'Lindsey Tree Services Woodyard');
news[78] = new newsStory(61910,'Visit to Bempton Cliffs RSPB Reserve');
news[79] = new newsStory(61918,'The Bass Rock');
news[80] = new newsStory(61913,'Wild Shots Holiday in Scotland');


