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(80409,'\'Crystal Ball\' - This is an effect which to my eye gives the impression of viewing a scene through a crystal ball.');
news[1] = new newsStory(80410,'Black & White Conversion using layers');
news[2] = new newsStory(80411,'Alternative sharpening method in Adobe Photoshop');
news[3] = new newsStory(80506,'Photoshop Remedy for shooting through glass ');
news[4] = new newsStory(80507,'Colour correction in Photoshop');
news[5] = new newsStory(80508,'Converting to black and white in Photoshop');
news[6] = new newsStory(82631,'Quick fix for under/- overexposed images in Photoshop');
news[7] = new newsStory(82632,'How to apply texture to an image in Photoshop');
news[8] = new newsStory(82633,'How to replicate a tilt-and-shift lens in Photoshop');
news[9] = new newsStory(83468,'How to add a signature to your images in Photoshop');
news[10] = new newsStory(83469,'Toning your images or: Gradient Map toning in Photoshop');
news[11] = new newsStory(85400,'Skin Smoothing in Adobe Photoshop');
news[12] = new newsStory(85401,'High contrast and slightly cross-processed look');
news[13] = new newsStory(89453,'Aging image effect in Photoshop');
news[14] = new newsStory(127382,'Hand Colouring');
news[15] = new newsStory(127383,'Faking Infrared');


