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(179215,'ARPS success.');
news[1] = new newsStory(150865,'Bespoke Album Layouts');
news[2] = new newsStory(150281,'Using Adobe Lightroom');
news[3] = new newsStory(149301,'Getting to grips with the ARPS distinction.');
news[4] = new newsStory(147492,'The Royal Photographic Society');
news[5] = new newsStory(146474,'All the world\'s a stage.');
news[6] = new newsStory(146309,'Pick of the Crop');
news[7] = new newsStory(145583,'The importance of combining genres, styles and techniques.');
news[8] = new newsStory(130550,'When I\'m not shooting weddings');
news[9] = new newsStory(176312,'Dunns Imaging Group');
news[10] = new newsStory(120772,'Graphistudio of Italy');
news[11] = new newsStory(120775,'Loxley Colour UK');
news[12] = new newsStory(122868,'Asuka Book USA');
news[13] = new newsStory(120782,'Black Cat Bindery UK');
news[14] = new newsStory(127938,'More on Flash');
news[15] = new newsStory(120715,'A Saturday in the life of a wedding photographer');
news[16] = new newsStory(120716,'Blimey that\'s a big one - do I really need all that gear?');
news[17] = new newsStory(120718,'OK I\'ve got 500 shots of someone\'s wedding day; so what\'s next?');
news[18] = new newsStory(120722,'Techie bits - nothing too heavy');


