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(184931,'Mary Seton Watts, \"Art Nouveau\'s unsung heroine\"');
news[1] = new newsStory(184932,'How to promote yourself');
news[2] = new newsStory(185047,'How to Find the Right Gallery');
news[3] = new newsStory(185048,'Presentation is everything');
news[4] = new newsStory(185526,'The Story of the Pre Raphaelite Brotherhood');
news[5] = new newsStory(185819,'Are You Suffering With Your Art?');
news[6] = new newsStory(185821,'Do You Know What Your Art Is Worth?');
news[7] = new newsStory(185822,'Getting your Artwork Sold');
news[8] = new newsStory(185923,'Aesthetic Pre-Raphaelitism');
news[9] = new newsStory(185997,'Classic in close up - Pablo Picasso (1881 - 1973');
news[10] = new newsStory(185999,'Classic in close up - Giotto Di Bondone (c.1267 - 1337)');
news[11] = new newsStory(186270,'Classic in close up - Leonardo da Vinci (1452 - 1519)');
news[12] = new newsStory(186390,'Classic in close up – Paul Cezanne (1839 – 1906)');
news[13] = new newsStory(186391,'Classic in close up – Rembrandt van Rijn (1609 – 1669) ');
news[14] = new newsStory(186520,'Classic in close up - Diego Velazquez (1599 - 1660)');
news[15] = new newsStory(186635,'Classic in close up - Wassily Kandinsky (1866 - 1944)');
news[16] = new newsStory(187177,'Classic in close up - Caravaggio (1571-1610)');
news[17] = new newsStory(187349,'Classic in close up – Claude Monet (1840 – 1926)');
news[18] = new newsStory(187583,'Classic in close up - Albrecht Dürer (1471 - 1528)');
news[19] = new newsStory(188393,'Classic in close up – Lucian Freud');
news[20] = new newsStory(188394,'Should Councils Be Allowed To Sell Off Valuable Artworks?');
news[21] = new newsStory(188730,'Art is the loser without Amy Winehouse');
news[22] = new newsStory(189203,'Arts match – funding scheme');
news[23] = new newsStory(189342,'Where did all the great landscape painters come from?');
news[24] = new newsStory(190119,'Tony Curtis art collection to be sold at auction');
news[25] = new newsStory(190203,'Piracy on the high seas 21st century style');
news[26] = new newsStory(190358,'Donating to charity can seriously damage your career.');
news[27] = new newsStory(190987,'The Art of the Steal');
news[28] = new newsStory(191291,'Classic in close up - Jackson Pollock (1912 - 1956)');
news[29] = new newsStory(192118,'William Michael Rossetti');
news[30] = new newsStory(192126,'Thomas Woolner');
news[31] = new newsStory(192240,'Frederic George Stephens');
news[32] = new newsStory(192252,'John Everett Millais');
news[33] = new newsStory(192317,'James Collinson');
news[34] = new newsStory(192322,'Elizabeth Eleanor Siddal');
news[35] = new newsStory(198751,'Frieze Art Fair ');
news[36] = new newsStory(199867,'Giorgio De Chirico');
news[37] = new newsStory(199869,'Jean-Auguste-Dominique Ingres');
news[38] = new newsStory(199870,'Fernand Leger');
news[39] = new newsStory(199871,'Georgia O\'Keefe');
news[40] = new newsStory(200317,'Roy Lichtenstein');
news[41] = new newsStory(200321,'Gustave Moreau');
news[42] = new newsStory(202393,'Starting a Portraiture Business');
news[43] = new newsStory(207460,'Classic in close up - Jackson Pollock');
news[44] = new newsStory(207461,'Classic in close up - MICHELANGELO BUONARROTI');
news[45] = new newsStory(207462,'Classic in close up - PAUL GAUGUIN');
news[46] = new newsStory(207463,'Classic in close up - FRANCISCO DE GOYA');
news[47] = new newsStory(207464,'Classic in close up - VINCENT VAN GOGH');
news[48] = new newsStory(208691,'Classic in close up - ÉDOUARD MANET');
news[49] = new newsStory(208692,'Classic in close up - HENRI MATISSE');
news[50] = new newsStory(208693,'Classic in close up - MARK ROTHKO');
news[51] = new newsStory(209147,'Reasons To Always Buy Art Over the Internet');
news[52] = new newsStory(209148,'Fish and Chips, Kiss me quick hats and JMW Turner');
news[53] = new newsStory(209149,'The Real Tracey Emin');
news[54] = new newsStory(209150,'Why invent an artist?');
news[55] = new newsStory(209153,'Hints for shooting great pictures of your art');
news[56] = new newsStory(209311,'Thomas Crown - you are small time');
news[57] = new newsStory(209313,'The Artful Forger');
news[58] = new newsStory(209317,'Gerhard Richter At 80');
news[59] = new newsStory(209321,'\"Dog Brains\" By Tracey Emin');
news[60] = new newsStory(209325,'Are art critics irrelevant?');
news[61] = new newsStory(209329,'In times of uncertainty are people turning to art?');
news[62] = new newsStory(210228,'The Value of Art Prints');
news[63] = new newsStory(210232,'Do you know what it is yet?');
news[64] = new newsStory(210963,'Classic in Close Up - William Holman Hunt');
news[65] = new newsStory(210968,'The Story of the Pre Raphaelite Brotherhood ');
news[66] = new newsStory(210971,'Aesthetic Pre-Raphaelitism');
news[67] = new newsStory(210973,'The PRB Female Models ');
news[68] = new newsStory(211182,'DANTE GABRIEL ROSSETTI ');


