var photos = new Array();
var text = new Array();
var photosBig = new Array();
var colours = new Array();
var photoNum = 0;

function backward(){
	if (photoNum > 0){
		window.status='';
		photoNum--;
		document.images.photoslider.src = photos[photoNum];	
		document.getElementById("picDesc").innerHTML = text[photoNum];		
		document.getElementById("picColours").innerHTML = colours[photoNum];
	} else {
		photoNum = photos.length-1;
		document.images.photoslider.src = photos[photoNum];	
		document.getElementById("picDesc").innerHTML = text[photoNum];		
		document.getElementById("picColours").innerHTML = colours[photoNum];
	}
}

function forward(){
	if (photoNum < photos.length-1) {
		photoNum++;
		document.images.photoslider.src = photos[photoNum];		
		document.getElementById("picDesc").innerHTML = text[photoNum];		
		document.getElementById("picColours").innerHTML = colours[photoNum];
	}
	else {
		photoNum = 0;
		document.images.photoslider.src = photos[photoNum];		
		document.getElementById("picDesc").innerHTML = text[photoNum];		
		document.getElementById("picColours").innerHTML = colours[photoNum];
	}
}

function init() {	
	document.images.photoslider.src = photos[photoNum];	
	document.getElementById("picDesc").innerHTML = text[photoNum];	
	document.getElementById("picColours").innerHTML = colours[photoNum];
}

photos[0] = "/images/07fall/blazer.jpg";
photos[1] = "/images/07fall/pants.jpg";
photos[2] = "/images/07fall/skirt.jpg";
photos[3] = "/images/07fall/top.jpg";
photos[4] = "/images/07fall/flowereddress.jpg";
photos[5] = "/images/07fall/tweeddress.jpg";
photos[6] = "/images/07fall/longskirt.jpg";
photos[7] = "/images/07fall/shortsleevedplaid.jpg";
photos[8] = "/images/07fall/plaidshirt.jpg";
photos[9] = "/images/07fall/woolie.jpg";
photos[10] = "/images/07fall/turtleneck.jpg";
photos[11] = "/images/07fall/cardigan.jpg";
photos[12] = "/images/07fall/collareddress.jpg";
photos[13] = "/images/07fall/plaiddress.jpg";
photos[14] = "/images/07fall/coat.jpg";

text[0] = "Blazer (801)";
text[1] = "Trousers (802)";
text[2] = "Pleated Skirt (803)";
text[3] = "Double Sleeved Top (804)";
text[4] = "Double Sleeved Dress (805)";
text[5] = "Slim Dress (806)";
text[6] = "Slim Skirt (807)";
text[7] = "Short Sleeve Blouse (808)";
text[8] = "Long Sleeve Blouse (809)";
text[9] = "Woolie Jacket (810)";
text[10] = "Turtleneck (811)";
text[11] = "Long Cardigan (812)";
text[12] = "Drapey Dress (813)";
text[13] = "Sleeveless Dress (814)";
text[14] = "Coat with Hood (815)";

colours[0] = "Denim (with Gold Metalic Piping),<br />Black Wool Blend<br />(with Black Denim Piping)";
colours[1] = "Denim (with Gold Metalic Piping),<br />Black Wool Blend<br />(with Black Denim Piping)";
colours[2] = "Denim (with Gold Metalic Piping),<br />Black Wool Blend<br />(with Black Denim Piping)";
colours[3] = "Claret, Black, Asian Floral";
colours[4] = "Claret, Black, Asian Floral";
colours[5] = "Denim with Metalic Piping,<br />Tweedy-look with Black Piping ";
colours[6] = "Denim with Metalic Piping,<br />Tweedy-look with Black Piping";
colours[7] = "Black and White Plaid,<br />Cobalt";
colours[8] = "White on White, Plaid";
colours[9] = "Moss with Checked Piping,<br />Charcoal with Light Grey Piping";
colours[10] = "Bark (ribbed with checked accent),<br />Charcoal (ribbed with lighter grey accent),<br />Black (ribbed with lighter grey accent) ";
colours[11] = "Charcoal,<br />Black (both with leather closure)";
colours[12] = "Charcoal, Red";
colours[13] = "Seersucker Plaid";
colours[14] = "Claret, Black";

