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(208772,'RPS Bronze medal at Smethick 2012');
news[1] = new newsStory(190538,'Semi Finalist in Wildlife Photographer of the Year 2011');
news[2] = new newsStory(177432,'Wainwright\'s Snowdonia in Photo\'s');
news[3] = new newsStory(161609,'Winner of the London Life section. Great British Life');
news[4] = new newsStory(158972,'Lonely Planet Magazine');
news[5] = new newsStory(151760,'Filderstadt Salon 2010 Winner photo of the Year.');
news[6] = new newsStory(145580,'Semi finalist in Wildlife Photographer of the Year 2010');
news[7] = new newsStory(124837,'Bronze Medal at Basingstoke Annual Projected Image Exhibition 2010');
news[8] = new newsStory(119776,'Travel Photographer of the Year 2009');
news[9] = new newsStory(111767,'CountryFile Calender.');
news[10] = new newsStory(105898,'Lectures that we give.');
news[11] = new newsStory(102545,'Practical Photographer Round 6 Action.');
news[12] = new newsStory(101615,'Garden Photographer of the Year 2009');
news[13] = new newsStory(78506,'Erotic photographer of the Year. ');
news[14] = new newsStory(72136,'Holiday Photographer of the Year.');
news[15] = new newsStory(66862,'Slide of the Year, 2008    Harlow PS. Ron Tear.');
news[16] = new newsStory(64677,'Portraits of Adventure 2008 Ron Tear.');
news[17] = new newsStory(64364,'Amateur Photographer POTY Round 3 Intimate Detail  Ron Tear.');
news[18] = new newsStory(50975,'Runner up in Practical Photography Round 2 Textures and details.Ron Tear.');
news[19] = new newsStory(44889,'Commissions Taken.');
news[20] = new newsStory(41933,'Amatuer Photographer Round 9   Ron Tear');
news[21] = new newsStory(38900,'Amateur Photographer, POTY, Round 8.Fellow Humans.Ron Tear');
news[22] = new newsStory(35112,'Take a view 2007 shortlisted.  Ron Tear.');
news[23] = new newsStory(34744,'Amatuer Photographer, Wide Open Spaces. Round 7, Ron Tear.');
news[24] = new newsStory(32806,' Warehouse Express Awards. Winner July.  Ron Tear.');
news[25] = new newsStory(31997,'Winner of Amatuer Photography, Round 6. Weather Patterns.  Ron Tear.');
news[26] = new newsStory(31184,'Winner Practical Photography Urban Landscapes  Ron Tear.');
news[27] = new newsStory(31178,'Practical Photography, Winner Winter Landscapes.  Ron Tear.');
news[28] = new newsStory(28025,'Wanderlust, Visions of Wanderlust 3   Ron Tear.');
news[29] = new newsStory(7899,'Panosonic Batteries Amatuer Photographer of the Year 2006  Ron Tear.');
news[30] = new newsStory(6570,'Best Slide at East Aglian Shield 2003   Ron Tear.');
news[31] = new newsStory(5865,'Highly commended in International Wildbird Photographer of the Year. Ron Tear. ');
news[32] = new newsStory(5735,'Winner Annual East Anglian Federation Exhibition, 2004, slides. Ron Tear.');
news[33] = new newsStory(5648,'Profile,Maggie Tear, LRPS,CPAGB.');
news[34] = new newsStory(5523,'Profile, Ron Tear, ARPS, MPAGB, BPE3*, PSA3*');
news[35] = new newsStory(5449,'Portrait Cup winner Slides, Harlow PS, 2005/6  Maggie Tear.');
news[36] = new newsStory(5315,'Winning Slide of the Year,2005/06 Harlow Photographic Society. Ron Tear.');
news[37] = new newsStory(5230,'Gold medal at the Austrian Super Circuit 2006  Ron Tear, MPAGB, ARPS, BPE3* PSA3*');
news[38] = new newsStory(5104,'Winner of Photo \' 98  Ron Tear.');
news[39] = new newsStory(5103,'Winner of Photo \' 98');
news[40] = new newsStory(5096,'Winner of Photo ');
news[41] = new newsStory(4436,'Winner of POTY,05, with Photography Monthly. Ron Tear.');
news[42] = new newsStory(4076,'Ron Tear wins \"Photographer of the year 2005\" with Photography Monthly Magazine');


