﻿// JScript 文件

function setshang(id)
{
    switch(id){
       
       case 0:
        document.all.shang0.style.display=''
        document.all.shang1.style.display='none'
        document.getElementById("bgshang0").style.backgroundColor = '#FFFFFF'  
        document.getElementById("bgshang0").style.backgroundImage ='none'
        document.getElementById("bgshang1").style.backgroundImage ="url(Images/qyfw/lm_bg4.gif)"
        break;
        
        case 1:
        document.all.shang0.style.display='none'
        document.all.shang1.style.display=''
        document.getElementById("bgshang1").style.backgroundColor = '#FFFFFF'  
        document.getElementById("bgshang1").style.backgroundImage ='none'
        document.getElementById("bgshang0").style.backgroundImage ="url(Images/qyfw/lm_bg4.gif)"
        break;
    }
}



function sethuo(id)
{
    switch(id){
       
       case 0:
        document.all.huo0.style.display=''
        document.all.huo1.style.display='none'
        document.getElementById("bghuo0").style.backgroundColor = '#FFFFFF'  
        document.getElementById("bghuo0").style.backgroundImage ='none'
        document.getElementById("bghuo1").style.backgroundImage ="url(Images/qyfw/lm_bg4.gif)"
        break;
        
        case 1:
        document.all.huo0.style.display='none'
        document.all.huo1.style.display=''
        document.getElementById("bghuo1").style.backgroundColor = '#FFFFFF'  
        document.getElementById("bghuo1").style.backgroundImage ='none'
        document.getElementById("bghuo0").style.backgroundImage ="url(Images/qyfw/lm_bg4.gif)"
        break;
    }
}


function setzhao(id)
{
    switch(id){
       
       case 0:
        document.all.zhao0.style.display=''
        document.all.zhao1.style.display='none'
        document.getElementById("bgzhao0").style.backgroundColor = '#FFFFFF'  
        document.getElementById("bgzhao0").style.backgroundImage ='none'
        document.getElementById("bgzhao1").style.backgroundImage ="url(Images/qyfw/lm_bg4.gif)"
        break;
        
        case 1:
        document.all.zhao0.style.display='none'
        document.all.zhao1.style.display=''
        document.getElementById("bgzhao1").style.backgroundColor = '#FFFFFF'  
        document.getElementById("bgzhao1").style.backgroundImage ='none'
        document.getElementById("bgzhao0").style.backgroundImage ="url(Images/qyfw/lm_bg4.gif)"
        break;
    }
    
}


function setjia(id)
{
    switch(id){
       
       case 0:
        document.all.jia0.style.display=''
        document.all.jia1.style.display='none'
        document.getElementById("bgjia0").style.backgroundColor = '#E6F0FC'  
        document.getElementById("bgjia0").style.backgroundImage ='none'
        document.getElementById("bgjia1").style.backgroundImage ="url(Images/qyfw/lm_bg3.gif)"
        break;
        
        case 1:
        document.all.jia0.style.display='none'
        document.all.jia1.style.display=''
        document.getElementById("bgjia1").style.backgroundColor = '#E6F0FC'  
        document.getElementById("bgjia1").style.backgroundImage ='none'
        document.getElementById("bgjia0").style.backgroundImage ="url(Images/qyfw/lm_bg3.gif)"
        break;
    }
    
}

function setchang(id)
{
    switch(id){
       
       case 0:
        document.all.chang0.style.display=''
        document.all.chang1.style.display='none'
        document.all.chang2.style.display='none'
        document.getElementById("bgchang0").style.backgroundColor = '#E6F9FF'  
        document.getElementById("bgchang0").style.backgroundImage ='none'
        document.getElementById("bgchang1").style.backgroundImage ="url(Images/qyfw/lm_bg.gif)"
        document.getElementById("bgchang2").style.backgroundImage ="url(Images/qyfw/lm_bg.gif)"
        
        break;
        
        case 1:
        document.all.chang0.style.display='none'
        document.all.chang1.style.display=''
        document.all.chang2.style.display='none'
        document.getElementById("bgchang1").style.backgroundColor = '#E6F9FF'  
        document.getElementById("bgchang1").style.backgroundImage ='none'
        document.getElementById("bgchang0").style.backgroundImage ="url(Images/qyfw/lm_bg.gif)"
        document.getElementById("bgchang2").style.backgroundImage ="url(Images/qyfw/lm_bg.gif)"
        break;
        
        case 2:
        document.all.chang0.style.display='none'
        document.all.chang1.style.display='none'
        document.all.chang2.style.display=''
        document.getElementById("bgchang2").style.backgroundColor = '#E6F9FF'  
        document.getElementById("bgchang2").style.backgroundImage ='none'
        document.getElementById("bgchang0").style.backgroundImage ="url(Images/qyfw/lm_bg.gif)"
        document.getElementById("bgchang1").style.backgroundImage ="url(Images/qyfw/lm_bg.gif)"
        break;
    }
}



