jQuery(function(){ fixedArticle(); }); /* 固定記事 ----------------------------------------------- */ function fixedArticle () { var t = getUrlVars()['t']; if (t!=false && t!=null) { t = decodeURI(t); if (t!=false && t!=null) { $("span.Bp2ATitle i") .each( function () { t_t = $(this).text(); if (t_t==t) { $("a.Bp2ATitleKiji") .removeClass("Bp2ATitleKiji") ; $(this).parents("a.Bp2ArchiveOne") .addClass("Bp2ATitleKiji") ; $("title") .text(t) ; if ($("h1.article-title").attr("class")!=null) { $("h1.article-title") .text(t) ; } if ($("#article_subject h1").size()!=0) { $("#article_subject h1").eq(0).find("a") .attr("title", t) .text(t) ; } } } ) ; } } } /* get ----------------------------------------------- */ function getUrlVars() { var vars = [], hash; var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&'); for(var i = 0; i < hashes.length; i++) { hash = hashes[i].split('='); vars.push(hash[0]); vars[hash[0]] = hash[1]; } return vars; } /* ad ----------------------------------------------- */ if (window.innerWidth <= 768 && (document.getElementById('Bp2ArchiveAdr18')!=null || document.getElementById('Bp2ArchiveAdsafe')!=null) ) { var adL = document.getElementById('Bp2ArchiveAdr18')!=null || document.title.match('エロ') ? true : false; if (adL) { /* ninscr = adL ? 'beba45c78d1e177492f33582c6ce8714' : '793c3601e40cd1355faf284f1c4022b7'; */ ninscr = 'beba45c78d1e177492f33582c6ce8714'; nintag = '