// JavaScript Document
  <!--//   
  //var imagelist=document.getElementByID('focus_change_list');
  //alert(imagelist.childNodes[0].innerHTML);
 
  var   i_strngth=100;
  var i_strngth2=1;
  var   i_strngth3=100;
  var i_strngth4=1;
  var   i_image=0;
  var   i_image2=0;
  var ini_img=0;
  var   imageurl   =   new   Array();
  var   imagehref   =   new   Array();
  var imghref_1=document.getElementById('a_banner_1');
  var imghref_2=document.getElementById('a_banner_2');
  var imghref_3=document.getElementById('a_banner_3');
  var imghref_4=document.getElementById('a_banner_4');
  var imghref_5=document.getElementById('a_banner_5');
  
  var img_1=document.getElementById('img_banner_1');
  var img_2=document.getElementById('img_banner_2');
  var img_3=document.getElementById('img_banner_3');
  var img_4=document.getElementById('img_banner_4');
  var img_5=document.getElementById('img_banner_5');
  imageurl[0]   =img_1.src;   
  imageurl[1]   =img_2.src;   
  imageurl[2]   =img_3.src; 
  imageurl[3]   =img_4.src;
  imageurl[4]   =img_5.src;
  imagehref[0] =imghref_1.href;
  imagehref[1] =imghref_2.href;
  imagehref[2] =imghref_3.href;
  imagehref[3] =imghref_4.href;
  imagehref[4] =imghref_5.href;
  
  var focus_change_btn = document.getElementById('focus_change_btn').getElementsByTagName('li');
	focus_change_btn[0].childNodes[0].style.backgroundColor='white';
	focus_change_btn[0].childNodes[0].style.color='black';
  var timer;setTimeout("showimage()",0);;
  var timer2;
  var timer3;
  var timer4;
  var count_banner=0;
  var count_banner2=0;
  document.getElementById('testimage').href=imghref_1.href;
  // alert(imagehref[0]);
  //document.getElementById('img_banner_1')="border:none";

  function   showimage()   {   
  //alert(document.getElementById('testimage').innerHTML);  
     {   
  if   (i_strngth   <=100)   { 
   i_strngth2=  i_strngth/100.0;count_banner++;
  document.getElementById('testimage').innerHTML="<img  style='-moz-opacity:"+i_strngth2+";opacity: "+i_strngth2+";filter:alpha(opacity="+i_strngth+")'   src="+imageurl[i_image]+"   border='0'>";   
  
  i_strngth=i_strngth+imagespeed;  
  timer=setTimeout("showimage()",20)   
  }   
  else   {   
  
  i_image++   ;
  if   (i_image   >=   imageurl.length)   {i_image=0;}   
  i_strngth=0   ;
  timer4=setTimeout("change_banner_numcolor(-1)",5500) ;
  timer=setTimeout("showimage()",5000) ;
  //change_banner_numcolor(-1);
  if(ini_img==0)
  {
	 timer3=setTimeout("hideimage()",5000);  
	 ini_img=1;
  }
  }   
  }   
  }   
  function   hideimage()   {    
  i_strngth3=100-i_strngth;
  if   (i_strngth3   >=0)   {  
   i_strngth4=  i_strngth3/100;count_banner2++; 
  document.getElementById('testimage2').innerHTML="<img style='-moz-opacity:"+i_strngth4+";opacity: "+i_strngth4+";filter:alpha(opacity="+i_strngth3+")' src="+imageurl[i_image2]+"   border=0>";   
  i_strngth3=i_strngth3-imagespeed  ;
   timer3=setTimeout("hideimage()",20)   
  }     
  else   {   
   
  i_image2++;
  if   (i_image2   >=   imageurl.length)   {i_image2=0;}   
  i_strngth3=100   ;
  
     timer3=setTimeout("hideimage()",3000);     
  }   
  }   
  
  function change_banner_numcolor(index_list2)
{
/*focus_change_btn[0].style.color='white';
focus_change_btn[0].style.backgroundColor='white';*/
//alert(focus_change_btn[0].style.backgroundColor='black');

/*if(index_list2 != -1)
{
clearTimeout(timer2);
timer2=setTimeout("clearTimeout(timer)",1) ; 
}*/
/*clearTimeout(timer);clearTimeout(timer3);
timer=setTimeout("showimage()",10);
timer3=setTimeout("hideimage()",10);*/

if(index_list2==-1)
{	if(i_image ==0)
	var	index_list2=4;
	else 
	var	index_list2=i_image-1;
	focus_change_btn[index_list2].childNodes[0].style.backgroundColor='black';
	focus_change_btn[i_image].childNodes[0].style.backgroundColor='white';
	focus_change_btn[index_list2].childNodes[0].style.color='white';
	focus_change_btn[i_image].childNodes[0].style.color='black';
	}
else if(index_list2 != i_image || ( i_image ==0 && index_list2==0))
{   clearTimeout(timer);clearTimeout(timer3);clearTimeout(timer4);
	for(i=0;i<5;i++)
	{
	focus_change_btn[i].childNodes[0].style.backgroundColor='black';
	focus_change_btn[i].childNodes[0].style.color='white';
	}
	focus_change_btn[index_list2].childNodes[0].style.color='black';
	focus_change_btn[index_list2].childNodes[0].style.backgroundColor='white';
	  ini_img=0; 
i_image2=index_list2;
	i_image=index_list2;
	   i_strngth=0;
     i_strngth3=100;
	 document.getElementById('testimage2').innerHTML="<img style='-moz-opacity:1;opacity:1;filter:alpha(opacity=100)' src="+imageurl[index_list2]+"   border=0>"; 
}
document.getElementById('testimage2').href=imagehref[i_image];
}
function change_banner_numcolor2(index_list2)
{  clearTimeout(timer);clearTimeout(timer3);clearTimeout(timer4);
  ini_img=0; 
i_image2=index_list2;
	i_image=index_list2;
	   i_strngth=0;
     i_strngth3=100;
timer4=setTimeout("showimage()",0) ;
}
  //-->   