/*
SCRIPT EDITE SUR L'EDITEUR JAVASCRIPT
http://www.editeurjavascript.com
Ne copiez ce code qu'une fois dans votre page
*/
function afficheVignette(cheminVignette,cheminMaxi)
	{
	document.write('<A HREF="javascript:afficheMaxi(\''+cheminMaxi+'\')"><IMG SRC="'+cheminVignette+'" HSPACE=0 VSPACE=0 BORDER=0 ALT="cliquez ici pour voir en grand"></A>');
	}
function afficheMaxi(chemin)
	{
	i1 = new Image;
	i1.src = chemin;
	html = '<HTML><HEAD><META HTTP-EQUIV="imagetoolbar" CONTENT="no"><STYLE TYPE="TEXT/CSS">a {  color: #cc3333; text-decoration: none; font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif}a:body {  color: #cc3333; text-decoration: none; font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif}a:link {  color: #cc3333; text-decoration: none; font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif}a:hover {  color: #3333cc; text-decoration: underline; font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif}a:active {  color: #3333cc; text-decoration: none; font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif}body {  font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-style: normal; color: #000000; text-decoration: none}td {  font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-style: normal; color: #000000; text-decoration: none}select {  font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-style: normal; color: #000000; text-decoration: none}input {  font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-style: normal; color: #000000; text-decoration: none}submit {  font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-style: normal; color: #000000; text-decoration: none}textarea {  font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-style: normal; color: #000000; text-decoration: none}</STYLE><TITLE>Image</TITLE></HEAD><BODY LEFTMARGIN=0 MARGINWIDTH=0 TOPMARGIN=0 MARGINHEIGHT=0 onload="javascript:function clique() {if (event.button==2) {alert(\'Le clique droit est interdit\');}}document.onmousedown=clique"><CENTER><IMG SRC="'+chemin+'" BORDER=0 NAME=imageTest onLoad="window.resizeTo(document.imageTest.width+14,document.imageTest.height+60)"><br><a href=javascript:window.close()>Fermer la fenêtre</a></CENTER></BODY></HTML>';
	popupImage = window.open('','_blank','toolbar=0,location=0,directories=0,menuBar=0,scrollbars=0,resizable=1');
	popupImage.document.open();
	popupImage.document.write(html);
	popupImage.document.close()
	};

// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 3000

// Duration of crossfade (seconds)
var crossFadeDuration = 3

// Specify the image files
var Pic = new Array() // don't touch this
// to add more images, just continue
// the pattern, adding to the array below


Pic[0] = 'http://common.ziffdavisinternet.com/util_get_image/5/0,3363,i=54207,00.jpg'

Pic[1] = 'http://common.ziffdavisinternet.com/util_get_image/5/0,3363,i=54215,00.jpg'

Pic[2] = 'http://common.ziffdavisinternet.com/util_get_image/5/0,3363,i=54219,00.jpg'

Pic[3] = 'http://common.ziffdavisinternet.com/util_get_image/5/0,3363,i=54235,00.jpg'

// =======================================
// do not edit anything below this line
// =======================================
//POur appeller la fonction dans le code, il suffit de mettre : 
//<img src="54208" name='SlideShow' width="160" height="100" border="0" />
//ou 54208 est le nom de la première image
var t
var j = 0
var p = Pic.length

var preLoad = new Array()
for (i = 0; i < p; i++){
preLoad[i] = new Image()
preLoad[i].src = Pic[i]
}

function runSlideShow(){
if (document.all){
document.images.SlideShow.style.filter='blendTrans(duration=2)'
document.images.SlideShow.style.filter='blendTrans(duration=crossFadeDuration)'
document.images.SlideShow.filters.blendTrans.Apply()
}
document.images.SlideShow.src = preLoad[j].src
if (document.all){
document.images.SlideShow.filters.blendTrans.Play()
}
j = j + 1
if (j > (p-1)) j=0
t = setTimeout('runSlideShow()', slideShowSpeed)
}

//-->