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(176377,'\'I Am A Fantasy\' - Margaret Harrison and The Girls - ends 21 May 2011');
news[1] = new newsStory(169790,'The Girls Valentines Performance at POSTED Projects, London, 14 February 2011, 6pm-8pm');
news[2] = new newsStory(159361,'The Paper Eaters Do Bargate! Millais Off-Site Projects. 27 Nov 2010 - 29 Jan 2011');
news[3] = new newsStory(153828,'Feminism in London Postcard Auction, Aubin Gallery, 4 October 2010');
news[4] = new newsStory(152017,'test');
news[5] = new newsStory(155336,'The Girls Studio at Tate Britain 2010');
news[6] = new newsStory(137995,'\'This is England\' - Group show curated by Stuart Semple - Aubin Gallery, London');
news[7] = new newsStory(136577,'\'This is England\' - Group show curated by Stuart Semple - Aubin Gallery, London');
news[8] = new newsStory(126259,' \'The Paper Eaters - Long Live the Photo-Story!\' Selfridges/The Photographers Gallery');
news[9] = new newsStory(111835,'\'MIND THE GAP\' WOMEN\'S ART MOVEMENT GROUP ART EXHIBITION INC. THE GIRLS');
news[10] = new newsStory(109639,'Wayne Hemingway invites The Girls to perform at \'Vintage at Goodwood\' taster event');
news[11] = new newsStory(75891,'The Girls expose their practice for the launch of a fashion industry networking site');
news[12] = new newsStory(72982,'Artists The Girls commemorate the Smurfs\' 50th birthday with saucy Smurfette self-portraits and London show');
news[13] = new newsStory(68314,'Midwich Cuckoo female artist duo\'s show opens – \'In Bed With The Girls\' at Beverley Knowles Fine Art, Notting Hill, ends 1.11.08');
news[14] = new newsStory(7225,'BIOGRAPHY | The Girls, Andrea Blood and Zoe Sinclair');
news[15] = new newsStory(6191,'PUBLISHED WORK');
news[16] = new newsStory(76667,'REVIEW | ‘In Bed With The Girls’ at Beverley Knowles Fine Art reviewed by Claire Norman');
news[17] = new newsStory(76676,'REVIEW | ‘Garden Party’ by The Girls reviewed by Beverley Knowles');
news[18] = new newsStory(40904,'Past solo show | Beverley Knowles Fine Art, Notting Hill | SEPT – NOV 2008');
news[19] = new newsStory(40902,'Past solo show | The Burlington Club, Mayfair | DEC 2007 – FEB 2008');
news[20] = new newsStory(40905,'Selected group shows');
news[21] = new newsStory(35409,'REVIEW | Art critic, A.D. Powers, reviews a live performance of ‘Garden Party’');
news[22] = new newsStory(33834,'‘The Girls’ performance art tea party is a hit at Endorse-It In-Dorset Festival!');
news[23] = new newsStory(31331,'The Girls live festival performance of ‘Garden Party’ Sunday 12 August 07');
news[24] = new newsStory(27464,'Art duo The Girls reform after 7 years');
news[25] = new newsStory(27336,'The British Journal of Photography');
news[26] = new newsStory(24311,'REVIEW | \'Garden Party\', an interpretation by Vik Gill');
news[27] = new newsStory(8663,'World of modern art draws female buyers');
news[28] = new newsStory(6186,'Biography');
news[29] = new newsStory(7224,'REVIEW | \'The Embodied Soul Passes Through Girlhood to Death\', an interpretation by Vik Gill');
news[30] = new newsStory(56986,'AWARDS');
news[31] = new newsStory(38753,'BOOK | First book of self portraits by The Girls');
news[32] = new newsStory(42571,'BIOGRAPHY in French | The Girls, un aperçu de leurs réalisations');
news[33] = new newsStory(6549,'The Girls are featured in the book \'Photography\' by John Ingledew');


