jQuery.noConflict();

jQuery(document).ready(function(){
    jQuery("#userOpinion").click(function(){
        if(window.confirm('この内容を投稿してよろしいですか？')){
            var msgarea = jQuery("#snOpinion").find('textArea');
            var msg = msgarea.val();
            var top = jQuery("#snOpinion").offset().top;
            jQuery.post('/symfony/web/ajax/userOpinion'
                        ,{
                            msg: msg
                        },function(data, textStatus, XMLHttpRequest){
                msgarea.val("");
                var thanks = jQuery('#opinionThanks');
                thanks.css('top',top);
                thanks.show();
                thanks.animate({opacity: 1},4000);
                thanks.animate({opacity: 0},1000);
            });
        }
        return false;
    });

    jQuery("#snJobstop .bottomArea").click( function(){
        jQuery("#snJobstop .moreArea").slideToggle();
        jQuery(this).toggleClass("on");
    });
    if (jQuery('#sliderDetails').size() > 0) {
        jQuery('#sliderDetails').easySlider({speed:500});
    }
});
