
/***********************************************
* Flexi Slideshow- © Dynamic Drive (www.dynamicdrive.com)
* This notice must stay intact for use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

var variableslide=new Array()

//variableslide[x]=["path to image", "OPTIONAL link for image", "OPTIONAL text description (supports HTML tags)"]
var i = 0
variableslide[i++]=['design/img/Sponsoring/logo-anselme2.gif', 'http://www.msh.be/fr/points-de-vente/hainaut.html', '']
variableslide[i++]=['design/img/Sponsoring/logo-bastion.gif', 'http://www.lesbastions.com', '']
variableslide[i++]=['design/img/Sponsoring/logo-bijouterie_hernould.gif', 'http://www.bijouteriehernould.be', '']
variableslide[i++]=['design/img/Sponsoring/logo-brasserie-brunehaut.gif', 'http://www.brunehaut.com', '']
variableslide[i++]=['design/img/Sponsoring/logo-spira.gif', 'www.spira-france.com', '']
variableslide[i++]=['design/img/Sponsoring/logo-dexia.gif', 'http://www.dexia.be', '']
variableslide[i++]=['design/img/Sponsoring/logo-apiRestauration.gif', 'http://www.api-restauration.com', '']
variableslide[i++]=['design/img/Sponsoring/logo-eurospar.gif', 'http://www.sparretail.be/sparretail/static/fr.shtml', '']
variableslide[i++]=['design/img/Sponsoring/logo-ford_rousseau.gif', 'http://www.rousseausa.be/accueil.htm', '']
variableslide[i++]=['design/img/Sponsoring/logo-louis_rogez.gif', '', '']
variableslide[i++]=['design/img/Sponsoring/logo-selection_meubles.gif', 'ttp://www.selectionmeubles.com', '']
variableslide[i++]=['design/img/Sponsoring/logo-ccrunning.gif', 'http://www.ccrunning.be', '']
variableslide[i++]=['design/img/Sponsoring/logo-atlantis.gif', 'http://www.atlantis-security.be', '']
variableslide[i++]=['design/img/Sponsoring/logo-sportstech.gif', 'http://www.sportstech.be', '']
variableslide[i++]=['design/img/Sponsoring/logo-lievens.gif', 'http://cycles-lievens.skyrock.com', '']
variableslide[i++]=['design/img/Sponsoring/logo-notredame.gif', 'http://www.agencenotredame.be', '']
variableslide[i++]=['design/img/Sponsoring/logo-TerreEtMer.gif', 'http://www.tournai.be/fr/commerces/index.php?page=1345', '']
variableslide[i++]=['design/img/Sponsoring/logo-freelace.jpg', 'http://www.freelace-technologie.com', '']

//variableslide[i++]=['logo-bridou.gif', 'http://www.bridou.be', '']

//configure the below 3 variables to set the dimension/background color of the slideshow

var slidewidth='' //set to width of LARGEST image in your slideshow
var slideheight='' //set to height of LARGEST iamge in your slideshow, plus any text description
var slidebgcolor=''

//configure the below variable to determine the delay between image rotations (in miliseconds)
var slidedelay=5000
var onaline = 6

////Do not edit pass this line////////////////

var ie=document.all
var dom=document.getElementById

for (i=0;i<variableslide.length;i++){
var cacheimage=new Image()
cacheimage.src=variableslide[i][0]
}

var currentslide=0

function rotateimages(){
contentcontainer='<right>'

for (ctr=0;ctr<onaline;ctr++) {
		if (variableslide[currentslide][1]!="") {
			if (variableslide[currentslide][2]!="")
				contentcontainer+='<a href="'+variableslide[currentslide][1]+'">'
			else
				contentcontainer+='<a href="'+variableslide[currentslide][1]+'" title="' + variableslide[currentslide][2] + '">'
		}
		contentcontainer+='<img src="'+variableslide[currentslide][0]+'" border="0" style="padding-right: 5px;">'
		if (variableslide[currentslide][1]!="")
			contentcontainer+='</a>'
		currentslide++
	  if (currentslide>variableslide.length-1)
			break
}
currentslide--

if (document.layers){
	crossrotateobj.document.write(contentcontainer)
	crossrotateobj.document.close()
}
else if (ie||dom)
	crossrotateobj.innerHTML=contentcontainer
if (currentslide>=variableslide.length-1)
	currentslide=0
else
	currentslide++
setTimeout("rotateimages()",slidedelay)
}

if (ie||dom)
document.write('<div id="slidedom" style="align:right; width:'+slidewidth+';height:'+slideheight+'; background-color:'+slidebgcolor+'"></div>')

function start_slider(){
	crossrotateobj=dom? document.getElementById("slidedom") : ie? document.all.slidedom : document.slidensmain.document.slidenssub
	if (document.layers)
		document.slidensmain.visibility="show"
	rotateimages()
}

if (ie||dom)
	start_slider()
else if (document.layers)
	window.onload=start_slider