  
var widths2=228;                 
var heights2=160;                 
var counts2=4;
img12=new Image ();img12.src='images/v1.jpg';    
img22=new Image ();img22.src='images/v2.jpg';    
img32=new Image ();img32.src='images/v3.jpg'; 
img42=new Image ();img42.src='images/v4.jpg';    

url12=new Image ();url12.src='http://en.bellsent.com/Products/details.asp?id=1';   
url22=new Image ();url22.src='http://en.bellsent.com/Products/details.asp?id=4';   
url32=new Image ();url32.src='http://en.bellsent.com/Products/details.asp?id=12'; 
url42=new Image ();url42.src='http://en.bellsent.com/Products/details.asp?id=11';
 
var nn2=1;   
var key2=0;   
function change_img2(){
	if(key2==0)	{
		key2=1;
	}else if(document.all){
		document.getElementById("pic2").filters[0].Apply();
		document.getElementById("pic2").filters[0].Play(duration=2);
	} 
	eval('document.getElementById("pic2").src=img'+nn2+'2.src');   
	eval('document.getElementById("url2").href=url'+nn2+'2.src');   
	for (var i=1;i<=counts2;i++){
		document.getElementById("xxjdjj2"+i).className='axx';
	}   
	document.getElementById("xxjdjj2"+nn2).className='bxx';   
	nn2++;
	if(nn2>counts2){
		nn2=1;
	}
	tt=setTimeout('change_img2()',6000);
} 

function changeimg2(n){
	nn2=n;window.clearInterval(tt);change_img2();
}
document.write('<style>');   
document.write('.axx{padding:1px 7px;border-left:#cccccc 1px solid;}');   
document.write('a.axx:link,a.axx:visited{text-decoration:none;color:#fff;line-height:15px;font:12px sans-serif;background-color:#666;}');   
document.write('a.axx:active,a.axx:hover{text-decoration:none;color:#fff;line-height:15px;font:12px sans-serif;background-color:#999;}');   
document.write('.bxx{padding:1px 7px;border-left:#cccccc 1px solid;}');   
document.write('a.bxx:link,a.bxx:visited{text-decoration:none;color:#fff;line-height:15px;font:12px sans-serif;background-color:#D34600;}');   
document.write('a.bxx:active,a.bxx:hover{text-decoration:none;color:#fff;line-height:15px;font:12px sans-serif;background-color:#D34600;}');   
document.write('</style>');   
document.write('<div style="width:'+widths2+'px;height:'+heights2+'px;overflow:hidden;text-overflow:clip;">');   
document.write('<div><a id="url2"><img id="pic2" style="border:0px;filter:progid:dximagetransform.microsoft.wipe(gradientsize=1.0,wipestyle=4, motion=forward)" width='+widths2+' height='+heights2+' /></a></div>');   
document.write('<div style="filter:alpha(style=1,opacity=10,finishOpacity=80);background: #888888;width:100%-2px;text-align:right;top:-175px;position:relative;margin:1px;height:12px;padding:0px;margin:0px;border:0px;">'); 

for(var i=1;i<counts2+1;i++){
	document.write('<a href="javascript:changeimg2('+i+');" id="xxjdjj2'+i+'" class="axx" target="_self">'+i+'</a>');
}
document.write('</div></div>');   
change_img2();   

