var widget_prefix = 'bccks_widget_'; var widget_id = widget_prefix + '_bd7c901a741bf7d111a42b837946e215'; document.write('
'); (function() { // Localize jQuery variable var jQuery; if (window.jQuery === undefined || window.jQuery.fn.jquery !== '1.6.2') { var script_tag = document.createElement('script'); script_tag.setAttribute("type","text/javascript"); script_tag.setAttribute("src","//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"); script_tag.onload = scriptLoadHandler; script_tag.onreadystatechange = function () { // Same thing but for IE if (this.readyState == 'complete' || this.readyState == 'loaded') { scriptLoadHandler(); } }; (document.getElementsByTagName("head")[0] || document.documentElement).appendChild(script_tag); } else { jQuery = window.jQuery; main(); } // function scriptLoadHandler() { jQuery = window.jQuery.noConflict(true); showBccksWidget(); } // function showBccksWidget() { var widget_id = widget_prefix + '_bd7c901a741bf7d111a42b837946e215'; jQuery(document).ready(function($) { var hostname = 'bccks.jp.'; var backgroundColor = 'FFF'; var foregroundColor = '333'; $('').attr('id', 'bccks_widget_container_bd7c901a741bf7d111a42b837946e215').css({'width':'100%','background':'#' + backgroundColor }).appendTo('#' + widget_id); $('').attr('id', 'bccks_widget_box_bd7c901a741bf7d111a42b837946e215').css({'text-align':'center','padding':'8px', 'font':'normal 12px sans-serif'}).appendTo('#bccks_widget_container_bd7c901a741bf7d111a42b837946e215'); $('').attr('id', 'bccks_widget_tn_anchor_bd7c901a741bf7d111a42b837946e215').attr('href', 'https://' + hostname + '/bcck/135160/info').attr('target', 'bccks').css({'border':'0'}).appendTo('#bccks_widget_box_bd7c901a741bf7d111a42b837946e215'); $('').attr('id', 'bccks_widget_thumbnail_bd7c901a741bf7d111a42b837946e215').attr('src', '//' + hostname + '/global/data/bccks/0013/5160/jacket_160.jpg').attr('alt', '\u5bae\u5d0e\u30b9\u30d4\u30ea\u30c1\u30e5\u30a2\u30eb\u30ac\u30a4\u30c9(\u4f53\u9a13\u7248)').css({'margin':'4px'}).appendTo('#bccks_widget_tn_anchor_bd7c901a741bf7d111a42b837946e215'); $('').attr('id', 'bccks_widget_title_bd7c901a741bf7d111a42b837946e215').attr('href', 'https://' + hostname + '/bcck/135160/info').attr('target', 'bccks').html('『宮崎スピリチュアルガイド(体験版)』').css({'text-decoration':'none', 'line-height':'110% !important', 'margin-bottom':'2px', 'display':'block', 'font':'bold 14px serif', 'color':'#' + foregroundColor + ' !important'}).appendTo('#bccks_widget_box_bd7c901a741bf7d111a42b837946e215'); $('').attr('id', 'bccks_widget_author_bd7c901a741bf7d111a42b837946e215').html('天術家 天華とも(ともくん)著').css({'margin':'0', 'padding':'0', 'font':'normal 12px sans-serif', 'line-height':'1.2em', 'color':'#' + foregroundColor + ' !important'}).appendTo('#bccks_widget_box_bd7c901a741bf7d111a42b837946e215'); $('').attr('id', 'bccks_widget_genre_bd7c901a741bf7d111a42b837946e215').html('旅行').css({'margin':'0 0 4px 0', 'padding':'0','font':'noraml 12px sans-serif', 'line-height':'1.2em', 'color':'#' + foregroundColor + ' !important'}).appendTo('#bccks_widget_box_bd7c901a741bf7d111a42b837946e215'); $('').attr('id', 'bccks_widget_publish_bd7c901a741bf7d111a42b837946e215').html('2015.05.22 TENZYUTU出版部発行').css({'margin':'0', 'padding':'0', 'font':'normal 12px sans-serif', 'line-height':'1.2em', 'color':'#' + foregroundColor + ' !important'}).appendTo('#bccks_widget_box_bd7c901a741bf7d111a42b837946e215'); $('').attr('id', 'bccks_widget_info_bd7c901a741bf7d111a42b837946e215').html('220円 46ベース頁 4MB').css({'margin':'0', 'padding':'0', 'font':'normal 12px sans-serif', 'line-height':'1.2em', 'color':'#' + foregroundColor + ' !important'}).appendTo('#bccks_widget_box_bd7c901a741bf7d111a42b837946e215'); $('#' + widget_id).find('a').click(function() { var win = window.open(null,widget_id,'width=1096,height=728,menubar=no,toolbar=no,scrollbars=no'); var userCode = 0; if (win) { win.document.open(); win.document.charset = "UTF-8"; win.document.write("入手処理中..."); win.document.close(); } win.location.href = 'https://' + hostname + '/viewer/135160/tachiyomi'; return false; }); }); } })();