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(209885,'Billboard!');
news[1] = new newsStory(206205,'Oh, nearly forgot!');
news[2] = new newsStory(206199,'Mega Shoot up now in \"Latest Work\"');
news[3] = new newsStory(195042,'Charity Fashion Show');
news[4] = new newsStory(186435,'Big news :)');
news[5] = new newsStory(168869,'Hello again!');
news[6] = new newsStory(165873,'I am alive!');
news[7] = new newsStory(102257,'Finally done an update...');
news[8] = new newsStory(93867,'New toys');
news[9] = new newsStory(79836,'Congrats to Peter and Cheryl!');
news[10] = new newsStory(76789,'Dance troupe pictures');
news[11] = new newsStory(75712,'In the press AGAIN x2');
news[12] = new newsStory(72059,'In the press!');
news[13] = new newsStory(71329,'Private commissions axed');
news[14] = new newsStory(64506,'Pookie in print!');
news[15] = new newsStory(62439,'Another pic published');
news[16] = new newsStory(62438,'Another pic published');
news[17] = new newsStory(58066,'New pics up');
news[18] = new newsStory(55002,'Big update!');
news[19] = new newsStory(54635,'Blog!');
news[20] = new newsStory(53567,'Gettin famous at long last!');
news[21] = new newsStory(50007,'World domination has begun!');
news[22] = new newsStory(50006,'World Domination has begun...');
news[23] = new newsStory(50005,'World domination has begun...');
news[24] = new newsStory(47213,'Hits');
news[25] = new newsStory(44090,'Now working alongside...');
news[26] = new newsStory(43744,'Next year...');
news[27] = new newsStory(43743,'Next year....');
news[28] = new newsStory(43527,'Now backed by The Princes Trust!');
news[29] = new newsStory(41899,'Interview....');
news[30] = new newsStory(41638,'Now working freelance!');
news[31] = new newsStory(41637,'Mahoosive changes....');
news[32] = new newsStory(39905,'Event images');
news[33] = new newsStory(38602,'Logo added');
news[34] = new newsStory(38354,'The start of the website!');


