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(190749,'New Solo Exhibition: \'An Enchanted Eye - Cuban and Mexican photography\' at Canning House, London');
news[1] = new newsStory(107219,'Eleanor\'s Latin American photos featured on BBC website');
news[2] = new newsStory(106428,'Where to see Eleanor\'s photographs');
news[3] = new newsStory(101390,'Cuba Vida photography exhibition');
news[4] = new newsStory(102447,'Feature on Cuba Libre exhibition on London-se1 website');
news[5] = new newsStory(102448,'Cuba Vida is part of the London Bridge Festival');
news[6] = new newsStory(84793,'Cuban photography exhibition');


