
/*----------------------------------------------------------
 * Ajaxリクエスト
 ----------------------------------------------------------*/
function AjaxRequestAction(url, data, func){
    var _option = {
        url      : url,
        data     : data,
        error    : function(XMLHttpRequest, textStatus, errorThrown){
            if(func['error']) {
                func['error'](XMLHttpRequest, textStatus, errorThrown);
            } else {
                alert(XMLHttpRequest + '通信に失敗しました。\n[' + textStatus + ']\n' + url + '\n' + errorThrown);
            }
        },
        success  : function(responseText){
            if(func['success']) func['success'](responseText);
        },
        complete : function(XMLHttpRequest, textStatus){
            if(func['complete']) func['complete']();
        }
    };
    jQuery.ajax(_option);
};



$(function(){
    $('#Contents img').load(
        function() {
            $(this).fadeIn(250);
        }
    );
});
$(window).load(function() {
    $('#Contents img').fadeIn(250);
});


