');
modalResize();
$("#quotation-popup-main .login-link").attr("href", ("https://direct.sanwa.co.jp/common/CSfLogin.jsp?transfer=..%2Fest%2FCEsOnlineEstimation.jsp%3Fl%3D1%26mode%3Ddetail%26product_code%3D500-KC021-5" + encodeURIComponent(cntPrm)));
$("#quotation-popup-main .newmember-link").attr("href", ("https://direct.sanwa.co.jp/member/CLSDMemberEntryGuide.jsp?f=estimate_online&l=1&mode=detail&product_code=500-KC021-5" + encodeURIComponent(cntPrm)));
$("#quotation-popup-main .noop-btn").attr("href", ("../est/CEsOnlineEstimation.jsp?l=1&mode=detail&product_code=500-KC021-5" + cntPrm));
$("#quotation-popup-main .login-btn").attr("href", ("https://direct.sanwa.co.jp/common/CSfLogin.jsp?transfer=..%2Fest%2FCEsOnlineEstimation.jsp%3Fl%3D1%26mode%3Ddetail%26product_code%3D500-KC021-5" + encodeURIComponent(cntPrm)));
$("#quotation-popup-bg,#quotation-popup-main").fadeIn("slow");
$("#quotation-popup-bg,#quotation-popup-close").click(function(){
$("#quotation-popup-main,#quotation-popup-bg").fadeOut("slow",function(){
$('#quotation-popup-bg').remove() ;
});
});
$(window).resize(modalResize);
function modalResize(){
var w = $(window).width();
var h = $(window).height();
var cw = $("#quotation-popup-main").outerWidth();
var ch = $("#quotation-popup-main").outerHeight();
$("#quotation-popup-main").css({
"left": ((w - cw)/2) + "px",
"top": ((h - ch)/2) + "px"
});
}
});
});
');
modalResize();
$("#tkof-message-popup-bg,#tkof-message-popup-main").fadeIn("slow");
$("#tkof-message-popup-bg,#tkof-message-popup-close").click(function(){
$("#tkof-message-popup-main,#tkof-message-popup-bg").fadeOut("slow",function(){
$('#tkof-message-popup-bg').remove();
});
});
$(window).resize(modalResize);
function modalResize(){
var w = $(window).width();
var h = $(window).height();
var cw = $("#tkof-message-popup-main").outerWidth();
var ch = $("#tkof-message-popup-main").outerHeight();
$("#tkof-message-popup-main").css({
"left": ((w - cw)/2) + "px",
"top": ((h - ch)/2) + "px"
});
}
});
$("[id^=driver-message-popup-open]").on('click', function(){
$("body").append('');
modalResize();
$("#driver-message-popup-bg,#driver-message-popup-main").fadeIn("slow");
$("#driver-message-popup-bg,#driver-message-popup-close").click(function(){
$("#driver-message-popup-main,#driver-message-popup-bg").fadeOut("slow",function(){
$('#driver-message-popup-bg').remove();
});
});
$(window).resize(modalResize);
function modalResize(){
var w = $(window).width();
var h = $(window).height();
var cw = $("#driver-message-popup-main").outerWidth();
var ch = $("#driver-message-popup-main").outerHeight();
$("#driver-message-popup-main").css({
"left": ((w - cw)/2) + "px",
"top": ((h - ch)/2) + "px"
});
}
});
});
function closeTkof(){
$("#tkof-message-popup-main,#tkof-message-popup-bg").fadeOut("slow",function(){
$('#tkof-message-popup-bg').remove() ;
});
}
function closeDriver(){
$("#driver-message-popup-main,#driver-message-popup-bg").fadeOut("slow",function(){
$('#driver-message-popup-bg').remove() ;
});
}
�戵�E�g���������_�E�����[�h