﻿// JScript 文件

  var num=Math.round(Math.random()*59);
  var inum=Math.round(Math.random()*8)
  function imginfo(img)
  {
  
   if(img!="")
    document.write("<img src=images/common/"+img+(inum)+".jpg>");
   else 
    document.write("<img src=images/common/"+img+(num+1)+".jpg>");
  }

function SetbutClass()
{
  var URL = document.location.toString(); 
  if(URL.lastIndexOf("lng=en")!=-1)
  {
    if(document.getElementById("Button1")!=null)
     document.getElementById("Button1").className="subbg";
  document.getElementById("Button2").className="g-gsub";
  }         
}
