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/06fall/601_2.jpg";
photos[1] = "/images/06fall/603.jpg";
photos[2] = "/images/06fall/604.jpg";
photos[3] = "/images/06fall/605.jpg";
photos[4] = "/images/06fall/606.jpg";
photos[5] = "/images/06fall/607.jpg";
photos[6] = "/images/06fall/608.jpg";
photos[7] = "/images/06fall/609.jpg";
photos[8] = "/images/06fall/610a.jpg";
photos[9] = "/images/06fall/611.jpg";
photos[10] = "/images/06fall/613_14.jpg";
photos[11] = "/images/06fall/615.jpg";
photos[12] = "/images/06fall/616.jpg";

text[0] = "Diagonal Snap-Closure Jacket (601)<br />Short Pants or Cuffed Shorts (602)";
text[1] = "Turtleneck Peek-a-Boo Top (603)";
text[2] = "Snap-Front Blouse (604)";
text[3] = "Dress with Gathers at Front & Back Waist (605)";
text[4] = "Fly Front Skirt (606)";
text[5] = "Slim-Legged Pants/Jeans (607)";
text[6] = "Oval Neck Tunic (608)";
text[7] = "Sweater with Gathers at Neckline (609)";
text[8] = "Snap-Front Mini Dress (610)";
text[9] = "Short, Scoop-Neck Vest (611),<br />Snap-Front Skirt (612)";
text[10] = "Hooded, Long-Waisted Bomber (613),<br />Mini Skirt with Ribbing (614)";
text[11] = "Cap-Sleeve Dress (615)";
text[12] = "Three-Quarter Sleeve Top (616)";

colours[0] = "Black Patchwork w/ black snaps,<br />Brown Herringbone w/ silver snaps";
colours[1] = "Cherry, Black, Teal";
colours[2] = "White w/ black snaps,<br />Black w/ white snaps ";
colours[3] = "Pinstripe w/ pearl buttons,<br /> Denim w/ gold buttons";
colours[4] = "Denim, Pinstripe";
colours[5] = "Denim, Pinstripe";
colours[6] = "Teal, Black";
colours[7] = "Red, Charcoal";
colours[8] = "Blue, Green, Brown";
colours[9] = "Blue, Green, Brown";
colours[10] = "Brown Cord, Black Cord, Tapestry ";
colours[11] = "Teal, Black, Blush ";
colours[12] = "Teal, Black, Blush";

