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(211497,'January Salon Round-up');
news[1] = new newsStory(209635,'New Gallery Added to \"Ordinary People\" Set');
news[2] = new newsStory(207064,'December Exhibition Update');
news[3] = new newsStory(203384,'Credit of the Photographic Alliance of Great Britain (CPAGB) Award');
news[4] = new newsStory(202642,'November Salon Results');
news[5] = new newsStory(200470,'Buying Into A New Camera System');
news[6] = new newsStory(199883,'October Exhibitions Round Up');
news[7] = new newsStory(196414,'Now, That’s a Bit Better – September Salon Results');
news[8] = new newsStory(192054,'Three Acceptances at Great Barr concludes a disappointing August');
news[9] = new newsStory(187694,'Exhibitions & Awards Gallery');
news[10] = new newsStory(185113,'Reworking Old Images');
news[11] = new newsStory(184303,'International Salons - A New Strategy');
news[12] = new newsStory(183265,'British Photographic Exhibitions Crown Award - BPE1*');
news[13] = new newsStory(182782,'Twenty Three New Images Added');
news[14] = new newsStory(181360,'Colour Or Monochrome - Reverting To Type?');
news[15] = new newsStory(180590,'Four Successful Days');
news[16] = new newsStory(179756,'British Photographic Exhibitions Crown Awards');
news[17] = new newsStory(179122,'Feeling Rejected!');
news[18] = new newsStory(179121,'HDR & Church Interiors');


