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(202967,'Well Done Dugald');
news[1] = new newsStory(201317,'UK landscape Photographer Of The Year Competition');
news[2] = new newsStory(201316,'The Royal Edinburgh Military Tattoo Photographic Competition');
news[3] = new newsStory(176711,'Circle Member');
news[4] = new newsStory(174797,'Pictures of Members and Friends at our Ashtree Hotel Exhibition');
news[5] = new newsStory(157184,'Appearance By Michael Jackson and Rab C.Nesbitt');
news[6] = new newsStory(142375,'\"Scotland Win The World Cup\"');
news[7] = new newsStory(142376,'  FIAP Biennial Monochrome Print World Cup ');
news[8] = new newsStory(144529,'FIAP Biennial Monochrome Print World Cup ');
news[9] = new newsStory(141487,'Well Done Margaret');
news[10] = new newsStory(140180,'New Scottish Photographic Competition');
news[11] = new newsStory(133382,'The Photographic Alliance Of Great Britain Award');
news[12] = new newsStory(119671,'The Photographic Alliance Of Great Britian Award');
news[13] = new newsStory(109755,'\" REVELATION \"');
news[14] = new newsStory(89308,'Obituary: Former Member of the Scottish Photographic Circle');
news[15] = new newsStory(88679,'Royal Photographic Society 152nd International Print Exhibition');
news[16] = new newsStory(88673,'More success for Circle Members');
news[17] = new newsStory(58953,'Dates for your Diary 2010');
news[18] = new newsStory(87514,'New Circle Member Hits Gold');
news[19] = new newsStory(86091,'Glasgow District Photographic Union. Annual Exhibition:');
news[20] = new newsStory(84070,'Photography Workshop');
news[21] = new newsStory(80278,'Circle Member Mike Blair Exhibition');
news[22] = new newsStory(77706,' Glasgow District Photographic Union');
news[23] = new newsStory(77703,'Margaret and the Royal Photographic Society');
news[24] = new newsStory(75804,'Centenary Photographic Exhibition');
news[25] = new newsStory(75801,'Glasgow District Photographic Union');
news[26] = new newsStory(75323,'Royal Photographic Society Exhibition');
news[27] = new newsStory(75317,'Ross Thomsons Visit.');
news[28] = new newsStory(71678,'All Members Please note:');
news[29] = new newsStory(69005,'Congratulations to Bob Cumming');
news[30] = new newsStory(64281,'Calendar Competition');
news[31] = new newsStory(60626,'Local Paper News');
news[32] = new newsStory(54796,'Glasgow Royal Concert Hall Exhibition');
news[33] = new newsStory(52079,'President John');
news[34] = new newsStory(43980,'Circle Members success in Slide Competition');
news[35] = new newsStory(44044,'Competition');
news[36] = new newsStory(41443,'\" The Performing Duo \"');


