/*---------------------------------------------------
 * File		 	: slideshow.js
 * Date			: 15/08/2007
 * Purpose		: Generic slide show object
 * Version		: 1.0
 * Copyright	: Com'onSoft
 *---------------------------------------------------*/
<!--
function SlideShow( inImgId) {
	this.currentImage=0
	this.myImages = new Array()
	this.imgObj = document.images[inImgId]
	this.timer
	
	this.myImages[0] = "/img/partenaires/ge-money-bank.gif"
	this.myImages[1] = "/img/partenaires/societe-generale.gif"
	this.myImages[2] = "/img/partenaires/bnp-parisbas.gif"
	this.myImages[3] = "/img/partenaires/lcl.gif"
	this.myImages[4] = "/img/partenaires/banque-royal-st-george.gif"
	this.myImages[5] = "/img/partenaires/bnp-parisbas-invest-immo.gif"
	this.myImages[6] = "/img/partenaires/caisse-d-epargne.gif"
	this.myImages[7] = "/img/partenaires/cgi-financeurs.gif"
	this.myImages[8] = "/img/partenaires/creatis.gif"
	this.myImages[9] = "/img/partenaires/credit-foncier.gif"
	this.myImages[10] = "/img/partenaires/credit-immobilier-de-france.gif"
	this.myImages[11] = "/img/partenaires/banque-populaire.gif"
	this.myImages[12] = "/img/partenaires/sygma-banque.gif"

	this.Next = function() {
		this.currentImage++
		if( this.currentImage==this.myImages.length )
			this.currentImage=0
		if( this.imgObj.filters ){
			this.imgObj.filters.revealTrans.apply()
			this.imgObj.filters.revealTrans.play()
		}
		this.imgObj.src=this.myImages[this.currentImage]
	}

	function Start() {
		this.timer = setInterval('this.Next()', 3000)
	}
	
	Start()
}
-->
