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(209883,'Artist Led Spaces run by Rosalind Davis ');
news[1] = new newsStory(106151,'Andrew Bryant reviews Rosalind\'s work on a-n Interface');
news[2] = new newsStory(203715,'Guardian Live Q&A ');
news[3] = new newsStory(181587,'Artists Talking: Blogger Profile. April 2011');
news[4] = new newsStory(168125,'Being Part of Something. Degrees Unedited Article ');
news[5] = new newsStory(203803,'Artists talking... talking! Featured in a-n Magazine Nov 2011');
news[6] = new newsStory(190628,'Curatorial Projects');
news[7] = new newsStory(182393,'Review of Extra-Ordinary by White Hot Magazine');
news[8] = new newsStory(210740,'The 21st Century Artist ');
news[9] = new newsStory(147412,'Project Managing: Core Gallery & Education ');
news[10] = new newsStory(143607,'AIR Interview: Rosalind Davis on the new coalition ');
news[11] = new newsStory(203714,'Deliverance, an essay by Alexander Barret');
news[12] = new newsStory(147407,'Art Talks and Lectures');
news[13] = new newsStory(145958,'Artist Profile by Becky Hunter Jun 30th, 2010 ');
news[14] = new newsStory(168743,'Core Gallery Interview with Chantelle Purcell');
news[15] = new newsStory(174326,'Workshops/ Short Courses ');
news[16] = new newsStory(171635,'Rosalind Video Interview at Nolias Gallery ');
news[17] = new newsStory(152453,'Interview with Becky Hunter about Core Gallery ');
news[18] = new newsStory(140982,'A Review of A Difference in Vision by Pop T\'Art');
news[19] = new newsStory(173632,'Nepartism');
news[20] = new newsStory(144088,'Julia Alvarez, Director of Bearspace discusses Rosalind Davis’ work');
news[21] = new newsStory(144580,'Choice Blog on a-n, June 2010 , selected by Sian Hislop');
news[22] = new newsStory(106152,'Spoonfed Review of Rosalind\'s work at John Jones');
news[23] = new newsStory(147415,'  Adult Education ');
news[24] = new newsStory(147421,'Secondary School Education');
news[25] = new newsStory(107884,'\'Projection Space\' selected by Matt Roberts as Choice Blog on a-n');
news[26] = new newsStory(119902,'A review of I am Yours at Julian Hartnoll Gallery ');
news[27] = new newsStory(147427,'Primary Education');
news[28] = new newsStory(166401,'Selected writing ');
news[29] = new newsStory(147433,'Reference from SLCT ');
news[30] = new newsStory(131389,'Rosalind Davis Guest Edits on a-n Artists Talking');
news[31] = new newsStory(147435,' Other relevant Employment');
news[32] = new newsStory(106155,'Rosalind Davis interviewed by Oh Goodness Greatness');
news[33] = new newsStory(171636,'You Tube Video: Behind the setting up of Core Gallery ');
news[34] = new newsStory(142128,'Wilderness Press Release');
news[35] = new newsStory(113023,'Review of \'Floor Space\', Phoenix Gallery, Brighton on a-n Interface');
news[36] = new newsStory(131388,'Review of Rosalind Davis\' blog by writer James Oakley');


