// (C) 2003 by CodeLifter.com
// Free for all users, but leave in this header.

// ==============================
// Set the following variables...
// ==============================

// illustrato e spiegato su http://www.web-link.it

// Set the duration of crossfade (in seconds)
var CrossFadeDuration = 3;

var Picture = new Array(); // don't change this
var Caption = new Array(); // don't change this
var showHot = false;       // don't change this

// Specify the image files...
// To add more images, just continue
// the pattern, adding to the array below.
// To use fewer images, remove lines
// starting at the end of the Picture array.
// Caution: The number of Pictures *must*
// equal the number of Captions!

Picture[1]  = 'http://img131.imageshack.us/img131/2096/natalebb3.jpg';
Picture[2]  = 'http://img176.imageshack.us/img176/9525/buonannoha2.gif';
Picture[3]  = 'http://img501.imageshack.us/img501/1835/lovenv5.jpg';
Picture[4]  = 'http://rosacreations.altervista.org/pinu/colibri.jpg';
Picture[5]  = 'http://rosacreations.altervista.org/pinu/broken.jpg';
Picture[6]  = 'http://rosacreations.altervista.org/pinu/pinuccia.jpg';
Picture[7]  = 'http://rosacreations.altervista.org/pinu/pinu_0.gif';
Picture[8]  = 'http://img172.imageshack.us/img172/2043/rid2wb7.gif';
Picture[9]  = 'http://img81.imageshack.us/img81/8283/pinu0xa8.jpg';
Picture[10]  = 'http://img365.imageshack.us/img365/3843/pinuac8.jpg';
Picture[11]  = 'http://img398.imageshack.us/img398/3782/fioriperlamiamammaey4.jpg';



// Specify the Captions...
// To add more captions, just continue
// the pattern, adding to the array below.
// To use fewer captions, remove lines
// starting at the end of the Caption array.
// Caution: The number of Captions *must*
// equal the number of Pictures!

Caption[1]  = "Natale";
Caption[2]  = "Buon Anno";
Caption[3]  = "Love";
Caption[4]  = "Colibri";
Caption[5]  = "Broken";
Caption[6]  = "Pinuccia";
Caption[7]  = "C'e' la vie";
Caption[8]  = "10 e Lode";
Caption[9]  = "Love";
Caption[10]  = "With Love";
Caption[11]  = "Fiori per la mia mamma";


// =====================================
// Do not edit anything below this line!
// =====================================

var tss;
var iss;
var jss = 0;
var pss = Picture.length-1;

var preLoad = new Array();
for (iss = 1; iss < pss+1; iss++){
preLoad[iss] = new Image();
preLoad[iss].src = Picture[iss];}

function control(how){
if (showHot){
if (how=="H") jss =  1;
if (how=="F") jss = jss + 1;
if (how=="B") jss = jss - 1;
if (jss > (pss)) jss=1;
if (jss < 1) jss = pss;
if (document.all){
document.images.PictureBox.style.filter="blendTrans(duration=2)";
document.images.PictureBox.style.filter="blendTrans(duration=CrossFadeDuration)";
document.images.PictureBox.filters.blendTrans.Apply();}
document.images.PictureBox.src = preLoad[jss].src;
if (document.getElementById) document.getElementById("CaptionBox").innerHTML= Caption[jss];
if (document.all) document.images.PictureBox.filters.blendTrans.Play();
}}
