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(207799,'Omens, new exhibition at Dagmar Schmidla Gallery');
news[1] = new newsStory(110684,'An interview with Cesare Bedognè');
news[2] = new newsStory(82599,'Curriculum');
news[3] = new newsStory(82569,'Broken Images, a text by Cesare Bedognè');
news[4] = new newsStory(210015,'Silent Witness exhibition at Ververs Amsterdam');
news[5] = new newsStory(111466,'Ghosts, by Christian Stokbro Karlsen');
news[6] = new newsStory(111467,'Broken Images, a presentation by Rino Bertini');
news[7] = new newsStory(111469,'Leaving and Innerscapes, a presentation  by Rino Bertini');
news[8] = new newsStory(141005,'Assenti Presenze, saggio critico di Rosy Raneri ');
news[9] = new newsStory(114071,'Una recensione di Luca Bonetti (Press Review of the Creval exhibition by Luca Bonetti, in Italian and English)');
news[10] = new newsStory(114075,'Critical writings by Luigi Boscacci (in Italian)');
news[11] = new newsStory(114377,'A letter by Luigi Boscacci (in Italian)');
news[12] = new newsStory(113422,'A comment by Olof Thiel');
news[13] = new newsStory(114076,'A presentation by Giovanni Bettini  (in Italian)');
news[14] = new newsStory(114077,'A press review of the exhibition at Gallery Open Mind, Milano, by Carlo Mola  (in Italian) ');
news[15] = new newsStory(114079,'Notes by Franco Monteforte (in Italian)');
news[16] = new newsStory(116980,'A note by Anna Bordoni Di Trapani, after the Creval Exhibition (in Italian)');
news[17] = new newsStory(114080,'A letter by Maria Frepoli (in Italian and English)');
news[18] = new newsStory(117069,'A note by Giovanni Bettini (after the Creval exhibition in Sondrio)');
news[19] = new newsStory(119767,'From a communication by Ed Di Guardia');
news[20] = new newsStory(112865,'A presentation of the Genéve exhibition at Galerie Jullien (in French, Italian and English)');


