// JavaScript Document

 <!-- ÐÂÎÅÍ¼Æ¬Ô¤ÀÀ¿ªÊ¼ -->
  var PC_7_0_1IV_imgUrl=new Array();
  var PC_7_0_1IV_imgLink=new Array();
  var PC_7_0_1IV_imgAlt=new Array();
  var PC_7_0_1IV_title=new Array();
  //var PC_7_0_1IV_imgBase="upfiles/";
  var PC_7_0_1IV_imgBase="";
  var PC_7_0_1IV_imgBase2="images/num/";
  var PC_7_0_1IV_adNum=0;

  //+++++++Ô¤»º´æÍ¼Æ¬++++++++
  var PC_7_0_1IV_imgCache = new Array();
  var PC_7_0_1IV_imgPre=new Array();
  var PC_7_0_1IV_j=0;

  function initPic(){
	  for(var i = 1;i < PC_7_0_1IV_imgUrl.length;i++) {
		PC_7_0_1IV_imgCache[i] = new Image();
		PC_7_0_1IV_imgCache[i].src = PC_7_0_1IV_imgUrl[i];
	  }
	  
	  PC_7_0_1IV_j=PC_7_0_1IV_imgUrl.length-1;
  }
				
  function PC_7_0_1IV_setTransition() {
    if (document.all) {
      document.images.PC_7_0_1IV_imgInit.filters.revealTrans.Transition=Math.floor(Math.random()*20);
      document.images.PC_7_0_1IV_imgInit.filters.revealTrans.apply();
    }
  }
				
  function PC_7_0_1IV_playTran() {
    if (document.all) 
      document.images.PC_7_0_1IV_imgInit.filters.revealTrans.play();
  }
				

  function PC_7_0_1IV_nextAd() {

    if(PC_7_0_1IV_adNum<PC_7_0_1IV_j) PC_7_0_1IV_adNum++;
    else PC_7_0_1IV_adNum=1;

    if (document.all) {
      PC_7_0_1IV_setTransition();
      PC_7_0_1IV_playTran();			
    }

    for (var a=1;a<=PC_7_0_1IV_j;a++) {
      if(a==PC_7_0_1IV_adNum)
        document.images["PC_7_0_1IV_num"+a].src=PC_7_0_1IV_imgBase2+"num"+a+"_active.gif";
      else
        document.images["PC_7_0_1IV_num"+a].src=PC_7_0_1IV_imgBase2+"num"+a+"_normal.gif";
    }
    
    document.images.PC_7_0_1IV_imgInit.src=PC_7_0_1IV_imgUrl[PC_7_0_1IV_adNum];
    document.images.PC_7_0_1IV_imgInit.alt=PC_7_0_1IV_imgAlt[PC_7_0_1IV_adNum];
    document.getElementById("PC_7_0_1IV_img_link").href=PC_7_0_1IV_imgLink[PC_7_0_1IV_adNum];
    document.getElementById("PC_7_0_1IV_img_link").title=PC_7_0_1IV_imgAlt[PC_7_0_1IV_adNum];
    document.getElementById("PC_7_0_1IV_img_title").innerText=PC_7_0_1IV_title[PC_7_0_1IV_adNum];
    theTimer=setTimeout("PC_7_0_1IV_nextAd()", 6000);
					
  }

				
  function PC_7_0_1IV_changimg(m) {
    if(PC_7_0_1IV_adNum<m)PC_7_0_1IV_adNum++ ;
    else PC_7_0_1IV_adNum=1;
				 
    for (var a=1;a<=PC_7_0_1IV_j;a++) {
      if(a==m) 
        document.images["PC_7_0_1IV_num"+a].src=PC_7_0_1IV_imgBase2+"num"+a+"_active.gif";
      else
	document.images["PC_7_0_1IV_num"+a].src=PC_7_0_1IV_imgBase2+"num"+a+"_normal.gif";
    }

    document.images.PC_7_0_1IV_imgInit.src=PC_7_0_1IV_imgUrl[m];
	document.images.PC_7_0_1IV_imgInit.alt=PC_7_0_1IV_imgAlt[m];
	document.getElementById("PC_7_0_1IV_img_link").href=PC_7_0_1IV_imgLink[m];
	document.getElementById("PC_7_0_1IV_img_link").title=PC_7_0_1IV_imgAlt[m];
    document.getElementById("PC_7_0_1IV_img_title").innerText=PC_7_0_1IV_title[m];	  
  }

  function PC_7_0_1IV_goUrl() {
    jumpUrl=PC_7_0_1IV_imgLink[PC_7_0_1IV_adNum];
    jumpTarget='_blank';

    if (jumpUrl != '') {
      if (jumpTarget != '') 
        window.open(jumpUrl,jumpTarget);
      else
        location.href=jumpUrl;
      }

  }

