
// page top btの設定	
/*
jQuery.easing.quart = function (x, t, b, c, d) {
    return -c * ((t=t/d-1)*t*t*t - 1) + b;
};

$(function () {
    if (! $.browser.safari) {
        $('#pagetop').click(function () {
            $(this).blur();
            $('html,body').animate({ scrollTop: 0 }, 900, 'quart');
            return false;
        });
    }sdfa
});

$(function () {
    if (! $.browser.safari) {
        $('.pagetop').click(function () {
            $(this).blur();
            $('html,body').animate({ scrollTop: 0 }, 1000, 'quart');
            return false;
        });
    }
});

*/


//レポートとトピックスのライン設定
$(function () {
			$('#Report ul li:even').css('border-bottom','1px dashed #999');
			$('#Topics table tr:odd').css('border-bottom','1px dashed #999');
			$('#Topics table tr:odd').css('border-top','1px dashed #999');
			$('#profile_table tr th:last').css('border-bottom','none');
			$('#profile_table tr td:last').css('border-bottom','none');
});


//  ファイル名に　_onを付ける設定
//グローバルナビ、タイの企業検索データベース、秘密保持誓約、その他バナー、サイドコンタクト、外部リンクバナー、トップページQUALITY、コンタクトページfromへリンク
//データベース会員登録ボタン ヘッダーのお問い合わせ、　全ページのコンタクトボタン
$(function(){
				var postfix = '_on';
				$('#globalNaviContents ul li a img,#said_Navi ul li a img,,#database p a img,.saidOther p a img,#saidBannaers ul li a img,#Other_banner ul li a img,#saidContact p a img,#Quality p a img,#contact h4 a img,#database_service h5 a img,#headerContents p a img,#main_Contact h4 img').not('[src*="'+ postfix +'."]').each(function() {
						var img = $(this);
						var src = img.attr('src');
						var src_on = src.substr(0, src.lastIndexOf('.'))
							   + postfix
							   + src.substring(src.lastIndexOf('.'))
				$('<img>').attr('src', src_on);
				img.hover(function() {
				img.attr('src', src_on);
			}, function() {
			  img.attr('src', src);
		 });
     });
});


//プルダウンメニュー　の設定
$(function(){
		 $("ul.menu_sub").hide();
		   $("#globalNaviContents ul li").hover(function(){
				  $("ul:not(:animated)",this).slideDown("nomal")
						  },
						  function(){
							 $("ul",this).slideUp("nomal");
		})
});


//a 要素をブロック要素に適用する設定
$(function(){
	    $('.Service div').biggerlink();
	    $('.categories_l').biggerlink();
		$('.categories_r').biggerlink();
});


//jquery.page-scroller.js　の設定
adjPosition = -30;

