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(194011,'Pet PAWtrait Competition Presentation');
news[1] = new newsStory(192726,'Pet PAWtrait Competition 2011');
news[2] = new newsStory(191356,'<strong>Great New Wedding Collection!</strong>');
news[3] = new newsStory(168753,'*NEW*...A4 Storybook Album- Hardback Book With Luxurious Photo Cover & Photo Paper Pages');
news[4] = new newsStory(163274,'*NEW* Now Available: Greetings Cards & Key Fobs To Order Online');
news[5] = new newsStory(129115,'Luxurious New Sample Wedding Albums By GF Smith now in.');
news[6] = new newsStory(107644,'Photographer in action at a recent wedding. Note the look of concentration!');
news[7] = new newsStory(96757,'Photographer to the stars!!... I met up with legendary comedian Frank Carson backstage at Lancaster\'s Grand Theatre, as one of my last assignments before leaving my job on the Morecambe Visitor newspaper in 2009. Ironically, almost exactly 25 years previously, Frank was one of my first photographic assignments on my first press photographer job in Scotland. The Visitor carried a story on the coincidence. See www.thevisitor.co.uk');
news[8] = new newsStory(80623,'Looking for something a bit different and fun at your corporate event?... I can cover the event dressed as a 1950\'s snapper!');


