/*
SCRIPT EDITE SUR L'EDITEUR JAVASCRIPT
http://www.editeurjavascript.com
*/

imgPath = new Array;
SiClickGoTo = new Array;

if (document.images)
	{
	i0 = new Image;
	i0.src = '/images/photo/animation_0.jpg';
	SiClickGoTo[0] = "http://www.flybottle.fr/index.php";
	imgPath[0] = i0.src;

	i1 = new Image;
	i1.src = '/images/photo/animation_1.jpg';
	SiClickGoTo[1] = "http://www.flybottle.fr/index.php";
	imgPath[1] = i1.src;

	i2 = new Image;
	i2.src = '/images/photo/animation_10.jpg';
	SiClickGoTo[2] = "http://www.flybottle.fr/index.php";
	imgPath[2] = i2.src;

	i3 = new Image;
	i3.src = '/images/photo/animation_3.jpg';
	SiClickGoTo[3] = "http://www.flybottle.fr/index.php";
	imgPath[3] = i3.src;

	i4 = new Image;
	i4.src = '/images/photo/animation_4.jpg';
	SiClickGoTo[4] = "http://www.flybottle.fr/index.php";
	imgPath[4] = i4.src;

	i5 = new Image;
	i5.src = '/images/photo/animation_5.jpg';
	SiClickGoTo[5] = "http://www.flybottle.fr/index.php";
	imgPath[5] = i5.src;

	i6 = new Image;
	i6.src = '/images/photo/animation_6.jpg';
	SiClickGoTo[6] = "http://www.flybottle.fr/index.php";
	imgPath[6] = i6.src;

	i7 = new Image;
	i7.src = '/images/photo/animation_7.jpg';
	SiClickGoTo[7] = "http://www.flybottle.fr/index.php";
	imgPath[7] = i7.src;

	i8 = new Image;
	i8.src = '/images/photo/animation_8.jpg';
	SiClickGoTo[8] = "http://www.flybottle.fr/index.php";
	imgPath[8] = i8.src;

	i9 = new Image;
	i9.src = '/images/photo/animation_9.jpg';
	SiClickGoTo[9] = "http://www.flybottle.fr/index.php";
	imgPath[9] = i9.src;
	}

a = 0;
function ejs_img_fx(img)
	{
	if(img && img.filters && img.filters[0])
		{
		img.filters[0].apply();
		img.filters[0].play();
		}
	}

function StartAnim()
	{
	if (document.images)
		{
		document.write('<A HREF="#" onClick="ImgDest();return(false)"><IMG SRC="animation_0.jpg" BORDER=0 ALT="Flybottle" Menu NAME=defil style="filter:progid:DXImageTransform.Microsoft.Fade(Duration=1.0,overlap=2.0)"></A>');
		defilimg()
		}
	else
		{
		document.write('<A HREF="http://www.flybottle.fr/index.php"><IMG SRC="animation_0.jpg" BORDER=0></A>')
		}
	}

function ImgDest()
	{
	window.open(SiClickGoTo[a-1],'_self');
	}

function defilimg()
	{
	if (a == 10)
		{
		a = 0;
		}

	if (document.images)
		{
		ejs_img_fx(document.defil)
		document.defil.src = imgPath[a];
		tempo3 = setTimeout("defilimg()",3000);
		a++;
		}
	}
