﻿// JScript 文件

function AjaxLoad_IndexHuodong(tag)
{
    opt={
	    method:'post',
	    postBody:'a='+tag+'&timeid='+ new Date().getTime(),
        onSuccess: function(t) {
            $('Huodong').innerHTML = t.responseText;
            //Effect.BlindDown('blogsDiv', {duration:2});
        },
        onFailure: function(t) {
            $('Huodong').innerHTML = '网络故障,请刷新页面!';
        }
    }
    new Ajax.Request("http://www.jiaxing114.net/Method/Index/ResponseHuodong.aspx",opt);
}

function AjaxLoad_IndexJoinUnit(tag)
{
    opt={
	    method:'post',
	    postBody:'a='+tag+'&timeid='+ new Date().getTime(),
        onSuccess: function(t) {
            $('JoinUnit').innerHTML = t.responseText;
            //Effect.BlindDown('blogsDiv', {duration:2});
        },
        onFailure: function(t) {
            $('JoinUnit').innerHTML = '网络故障,请刷新页面!';
        }
    }
    new Ajax.Request("http://www.jiaxing114.net/Method/Index/ResponseJoinUnit.aspx",opt);
}

function AjaxLoad_IndexBulletin(tag)
{
    opt={
	    method:'post',
	    postBody:'a='+tag+'&timeid='+ new Date().getTime(),
        onSuccess: function(t) {
            $('Bulletin').innerHTML = t.responseText;
            //Effect.BlindDown('blogsDiv', {duration:2});
        },
        onFailure: function(t) {
            $('Bulletin').innerHTML = '网络故障,请刷新页面!';
        }
    }
    new Ajax.Request("http://www.jiaxing114.net/Method/Index/ResponseBulletin.aspx",opt);
}

function AjaxLoad_IndexDianPingRecord(tag)
{
    opt={
	    method:'post',
	    postBody:'a='+tag+'&timeid='+ new Date().getTime(),
        onSuccess: function(t) {
            $('DianPingRecord').innerHTML = t.responseText;
            //Effect.BlindDown('blogsDiv', {duration:2});
        },
        onFailure: function(t) {
            $('DianPingRecord').innerHTML = '网络故障,请刷新页面!';
        }
    }
    new Ajax.Request("http://www.jiaxing114.net/Method/Index/ResponseDianPingRecord.aspx",opt);
}

function AjaxLoad_IndexAdcolumn(tag)
{
    opt={
	    method:'post',
	    postBody:'a='+tag+'&timeid='+ new Date().getTime(),
        onSuccess: function(t) {
            $('Adcolumn').innerHTML = t.responseText;
            //Effect.BlindDown('blogsDiv', {duration:2});
        },
        onFailure: function(t) {
            $('Adcolumn').innerHTML = '网络故障,请刷新页面!';
        }
    }
    new Ajax.Request("http://www.jiaxing114.net/Method/Index/ResponseAdcolumn.aspx",opt);
}

function AjaxLoad_IndexCateIntorUnit(tag)
{
    opt={
	    method:'post',
	    postBody:'a='+tag+'&timeid='+ new Date().getTime(),
        onSuccess: function(t) {
            $('CateIntorUnit').innerHTML = t.responseText;
            //Effect.BlindDown('blogsDiv', {duration:2});
        },
        onFailure: function(t) {
            $('CateIntorUnit').innerHTML = '网络故障,请刷新页面!';
        }
    }
    new Ajax.Request("http://www.jiaxing114.net/Method/Index/ResponseCateIntorUnit.aspx",opt);
}

function AjaxLoad_IndexFunIntorUnit(tag)
{
    opt={
	    method:'post',
	    postBody:'a='+tag+'&timeid='+ new Date().getTime(),
        onSuccess: function(t) {
            $('FunIntorUnit').innerHTML = t.responseText;
            //Effect.BlindDown('blogsDiv', {duration:2});
        },
        onFailure: function(t) {
            $('FunIntorUnit').innerHTML = '网络故障,请刷新页面!';
        }
    }
    new Ajax.Request("http://www.jiaxing114.net/Method/Index/ResponseFunIntorUnit.aspx",opt);
}

function AjaxLoad_IndexHotUnit(tag)
{
    opt={
	    method:'post',
	    postBody:'a='+tag+'&timeid='+ new Date().getTime(),
        onSuccess: function(t) {
            $('HotUnit').innerHTML = t.responseText;
            //Effect.BlindDown('blogsDiv', {duration:2});
        },
        onFailure: function(t) {
            $('HotUnit').innerHTML = '网络故障,请刷新页面!';
        }
    }
    new Ajax.Request("http://www.jiaxing114.net/Method/Index/ResponseHotUnit.aspx",opt);
}

function AjaxLoad_IndexIntorUnit(tag)
{
    opt={
	    method:'post',
	    postBody:'a='+tag+'&timeid='+ new Date().getTime(),
        onSuccess: function(t) {
            $('IntorUnit').innerHTML = t.responseText;
            //Effect.BlindDown('blogsDiv', {duration:2});
        },
        onFailure: function(t) {
            $('IntorUnit').innerHTML = '网络故障,请刷新页面!';
        }
    }
    new Ajax.Request("http://www.jiaxing114.net/Method/Index/ResponseIntorUnit.aspx",opt);
}

function AjaxLoad_IndexLifeIntorUnit(tag)
{
    opt={
	    method:'post',
	    postBody:'a='+tag+'&timeid='+ new Date().getTime(),
        onSuccess: function(t) {
            $('LifeIntorUnit').innerHTML = t.responseText;
            //Effect.BlindDown('blogsDiv', {duration:2});
        },
        onFailure: function(t) {
            $('LifeIntorUnit').innerHTML = '网络故障,请刷新页面!';
        }
    }
    new Ajax.Request("http://www.jiaxing114.net/Method/Index/ResponseLifeIntorUnit.aspx",opt);
}

function AjaxLoad_IndexSubTypeCode(tag,div)
{
    opt={
	    method:'post',
	    postBody:'a='+div,
        onSuccess: function(t) {
            $('SubTypeCode'+div).innerHTML = t.responseText;
            //Effect.BlindDown('blogsDiv', {duration:2});
        },
        onFailure: function(t) {
            $('SubTypeCode'+div).innerHTML = '网络故障,请刷新页面!';
        }
    }
    new Ajax.Request("http://www.jiaxing114.net/Method/Index/ResponseSubTypeCode.aspx",opt);
}