
var toto21imgdon=1;
var toto21imgp1=new Image();
var toto21imgp2=new Image();
var toto21imgp3=new Image();

toto21imgp1.src='../../images/header_show/l_envolee_2007.jpg';
toto21imgp2.src='../../images/header_show/La_chambre_bleue.jpg';
toto21imgp3.src='../../images/header_show/La_balles_de paille.jpg';

var toto21imgstr1='<img src="../../images/header_show/l_envolee_2007.jpg" width=345 height=135 alt="" border="0">';
var toto21imgstr2='<img src="../../images/header_show/La_chambre_bleue.jpg" width=345 height=135 alt="" border="0">';
var toto21imgstr3='<img src="../../images/header_show/La_balles_de paille.jpg" width=345 height=135 alt="" border="0">';

var uagent;
var opsystem;
var IE4B=false;
var NS6B=false;
var MsWinS=false;
uagent = window.navigator.userAgent.toLowerCase();
opsystem = window.navigator.platform.toLowerCase();
if (opsystem.indexOf('win') != -1)
{MsWinS = true;}
IE4B=(document.all);
NS6B=((document.getElementById)&&(!IE4B))?true:false;

IE5=false;IE4=false;IEold=false;IE5=(uagent.indexOf('msie 5.0') != -1)?true:false;IE4=(uagent.indexOf('msie 4') != -1)?true:false;if(IE5||IE4||(MsWinS==false)){IEold=true;}
function toto21initr()
{

	if(IE4B){if((uagent.indexOf('msie 7.') != -1)||(uagent.indexOf('msie 6.') != -1)||(uagent.indexOf('msie 5.5') != -1)){toto21imgdon=2;setTimeout('toto21dxtrans()',3000);
}
}

	else if(NS6B)

{
setTimeout('toto21slides()',2000);
}toto21yenif();
}

function toto21dxtrans()
{

if(IEold!=true)
{
toto21cimg.filters[0].apply();
}toto21cimg.src = eval("toto21imgp"+toto21imgdon+".src");
if(IEold!=true)
{
toto21cimg.filters[0].play();
}
toto21imgdon++;
if(toto21imgdon>3)
{
toto21imgdon=1;
}

setTimeout('toto21dxtrans()',5000);
}


function toto21slides()
{

if(toto21imgdon==1)
{
document.toto21slideimg.src=toto21imgp2.src;
}
if(toto21imgdon==2)
{
document.toto21slideimg.src=toto21imgp3.src;
}
if(toto21imgdon==3)
{
document.toto21slideimg.src=toto21imgp1.src;
}

toto21imgdon++;if(toto21imgdon>3)
{
toto21imgdon=1;
}
setTimeout('toto21slides()',2000);
}

toto21yenif = (window.onload) ? window.onload :  new Function;window.onload = function(){	setTimeout("toto21initr()",80);};

