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(212666,'Keele 3 Counties Open Photography exhibition');
news[1] = new newsStory(182711,'10 tips for framing prints');
news[2] = new newsStory(176078,'Inspiring Scotland');
news[3] = new newsStory(176077,'Frozen fingers and antibiotics');
news[4] = new newsStory(160916,'Portrait/studio course');
news[5] = new newsStory(160913,'Last trip to Northumberland for 2010');
news[6] = new newsStory(153685,'Oulton Park Racing');
news[7] = new newsStory(151960,'Pete Bridgwood Exhibition \'Moods\'');
news[8] = new newsStory(151959,'APOY 2010');
news[9] = new newsStory(151956,'Northumberland June 2010');
news[10] = new newsStory(151955,'Bass Rock 17th June 2010');
news[11] = new newsStory(151951,'Bempton Cliffs June 2010');
news[12] = new newsStory(151950,'Anglesey May 2010');
news[13] = new newsStory(137908,'Amateur Photgrapher Magazine Monthly Forum Competition');
news[14] = new newsStory(137907,'Amateur Photographer Magazine Monthly Forum Competition');
news[15] = new newsStory(151958,'Cadwell Park');
news[16] = new newsStory(128293,'Keele University Open Photography Competition');
news[17] = new newsStory(127866,'Don McCullin exhibition');
news[18] = new newsStory(127863,'what to do with an unused Canon 20D...');
news[19] = new newsStory(127862,'Garry Brannigan\'s new website');
news[20] = new newsStory(127861,'Chris Upton exhibition');
news[21] = new newsStory(112857,'Lee filters');
news[22] = new newsStory(113711,'Wow !');
news[23] = new newsStory(113710,'The Trossachs and Aberfoyle');
news[24] = new newsStory(113707,'Fort William');
news[25] = new newsStory(112852,'Trip to Skye....');
news[26] = new newsStory(106679,'Leek Photo Club competition secretary');
news[27] = new newsStory(106678,'Charlie Waite talk in Southwell Minster');
news[28] = new newsStory(106677,'Masters of Vision in Southwell Minster');
news[29] = new newsStory(106676,'AP forum moderator');
news[30] = new newsStory(103869,'getting mad with the printer.....');
news[31] = new newsStory(100574,'What to do when you drop your lens....');
news[32] = new newsStory(97429,'Photofolio');
news[33] = new newsStory(94171,'nice surprise...');
news[34] = new newsStory(91775,'Exhibition by Pete Bridgwood');
news[35] = new newsStory(90012,'Rufford Country Park, Notts');
news[36] = new newsStory(89469,'Andy Rouse\'s new book....');
news[37] = new newsStory(89203,'MOO cards');
news[38] = new newsStory(88650,'self promotion....');
news[39] = new newsStory(87732,'I\'m getting loads of messages..........');
news[40] = new newsStory(87049,'make the pictures bigger said a friend...');
news[41] = new newsStory(86527,'Chester Zoo');
news[42] = new newsStory(86139,'Focus on Imaging');
news[43] = new newsStory(85420,'getting there !');
news[44] = new newsStory(85160,'Live but lost in the crowd :-(');
news[45] = new newsStory(84728,'Nearly live !');
news[46] = new newsStory(83733,'Not live yet !!');
news[47] = new newsStory(83592,'WATERMARK !');
news[48] = new newsStory(83491,'I\'ve subscribed !!');
news[49] = new newsStory(83159,'What\'s in a name ??');
news[50] = new newsStory(82758,'Uploading the images...');
news[51] = new newsStory(82634,'Lisa goes on clikpic');


