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(210291,'Fine Art Prints ... New Gallery');
news[1] = new newsStory(194402,'Our latest Special Offer!');
news[2] = new newsStory(184790,'For those of you that have asked why...??');
news[3] = new newsStory(180663,'Thankyou for your Patience');
news[4] = new newsStory(156958,'Thankyou to all that took advantage of our Special Offer for Portrait Sessions booked in October');
news[5] = new newsStory(152567,'St Swithin\'s annual Craft Fayre, Launcells, Bude has come around again and we feel priviliged to be apart of it...Visit us at Launcells Craft Fayre, everyday between 6th - 11th September 2010 ');
news[6] = new newsStory(143857,'Cadet 150 (RMB Chivenor)');
news[7] = new newsStory(144640,'The Battle of Stamford Hill Re-enactment');
news[8] = new newsStory(127410,'Holidaying in Bude...?');
news[9] = new newsStory(124094,'Imageworld moving forward');
news[10] = new newsStory(120068,'Imageworld Road Trip');
news[11] = new newsStory(115647,'www.imageworld.org.uk goes live!');


