function GetTopDay1(n,t,i){$.get("/GetTopDay.aspx",{d:n,num:i},function(n){n!=""&&$.each(n,function(n,i){$("#"+t).append("
  • "+i.NewsTitle+"<\/a><\/li>")})})}function GetTopDay(n,t,i,r){$.get("/GetTopDay.aspx",{d:t,classid:i,num:r},function(t){t!=""?$.each(t,function(t,i){$("#"+n).append("
  • "+i.NewsTitle+"<\/a><\/li>")}):$("#"+n).html("dʧՈԇ")})}function GetList(n,t,i,r){$.ajax({type:"GET",url:"/GetRelList.aspx",data:{d:t,classid:i,num:r,type:0,keyword:null,newstype:0,pic:0},dataType:"json",success:function(t){t!=""?$.each(t,function(t,i){$("#"+n).append("
  • "+i.NewsTitle+"<\/a><\/li>")}):$("#"+n).html("dʧՈԇ")}})}function GetddList(n,t,i,r){$.get("/GetTopDay.aspx",{d:t,classid:i,num:r},function(t){t!=""?$.each(t,function(t,i){$("#"+n).append("
    "+i.NewsTitle.substr(0,19)+"<\/a><\/dd>")}):$("#"+n).html("dʧՈԇ")})}function GetDepartments(n,t,i,r){$.ajax({type:"GET",url:"/GetTopDay.aspx",datatype:"json",data:{d:t,classid:i,num:r},success:function(t){$.each(t,function(t,i){$("#"+n).find("ul").append("
  • "+i.NewsTitle+"<\/a><\/div>

    "+i.NewsTitle+"<\/b><\/a><\/h3>

    "+i.NewsTitle+"<\/a><\/p><\/div><\/div><\/a><\/li>"),$("#img-txt-box3").imgTxtCut({effects:"scroll",speed:300})})},error:function(){$("#"+n).append("

  • @ȡʧ<\/li>")}})}function GetTopRel(n,t,i,r){$.get("/GetTopRel",{classid:t,num:i,newsid:r},function(t){t!=""?$.each(t,function(t,i){$("#"+n).append("
  • "+i.NewsTitle+"<\/a><\/li>")}):$("#"+n).append("
  • @ȡʧ<\/li>")})}function GetAd(n,t,i,r,u){$.ajax({type:"GET",url:"/GetAdsList.aspx",data:{pid:t,count:u},dataType:"json",success:function(t){t!=""?i(n,t,r):$("#"+n).html("dʧՈԇ")}})}PicLi=function(n,t){$.each(t,function(t,i){var u=i.PicPath.lastIndexOf("/"),r=i.PicPath.substring(u+1),f="120x90"+r,e=i.PicPath.replace("uploadfiles","uploadfiles/Thumb").replace(r,f);$("#"+n).append("
  • "+i.NewsTitle+""+i.NewsTitle.substr(0,20)+"<\/a><\/li>")})},LiList=function(n,t,i){$.each(t,function(t,r){$("#"+n).append("
  • "+r.NewsTitle+"<\/a><\/li>")})},loadMiddleType=function(n,t,i,r,u,f,e){$.ajax({type:"GET",url:"/GetRelList.aspx",async:!1,data:{d:0,classid:i,num:r,type:u,keyword:f,newstype:e,pic:0},dataType:"json",success:function(i){$.each(i,function(i,r){if(i==0){n=n!=null?n:r.ClassName;var u=r.ParentId==0?"metal.aspx":"list.aspx";$("#"+t).append("
  • "+n+"<\/a>"+r.NewsTitle.substr(0,18)+"<\/a>"+r.NewsDate+"<\/span>
    <\/li>")}else $("#"+t).append("
  • "+r.NewsTitle+"<\/a>"+r.NewsDate+"<\/span><\/li>")})},error:function(){$("#"+t).html("dʧՈԇ")}})},loadMiddle=function(n,t,i,r,u,f,e){$.ajax({type:"GET",url:"/GetRelList.aspx",async:!1,data:{d:0,classid:i,num:r,type:u,keyword:f,newstype:e,pic:0},dataType:"json",success:function(n){$.each(n,function(n,i){$("#"+t).append(""+i.NewsTitle+"<\/a>")})},error:function(){$("#"+t).html("dʧՈԇ")}})},loadPicList=function(n,t,i,r,u,f,e,o,s){$.ajax({type:"GET",url:"/GetRelList.aspx",data:{d:0,classid:t,num:i,type:r,keyword:u,newstype:f,pic:e},dataType:"json",success:function(t){$.each(t,function(t,i){t==0?$("#"+n+" .carousel-inner").append("
    "+i.NewsTitle+"<\/a>