	var j = 0;
	var p = Pic.length;
 
	var preLoad = new Array();

	startCountdown();

function carregar(){

	for (i = 0; i < p; i++){
	preLoad[i] = new Image();
		preLoad[i].src = Pic[i];
	}
}



function change(x){
	if (document.all){
		document.images.flor.style.filter="blendTrans(duration=1)";
		document.images.flor.filters.blendTrans.Apply();
	}
	if (x == "1"){j = j + 1;if (j > (p-1)) j=0;}
	if (x == "0"){j = j - 1;if (j == "-1") j=p-1;}
	document.images.flor.src = preLoad[j].src;
	//Cap[j] = fixQuote(Cap[j]);
	//Own[j] = fixQuote(Own[j]);
	//document.capform.capbox.value = Cap[j];
	//document.capform.ownbox.value = Own[j];
	if (document.all){
		document.images.flor.filters.blendTrans.Play();
	}
}

function fixQuote(x){
	x = x.replace(/&quot;/g, "\"");
	return x; 
}