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(205075,'Spirit of Northumberland Exhibition');
news[1] = new newsStory(153064,'Club Outings Competition');
news[2] = new newsStory(153062,'Keith Saint runner up in Port of Tyne competition');
news[3] = new newsStory(153061,'New photos added to the Gallery Section');
news[4] = new newsStory(132728,'New Venue');
news[5] = new newsStory(118663,'Club Member success at the Northumberland Wildlife Trust\'s 2009 Wildlife Photography Competition');
news[6] = new newsStory(99381,'<strong>CONSTITUTION</strong>');
news[7] = new newsStory(99382,'<strong>DEFINITIONS</strong>');
news[8] = new newsStory(106328,'2010/11 General Rules ');
news[9] = new newsStory(106329,'2010-2011 Competition Rules ');
news[10] = new newsStory(92963,'End of 2008-2009 season');


