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(162507,'Portrait Workshop for Stewartry Camera Club – Part 2');
news[1] = new newsStory(158227,'Portrait Workshop for Stewartry Camera Club');
news[2] = new newsStory(135306,'The Schoolhouse, Ringford Exhibits alwynhowes.com Fine Art Prints');
news[3] = new newsStory(102524,'Royal Photographic Society Distinction Award');
news[4] = new newsStory(91857,'Stewartry Camera Club Prize Presentation');
news[5] = new newsStory(90032,'The Association of Scotland\'s Self-Caterers Networking Event');
news[6] = new newsStory(86309,'New Commercial Services page');
news[7] = new newsStory(70251,'ZoneAlarm Seurity Suite version 8 Problems');
news[8] = new newsStory(63779,'Update for XP with Zone Alarm blocks your Internet access...');
news[9] = new newsStory(63382,'AVG Antivirus Free Edition Version 8');
news[10] = new newsStory(63381,'AVG anti Virus Free Edition Version 8');
news[11] = new newsStory(60681,'Windows Vista SP1 - Further Update');
news[12] = new newsStory(59503,'Vista Service Pack 1');
news[13] = new newsStory(59502,'Microsoft Releases Service Pack 3 for Windows XP');


