﻿// JScript 文件
//活动快讯
function AjaxLoad_CateHongDong(tag)
{
    opt={
	    method:'post',
	    postBody:'a='+tag,
        onSuccess: function(t) {
            $('CateHuoDong').innerHTML = t.responseText;
            //Effect.BlindDown('blogsDiv', {duration:2});
        },
        onFailure: function(t) {
            $('CateHuoDong').innerHTML = '网络故障,请刷新页面!';
        }
    }
    new Ajax.Request("http://www.jiaxing114.net/Method/Cate/ResponseHongDong.aspx",opt);

}
//最新网友点评
function  AjaxLoad_CateDianPingRecord(tag)
{
    opt={
	    method:'post',
	    postBody:'a='+tag,
        onSuccess: function(t) {
            $('CateDianPingRecord').innerHTML = t.responseText;
            //Effect.BlindDown('blogsDiv', {duration:2});
        },
        onFailure: function(t) {
            $('CateDianPingRecord').innerHTML = '网络故障,请刷新页面!';
        }
    }
    new Ajax.Request("http://www.jiaxing114.net/Method/Cate/ResponseDianPingRecord.aspx",opt);

}
//推荐特色菜
function  AjaxLoad_CatePicInfo(tag)
{
   opt={
	    method:'post',
	    postBody:'a='+tag,
        onSuccess: function(t) {
            $('CatePicInfo').innerHTML = t.responseText;
            //Effect.BlindDown('blogsDiv', {duration:2});
        },
        onFailure: function(t) {
            $('CatePicInfo').innerHTML = '网络故障,请刷新页面!';
        }
    }
    new Ajax.Request("http://www.jiaxing114.net/Method/Cate/ResponsePicInfo.aspx",opt);

}

//推荐商家
function AjaxLoad_CateIntorUnit(tag)
{
      opt={
	    method:'post',
	    postBody:'a='+tag,
        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/Cate/ResponseIntorUnit.aspx",opt);
}


//相关主题
function AjaxLoad_CateZhuti(tag,xx)
{
      opt={
	    method:'post',
	    postBody:'a='+xx,
        onSuccess: function(t) {
            $('Zhuti'+xx).innerHTML = t.responseText;
            //Effect.BlindDown('blogsDiv', {duration:2});
        },
        onFailure: function(t) {
            $('Zhuti'+xx).innerHTML = '网络故障,请刷新页面!';
        }
    }
    new Ajax.Request("http://www.jiaxing114.net/Method/Cate/ResponseZhuti.aspx",opt);
}