﻿function initArray(){
    
   this.length=initArray.arguments.length
   for(var I=0;I<this.length;I++)
   this[I+1]=initArray.arguments[I]  }
   
function gaojie22()
{    
    var x = new XHR("gaojie2('top_content')");
    x.get("/sub/web/index/js/top/getTop1.aspx");
         
    var y = new XHR("gaojie_title()");
    y.get("/sub/web/index/js/top/gettitle.aspx"); 
   
  
}

function gaojie1(jie1,jie2)
{
    for(i=1;i<5;i++)
    {        
        if(jie2==i)
        {
            $("news_"+i).background="images/k1.jpg";
            $("news_"+i).width="85";
        }
        else
        {
            $("news_"+i).background="images/k2.jpg";
            $("news_"+i).width="81";
        }
    }    
    var x = new XHR("gaojie2('news_content')");
    x.get("/sub/web/index/js/news/getlist.aspx?ChannelID="+jie1);
}

function gaojie2(jie,cc)
{    
    $(jie).innerHTML=cc;
}

function gaojie2a(jie,cc)
{   
    if(cc.length>10)
    {
        $(jie).innerHTML=cc;
    }
}

function gaojie_title(cc)
{
    document.title=cc;    
}

function gaojie0(jie,cc)
{
    $(jie).innerHTML=cc;
    var speed=30
    demo2.innerHTML=demo1.innerHTML 
    var MyMar=setInterval(Marquee,speed)
    demo.onmouseover=function() {clearInterval(MyMar)}
    demo.onmouseout=function() {MyMar=setInterval(Marquee,speed)}
}

function gaojie3(jie1,jie2)
{    
    for(i=1;i<3;i++)
    {        
        if(jie2==i)
        {
            $("business_"+i).background="images/k1.jpg";
        }
        else
        {
            $("business_"+i).background="images/k2.jpg";
        }
    }    
    
    var x = new XHR("gaojie2('business_content')");
    x.get("/sub/web/index/js/business/getlist.aspx?CategoryID="+jie1);    

}

function gaojie5()
{    
    var x = new XHR("gaojie2('recommend_content')");
    x.get("/sub/web/index/js/recommend/getlist.aspx");
}
function gaojie6()
{    
    var x = new XHR("gaojie2('market_content')");
    x.get("/sub/web/index/js/market/getlist.aspx");
}
function gaojie7()
{    
    //var x = new XHR("gaojie2('interview_content')");
    //x.get("/sub/web/index/js/interview/getlist.aspx");
}
function gaojie8()
{    
    //var x = new XHR("gaojie2('subnews_content')");
    //x.get("/sub/web/index/js/subnews/getlist.aspx");
}
function gaojie9()
{    
    var x = new XHR("gaojie0('show_content')");
    x.get("/sub/web/index/js/show/getlist.aspx");
     
}
function gaojie10()
{    
    var x = new XHR("gaojie2('media_content')");
    x.get("/sub/web/index/js/media/getlist.aspx");     
}

function gaojie11()
{    
    var x = new XHR("gaojie2('subsite_content')");
    x.get("/sub/web/index/js/subsite/getlist.aspx");     
}

function gaojie12()
{    
    var x = new XHR("gaojie2('other2_content')");
    x.get("/sub/web/index/js/other/other2.htm");     
}
function gaojie15()
{    
    var x = new XHR("gaojie2('foot_content')");
    x.get("/sub/web/index/js/foot/foot.htm");     
}
function gaojie16()
{    
    var x = new XHR("gaojie2('expo_content')");
    x.get("/sub/web/index/js/expo/getlist.aspx");     
}
function gaojie17()
{    
    var x = new XHR("gaojie2('type_content')");
    x.get("/sub/web/index/js/type/getlist.htm");     
}
function gaojie18()
{    
    var x = new XHR("gaojie2('other_content')");
    x.get("/sub/web/index/js/other/getList3.aspx");     
}
function gaojie19()
{    
    var x = new XHR("gaojie2('other3_content')");
    x.get("/sub/web/index/js/other/getList2.aspx");     
}
function gaojie20()
{    
    var x = new XHR("gaojie2('product_content')");
    x.get("/sub/web/index/js/product/getList.aspx");     
}
function gaojie21()
{    
    var x = new XHR("gaojie2('honor_content')");
    x.get("/sub/web/index/js/honor/getList.aspx");     
}

function gaojie23()
{    
    var x = new XHR("gaojie2('rollnews')");
    x.get("/sub/web/index/js/business/marquee.aspx");     
}

function gaojiead(jie,positionid)
{    
    var x = new XHR("gaojie2('"+jie+"')");
    x.get("/sub/web/index/js/ad/getlist.aspx?positionid="+positionid);     
}


 