function setzuan(id)
{
    switch(id){
       
       case 0:
        document.all.zuan0.style.display=''
        document.all.zuan1.style.display='none'
        document.all.zuan2.style.display='none'
        document.getElementById("bgzuan0").style.backgroundColor = '#E6F9FF'  
        document.getElementById("bgzuan0").style.backgroundImage ='none'
        document.getElementById("bgzuan1").style.backgroundImage ="url(Images/qyfw/lm_bg2.gif)"
        document.getElementById("bgzuan2").style.backgroundImage ="url(Images/qyfw/lm_bg2.gif)"
        
        break;
        
        case 1:
        document.all.zuan0.style.display='none'
        document.all.zuan1.style.display=''
        document.all.zuan2.style.display='none'
        document.getElementById("bgzuan1").style.backgroundColor = '#E6F9FF'  
        document.getElementById("bgzuan1").style.backgroundImage ='none'
        document.getElementById("bgzuan0").style.backgroundImage ="url(Images/qyfw/lm_bg2.gif)"
        document.getElementById("bgzuan2").style.backgroundImage ="url(Images/qyfw/lm_bg2.gif)"
        break;
        
        case 2:
        document.all.zuan0.style.display='none'
        document.all.zuan1.style.display='none'
        document.all.zuan2.style.display=''
        document.getElementById("bgzuan2").style.backgroundColor = '#E6F9FF'  
        document.getElementById("bgzuan2").style.backgroundImage ='none'
        document.getElementById("bgzuan0").style.backgroundImage ="url(Images/qyfw/lm_bg2.gif)"
        document.getElementById("bgzuan1").style.backgroundImage ="url(Images/qyfw/lm_bg2.gif)"
        break;
    }
}

function setben(id)
{
    switch(id){
       
       case 0:
        document.all.ben0.style.display=''
        document.all.ben1.style.display='none'
        document.all.ben2.style.display='none'
        document.getElementById("bgben0").style.backgroundColor = '#E6F9FF'  
        document.getElementById("bgben0").style.backgroundImage ='none'
        document.getElementById("bgben1").style.backgroundImage ="url(Images/qyfw/lm_bg2.gif)"
        document.getElementById("bgben2").style.backgroundImage ="url(Images/qyfw/lm_bg2.gif)"
        
        break;
        
        case 1:
        document.all.ben0.style.display='none'
        document.all.ben1.style.display=''
        document.all.ben2.style.display='none'
        document.getElementById("bgben1").style.backgroundColor = '#E6F9FF'  
        document.getElementById("bgben1").style.backgroundImage ='none'
        document.getElementById("bgben0").style.backgroundImage ="url(Images/qyfw/lm_bg2.gif)"
        document.getElementById("bgben2").style.backgroundImage ="url(Images/qyfw/lm_bg2.gif)"
        break;
        
        case 2:
        document.all.ben0.style.display='none'
        document.all.ben1.style.display='none'
        document.all.ben2.style.display=''
        document.getElementById("bgben2").style.backgroundColor = '#E6F9FF'  
        document.getElementById("bgben2").style.backgroundImage ='none'
        document.getElementById("bgben0").style.backgroundImage ="url(Images/qyfw/lm_bg2.gif)"
        document.getElementById("bgben1").style.backgroundImage ="url(Images/qyfw/lm_bg2.gif)"
        break;
    }
}


function setqi(id)
{
    switch(id){
       
       case 0:
        document.all.qi0.style.display=''
        document.all.qi1.style.display='none'
        document.all.qi2.style.display='none'
        document.getElementById("bgqi0").style.backgroundColor = '#E6F9FF'  
        document.getElementById("bgqi0").style.backgroundImage ='none'
        document.getElementById("bgqi1").style.backgroundImage ="url(Images/qyfw/lm_bg.gif)"
        document.getElementById("bgqi2").style.backgroundImage ="url(Images/qyfw/lm_bg.gif)"
        
        break;
        
        case 1:
        document.all.qi0.style.display='none'
        document.all.qi1.style.display=''
        document.all.qi2.style.display='none'
        document.getElementById("bgqi1").style.backgroundColor = '#E6F9FF'  
        document.getElementById("bgqi1").style.backgroundImage ='none'
        document.getElementById("bgqi0").style.backgroundImage ="url(Images/qyfw/lm_bg.gif)"
        document.getElementById("bgqi2").style.backgroundImage ="url(Images/qyfw/lm_bg.gif)"
        break;
        
        case 2:
        document.all.qi0.style.display='none'
        document.all.qi1.style.display='none'
        document.all.qi2.style.display=''
        document.getElementById("bgqi2").style.backgroundColor = '#E6F9FF'  
        document.getElementById("bgqi2").style.backgroundImage ='none'
        document.getElementById("bgqi0").style.backgroundImage ="url(Images/qyfw/lm_bg.gif)"
        document.getElementById("bgqi1").style.backgroundImage ="url(Images/qyfw/lm_bg.gif)"
        break;
    }
}
