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(75357,'<p>ARE YOU PRESENTING THE BEST IMAGE TO YOUR CLIENTS?</p>');
news[1] = new newsStory(67153,'<p>HOW\'S YOUR BUSINESS IMAGE? 8 WAYS TO UNDERMINE IT</p>');
news[2] = new newsStory(65803,'<p>PREPARATION IS THE KEY TO GETTING  GOOD RESULTS</p>');
news[3] = new newsStory(59366,'<p>HOW TO COMMISSION A PROFESSIONAL PHOTOGRAPHER</p>');
news[4] = new newsStory(59367,'<p>THE IMPORTANCE OF BRIEFING YOUR PHOTOGRAPHER & HOW TO DO IT</p>');
news[5] = new newsStory(59363,'How to Commission a Professional Photographer');
news[6] = new newsStory(65800,'<p>HATE HAVING YOUR PHOTO TAKEN?</p>');
news[7] = new newsStory(59369,'<p>HOW TO PREPARE FOR YOUR PORTRAIT SESSION</p>');
news[8] = new newsStory(59370,'<p>FORMATS & FILE SIZES</p>');
news[9] = new newsStory(59414,'<p>HOW TO DAMAGE YOUR BRAND WITHOUT REALLY TRYING</p>');
news[10] = new newsStory(6629,'Another sample news story');
news[11] = new newsStory(6628,'An example news story');


