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/07spring/701.jpg";
photos[1] = "/images/07spring/702_703_704.jpg";
photos[2] = "/images/07spring/705.jpg";
photos[3] = "/images/07spring/706.jpg";
photos[4] = "/images/07spring/707.jpg";
photos[5] = "/images/07spring/708.jpg";
photos[6] = "/images/07spring/709.jpg";
photos[7] = "/images/07spring/710.jpg";
photos[8] = "/images/07spring/711.jpg";
photos[9] = "/images/07spring/712.jpg";
photos[10] = "/images/07spring/713_714.jpg";
photos[11] = "/images/07spring/715.jpg";

text[0] = "Hooded Trench (701)";
text[1] = "Short Sleeved Puffy Jacket / Shorts / Slim Skirt (702/703/704)";
text[2] = "Jeans, Heart Shaped Pockets (705)";
text[3] = "U-neck Drapy Dress (706)";
text[4] = "U-neck Dray Top (707)";
text[5] = "Crochet-like Tunic Top (708)";
text[6] = "Cap Sleeved Wrap Top (709)";
text[7] = "Cap Sleeved Wrap Dress (710)";
text[8] = "Short Sleeve Deep V-neck Dress (711)";
text[9] = "Deep V-neck Top (712)";
text[10] = "Tie-up Skirt / Tie-up Knickers (713/714)";
text[11] = "Spaghetti Strap<br />Drawstring Front Dress (715)";

colours[0] = "Light Grey / Lipstick / Black ";
colours[1] = "Dusty Pink Denim / Black Denim";
colours[2] = "Dusty Pink Denim / Black Denim ";
colours[3] = "Black Body/Floral Dot Waistband,<br />Floral Dot with Rusty Pink Waistband,<br />Rusty Pink Body with Floral Dot Waistband,<br />Black Body and Black Waistband";
colours[4] = "Black Body/Floral Dot Waistband,<br />Floral Dot with Rusty Pink Waistband,<br />Rusty Pink Body with Floral Dot Waistband,<br />Black Body and Black Waistband";
colours[5] = "Cord";
colours[6] = "Black with Metallic and Pin Tucks,<br />White with Metallic and Pin Tucks,<br />Mocha Floral Emrboidery, Black Dot";
colours[7] = "Black with Metallic and Pin Tucks,<br />White with Metallic and Pin Tucks,<br />Mocha Floral Emrboidery, Black Dot";
colours[8] = "Black with Metallic and Pin Tucks,<br />White with Metallic and Pin Tucks,<br />Mocha Floral Emrboidery, Black Dot";
colours[9] = "Black with Metallic and Pin Tucks,<br />White with Metallic and Pin Tucks,<br />Mocha Floral Emrboidery, Black Dot";
colours[10] = "Denim / Stripe";
colours[11] = "Aztec with Purple Rib,<br />Black with Black Rib.";

