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(133306,'<strong>Social Diary</strong>');
news[1] = new newsStory(133303,'<strong>Strictly Come Dancing: Vincent and Flavia</strong>');
news[2] = new newsStory(133291,'<strong>Winning Team</strong>');
news[3] = new newsStory(133248,'<strong>Wye Valley Life</strong> ... articles and social events.');
news[4] = new newsStory(116408,'<STRONG>PACKAGE ONE WEDDING PHOTOGRAPHY<STRONG/>');
news[5] = new newsStory(116409,'<strong> PACKAGE TWO WEDDING PHOTOGRAPHY<STRONG/>');
news[6] = new newsStory(116410,'<strong> PACKAGE THREE WEDDING PHOTOGRAPHY<STRONG/>');
news[7] = new newsStory(116412,'<strong> PRE WEDDING ENGAGEMENT SHOOT<STRONG/>');
news[8] = new newsStory(116411,'<STRong>PRE WEDDING BRIDE \'HUSH\' SHOOT<STRONG>');
news[9] = new newsStory(116413,'<strong> POST WEDDING \'TRASH THE DRESS\' SHOOT<STRONG/>');


