function changeText(page) {
	
	if (page == '1') {
		var text = '<span class="large">Hippy-chic, gothic, punk, glam, body con, deconstruction: from ethnic pieces to boutique clothes, street style to couture...<br/><br/>An inexhaustable range of inspirational garments: our archive has thousands and thousands of hand picked vintage pieces.</span>';
		var prev = '&lt; previous';
		var next = '<a href="javascript:changeText(2);">next &gt;</a>';
		
	} else if (page == '2') {
		var text = 'From Victorian to the 1990s, we have one of the widest range of garments chosen specifically as inspirational pieces in the UK.<br/><br/>We have thousands of pre second world war garments and individual collections of British, European, American and Japanese designers some of which (Biba &amp; Ossie Clark) run into hundreds of pieces...<br/><br/>Alaia &middot; Body Map &middot; Cardin &middot; Dior &middot; Comme Des Garcons &middot; Courreges &middot; Gaultier &middot; Hamnett &middot; Kamali &middot; Miyake &middot; Mugler &middot; Jean Muir &middot; Thea Porter &middot; Westwood &middot; YSL<br/><br/>Plus countless pieces from minor labels, boutiques and designers.';
		var prev = '<a href="javascript:changeText(1);">&lt; previous</a>';
		var next = '<a href="javascript:changeText(3);">next &gt;</a>';
		
	} else if (page == '3') {
		var text = 'We are constantly adding to our collection ensuring that the  archive is kept fresh with new pieces.<br/><br/>To find out more about visiting us in Devon or Clerkenwell <a href="/archive/location.php">click here</a>.<br/><br/><span class="title">Production Wardrobe</span>In the 80s as <i>Jo Dalby Costume Hire</i> we supplied costume to major film productions. For current stock details <a href="/archive/wardrobe.php">click here</a>.<br/><br/><span class="title">Museum Collaborations</span>We have many museum quality pieces in our private collection. For more information on our collaborations <a href="/archive/museums.php">click here</a>.';
		var prev = '<a href="javascript:changeText(2);">&lt; previous</a>';
		var next = 'next &gt;';
	}
		
	var insert = 'text' + page;
	
	document.getElementById('archiveText').innerHTML = text;
	document.getElementById('prevLink').innerHTML = prev;
	document.getElementById('nextLink').innerHTML = next;
};

$(document).ready( function() {
	changeText(1);
});