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("photoLink").href = photosBig[photoNum];
		document.getElementById("photoLink").title = 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("photoLink").href = photosBig[photoNum];
		document.getElementById("photoLink").title = 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("photoLink").href = photosBig[photoNum];
		document.getElementById("photoLink").title = 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("photoLink").href = photosBig[photoNum];
		document.getElementById("photoLink").title = text[photoNum];
		document.getElementById("picColours").innerHTML = colours[photoNum];
	}
}

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

photos[0] = "/images/09spring/collection/1100_thumb.jpg";
photos[1] = "/images/09spring/collection/1101_thumb.jpg";
photos[2] = "/images/09spring/collection/1102_thumb.jpg";
photos[3] = "/images/09spring/collection/1103_thumb.jpg";
photos[4] = "/images/09spring/collection/1104_thumb.jpg";
photos[5] = "/images/09spring/collection/1105_thumb.jpg";
photos[6] = "/images/09spring/collection/1106_thumb.jpg";
photos[7] = "/images/09spring/collection/1107_thumb.jpg";
photos[8] = "/images/09spring/collection/1108_thumb.jpg";
photos[9] = "/images/09spring/collection/1109_thumb.jpg";
photos[10] = "/images/09spring/collection/1110_thumb.jpg";
photos[11] = "/images/09spring/collection/1111_thumb.jpg";
photos[12] = "/images/09spring/collection/1112_thumb.jpg";
photos[13] = "/images/09spring/collection/1113_thumb.jpg";

photosBig[0] = "/images/09spring/collection/1100.jpg";
photosBig[1] = "/images/09spring/collection/1101.jpg";
photosBig[2] = "/images/09spring/collection/1102.jpg";
photosBig[3] = "/images/09spring/collection/1103.jpg";
photosBig[4] = "/images/09spring/collection/1104.jpg";
photosBig[5] = "/images/09spring/collection/1105.jpg";
photosBig[6] = "/images/09spring/collection/1106.jpg";
photosBig[7] = "/images/09spring/collection/1107.jpg";
photosBig[8] = "/images/09spring/collection/1108.jpg";
photosBig[9] = "/images/09spring/collection/1109.jpg";
photosBig[10] = "/images/09spring/collection/1110.jpg";
photosBig[11] = "/images/09spring/collection/1111.jpg";
photosBig[12] = "/images/09spring/collection/1112.jpg";
photosBig[13] = "/images/09spring/collection/1113.jpg";

text[0] = "Rainy Day Coat";
text[1] = "Matinee Bomber";
text[2] = "Anytime Skirt";
text[3] = "Cruiser Shorts";
text[4] = "Afternoon Blouse";
text[5] = "The Snap Dress";
text[6] = "Picnic Skirt";
text[7] = "The Snap Blouse";
text[8] = "Picnic Dress";
text[9] = "No-brainer Dress";
text[10] = "No-brainer Top";
text[11] = "Moshi Moshi Top";
text[12] = "Moshi Moshi Dress";
text[13] = "Hot Date Dress";

colours[0] = "Magenta / Navy";
colours[1] = "Taupe / Graphite";
colours[2] = "Graphite / Taupe";
colours[3] = "Taupe / Graphite";
colours[4] = "Cream";
colours[5] = "Auburn / Denim";
colours[6] = "Denim / Auburn";
colours[7] = "Buff / Denim / Auburn";
colours[8] = "Leaf / Denim / Auburn";
colours[9] = "Apple / Charcoal / Magenta";
colours[10] = "Heather Grey / Apple /<br />Charcoal / Magenta";
colours[11] = "Plumage / White";
colours[12] = "Starry / Dawn / Plumage";
colours[13] = "Champagne / Metal / Bronze";



