 
 //图片滚动展示 Start
 var counts = 4;
 //大图//
 img1 = new Image();
 img1.src = '/Scene/551.jpg';
 img2 = new Image();
 img2.src =  '/Scene/441.jpg';
 img3 = new Image();
 img3.src = '/Scene/521.jpg';
 
 img4 = new Image();
 img4.src = '/Scene/462.jpg';
 
  //链接地址
 url1 = new Image();
 url1.src = '/DSs/55.htm';
 url2 = new Image();
 url2.src = '/DSs/44.htm';
 url3 = new Image();
 url3.src = '/DSs/52.htm';
 url4 = new Image();
 url4.src = '/DSs/46.htm';
 //alt值
 alt1 = new Image();
 alt1.alt = '【海南主要推荐项目】大东海潜水基地';
 alt2 = new Image();
 alt2.alt = '【三亚主要景点】天涯海角';
 alt3 = new Image();
 alt3.alt = '【海南最重要旅游景点】亚龙湾海滩';
 alt4 = new Image();
 alt4.alt = '【三亚市北部的海棠湾】蜈支洲岛';
 
 
 var smallImg = new Array();
 //小图
 smallImg[0] = '/PNG/index_adb1.gif';
 smallImg[1] = '/PNG/index_adb2.gif';
 smallImg[2] = '/PNG/index_adb3.gif';
 smallImg[3] = '/PNG/index_adb4.gif';
 

 var nn = 1;
 var key = 0;
 function change_img() {
  if (key == 0) {
   key = 1;
  } else if (document.all) {
   document.getElementById("pic").filters[0].Apply();
   document.getElementById("pic").filters[0].Play(duration = 2);
  }
  eval('document.getElementById("pic").src=img' + nn + '.src');
  eval('document.getElementById("url").href=url' + nn + '.src');
  eval('document.getElementById("pic").alt=alt' + nn + '.alt');

  for ( var i = 1; i <= counts; i++) {
   document.getElementById("leeXY" + i).className = 'axx';
  }
  document.getElementById("leeXY" + nn).className = 'bxx';
  nn++;
  if (nn > counts) {
   nn = 1;
  }
  tt = setTimeout('change_img()', 5000);
 }
 function changeimg(n) {
  nn = n;
  window.clearInterval(tt);
  change_img();
 }
 function ImageShow() {
  document.write('<div class="picshow_main">');
  document.write('<div><a id="url"><img id="pic" class="imgbig" /></a></div>');
  document.write('<div class="picshow_change">');
  for ( var i = 0; i < counts; i++) {
   document.write('<a href="javascript:changeimg(' + (i + 1)
     + ');" id="leeXY' + (i + 1)
     + '" class="axx" target="_self"><img src="' + smallImg[i]
     + '"></a>');
  }
  document.write('</div></div>');
  change_img();
 }

 function DTo(e){ e.className="T" }
 function STo(e){ e.className="ST" }

