
var toto2imgdon=1;
var toto2imgp1=new Image();
var toto2imgp2=new Image();
var toto2imgp3=new Image();

toto2imgp1.src='../../images/header_show/Cordes_sur_ciel_01.jpg';
toto2imgp2.src='../../images/header_show/ch_champs.jpg';
toto2imgp3.src='../../images/header_show/canoe_tarn_tarn3.jpg';

var toto2imgstr1='<img src="../../images/header_show/Cordes_sur_ciel_01.jpg" width=345 height=135 alt="" border="0">';
var toto2imgstr2='<img src="../../images/header_show/ch_champs.jpg" width=345 height=135 alt="" border="0">';
var toto2imgstr3='<img src="../../images/header_show/canoe_tarn_tarn3.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 toto2initr()
{

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

	else if(NS6B)

{
setTimeout('toto2slides()',2000);
}toto2yenif();
}

function toto2dxtrans()
{

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

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


function toto2slides()
{

if(toto2imgdon==1)
{
document.toto2slideimg.src=toto2imgp2.src;
}
if(toto2imgdon==2)
{
document.toto2slideimg.src=toto2imgp3.src;
}
if(toto2imgdon==3)
{
document.toto2slideimg.src=toto2imgp1.src;
}

toto2imgdon++;if(toto2imgdon>3)
{
toto2imgdon=1;
}
setTimeout('toto2slides()',2000);
}

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

