
var animationimgdon=1;
var animationimgp1=new Image();
var animationimgp2=new Image();
var animationimgp3=new Image();
var animationimgp4=new Image();
var animationimgp5=new Image();
var animationimgp6=new Image();
var animationimgp7=new Image();
var animationimgp8=new Image();
var animationimgp9=new Image();
var animationimgp10=new Image();
var animationimgp11=new Image();
var animationimgp12=new Image();
var animationimgp13=new Image();
var animationimgp14=new Image();
var animationimgp15=new Image();
var animationimgp16=new Image();
var animationimgp17=new Image();
var animationimgp18=new Image();
var animationimgp19=new Image();
var animationimgp20=new Image();

animationimgp1.src='images/loison-1.jpg';
animationimgp2.src='images/loison-2.jpg';
animationimgp3.src='images/loison-3.jpg';
animationimgp4.src='images/loison-4.jpg';
animationimgp5.src='images/loison-5.jpg';
animationimgp6.src='images/loison-6.jpg';
animationimgp7.src='images/loison-7.jpg';
animationimgp8.src='images/loison-8.jpg';
animationimgp9.src='images/loison-9.jpg';
animationimgp10.src='images/loison-10.jpg';
animationimgp11.src='images/loison-11.jpg';
animationimgp12.src='images/loison-12.jpg';
animationimgp13.src='images/loison-13.jpg';
animationimgp14.src='images/loison-14.jpg';
animationimgp15.src='images/loison-15.jpg';
animationimgp16.src='images/loison-16.jpg';
animationimgp17.src='images/loison-17.jpg';
animationimgp18.src='images/loison-18.jpg';
animationimgp19.src='images/loison-19.jpg';
animationimgp20.src='images/loison-20.jpg';

var animationimgstr1='<img src="loison-1.jpg" width=214 height=407 alt="" border="0">';
var animationimgstr2='<img src="loison-2.jpg" width=214 height=407 alt="" border="0">';
var animationimgstr3='<img src="loison-3.jpg" width=214 height=407 alt="" border="0">';
var animationimgstr4='<img src="loison-4.jpg" width=214 height=407 alt="" border="0">';
var animationimgstr5='<img src="loison-5.jpg" width=214 height=407 alt="" border="0">';
var animationimgstr6='<img src="loison-6.jpg" width=214 height=407 alt="" border="0">';
var animationimgstr7='<img src="loison-7.jpg" width=214 height=407 alt="" border="0">';
var animationimgstr8='<img src="loison-8.jpg" width=214 height=407 alt="" border="0">';
var animationimgstr9='<img src="loison-9.jpg" width=214 height=407 alt="" border="0">';
var animationimgstr10='<img src="loison-10.jpg" width=214 height=407 alt="" border="0">';
var animationimgstr11='<img src="loison-11.jpg" width=214 height=407 alt="" border="0">';
var animationimgstr12='<img src="loison-12.jpg" width=214 height=407 alt="" border="0">';
var animationimgstr13='<img src="loison-13.jpg" width=214 height=407 alt="" border="0">';
var animationimgstr14='<img src="loison-14.jpg" width=214 height=407 alt="" border="0">';
var animationimgstr15='<img src="loison-15.jpg" width=214 height=407 alt="" border="0">';
var animationimgstr16='<img src="loison-16.jpg" width=214 height=407 alt="" border="0">';
var animationimgstr17='<img src="loison-17.jpg" width=214 height=407 alt="" border="0">';
var animationimgstr18='<img src="loison-18.jpg" width=214 height=407 alt="" border="0">';
var animationimgstr19='<img src="loison-19.jpg" width=214 height=407 alt="" border="0">';
var animationimgstr20='<img src="loison-20.jpg" width=214 height=407 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 animationinitr()
{

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

	else if(NS6B)

{
setTimeout('animationslides()',10000);
}animationyenif();
}

function animationdxtrans()
{

if(IEold!=true)
{
animationcimg.filters[0].apply();
}animationcimg.src = eval("animationimgp"+animationimgdon+".src");
if(IEold!=true)
{
animationcimg.filters[0].play();
}
animationimgdon++;
if(animationimgdon>20)
{
animationimgdon=1;
}

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


function animationslides()
{

if(animationimgdon==1)
{
document.animationslideimg.src=animationimgp2.src;
}
if(animationimgdon==2)
{
document.animationslideimg.src=animationimgp3.src;
}
if(animationimgdon==3)
{
document.animationslideimg.src=animationimgp4.src;
}
if(animationimgdon==4)
{
document.animationslideimg.src=animationimgp5.src;
}
if(animationimgdon==5)
{
document.animationslideimg.src=animationimgp6.src;
}
if(animationimgdon==6)
{
document.animationslideimg.src=animationimgp7.src;
}
if(animationimgdon==7)
{
document.animationslideimg.src=animationimgp8.src;
}
if(animationimgdon==8)
{
document.animationslideimg.src=animationimgp9.src;
}
if(animationimgdon==9)
{
document.animationslideimg.src=animationimgp10.src;
}
if(animationimgdon==10)
{
document.animationslideimg.src=animationimgp11.src;
}
if(animationimgdon==11)
{
document.animationslideimg.src=animationimgp12.src;
}
if(animationimgdon==12)
{
document.animationslideimg.src=animationimgp13.src;
}
if(animationimgdon==13)
{
document.animationslideimg.src=animationimgp14.src;
}
if(animationimgdon==14)
{
document.animationslideimg.src=animationimgp15.src;
}
if(animationimgdon==15)
{
document.animationslideimg.src=animationimgp16.src;
}
if(animationimgdon==16)
{
document.animationslideimg.src=animationimgp17.src;
}
if(animationimgdon==17)
{
document.animationslideimg.src=animationimgp18.src;
}
if(animationimgdon==18)
{
document.animationslideimg.src=animationimgp19.src;
}
if(animationimgdon==19)
{
document.animationslideimg.src=animationimgp20.src;
}
if(animationimgdon==20)
{
document.animationslideimg.src=animationimgp1.src;
}

animationimgdon++;if(animationimgdon>20)
{
animationimgdon=1;
}
setTimeout('animationslides()',10000);
}

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