﻿// JScript 文件

function Changenew(kind)
           {
               if(kind=="1")
               {
                   document.all.tdh.background="images/newindex2_10.gif"
                   document.all.tdz.background="images/newindex2_11.gif"
                   document.all.tah.style.display ="block";
                   document.all.taz.style.display ="none";
                   
               }
               else
               {
                   document.all.tdh.background="images/newindex2_11.gif"
                   document.all.tdz.background="images/newindex2_10.gif"
                   document.all.taz.style.display ="block";
                   document.all.tah.style.display ="none";
               }
           }
           
           function Changehot(kind)
           {
               if(kind=="1")
               {
                   document.all.tdh1.background="images/index_50.gif"
                   document.all.tdh2.background="images/index_51.gif"
                   document.all.tah1.style.display ="block";
                   document.all.tah2.style.display ="none";
                   
               }
               else
               {
                   document.all.tdh1.background="images/newindex3_15.gif"
                   document.all.tdh2.background="images/newindex3_16.gif"
                   document.all.tah2.style.display ="block";
                   document.all.tah1.style.display ="none";
               }
           }
           
           function Changenew12(kind)
           {
               if(kind=="1")
               {
                   document.all.tdnew1.background="images/index_50.gif"
                   document.all.tdnew2.background="images/index_51.gif"
                   document.all.tanew1.style.display ="block";
                   document.all.tanew2.style.display ="none";
                   
               }
               else
               {
                   document.all.tdnew1.background="images/newindex3_15.gif"
                   document.all.tdnew2.background="images/newindex3_16.gif"
                   document.all.tanew2.style.display ="block";
                   document.all.tanew1.style.display ="none";
               }
           }
           
           function Changegon12(kind)
           {
               if(kind=="1")
               {
                   document.all.tdgon1.background="images/index_50.gif"
                   document.all.tdgon2.background="images/index_51.gif"
                   document.all.tagon1.style.display ="block";
                   document.all.tagon2.style.display ="none";
                   
               }
               else
               {
                   document.all.tdgon1.background="images/newindex3_15.gif"
                   document.all.tdgon2.background="images/newindex3_16.gif"
                   document.all.tagon2.style.display ="block";
                   document.all.tagon1.style.display ="none";
               }
           }
           function CloseService()
           {
                document.all.Table4.style.visibility ="hidden";
           }
           function DaService()
           {
                document.all.Table6.style.visibility ="hidden";
                document.all.Table4.style.visibility ="visible";
           }
           function XiaoService()
           {
                document.all.Table4.style.visibility ="hidden";
                document.all.Table6.style.visibility ="visible";
           }
           
           function ChangeSkind(kind)
           {
               document.all.Textkind.value=kind;
               if(kind=="0")
               {
                   document.all.std0.background="images/sbg.jpg";
                   document.all.std1.background="";
                   document.all.std2.background="";
                   document.all.std3.background="";
                   document.all.std4.background="";
                   document.all.std5.background="";
               }
               else if(kind=="1")
               {
                   document.all.std0.background="";
                   document.all.std1.background="images/sbg.jpg";
                   document.all.std2.background="";
                   document.all.std3.background="";
                   document.all.std4.background="";
                   document.all.std5.background="";
               }
               else if(kind=="2")
               {
                   document.all.std0.background="";
                   document.all.std1.background="";
                   document.all.std2.background="images/sbg.jpg";
                   document.all.std3.background="";
                   document.all.std4.background="";
                   document.all.std5.background="";
               }
               else if(kind=="3")
               {
                   document.all.std0.background="";
                   document.all.std1.background="";
                   document.all.std2.background="";
                   document.all.std3.background="images/sbg.jpg";
                   document.all.std4.background="";
                   document.all.std5.background="";
               }
               else if(kind=="4")
               {
                   document.all.std0.background="";
                   document.all.std1.background="";
                   document.all.std2.background="";
                   document.all.std3.background="";
                   document.all.std4.background="images/sbg.jpg";
                   document.all.std5.background="";
               }
               else if(kind=="5")
               {
                   document.all.std0.background="";
                   document.all.std1.background="";
                   document.all.std2.background="";
                   document.all.std3.background="";
                   document.all.std4.background="";
                   document.all.std5.background="images/sbg.jpg";
               }
           }