
var toto22imgdon=1;
var toto22imgp1=new Image();
var toto22imgp2=new Image();
var toto22imgp3=new Image();

toto22imgp1.src='../../images/header_show/Loin_de_l_oeil.jpg';
toto22imgp2.src='../../images/header_show/La_chambre_des_champs_03.jpg';
toto22imgp3.src='../../images/header_show/Mauzac_roux.jpg';

var toto22imgstr1='<img src="../../images/header_show/Loin_de_l_oeil.jpg" width=345 height=135 alt="" border="0">';
var toto22imgstr2='<img src="../../images/header_show/La_chambre_des_champs_03.jpg" width=345 height=135 alt="" border="0">';
var toto22imgstr3='<img src="../../images/header_show/Mauzac_roux.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 toto22initr()
{

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

	else if(NS6B)

{
setTimeout('toto22slides()',2000);
}toto22yenif();
}

function toto22dxtrans()
{

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

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


function toto22slides()
{

if(toto22imgdon==1)
{
document.toto22slideimg.src=toto22imgp2.src;
}
if(toto22imgdon==2)
{
document.toto22slideimg.src=toto22imgp3.src;
}
if(toto22imgdon==3)
{
document.toto22slideimg.src=toto22imgp1.src;
}

toto22imgdon++;if(toto22imgdon>3)
{
toto22imgdon=1;
}
setTimeout('toto22slides()',2000);
}

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

