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(212186,'Sea Change');
news[1] = new newsStory(209417,'Life for Troy is sailing along nicely');
news[2] = new newsStory(189299,'On the banks of the Barcoo');
news[3] = new newsStory(186071,'Coordinator-General flys in to Clermont for landowner talks');
news[4] = new newsStory(186072,'Year 7 move spells anguish for rural and remote families');
news[5] = new newsStory(152027,'Gone Droving');
news[6] = new newsStory(144519,'Moveable feast');
news[7] = new newsStory(189430,'Paula\'s rural focus is perfect');
news[8] = new newsStory(56811,'On Assignment');
news[9] = new newsStory(95981,'LOVE THE LIFE');
news[10] = new newsStory(95979,'PLATINUM TRACKS');
news[11] = new newsStory(55165,'On their selection');
news[12] = new newsStory(80967,'Born of the Sea');
news[13] = new newsStory(60132,'What\'s ahead for livestock producers?');
news[14] = new newsStory(55172,'Flood of thanks from the Belyando River people');
news[15] = new newsStory(56928,'Holding Fast');
news[16] = new newsStory(55473,'Primed for Prep');
news[17] = new newsStory(58385,'The Organic Meat Company');
news[18] = new newsStory(56287,'Homecoming Vet');


