
var stimgdon=1;
var stimgp1=new Image();
var stimgp2=new Image();
var stimgp3=new Image();
var stimgp4=new Image();
var stimgp5=new Image();

stimgp1.src='1.jpg';
stimgp2.src='2.jpg';
stimgp3.src='3.jpg';
stimgp4.src='4.jpg';
stimgp5.src='5.jpg';

var stimgstr1='<img src="1.jpg" width=457 height=280 alt="" border="0">';
var stimgstr2='<img src="2.jpg" width=457 height=280 alt="" border="0">';
var stimgstr3='<img src="3.jpg" width=457 height=280 alt="" border="0">';
var stimgstr4='<img src="4.jpg" width=457 height=280 alt="" border="0">';
var stimgstr5='<img src="5.jpg" width=457 height=280 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 stinitr()
{

	if(IE4B){if((uagent.indexOf('msie 6.') != -1)||(uagent.indexOf('msie 5.5') != -1)){stimgdon=2;setTimeout('stdxtrans()',3000);
}
}

	else if(NS6B)

{
setTimeout('stslides()',3000);
}styenif();
}

function stdxtrans()
{

if(IEold!=true)
{
stcimg.filters[0].apply();
}stcimg.src = eval("stimgp"+stimgdon+".src");
if(IEold!=true)
{
stcimg.filters[0].play();
}
stimgdon++;
if(stimgdon>5)
{
stimgdon=1;
}

setTimeout('stdxtrans()',4000);
}


function stslides()
{

if(stimgdon==1)
{
document.stslideimg.src=stimgp2.src;
}
if(stimgdon==2)
{
document.stslideimg.src=stimgp3.src;
}
if(stimgdon==3)
{
document.stslideimg.src=stimgp4.src;
}
if(stimgdon==4)
{
document.stslideimg.src=stimgp5.src;
}
if(stimgdon==5)
{
document.stslideimg.src=stimgp1.src;
}

stimgdon++;if(stimgdon>5)
{
stimgdon=1;
}
setTimeout('stslides()',3000);
}

styenif = (window.onload) ? window.onload :  new Function;window.onload = function(){	setTimeout("stinitr()",80);};

