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(104758,'Leaves & Light 10 minute film');
news[1] = new newsStory(157887,'Temple Stack');
news[2] = new newsStory(157863,'Oak Leaf Colour Square');
news[3] = new newsStory(157802,'Three leaf circles and a nephew\'s moped');
news[4] = new newsStory(103359,'4 Colour Sun Wheel Film');
news[5] = new newsStory(103354,'Rowan Berry Colour Squares Timelapse Movie');
news[6] = new newsStory(111376,'Debut Book: \'Land Art\'');
news[7] = new newsStory(102742,'Debut Book Published');
news[8] = new newsStory(102952,'Geometric Series');
news[9] = new newsStory(103361,'Frost Rock Balancing');
news[10] = new newsStory(157885,'Pagoda Stack');
news[11] = new newsStory(157865,'Leaf Lightning');
news[12] = new newsStory(157804,'Hoverflies and chasing the setting sun');
news[13] = new newsStory(111379,'Book: \'Wheel of Life\'');
news[14] = new newsStory(104759,'New Leaves & Light film posted on Youtube');
news[15] = new newsStory(103355,'3 Coloured Pebble Lines Film');
news[16] = new newsStory(102948,'Leaves & Light Series');
news[17] = new newsStory(157882,'Layer Stack');
news[18] = new newsStory(157864,'Rowan Berry Swoosh');
news[19] = new newsStory(157803,'When your boat is sinking, fix the hole and stop bailing');
news[20] = new newsStory(111258,'New Book Gone for Test Print');
news[21] = new newsStory(103356,'Himalayan Stack');
news[22] = new newsStory(102971,'Rock Balancing');
news[23] = new newsStory(103364,'Equilibrium Stack Balancing');
news[24] = new newsStory(157813,'Don\'t slice off the end of your finger');
news[25] = new newsStory(112538,'\'Wheel of Life\' Book Now Available');
news[26] = new newsStory(111266,'Autumn Leaves & Colour');
news[27] = new newsStory(157826,'Decay');
news[28] = new newsStory(103357,'Sun God Cairn and Wintry Cumbrian Fells');
news[29] = new newsStory(103365,'Icicle Sunset');
news[30] = new newsStory(157893,'Diving Fish Stack');
news[31] = new newsStory(157862,'Sessile Oak Spiral');
news[32] = new newsStory(157810,'Follow the line of least resistance');
news[33] = new newsStory(149026,'Book: Land Art for Kids - On the Beach');
news[34] = new newsStory(113513,'Working with the Middlewood Trust');
news[35] = new newsStory(113511,'Featured in Lancashire Life Magazine');
news[36] = new newsStory(103358,'Rainbow Leaf Swing');
news[37] = new newsStory(157876,'English Oak Slab');
news[38] = new newsStory(157581,'Darkness, a lake and thick mud');
news[39] = new newsStory(149027,'Book: Land Art for Kids - In the Woods');
news[40] = new newsStory(157848,'Leaves and light winter series');
news[41] = new newsStory(103360,'Release the Spore');
news[42] = new newsStory(170577,'Rowan Leaf Lightning');
news[43] = new newsStory(157809,'Land art lessons learnt');
news[44] = new newsStory(132001,'Spring Arrives');
news[45] = new newsStory(132000,'Winter Wonderland');
news[46] = new newsStory(157814,'Watch out for bees');
news[47] = new newsStory(149020,'Book: Transience');
news[48] = new newsStory(157829,'Rock Balance Collapse');
news[49] = new newsStory(148446,'Tree Project');
news[50] = new newsStory(148445,'Commentary Project - Leaf Neons');
news[51] = new newsStory(157828,'Micro land art');
news[52] = new newsStory(156289,'Rock Balance Shelters');
news[53] = new newsStory(156290,'Weave Wheel Series');
news[54] = new newsStory(157827,'Leaf Lanterns');


