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(158269,'Registary Wedding in St Albans');
news[1] = new newsStory(147759,'Church Wedding In Wendover');
news[2] = new newsStory(79478,'Wedding and Reception in Wakefield');
news[3] = new newsStory(63783,'Events');
news[4] = new newsStory(63782,'Costs for Prints on this site.');
news[5] = new newsStory(206236,'Pre Wedding Shoot');
news[6] = new newsStory(170170,'Why should you chooes me ??');
news[7] = new newsStory(67529,'Copyright');
news[8] = new newsStory(63780,'Weddings');
news[9] = new newsStory(63784,'Events');
news[10] = new newsStory(85927,'Payment - For Large Events, Weddings etc');
news[11] = new newsStory(63781,'Portraiture, Location Portaiture and Lifestyle Portaiture');
news[12] = new newsStory(71663,'FAQ for portrait Sitters');
news[13] = new newsStory(63785,'Cards and other printed material');
news[14] = new newsStory(59586,'Attending the Graduate Fashion Week');
news[15] = new newsStory(166825,'Film Scanning');
news[16] = new newsStory(59587,'Auto show in London - Moterexpo 2008');
news[17] = new newsStory(166812,'Photo retouching and Photo repair');


