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];
		if (colours[photoNum]=="")
		document.getElementById("availColours").innerHTML = "";
		else
		document.getElementById("availColours").innerHTML = "Available Colours:";
		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];
		if (colours[photoNum]=="")
		document.getElementById("availColours").innerHTML = "";
		else
		document.getElementById("availColours").innerHTML = "Available Colours:";
		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];
		if (colours[photoNum]=="")
		document.getElementById("availColours").innerHTML = "";
		else
		document.getElementById("availColours").innerHTML = "Available Colours:";
		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];
		if (colours[photoNum]=="")
		document.getElementById("availColours").innerHTML = "";
		else
		document.getElementById("availColours").innerHTML = "Available Colours:";
		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];
	if (colours[photoNum]=="")
	document.getElementById("availColours").innerHTML = "";
	else
	document.getElementById("availColours").innerHTML = "Available Colours:";
	document.getElementById("picColours").innerHTML = colours[photoNum];
}

photos[0] = "/images/09fall/collection/3175_thumb.jpg";
photos[1] = "/images/09fall/collection/3190_thumb.jpg";
photos[2] = "/images/09fall/collection/3219_thumb.jpg";
photos[3] = "/images/09fall/editorial/01.jpg"
photos[4] = "/images/09fall/collection/3240_thumb.jpg";
photos[5] = "/images/09fall/collection/3280_thumb.jpg";
photos[6] = "/images/09fall/collection/3299_thumb.jpg";
photos[7] = "/images/09fall/editorial/02.jpg"
photos[8] = "/images/09fall/collection/3317_thumb.jpg";
photos[9] = "/images/09fall/collection/3358_thumb.jpg";
photos[10] = "/images/09fall/collection/3410_thumb.jpg";
photos[11] = "/images/09fall/editorial/03.jpg"
photos[12] = "/images/09fall/collection/3436_thumb.jpg";
photos[13] = "/images/09fall/collection/3467_thumb.jpg";
photos[14] = "/images/09fall/collection/3496_thumb.jpg";
photos[15] = "/images/09fall/editorial/04.jpg"
photos[16] = "/images/09fall/collection/3525_thumb.jpg";
photos[17] = "/images/09fall/collection/3530_thumb.jpg";
photos[18] = "/images/09fall/collection/3552_thumb.jpg";
photos[19] = "/images/09fall/editorial/05.jpg"

photosBig[0] = "/images/09fall/collection/3175.jpg";
photosBig[1] = "/images/09fall/collection/3190.jpg";
photosBig[2] = "/images/09fall/collection/3219.jpg";
photosBig[3] = "/images/09fall/editorial/01.jpg"
photosBig[4] = "/images/09fall/collection/3240.jpg";
photosBig[5] = "/images/09fall/collection/3280.jpg";
photosBig[6] = "/images/09fall/collection/3299.jpg";
photosBig[7] = "/images/09fall/editorial/01.jpg"
photosBig[8] = "/images/09fall/collection/3317.jpg";
photosBig[9] = "/images/09fall/collection/3358.jpg";
photosBig[10] = "/images/09fall/collection/3410.jpg";
photosBig[11] = "/images/09fall/editorial/01.jpg"
photosBig[12] = "/images/09fall/collection/3436.jpg";
photosBig[13] = "/images/09fall/collection/3467.jpg";
photosBig[14] = "/images/09fall/collection/3496.jpg";
photosBig[15] = "/images/09fall/editorial/01.jpg"
photosBig[16] = "/images/09fall/collection/3525.jpg";
photosBig[17] = "/images/09fall/collection/3530.jpg";
photosBig[18] = "/images/09fall/collection/3552.jpg";
photosBig[19] = "/images/09fall/editorial/01.jpg"

text[0] = "1210 La Baba Cool Blouse";
text[1] = "1206 La Grille Blouse";
text[2] = "1203 Le Sans Souci Cardi";
text[3] = "";
text[4] = "1207 La Dynamo Dress";
text[5] = "1210 L'Elastique Dress";
text[6] = "1211 L'Elastique Top";
text[7] = "";
text[8] = "1202 La Baba Cool Dress";
text[9] = "1213 L'Hiver Coat";
text[10] = "1200 Le Pays Bomber";
text[11] = "";
text[12] = "1204 La Darling Dress";
text[13] = "1212 La Soiree Dress";
text[14] = "1214 La Societe Coat";
text[15] = "";
text[16] = "1209 Le Travail Skirt";
text[17] = "1205 La Darling skirt";
text[18] = "1208 Le Travail Blazer";
text[19] = "";

colours[0] = "Cream";
colours[1] = "Navy Grid";
colours[2] = "Charcoal/Spice";
colours[3]="";
colours[4] = "Charcoal/Black";
colours[5] = "Slate/Cinder";
colours[6] = "Cinder/Slate";
colours[7]="";
colours[8] = "Navy";
colours[9] = "Indigo";
colours[10] = "Plaid/Black";
colours[11]="";
colours[12] = "Patterned/Check";
colours[13] = "Red/Black";
colours[14] = "Charcoal/Herringbone";
colours[15]="";
colours[16] = "Tweedy/Black";
colours[17] = "Patterned/Check";
colours[18] = "Tweedy/Black";
colours[19]="";



