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(203357,'CV Gillian Burrows');
news[1] = new newsStory(212776,'Demonstration of iPad painting with different art apps');
news[2] = new newsStory(144884,'Inspired by mix of old and new');
news[3] = new newsStory(143595,'April 2010 presentation to Stephen O\'Brien Chairman Tower Hamlets NHS.');
news[4] = new newsStory(111182,'Artist & Illustrator October 2009 Capital Love Letters   Words: Carol Cordrey');
news[5] = new newsStory(102015,' Gillian Burrows London Exhibition Barbican Libiary');
news[6] = new newsStory(109263,'London Business Matters London Legacy in pictures');
news[7] = new newsStory(102022,'A Picture of East London 14th October 7.30pm BARBICAN');
news[8] = new newsStory(100742,'A quote from the chief Executive NHS Tower Hamlets');
news[9] = new newsStory(100611,'Sir Richard Sykes London NHS chair opens new education centre at Mile End Hospital');
news[10] = new newsStory(90038,'QUOTE');
news[11] = new newsStory(96527,'Art and Illustration magazine photo');
news[12] = new newsStory(89543,'QUOTE');
news[13] = new newsStory(90040,'QUOTE');
news[14] = new newsStory(89542,'QUOTE');
news[15] = new newsStory(89539,'QUOTE');
news[16] = new newsStory(89540,'HERTFORDSHIRE LIFE ARTS CAROLINE fOSTER');
news[17] = new newsStory(89541,'CAROL CORDREY feature CANARY WHARF magazine');


