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(176104,'White Room Dark Room');
news[1] = new newsStory(114300,'Black and White Photography in the Digital Age - Chinese version');
news[2] = new newsStory(103818,'The Body');
news[3] = new newsStory(24508,'Archival Limited Edition Prints');
news[4] = new newsStory(23005,'Career and Exhibitions');
news[5] = new newsStory(22725,'Beyond Monochrome');
news[6] = new newsStory(22726,'Beyond Monochrome');
news[7] = new newsStory(22727,'Photo Art');
news[8] = new newsStory(22729,'Digital Photo Artist');
news[9] = new newsStory(23057,'Black and White Photography in the Digital Age');
news[10] = new newsStory(176277,'Royal Automobile Club Exhibition');


