﻿// JScript 文件

function setbghot(id)
{
    switch(id){
       
       case 0:
        document.all.hot0.style.display=''
        document.all.hot1.style.display='none'
        
        document.getElementById("bghot0").style.backgroundImage ='url(images/jghq_top_bg1.gif)'
        document.getElementById("bghot1").style.backgroundimage ='url(images/jghq_top_bg2.gif)'  
        break;

        case 1:
        document.all.hot0.style.display='none'
        document.all.hot1.style.display=''
        document.getElementById("bghot0").style.backgroundImage ='url(images/jghq_top_bg2.gif)'
        document.getElementById("bghot1").style.backgroundimage ='url(images/jghq_top_bg1.gif)'  
        break;
        }
}
