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(211378,'EVENTS 2012');
news[1] = new newsStory(211380,'New Year New Work, Broomhill Art Hotel, Muddiford, Near Barnstaple, North Devon');
news[2] = new newsStory(165770,'EVENTS 2011');
news[3] = new newsStory(165771,'North Devon Arts Exhibition, Bideford Hospital, Abbotsham Road, Bideford, North Devon ');
news[4] = new newsStory(206892,'The Square Studio, 2 The Square, Northam, Near Bideford North Devon EX39 1AR');
news[5] = new newsStory(180098,'Art on a Postcard, Postcard Exchange Exhibition, Burton Art Gallery, Bideford, North Devon');
news[6] = new newsStory(206893,'Art on a Postcard, Postcard Exchange Exhibition, Dare County Arts Council Gallery, Old Court House, Manteo, North Carolina, USA');
news[7] = new newsStory(179961,'Ilfracombe Arts Festival, The Lantern Centre, High Street, Ilfracombe, North Devon');
news[8] = new newsStory(168727,'Exeter Craft Festival, Cathedral Green, Exeter, Devon');
news[9] = new newsStory(187978,'Atlantic Watersports Games 2011 Opening Ceremony, Bideford Bay Creatives marquee, The Quay, Bideford, North Devon');
news[10] = new newsStory(122963,'EVENTS 2010');
news[11] = new newsStory(122960,'New Year New Work, Broomhill Art Hotel, Muddiford, Near Barnstaple, North Devon');
news[12] = new newsStory(136179,'Spring Craft Fair, RHS Garden Rosemoor, Great Torrington, North Devon');
news[13] = new newsStory(131593,'Appledore Visual Arts Festival, Appledore, North Devon');
news[14] = new newsStory(136330,'Square Picture Show, The Stables, Broomhill Art Hotel, Muddiford, Near Barnstaple, North Devon');
news[15] = new newsStory(136326,'Exeter Craft Festival, Cathedral Green, Exeter, Devon');
news[16] = new newsStory(146012,'Appledore Gallery, 31 Bude Street, Appledore, North Devon ');
news[17] = new newsStory(146014,'X Ray Corridor, North Devon District Hospital, Barnstaple, North Devon');
news[18] = new newsStory(146016,'The Artist\'s Wall, The Theatre Cafe, The Plough Arts Centre, 9-11 Fore Street, Great Torrington, Devon');
news[19] = new newsStory(153633,'Christmas Craft Fair,  Kingsley School, Bideford, North Devon');
news[20] = new newsStory(153634,'Art Bazaar, Assembley Rooms, South Molton, Devon');
news[21] = new newsStory(162622,'North Devon Arts Exhibition, Bideford Hospital, Abbotsham Road, Bideford, North Devon');
news[22] = new newsStory(122943,'A \'Design a Deckchair\' Competition Winner');
news[23] = new newsStory(122959,'EVENTS 2009');
news[24] = new newsStory(79094,'Seventh North Devon Open Art Show, Museum of Barnstaple and North Devon');
news[25] = new newsStory(79097,'New Year New Work, Broomhill Art Hotel, Muddiford, Near Barnstaple, North Devon');
news[26] = new newsStory(86972,'Spring Craft Fair, RHS Garden Rosemoor, Great Torrington, North Devon');
news[27] = new newsStory(94883,'Appledore Visual Arts Festival,  Appledore, North Devon');
news[28] = new newsStory(97201,'Square Picture Show, The Stables, Broomhill Art Hotel, Muddiford, Near Barnstaple, North Devon');
news[29] = new newsStory(86973,' English National Sheepdog Trials Country Fair Marquee, Castle Hill, Filleigh, South Molton, Devon');
news[30] = new newsStory(106920,'Arts in the Market, Great Torrington Pannier Market, North Devon');
news[31] = new newsStory(106922,'West Country Arts and Crafts Fair, RHS Garden Rosemoor, Great Torrington, North Devon');
news[32] = new newsStory(110455,'Culture Show, Cafe Creme, 54 Mill Street, Bideford, North Devon');
news[33] = new newsStory(110459,'Chulmleigh Art and Craft Christmas Fair, The Pavillion, Chulmleigh Playing Fields, Leigh Road, Chulmleigh, Devon');
news[34] = new newsStory(112142,'Art Bazaar, Assembly Rooms, South Molton, Devon');
news[35] = new newsStory(116934,'Handmade Here, Barnstaple Pannier Market, North Devon');
news[36] = new newsStory(116935,'Christmas Craft Fair, RHS Garden Rosemoor Terrace Marquee, Great Torrington, Devon');
news[37] = new newsStory(79093,'EVENTS 2008');
news[38] = new newsStory(48549,'RHS Photographic Exhibition, Medici Gallery, London ');
news[39] = new newsStory(51195,'RHS Photographic Exhibition, The Glasshouse Gallery, RHS Garden Wisley, Surrey');
news[40] = new newsStory(48552,'North Devon Arts Spring Exhibition, The Plough Art Centre, Great Torrington, North Devon');
news[41] = new newsStory(48545,'Spring Craft Fair, RHS Garden Rosemoor, Great Torrington, North Devon');
news[42] = new newsStory(58546,'Square Picture Show, Broomhill Art Hotel, Muddiford, Near Barnstaple, North Devon');
news[43] = new newsStory(48551,'Appledore Visual Arts Festival, Appledore, North Devon');
news[44] = new newsStory(51299,'Art Trek Exhibition, Queen\'s Theatre, Barnstaple, North Devon');
news[45] = new newsStory(48550,'Art Trek, 14 The Gallery, Pannier Market, Great Torrington, North Devon ');
news[46] = new newsStory(83410,'RHS Photographic Exhibition, RHS Garden Hyde Hall, Rettendon, Chelmsford, Essex');
news[47] = new newsStory(48546,'Westcountry Arts and Crafts Fair, RHS Garden Rosemoor, Great Torrington, North Devon');
news[48] = new newsStory(79099,'Open Annual Christmas Exhibition, Burton Art Gallery, Bideford, North Devon');
news[49] = new newsStory(48547,'Christmas Craft Fair, RHS Garden Rosemoor, Great Torrington, North Devon');
news[50] = new newsStory(64615,'Christmas Craft and Food Fair, Arlington Court (National Trust), near Barnstaple, North Devon');
news[51] = new newsStory(48117,'Crafts Gallery, Griffins Yard, North Road, South Molton, Devon EX36 3AZ');
news[52] = new newsStory(48118,'14 The Gallery, Pannier Market, Great Torrington, North Devon EX38 8HD');
news[53] = new newsStory(112048,'Salar Gallery, 20 Bridge Street, Hatherleigh, Near Okehampton, Devon EX20 3HY');
news[54] = new newsStory(48121,'Lantic Gallery, 38 Gold Street, Tiverton, Devon EX16 6PY');
news[55] = new newsStory(94885,'The Arts Co-op at Gallery Three Nine, 39 Bear Street, Barnstaple, North Devon EX32 7BZ');
news[56] = new newsStory(48028,'Sarah Gallifent Wins Top Award in RHS Photographic Competition.   More...');


