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(212330,'Congratulations to Nalin & Kasun');
news[1] = new newsStory(212331,'Rushlight Awards 2011');
news[2] = new newsStory(157746,'Congratulations to Rachel & Tola, January 2010');
news[3] = new newsStory(157751,'Congratulations to Ellen & Neil, January 2010');
news[4] = new newsStory(157749,'Congratulations to Charlotte & Sam, January 2010');
news[5] = new newsStory(157832,'Congratulations to Jennifer & Andy. Febuary 2010');
news[6] = new newsStory(131532,'Wedding Fair at Ewell Court House - 28 Feb 2010');
news[7] = new newsStory(158167,'Congratulations to Jo & Darren, March 2010');
news[8] = new newsStory(158171,'Congratulations to Lorraine & Matt, March 2010');
news[9] = new newsStory(168214,'Rushlight Awards for 2010.');
news[10] = new newsStory(165510,'Congratulations to Mark & Amy, married January 2011');
news[11] = new newsStory(131524,'Whats new for Weddings Photography in 2010');
news[12] = new newsStory(175478,'Wedding of Aaron & Emma, March 2011.');
news[13] = new newsStory(132371,'Wedding Fair this Sunday.');
news[14] = new newsStory(176423,'Wedding of Chrissie & Nas, married at the Compleat Angler, Marlow. ');
news[15] = new newsStory(132395,'Rugby Union Head Office Photographed');
news[16] = new newsStory(177205,'Congratulations to Colin & Sarah, married this April at Trunkwell House.');
news[17] = new newsStory(133426,'Wedding Fair on Sunday at the Fox Inn Country House, Berkshire.');
news[18] = new newsStory(177579,'Congratulations to Jade & James, Married at Luxters Barn, Henley. ');
news[19] = new newsStory(134936,'Wedding Fair this Sunday at The Compleat Angler, Marlow');
news[20] = new newsStory(178408,'Congratulations to Rohen & Claire,  married this April ');
news[21] = new newsStory(178405,'Congratulations to Mike & Amy, married this April ');
news[22] = new newsStory(179930,'Congratulations to Ben & Hollie, married in April ');
news[23] = new newsStory(179929,'Congratulations to Hannah & Russ, ');
news[24] = new newsStory(136117,'A great wedding fair at the Compleat Angler last Sunday.');
news[25] = new newsStory(179931,'Congratulations to Lorna & Marytn , married at Gatton Manor, ');
news[26] = new newsStory(137240,'Burnham Beeches Hotel Wedding Fayre Sunday 9th from 11am.');
news[27] = new newsStory(179932,'Congratulations to Steve & Sam, married at St. Mary\'s Church, Greenham');
news[28] = new newsStory(180924,'Congratulations to Rebecca & Steve, married this May ');
news[29] = new newsStory(181171,'Congratulations to Lorriane & Liam, married this May');
news[30] = new newsStory(137950,'Congratulations to Faye & Scott. May 2010.');
news[31] = new newsStory(181624,'Congratulations to Cat & Mike');
news[32] = new newsStory(137883,'Congratulations to James & Sarah, May 2010.');
news[33] = new newsStory(183382,'Congratulations to Robert & Wendy,');
news[34] = new newsStory(138903,'Congratulations to Ellie & Rory');
news[35] = new newsStory(139839,'Great Wedding Fair at The Kings Hotal, Stokenchurch');
news[36] = new newsStory(185924,'Congratulations to Mick & Sue,');
news[37] = new newsStory(141446,'Congratulations to Claire & Dan May 2010.');
news[38] = new newsStory(185925,'Congratulations to Lee & Emma,');
news[39] = new newsStory(141884,'Congratulations to Rachel & Andy, June 2010.');
news[40] = new newsStory(165038,'Congratulations to Mike & Kathy, married June 2010.');
news[41] = new newsStory(185927,'Congratulations to Tim & Lacey,');
news[42] = new newsStory(145837,'Congratulations to Anthony & Emma, June 2010.');
news[43] = new newsStory(143652,'Congratulations to Nathan & Corrine. June 2010.');
news[44] = new newsStory(186791,'Congratulations to Graham & Lucy,');
news[45] = new newsStory(151104,'Congratulations to Kim & Kevin July 2010.');
news[46] = new newsStory(190256,'Congratulations to Lawrence & Laura, ');
news[47] = new newsStory(151106,'Congratulations to Amanda & Paul July 2010.');
news[48] = new newsStory(151108,'Congratulations to Ian & Rachel July 2010.');
news[49] = new newsStory(190257,'Congratulations to Liz & Graig,');
news[50] = new newsStory(151109,'Congratulations to Sarah & Ed July 2010.');
news[51] = new newsStory(151110,'Congratulations to Heather & Richard July 2010.');
news[52] = new newsStory(190258,'Congratulations to Graham & Laura,');
news[53] = new newsStory(153261,'Congratulations to Paula & Gareth August 2010.');
news[54] = new newsStory(153256,'Congratulations to Billie & trevor August 2010.');
news[55] = new newsStory(153255,'Congratulations to Mark & Liz August 2010.');
news[56] = new newsStory(153254,'Congratulations to Martin & Jo August 2010.');
news[57] = new newsStory(153265,'Congratulations to Helen & Dan August 2010.');
news[58] = new newsStory(151963,'Congratulations to Dionne & Darren married August 2010');
news[59] = new newsStory(190259,'Congratulations to Jo & Daniel,');
news[60] = new newsStory(151105,'Congratulations to Rachael & Kees August 2010.');
news[61] = new newsStory(153258,'Congratulations to Vicky & Olly August 2010.');
news[62] = new newsStory(153257,'Congratulations to Gurbinder & Avril August 2010.');
news[63] = new newsStory(190260,'Congratulations to Jamie & Cheryl,');
news[64] = new newsStory(153262,'Congratulations to Christine & Steve, September 2010.');
news[65] = new newsStory(153259,'Congratulations to Jen & Sam September 2010.');
news[66] = new newsStory(153264,'Congratulations to Andy & Louise September 2010.');
news[67] = new newsStory(153263,'Congratulations to Steve & Lynn, September 2010.');
news[68] = new newsStory(153266,'Broomfiled Hospital Opens.');
news[69] = new newsStory(155533,'Congratulations to Steve & Jo, September 2010.');
news[70] = new newsStory(155535,'Congratulations to Mark & Laura, September 2010.');
news[71] = new newsStory(194251,'Congratulations to Jason & Lisa, ');
news[72] = new newsStory(190261,'Congratulations to Steve & Jo,');
news[73] = new newsStory(158168,'Congratulations to Paul & Smana, October 2010');
news[74] = new newsStory(194252,'Congratulations to Hayley & Rob, ');
news[75] = new newsStory(158977,'Congratulations to Simon & Michelle, October 2010');
news[76] = new newsStory(194253,'Congratulations to Kevin & Emma');
news[77] = new newsStory(159919,'Congratulations at Phil & Nicky, November 2010.');
news[78] = new newsStory(162328,'Congratulations to Lucy & Chris, Novemeber 2010.');
news[79] = new newsStory(163740,'Congratulations to Kerry & Graig, December 2010');
news[80] = new newsStory(194254,'Congratulations to Anita & Wei ');
news[81] = new newsStory(164167,'Congratulations to Sophie & Adrian, December 2010');
news[82] = new newsStory(198463,'Congratulations to Amanda & Steve,');
news[83] = new newsStory(194255,'Congratulations to Alexandra & Derick');
news[84] = new newsStory(198464,'Congratulations to Mike & Clare');
news[85] = new newsStory(198465,'Congratulations to Lisa & Tom,');
news[86] = new newsStory(194256,'Congratulations to Simon & Rebecca');
news[87] = new newsStory(194258,'Congratulations to Candice & Barry');
news[88] = new newsStory(199075,'Congratulations to Ian & Rosanne,');
news[89] = new newsStory(201118,'Congratulations to Amal & Pete,');
news[90] = new newsStory(201559,'Congratulations to Simon & Emma');
news[91] = new newsStory(203897,'Congratulations to Olly & Kat,');


