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(202237,'\'Tis the season to send one\'s Christmas cards!');
news[1] = new newsStory(200625,'Rossanne Pellegrino part of the Westminster Art Exhibition 2011 at SW1 Gallery');
news[2] = new newsStory(198184,'We Are All Artists member, Pirasteh Gourang shortlisted for the Cass Art Prize!');
news[3] = new newsStory(198183,'Islington Contemporary Art & Design Fair Invitation?');
news[4] = new newsStory(195417,'Charity Art Auction, 30 Sep by We Are All Artists member, Jasmine Mercer!');
news[5] = new newsStory(195412,'We Are All Artists member, Pirasteh Gourang exhibits her work online with HESA Inprint');
news[6] = new newsStory(195068,'Photography tutorial classes by We Are All Artists member, Eva Kalpadaki');
news[7] = new newsStory(193938,'Coming up in November- Print Now!2011 continues at Bearpace Gallery');
news[8] = new newsStory(192731,'Australian and New York exhibitions by We Are All Artist member, Kathryn Sprigg');
news[9] = new newsStory(192534,'Photography greeting cards by Rossanne Pellegrino');
news[10] = new newsStory(192804,'We Are All Artists member, Kathryn Sprigg announces her New York exhibition');
news[11] = new newsStory(192131,'New exhibition by We Are All Artists member, Peter Kyte.');
news[12] = new newsStory(189938,'We Are All Artists member, Julia Kerrison working with Cube Direct');
news[13] = new newsStory(188882,'2011 Cork Street Open Exhibition: Private View Aug 3');
news[14] = new newsStory(188268,'Rossanne Pellegrino of We Are All Artists in Print & Design Now! 2011 exhibtion');
news[15] = new newsStory(182802,'JAG open gallery will host pieces from a Fairytale themed auction of artworks in aid of the Argus Appeal');
news[16] = new newsStory(179209,'We Are All Artists member, Julie Watson\'s exhibition opening: 6 May 2011');
news[17] = new newsStory(178928,'Upcoming exhibitions for We Are All Artists member, Katie Sollohub');
news[18] = new newsStory(169137,'New works by artist Suza Ward');
news[19] = new newsStory(169087,'Sony World Photography Awards 2011 Shortlist Announced!');
news[20] = new newsStory(168801,'Google launches Art Project');
news[21] = new newsStory(165328,'New exhibition feat. We Are All Artists member, Jonet Harley-Peters...');
news[22] = new newsStory(153650,'Private / Public exhibition: 20 - 25 Sep 2010');
news[23] = new newsStory(143612,'Are you a visual artist?');
news[24] = new newsStory(143561,'New exhibitions featuring works by Danielle Leach!');
news[25] = new newsStory(140379,'London Fields Radio');
news[26] = new newsStory(140378,'New shows and projects by We Are All Artists member, Billy A.B.');
news[27] = new newsStory(139153,'Interested in joining We Are All Artists?');
news[28] = new newsStory(135076,'Danielle Leach: art work featuring in the 100ft exhibition');
news[29] = new newsStory(132170,'New exhibition feat works by Peter Kyte');
news[30] = new newsStory(130450,'Denise Hickey\'s new show!  PRIVATE VIEW: 18TH MARCH 6:00-9:00PM');
news[31] = new newsStory(130449,'Viewfinder Photography Gallery- artwork featured by Danielle Leach');
news[32] = new newsStory(122798,'New exhibitions and art projects by Julia Kerrison');
news[33] = new newsStory(116414,'Join us on Facebook!');
news[34] = new newsStory(115418,'More news from James Topple...');
news[35] = new newsStory(110152,'An Exhibition of Figurative and Abstract Paintings by We Are All Artists member, Zoe Fardad');
news[36] = new newsStory(109478,'James Topple interviewed for his work in Korea.');
news[37] = new newsStory(108489,'Open access facilities for printmaking: The Regional Print Centre, Wales.');
news[38] = new newsStory(107882,'Read more about new projects feat. We Are All Artists member, James Topple');
news[39] = new newsStory(102926,'TRANNACK SCHOOL CHILDREN BRUSH WITH ACCLAIMED ARTISTS AHEAD OF SECRET AUCTION AT TREVARNO');
news[40] = new newsStory(77515,'UNDER 100 GALLERY, officially open!');
news[41] = new newsStory(77048,'Article 2. The Documentary and The Maker from LADY AIR: MAKING A DOCUMENTARY IN NEPAL- Second Installment by Lisa Pellegrino');
news[42] = new newsStory(77047,'Phil Clarke worked as a volunteer in La Paz, Bolivia with Creative Corners to support a street newspaper project,  Hormigon Armado.  Read on to find out more about his experience...');
news[43] = new newsStory(77046,'More poetry from \'How Do You Want the Fire to Leave You?\' by Mark Niehus.');
news[44] = new newsStory(74081,'Our first and foremost featured author: Mark Niehus with poetry from his recent publication, \'How Do You Want the Fire to Leave You?\'');
news[45] = new newsStory(50807,'Kirsty Whalley interviews Rossanne Pellegrino for her upcoming exhibition, Layered & Unveiled.');
news[46] = new newsStory(60270,'An Interview with Katie Noonan, by Lisa Pellegrino');
news[47] = new newsStory(74123,'LADY AIR: MAKING A DOCUMENTARY IN NEPAL. Introduction: read me first!');
news[48] = new newsStory(74130,'Article 1. Nepal, Women and Media Part 1 from LADY AIR: MAKING A DOCUMENTARY IN NEPAL, by Lisa Pellegrino.  ');
news[49] = new newsStory(74131,'Article 1. Nepal, Women and Media Part 2 from LADY AIR: MAKING A DOCUMENTARY IN NEPAL, by Lisa Pellegrino.  ');
news[50] = new newsStory(74134,'Creative Corners (www.creative-corners.com), the Global Art Project');
news[51] = new newsStory(60271,'An Interview with Katie Noonan');


