dxstr='<OBJECT ID="DAControl" STYLE="width:520; height:346; z-index:-1; position:relative" CLASSID="CLSID:B6FFC24C-7E13-11D0-9B47-00C04FC2F51D"></OBJECT>';
var imgdon=1;var cdobj=null;
var imgp1=new Image();var imgp2=new Image();var imgp3=new Image();var imgp4=new Image();var imgp5=new Image();
imgp1.src='image1.jpg';imgp2.src='image2.jpg';imgp3.src='image3.jpg';imgp4.src='image4.jpg';imgp5.src='image5.jpg';
var imgstr1='<img src="image1.jpg" width=260 height=173 alt="" border="0">';var imgstr2='<img src="image2.jpg" width=260 height=173 alt="" border="0">';var imgstr3='<img src="image3.jpg" width=260 height=173 alt="" border="0">';var imgstr4='<img src="image4.jpg" width=260 height=173 alt="" border="0">';var imgstr5='<img src="image5.jpg" width=260 height=173 alt="" border="0">';
	var uagent;	var opsystem;
	var IE4B=false;	var NS4B=false;	var NS6B=false;	var OP5B=false;	var AOLB=false;
	var MsWinS=false;	var MacOS=false;	var ULinS=false;
	var majorver;	majorver = parseInt(navigator.appVersion);

	if(majorver>=4)
	{}
	uagent = window.navigator.userAgent.toLowerCase();
	opsystem = window.navigator.platform.toLowerCase();

	if (opsystem.indexOf('win') != -1)
		MsWinS = true;
	else if (opsystem.indexOf('mac') != -1)
		MacOS = true;
	else if (opsystem.indexOf('unix') != -1 || opsystem.indexOf('linux') != -1 || opsystem.indexOf('sun') != -1)
		ULinS = true;

	NS4B=(document.layers);
	IE4B=(document.all);
	NS6B=((document.getElementById)&&(!IE4B))?true:false;
	OP5B=(uagent.indexOf('Opera') != -1)?true:false;

	if ((uagent.indexOf('aol')) != -1 )
		AOLB=true;

function initr(){
	if(IE4B){if(uagent.indexOf('msie 4.') != -1){}else{imgdon=2;setTimeout('dxtrans()',3000);}}
	else if(NS6B)
	{cdobj=document.getElementById('trans');setTimeout('slides()',3000);}}
function dxtrans(){
cimg.filters[0].apply();cimg.src = eval("imgp"+imgdon+".src");
cimg.filters[0].play();imgdon++;
if(imgdon>5){imgdon=1;}
setTimeout('dxtrans()',6000);
}







function slides(){
if(imgdon==1){document.slideimg.src=imgp2.src;}if(imgdon==2){document.slideimg.src=imgp3.src;}if(imgdon==3){document.slideimg.src=imgp4.src;}if(imgdon==4){document.slideimg.src=imgp5.src;}if(imgdon==5){document.slideimg.src=imgp1.src;}
imgdon++;if(imgdon>5){imgdon=1;}setTimeout('slides()',3000);}
window.onload=initr;

