open2chExtender / open2chYouVideo

// ==UserScript==
// @license MIT
// @author  open2chExtender
// @name    open2chYouVideo
// @version               2021/08/02
// @description Version 2021/08/02
// @include htt*://t.co/*
// @include htt*://*.youtube.com/user*
// @include htt*://*.youtube.com/watch*
// @include htt*://*.youtube.com/embed*
// @include htt*://*.youtube.com/results*
// @include htt*://*.youtube.com/channel*
// @include htt*://*.youtube.com/?spfreload=*
// @include htt*://player.vimeo.com/video/*
// @include htt*://line.me/R/ti/p/%40*
// @include htt*://*.ustream.tv/recorded/*
// @include htt*://*.nicovideo.jp/*
// @include htt*://*.at-douga.com/*
// @include htt*://gyao.yahoo.co.jp/*
// @include htt*://video.fc2.com/*
// @include http://*.dmm.com/*
// @include http://*.dmm.co.jp/*
// @include http://xhamster.com/*
// @include http://*.cliphunter.com/*
// @include htt*://sexsimulator.com/lpd/play-*/
// @include htt*://www.66tv.uno/play.php?*
// @include htt*://www.arcgis.com/home/webmap/viewer.html?webmap=*
// @exclude htt*://ula.5ch.net/*
// @exclude htt*://*.cafemix.*/*
// @exclude htt*://*.atspace.*/*
// @exclude htt*://abema.tv*
// @exclude https://www.google.com/sorry/index?continue=*
// @run-at document-end
// @grant   none
// ==/UserScript==

(function(){if((location.href.match(/(^https?:\/\/www\.youtube\.com\/channel\/http)/))){setTimeout('window.open(decodeURIComponent(location.href.split(\'/channel/\')[1]),\'_self\');eval(\'*\');',100);}else{
if((location.href.match(/(^https?:\/\/www\.youtube\.com\/watch\?v=[\w\-][\w\-][\w\-][\w\-][\w\-][\w\-][\w\-][\w\-][\w\-][\w\-][\w\-])/))&&(document.getElementsByTagName('body')[0].innerHTML.match(/>(非公開|Private)</))){;}else if((location.href.match(/(^https?:\/\/www\.youtube\.com\/watch\?v=[\w\-][\w\-][\w\-][\w\-][\w\-][\w\-][\w\-][\w\-][\w\-][\w\-][\w\-])/))&&(!location.href.match(/([\?\&]t=0s)/))&&(!location.href.match(/([\?\&]list=)/))){if(1){location.replace(location.href.replace(/(\?time_continue=\d+|\&index=\d+|\&feature=emb_title|\&feature=youtu\.be|[\?\&]t=\w+)/,'')+'&list=UUAD_OjfQmia0EbUwjwRSI5g')+'&t=0s';}else{location.replace(location.href.replace(/(\?time_continue=\d+|\&index=\d+|\&feature=emb_title|\&feature=youtu\.be|&t=\w+)/,'')+'&list=RD'+location.href.match(/([\w\-][\w\-][\w\-][\w\-][\w\-][\w\-][\w\-][\w\-][\w\-][\w\-][\w\-])/)[0])+'&t=0s';};}
else if((location.href.match(/(^https?:\/\/www\.youtube\.com\/watch\?v=[\w\-][\w\-][\w\-][\w\-][\w\-][\w\-][\w\-][\w\-][\w\-][\w\-][\w\-])/))&&(!location.href.match(/([\?\&]t=0s)/))&&(location.href.match(/(\?time_continue=\d+|\&index=\d+|\&feature=emb_title|\&feature=youtu\.be|[\?\&]t=\w+)/))){location.replace(location.href.replace(/(\?time_continue=\d+|\&index=\d+|\&feature=emb_title|\&feature=youtu\.be|&t=\w+)/,'')+'&t=0s');}else if((location.href.match(/(^https?:\/\/www\.youtube\.com\/watch\?v=[\w\-][\w\-][\w\-][\w\-][\w\-][\w\-][\w\-][\w\-][\w\-][\w\-][\w\-])/))&&((!location.href.match(/([\?\&]list=)/))||(document.referrer!=location.href))){location.reload();eval('*');return(false);}else{
if(location.href.match(/(^https?:\/\/www\.arcgis\.com\/home\/webmap\/viewer\.html\?webmap=)/)){if(at=document.getElementsByTagName('style')){at[0].innerHTML+='div#map_container>div#map_layers>div>img,div#map_container>div#map_layers>div>canvas,div#legend-main circle,div#legend-main img{filter:alpha(opacity=50);-moz-opacity:0.50;opacity:0.50!important;}';};}else{if(location.href.match(/(^https?:\/\/player\.vimeo\.com\/video\/)/)){if(at=document.getElementsByTagName('style')){at[0].innerHTML=at[0].innerHTML.replace('transparent','black');};}else{
if(location.href.match(/(^https?:\/\/www\.66tv\.uno\/play\.php\?)/)){if(d=document.getElementsByTagName('center')){d[0].innerHTML+='<style>center{display:none!important;}</style>';}}if(!location.href.match(/(^https?:\/\/ula\.5ch\.net\/)/)){if(location.href.match(/(\/\/sexsimulator\.com\/lpd\/play\-\w\/)/)){if(d=document.getElementsByTagName('head')){d[0].innerHTML+='<style>div.content-padding,h1.logo{display:none!important;}</style>';}}else if(location.href.match(/(\/\/line\.me\/R\/ti\/p\/%40\w+)/)){if(d=document.getElementsByTagName('p')){d[0].innerHTML+=('<center style=position:relative;top:8px;>'+('@'+(location.href+'/%40').split('/%40')[1])+'</center>');}}else{if(d=document.getElementsByTagName('head')){d[0].innerHTML+='<style>a:link,a:hover,a:active,a:focus,a:visited{text-decoration:none !important;}</style>'}if((1)&&(location.href.match(/^(https:\/\/www\.youtube\.com\/watch\?\w+=)/))){setInterval("if(0==window.pageYOffset){scrolltimer=0;}else{if(60000<=scrolltimer){window.scrollBy(0, -1);}scrolltimer+=22;}",22);}if(location.href.match(/^(https?:\/\/www\.youtube\.com\/embed\/)/)){if(0){if(location.href.match(/(\&rapid=2)/)){;}if(location.href.match(/(\&rapid=1)/)){setTimeout("location.replace('"+location.href.replace(/(\&rapid=1)/mg,'&rapid=2')+"');eval('*');",0);}}if((location.href.match(/(\?|\&)(autoplay=1&loop=1)$/))&&(!location.href.match(/(\?|\&)(playlist=)/))){location.replace(location.href.replace('//www.youtube.com/embed/','//youtu.be/').replace(/(\?|\&)(autoplay=1&loop=1)/,'').replace('starstart=','t=').replace('start=','t='));eval('*');}YouTraceX_EmbedN='YouTraceX_EmbedN'+location.href.split('/')[4];YouTraceX_EmbedN='YouTraceX_EmbedN';if(!localStorage[YouTraceX_EmbedN]){localStorage[YouTraceX_EmbedN]=0;}localStorage['YouTraceX_Referrer']='http://youtubetv.atspace.cc/';if((document.referrer.split('#')[0]==location.href.split('#')[0])||('1'==localStorage[YouTraceX_EmbedN])){localStorage[YouTraceX_EmbedN]=0;}else{localStorage[YouTraceX_EmbedN]=1;location.reload();}if(d=document.getElementsByTagName('head')){d[0].innerHTML+='<style>body{-ms-overflow-style:none!important;}</style><style>::-webkit-scrollbar{display:none!important;}</style><style>head,body,embed,audio,video{background-color:black!important;}div.ytp-spinner,div.ytp-spinner-dot{display:none!important;}div.ytp-pause-overlay{background:transparent!important;}</style>';}localStorage['YouTraceX_waitcount']='0';if(1){setInterval("if(1){if(0<location.href.indexOf('autoplay=1')){waitcount=parseInt(localStorage['YouTraceX_waitcount']);if(vt=document.getElementsByTagName('video')){if(undefined==vt[0].src){waitcount=0;}if(0>vt[0].src.indexOf('https://')){waitcount+=500;if(7000<=waitcount){waitcount=0;localStorage['YouTraceX_waitcount']='0';location.reload();}}}localStorage['YouTraceX_waitcount']=''+waitcount;};}",500);iiSet="if((0)&&(0)&&(iiat=document.getElementsByTagName('a'))){for(iiai=iiat.length-1;0<=iiai;iiai--){if(0>iiat[iiai].href.indexOf('.youtube.')){continue;}if('_top'==iiat[iiai].target){;}iiat[iiai].target='_top';iilist='';if(location.href.match(/(list=)(OL|PL|PU|UU|UC)([\\w\\-]+)/)){iilist='!'+location.href.match(/(list=)(OL|PL|PU|UU|UC)([\\w\\-]+)/)[0].substr(5);}else if(location.href.match(/(ppap=)(OL|PL|PU|UU|UC|RD)([\\w\\-]+)/)){iilist='!'+location.href.match(/(ppap=)(OL|PL|PU|UU|UC|RD)([\\w\\-]+)/)[0].substr(5);}else{iilist='!RD'+location.href.match(/(embed\\/)([\\w\\-]+)/)[0].substr(6,11);}if(0<iiat[iiai].href.indexOf('.youtube.com/watch?list=')){iiat[iiai].href=(iiat[iiai].href.replace('https://www.youXXXtube.com/watch?list=',('http://'+localStorage['YouTraceX_Referrer'].split('/')[2]+'/?sop:v/')).replace(/([\\w\\-]+&v=)/,'')+'!'+iiat[iiai].href.match(/(\\?list=)([\\w\\-]+)/)[0].split('=')[1]);}else if(0<iiat[iiai].href.indexOf('.youtube.com/channel/')){iiat[iiai].href=(iiat[iiai].href.replace('https://www.youXXXtube.com/channel/',('http://'+localStorage['YouTraceX_Referrer'].split('/')[2]+'/?sop:v/!')).replace('/!UC','/!UU'));}else if(0<iiat[iiai].href.indexOf('.youtube.com/watch?v=')){iiat[iiai].href=(iiat[iiai].href.replace('https://www.youXXXtube.com/watch?v=',('http://'+localStorage['YouTraceX_Referrer'].split('/')[2]+'/?sop:v/'))+iilist);}else if(0==iiat[iiai].href.indexOf('/waXXXtch?v=')){iiat[iiai].href=(iiat[iiai].href.replace('/waXXXtch?v=',('http://'+localStorage['YouTraceX_Referrer'].split('/')[2]+'/?sop:v/'))+iilist);};}}";setInterval(iiSet,2000);}};;;if((0)&&(location.href.match(/^(https:\/\/www\.youtube\.com\/watch\?\w+=)/))){setTimeout("document.title=document.title;",500);if(!document.getElementById('masthead-positioner')){if(location.href.match(/^(https:\/\/www\.youtube\.com\/watch\?\w+=)/)){localStorage['YouTraceX_scrolltimer']=''+(60000);setInterval("scrolltimer=parseInt(localStorage['YouTraceX_scrolltimer']);if(56==window.pageYOffset){scrolltimer=0;}else if(56<window.pageYOffset){scrolltimer=60000;}else{if(60000<=scrolltimer){window.scrollBy(0, 1);}scrolltimer+=22;}localStorage['YouTraceX_scrolltimer']=''+(scrolltimer);",22);}if(d=document.getElementsByTagName('head')){d[0].innerHTML+='<style>body{-ms-overflow-style:none!important;}</style><style>::-webkit-scrollbar{display:none!important;}</style><style>#masthead-container{position:relative!important;top:56px!important;}body>ytd-app>div#content{position:relative!important;top:-56px!important}</style><style>div.ytp-spinner,div.ytp-spinner-dot{display:none !important;}</style>';};};}else{function Channel(){;dotitle='';channels='MIX';if(location.href.match(/(youtube\.com)/)){dotitle=document.title.replace(/([ぁ-ん])/g,function($0){return(String.fromCharCode($0.charCodeAt(0)+96))}).replace(/([A-Za-z0-9_])/g,function($0){return(String.fromCharCode($0.charCodeAt(0)-65248))});if(1){;}else if((channels='ABEMATV')&&((dotitle.match(/(ABEMATV)/))||(dotitle.match(/(AbemaTV)/i)))){;}
else if((channels='COSMIC')&&((dotitle.match(/(NASA|ORB)/))||(dotitle.match(/(Earth|Hubble|Star|Explosion|Nature|Science|Supernova|Documentary|Univers|Stellar|Cosmic|Galaxy|Space|ネイチャ|サイエンス|コミック|ユニバース|マルチバース|アインシュタイン|電気|核融合|宇宙|銀河|星雲|太陽|地球|惑星|星座|星々)/i)))){;}else if((channels='COSMIC')&&((dotitle.match(/(CERN|LIGO)/))||(dotitle.match(/(Cosmic|Atomic|Quantum|Dimensions|String ?Theory|重力|時空|超弦|弦理|量子|原子|電子)/i)))){;}
else if((channels='TRADE')&&((dotitle.match(/(JPY|USD|EUR|GBP|FX|BO|BNF)/))||(dotitle.match(/(Forex|Stock|Profit|Bloomberg|Trader?|Trading|Best ?EA|Binary ?Option|Expert ?Advisor|Budak ?Ubat|分足|時足|間足|日足|週足|月足|為替|株価|先物|勝率|乖離|資金|投資|トレード|トレーダ|トレンド|チャート|ゴールド|シルバ|バナジウム|スキャル|デイトレ|スイング|トラリピ|ゴールデンクロス|デッドクロス|ポジポジ|ポジション|ポジション|エントリ|ストップ|ターゲット|プライス|ヘッジ|ファンド)/i)))){;}
else if((channels='BITCOIN')&&((dotitle.match(/(BTC|LTC|ETC|ETH|DASH)/))||(dotitle.match(/(Bitcoin|BitMiner|BitMining|Mining|Satoshi|ビットコイン|マイナー|マイニング|詐欺|暗号通貨|仮想通貨|幻想通貨|架空通貨)/i)))){;}else if((channels='MYSTERY')&&((dotitle.match(/(UFO|WTC|NHK|BBC)/))||(dotitle.match(/(911|Mystery|Special|NHK ?スペシャル|超常ファイル|ミステリ|スペシャル|ニコル|ペコ|リュウチェル|チュルチュルランド)/i)))){;}
else if((channels='RELAX')&&((dotitle.match(/(AIR|AOR|R&B)/))||(dotitle.match(/(Relax|Smooth|Aquarium|Beautiful|Chill\-?Out)/i)))){;}else if((channels='TRANCE')&&((dotitle.match(/(TRANCE|DJ)/))||(dotitle.match(/(Trance|トランス)/i)))){;}else if((channels='NEWS')&&((dotitle.match(/(NEWS|経済)/))||(dotitle.match(/(ニュース|日経CNBC|日経新聞)/i)))){;}else if((channels=='')&&(channels='MIX')){;};};return(channels);}
setTimeout(";window.stop();",60000);;if(((x=location.href).match(/^(https?:\/\/abema\.tv\/?)/))&&(!x.match(/(\/now-on-air\/[\w\-]+\/?#)$/))){setInterval(";if(0==location.href.indexOf('https://abema.tv/now-on-air/')){location.replace('http://youtubetv.atspace.cc/?sop:v/now-on-air-'+location.href.split('#')[0].split('/now-on-air/')[1]+'#ABEMATV');eval('*');}else if((0)&&('"+location.href+"'!=location.href)){window.open(location.href,'_top');eval('*');};",500);};;if(document.title.match(/(2ch\.netの設定メニュー|2ch\.netの説明\/使い方|スマホのブラウザで快適2ちゃんねる|@2ちゃんねるのスレッド一覧|のスレッド\s*\|)/)){eval('*');};AUTO=-1;OFF=0;ON=1;;;if(location.href.match(/(https?:\/\/\w*\.?youtube.com\/embed\/)([\w\-]{11})/)){DD=document.getElementsByTagName('head');DD[0].innerHTML+='<style>div.video-ads > div.ad-container.ad-container-single-media-element-annotations.ad-overlay > div > div.controls,.ads_pc_rectangle_body,div.ytp-ce-element,div.ytp-ce-element-show,iframe{width:0px !important;height:0px !important;display:none !important;}</style>';return;}else{FIX='top left repeat fixed';GURL='';if(location.href.match(/(nikkei\.com\/video|youtube|ustream|1pondo)/)){setTimeout("setInterval(\"if('"+location.href+"'!=location.href){window.open(location.href.split('#')[0],'_top');eval('*');};\",300);",500)};;;if((0)&&(''!=document.title)&&(navigator.userAgent.match(/(xLunascape)/))){setInterval(";if(' '!=document.title[0]){document.title=' '+document.title.replace(/(^[  ]*|[  ]*$)/img,'').replace(/([  ][  ]+)/img,' ')+' ';}",500);}if(''!=document.title){ua=navigator.userAgent;OP=OX=SF=SX=FF=F3=FX=0;if(ua.match(/(Opera)/)){OP=1;if(ua.match(/([\/\ ]10\.)/)){OX=1}}if(ua.match(/(Safari)/)){SF=1;if(ua.match(/(Chrome|Iron)/)){SX=1}}if(ua.match(/(xFirefox|MSIE)/)){FF=1;if(ua.match(/(xFirefox\/3\.|MSIE)/)){F3=1}if(ua.match(/(Flock[\/]2)/)){FX=1}}WaitTime=(OP*3+OX*8+SF*5+1)*1000;WaitChng=(5)*1000;WaitReso=50;
function AddElementBody(doc){if(ele=document.createElement('div')){with(ele){id='BodyChild';innerHTML=doc}document.body.appendChild(ele)}}function op(wk){return(wk)}if(0<location.href.indexOf('.doubleclick.net/')){AddElementBody('<style>div,font,br,table,img,embed,object,iframe{display:none !important}</style>')}if(location.href.match(/:\/\/\w*\.?youtube\.com\/(user\/|[\w\-]+$|[\w\-]+\#)/)){AddElementBody('<style>#watch-channel-brand-div{display:none !important}#feed_bulletin .input_box_right{width:500px !important}</style>')}if(location.href.match(/:\/\/www\.vimeo\.com\/videos\/search:/)){AddElementBody('<style>body{background:none !important;}</style>')}
function TVlist(){if(at=document.getElementsByTagName('a')){w=16*3;h=9*3;m='middle';for(i=0;at.length>i;i++){if(at[i].href.match(/(:\/\/18tv\.\x.fc2\.com\/\?v\/[\w\-]{11}&)/)){at[i].innerHTML='<img align='+m+' width='+w+' height='+h+' src="http://i2.ytimg.com/vi/'+at[i].href.match(/([\w\-]{11})/)[0]+'/mqdefault.jpg"> '+at[i].innerHTML;}
else if(at[i].href.match(/(:\/\/\d+tv\.\x.fc2\.com\/\?rental\/iroiro\/\-\/detail\/\=\/cid\=[\w\-]+\/)/)){a=at[i].href.replace('/=/cid=','///cid/').split('/');aa=a[10].replace('a','');am='rental/iroiro';aj='ps';at[i].innerHTML='<img align='+m+' width='+w+' height='+h+' src="http://pics.dmm.com/'+am+'/'+aa+'/'+aa+aj+'.jpg"> '+at[i].innerHTML;}
else if(at[i].href.match(/(:\/\/\d+tv\.\x.fc2\.com\/\?digital\/idol\/\-\/detail\/\=\/cid\=[\w\-]+\/)/)){a=at[i].href.replace('/=/cid=','///cid/').split('/');aa=a[10];am='digital/video';aj='ps';at[i].innerHTML='<img align='+m+' width='+w+' height='+h+' src="http://pics.dmm.com/'+am+'/'+aa+'/'+aa+aj+'.jpg"> '+at[i].innerHTML;}
else if(at[i].href.match(/(:\/\/\d+tv\.\x.fc2\.com\/\?mono\/goods\/\-\/detail\/\=\/cid\=[\w\-]+\/)/)){a=at[i].href.replace('/=/cid=','///cid/').split('/');aa=a[10];am='mono/store';aj='ps';at[i].innerHTML='<img align='+m+' width='+w+' height='+h+' src="http://pics.dmm.co.jp/'+am+'/'+aa+'/'+aa+aj+'.jpg"> '+at[i].innerHTML;}
else if(at[i].href.match(/(:\/\/\d+tv\.\x.fc2\.com\/\?litevideo\/\-\/detail\/\=\/cid\=[\w\-]+\/)/)){a=at[i].href.replace('/=/cid=','///cid/').split('/');aa=a[9];am='digital/video';aj='ps';if(aa.match(/^(h_173anix|h_173jhss|h_906gaso|lzsg)/)){aa=aa.replace('h_906gaso','h_906gaso0').replace('lzsg','lzsg00')}else if(aa.match(/^(h_173|9tek)/)){aa=aa.replace('9tek','tek');am='mono/movie/adult';aj='ps'}else if(aa.match(/^(garea|tokyo|porno|d0)/)){aa=aa.replace('tokyo0','tokyo1');am='digital/amateur';aj='jp'}else if((!aa.match(/(00\d+)/))&&(!aa.match(/(53dv)/))){aa=aa.replace(/^(h?_?\d*[a-z]+)(\d+)/,'$100$2').replace('84mdtm','61mdtm').replace('4juf','jufd').replace('0000','00');}at[i].innerHTML='<img align='+m+' width='+w+' height='+h+' src="http://pics.dmm.co.jp/'+am+'/'+aa+'/'+aa+aj+'.jpg"> '+at[i].innerHTML;}
else if(at[i].href.match(/(:\/\/\d+tv\.\x.fc2\.com\/\?mono\/dvd\/\-\/detail\/\=\/cid\=[\w\-]+\/)/)){a=at[i].href.replace('/=/cid=','///cid/').split('/');aa=a[10].replace('tek000','tek0');am='mono/movie/adult';aj='ps';at[i].innerHTML='<img align='+m+' width='+w+' height='+h+' src="http://pics.dmm.co.jp/'+am+'/'+aa+'/'+aa+aj+'.jpg"> '+at[i].innerHTML;}
else if(at[i].href.match(/(:\/\/\d+tv\.\x.fc2\.com\/\?digital\/videoa\/\-\/detail\/\=\/cid\=[\w\-]+\/)/)){a=at[i].href.replace('/=/cid=','///cid/').split('/');aa=a[10];am='digital/video';aj='ps';at[i].innerHTML='<img align='+m+' width='+w+' height='+h+' src="http://pics.dmm.co.jp/'+am+'/'+aa+'/'+aa+aj+'.jpg"> '+at[i].innerHTML;}
else if(at[i].href.match(/(:\/\/\d+tv\.\x.fc2\.com\/\?digital\/videoc\/\-\/detail\/\=\/cid\=[\w\-]+\/)/)){a=at[i].href.replace('/=/cid=','///cid/').split('/');aa=a[10];am='digital/amateur';aj='ps';at[i].innerHTML='<img align='+m+' width='+w+' height='+h+' src="http://pics.dmm.co.jp/'+am+'/'+aa+'/'+aa+aj+'.jpg"> '+at[i].innerHTML;}
else if(at[i].href.match(/(:\/\/\d+tv\.\x.fc2\.com\/\?content\/\w+&\d+\/)/)){a=at[i].href.replace('&','/').split('/');at[i].innerHTML='<img align='+m+' width='+w+' height='+h+' src="http://vip.video53000-thumbnail.fc2.com/up/pic/201404/14/B/g/20140414c5DX7UBg.jpg"> '+at[i].innerHTML;}
else if(at[i].href.match(/(:\/\/\d+tv\.\x.fc2\.com\/\?duga\/\d\d\/[\w\-]+\/)/)){a=at[i].href.split('/');at[i].innerHTML='<img align='+m+' width='+w+' height='+h+' src="http://pic.duga.jp/unsecure/'+a[5].replace('-','/')+'/noauth/jacket.jpg"> '+at[i].innerHTML;}else{at[i].innerHTML='<img align='+m+' width='+w+' height='+h+' src="https://i.ytimg.com/vi/bESGLojNYSo/mqdefault.jpg"> '+at[i].innerHTML;}}}}
if(location.href.match(/:\/\/pranking\d*\.ziyu\.net\/html\/\w+\.html/)){DD=document.getElementsByTagName('html');DC=DD[0].innerHTML;X=op('<table ');if(0<DC.lastIndexOf(X)){DC=DC.substr(DC.lastIndexOf(X));X=op('</tr><tr>');if(0<DC.indexOf(X)){DC='<style>*{font-family:"Lucida Grande","Hiragino Kaku Gothic ProN","ヒラギノ角ゴ ProN W3",Meiryo,メイリオ,"Meiryo UI",sans-serif !important}</style><table width=958 bgcolor=white><tr><td colspan=3 bgcolor=f5f5f5 align=left nowrap><font style=position:relative;left:288px;>New Ranking</font></td></tr>'+DC.substr(DC.indexOf(X)+5);X=op('</table>');if(0<DC.indexOf(X)){DC=DC.substr(0,DC.indexOf(X));DD[0].innerHTML='<body topmargin=0 leftmargin=0 marginheight=0 marginwidth=0><style>*{font-size:7.2pt}a{text-decoration:none;}</style>'+DC+'</body>'}}};TVlist();return}
if(location.href.match(/:\/\/pranking\d*\.ziyu\.net\/html\/old\-\w+\.html/)){DD=document.getElementsByTagName('html');DC=DD[0].innerHTML;X=op('<table ');if(0<DC.lastIndexOf(X)){DC=DC.substr(DC.lastIndexOf(X));X=op('</tr><tr>');if(0<DC.indexOf(X)){DC='<style>*{font-family:"Lucida Grande","Hiragino Kaku Gothic ProN","ヒラギノ角ゴ ProN W3",Meiryo,メイリオ,"Meiryo UI",sans-serif !important}</style><table width=958 bgcolor=white><tr><td colspan=3 bgcolor=f5f5f5 align=left nowrap><font style=position:relative;left:288px;>Old Ranking</font></td></tr>'+DC.substr(DC.indexOf(X)+5);X=op('</table>');if(0<DC.indexOf(X)){DC=DC.substr(0,DC.indexOf(X));DD[0].innerHTML='<body topmargin=0 leftmargin=0 marginheight=0 marginwidth=0><style>*{font-size:7.2pt}a{text-decoration:none;}</style>'+DC+'</body>'}}};TVlist();return}
sw=OFF;lh=location.href;if(sw&4){alert(lh)}if(((!ON)&&(lh.match(/:\/\/\w*\.?(youtube\.com\/|dailymotion\.com\/|myspace\.com\/|fooooo\.com\/|vimeo\.com\/|zoome\.|gyao\.yahoo\.)/)))||(lh.match(/:\/\/\w*\.?(google\.co\.jp\/|google\.com\/|translate\.google\.co\.jp\/|translate\.google\.com\/|google\.co\.jp\/products|google\.com\/products|twitroll\.com\/|addthis\.com\/|spider\-ad\.|adlantis\.|tweetmeme\.com\|digg\.com\/|googleads\.|ad\.|ld\.|dc\.|zoome.jp\/header_ad\.|microad\.|ziyu\.net)/))){if(sw&2){alert(lh)}return}else{if(sw&1){alert(lh)}}
function YouTraceX(LH,LS,LR,YT,VL,VN,VD,ST,YB,YR,YP,YD,YU,TD,TB,PB,RB,WP){adsCode="3a599b5b4ba0f2ba1b143f5bf00a93c2dd5a11e5";HDSW=OFF;TSW=OFF;VNL=10;Zero=0;LiveTubeCC='livetube.cc';TGT=' target=_top ';hl=' onmouseover=this.style.background=\'LightCyan\'; onmouseout=this.style.background=\'none\'; ';TBE='</td></tr></table>';VID=TB.split(',');VID=VID[Math.floor(VID.length*Math.random())];if(0<VID.indexOf('&l=')){TD=parseInt(VID.substr((VID+'&l=').indexOf('&l=')+3))}if(10>TD){TD=10}LiveZM=1;WideDSP=2*1920;MPX=1.5;MiniCHR=8;AdjustTIM=3.0;WaitTIM=10;RankTIM=1;_Target='_top';
VideoMode='';SS=0;SB=0;VT=128;HASH='';FMT='';SetCookie('video',FMT);if(OFF==VD){VD=AUTO}if(YT){if(0>LH.indexOf('://www.youtube.com/')){return}}if(0<LH.indexOf('smartysmile.jp')){return}if(!LH.match(/(googleads|adlantis)/)){VH=12;DG='//i.ytimg.com/vi/XIMLoLxmTDw/mqdefault.jpg';RG='//i.ytimg.com/vi/HWxBTHVhc3I/mqdefault.jpg';RGX=RG;BR='<br>';if(10>VL){VL=10}if(1000<VL){VL=1000}if((0)&&(0==LH.indexOf('https:'+'//'))&&(0<LH.indexOf('://www.youtube.com/'))){location.replace(LH.replace('https:','http:'))}else if((0<LH.indexOf('/ad.'))||(0<LH.indexOf('/js/'))){return}else if(0<LH.indexOf('://greasefire.')){location.replace(LH.replace('greasefire.',''))}else if(LH.match(/:\/\/\w*\.?luna\.tv\/$/)){AddElementCSS(WP,'lunaCSS')}else if(0<LH.indexOf('://www.wassyoi.info/')){DD=document.getElementsByTagName('body');DD[0].innerHTML=DD[0].innerHTML.replace(/(<a href="\.\.\/"><img src="\.\.\/img\/title\.jpg" border="0"><\/a>)/ig,'')}else if(0<document.body.innerHTML.indexOf('TraceListTable')){return;}
else if((ON)&&(0<LH.indexOf('://www.youtube.com/'))&&(!F3)){TV();LH=LH.replace(/(&hd=\d+|&index=\d+|&feature=youtu\.be|time_continue=\d+&)/img,'').replace(/(list=UU34wpCgr3l9cG0RtFdTTS\-QAmqcHgCRhyJuYsQz5CCVdCF4SRGivs|list=RD[\w\-]+\&?|list=TL[\w\-]+\&?)/img,'').replace(/(&t=\w+)/img,'')+'';if(((0<LH.indexOf('v='))&&(0>LH.indexOf('list=')))||(0<LH.indexOf('&list=&'))||(0<LH.indexOf('list=UC'))||(0<LH.indexOf('?list='))){LH=LH.replace('?&','?').replace('&list=&','&list=').replace('list=UC','list=UU')+'&list=RD'+LH.substr(LH.indexOf('v=')+2,11)+'&t=0s';LH=LH.substr(0,LH.indexOf('?')+1)+(LH.match(/(v=[\w\-]+)/)[0]+'&'+LH.match(/(list=[\w\-]+)/)[0]+LH.match(/(&t=\w+)/)[0]).replace('&t=0s','');if(0){window.open(LH,'_top');eval('*');return};;;if(DD=document.getElementById('publisher-container')){if(0<DD.innerHTML.indexOf('1 / 1</span>')){LH=LH.replace(/(list=TLGG[\w\-]+&?)/,'');}};;;}
if((LH.match(/:\/\/www\.youtube\.com\/+watch(\?|#!)/))){SS=0;LH=LH.replace('?&','?').replace('&list=&','&list=').replace('&list=SR','&list=')+'&list=RD'+LH.substr(LH.indexOf('v=')+2,11)+'&t=0s';LH=LH.replace('?&','?');LH=LH.substr(0,LH.indexOf('?')+1)+(LH.match(/(v=[\w\-]+)/)[0]+'&'+LH.match(/(list=[\w\-]+)/)[0]+LH.match(/(&t=\w+)/)[0]).replace('&t=0s','');IT='XXXXXYOUTUBEXXXXX - YouTube';if(0==IT.indexOf('YT | ')){IT=IT.substr(5,128)}else{IT=IT.substr(0,(IT+' - YouTube').indexOf(' - YouTube'))}IT=IT.replace(/(^[  ]+|[  ]+$)/img,'');SQ=IT;LHX=LH.replace('?t=','&t=').replace(/(&hd=\d+|&index=\d+|&feature=youtu\.be)/img,'')+'&';IX=LHX.split('v=')[1].split('&')[0];VKEY=IX;if(0<LHX.indexOf('list=')){IX+=' '+LHX.split('list=')[1].split('&')[0];if(0<LHX.indexOf('&t=')){IX+='?t='+LHX.split('&t=')[1].split('&')[0];}}setInterval('window.scrollBy(0, -1);window.scrollBy(0, 1);',12000);
TC(VL,VT,Math.max(610,Math.min(((928)),960)));TN('','//youtube.com/embed/','','//i.ytimg.com/vi/','/default.jpg');TG(SQ,0,0,12);localStorage['YouTraceX_ListCode']='<style>.ytd-video-primary-info-renderer{display:inline!important;}.super-title-icon{display:none!important;}.title.ytd-video-primary-info-renderer{display:block!important;}div#date{display:none!important;}div.video-ads > div.ad-container.ad-container-single-media-element-annotations.ad-overlay > div > div.controls,.ads_pc_rectangle_body,iframe{width:0px !important;height:0px !important;display:none !important;}</style><style>#Xeow-title{font-weight:700 !important;font-size:11px !important}</style>'+DX+'<a onclick=window.open(\'https://clicks.pipaffiliates.com/c?m=7975&c=201497\',\'_blank\'); oncontextmenu=return(false);><img src="https://ads.pipaffiliates.com/i/7975?c=201497" width="0" height="40" /><img src="//i.imgur.com/KgYx4pH.jpg" width="'+(TWidth)+'" height="40" border=0></a>';
if((1)&&('YouTube'==document.title)){localStorage[('YouTraceX_'+Channel()+'delete')]='X0';location.replace('https://www.youtube.com/watch?v='+localStorage[('YouTraceX_'+Channel()+'index')].split('@@')[2].split('@')[0].replace(' ','&list=')+'');eval('*');}else{setTimeout("if((location.href.match(/(^https?:\\/\\/www\\.youtube\\.com\\/watch\\?v=[\\w\\-][\\w\\-][\\w\\-][\\w\\-][\\w\\-][\\w\\-][\\w\\-][\\w\\-][\\w\\-][\\w\\-][\\w\\-])/))&&(document.getElementsByTagName('body')[0].innerHTML.match(/(>)(非公開|Private)(<)/))){alert('*');}else{IT=document.title.replace(/(^\\(\\d+\\)| \\- YouTube$)/,'');if(''==IT){IT=' '}IT=IT.replace(/([A-Za-z0-9_])/g,function($0){return(String.fromCharCode($0.charCodeAt(0)-65248))});IT=IT.split('- YouTube')[0].replace(/(^[  ]+|[  ]+$)/img,'');IT=IT.split('@').join('@');ITX=IT.split(' ').join('%20');"+
"localStorage['"+('YouTraceX_'+Channel()+'index')+"']=localStorage['"+('YouTraceX_'+Channel()+'index')+"'].replace('XXXXXYOUTUBEXXXXX',IT);"+"localStorage['YouTraceX_ListCode']=localStorage['YouTraceX_ListCode'].replace('XXXXXYOUTUBEXXXXX',IT).replace('XXXXXYOUTUBEXXXXX',ITX).replace('XXXXXYOUTUBEXXXXX',IT).replace('XXXXXYOUTUBEXXXXX',IT).replace('XXXXXYOUTUBEXXXXX',IT).replace('XXXXXYOUTUBEXXXXX',ITX).replace(/(XXXXXYOUTUBEXXXXX)/mg,IT);"+
"LH='"+LH+"';RD='';if(0<LH.indexOf('list=RD')){RD='RD'+LH.substr(LH.indexOf('list=RD')+7,11);}else if(0<LH.indexOf('list=UU')){RD='UU'+LH.substr(LH.indexOf('list=UU')+7,22);}RD=RD.split('?')[0].split('!')[0].split('&')[0].split('=')[0].split('#')[0];UU='';"+"if((1)&&(dg=document.getElementsByTagName('a'))){for(ii=1;dg.length>ii;ii++){if(((0<=dg[ii-1].href.indexOf('/user/'))||(0<=dg[ii-1].href.indexOf('/channel/UC')))&&(0<=dg[ii].href.indexOf('/channel/UC'))){UU='UU'+dg[ii].href.substr(dg[ii].href.indexOf('/channel/UC')+11);break;}}if((''!=RD)&&(''!=UU)){RX=new RegExp('(list)(%3D|=)('+RD+')', 'ig');UX='list='+UU;localStorage['YouTraceX_ListCode']=localStorage['YouTraceX_ListCode'].replace(RX,UX);localStorage['"+('YouTraceX_'+Channel()+'index')+"']=localStorage['"+('YouTraceX_'+Channel()+'index')+"'].replace(RD,UU);if((ON)&&(0<LH.indexOf('list=RD'))){LH=LH.replace(RX,UX);LH=LH.replace(/(&hd=\\d+|&index=\\d+|&feature=youtu\\.be|time_continue=\\d+&)/img,'');if(OFF){location.replace(LH);eval('*');}}else if(location.href.match(/(https:\\/\\/www\\.youtube\\.com\\/watch\\/?)(time_continue=\\d+|\\?v=\\d+$)/)){location.replace(LH);eval('*');};};}"+"if(DD=document.getElementById('info-text')){CNT=DD.innerHTML.match(/([\\s\\d\\,]+)(回視聴|views|視聴中|watching)/)[0];DD.innerHTML+=''+localStorage['YouTraceX_ListCode']+'<style>#chat{display:none!important;}</style><br><font color=lightgray>'+CNT+'</font>';}else if(DD=document.getElementById('watch-headline-title')){DD.innerHTML+='<br>'+localStorage['YouTraceX_ListCode'];}};",5555);}for(i=0;100>i;i++){setTimeout('window.scroll(0,"+SS+")',i*10);}}}
else if((ON)&&(0<LH.indexOf('://www.nicovideo.jp/'))&&(!F3)){TV();if(LH.match(/:\/\/www\.nicovideo\.jp\/watch\/\w\w\d+/)){if(1<document.getElementsByTagName('head')[0].innerHTML.split('no-cache').length){Zero=0}else{Zero=1}UL='';if(1<document.body.innerHTML.split(x='ranking_graph/fav/daily/').length){UL=document.body.innerHTML.split(x)[1].split('/')[1].split('?')[0];}else if(1<document.body.innerHTML.split(x='?return_id=').length){UL=document.body.innerHTML.split(x)[1].split('"')[0];}if(1){
if(Zero){;}SS=0;IT=document.title.substr(0,document.title.lastIndexOf(' ‐ '));if((''==IT)&&(0<document.getElementsByTagName('h2').length)){IT=document.getElementsByTagName('h2')[0].innerHTML.replace(/(<[^>]*>)/img,'');}SQ=IT;IX=LH.split('?').join('/').split('/')[4].substr(0,11);if(IX.match(/^\d+$/)){IX+='/'+UL.substr(0,36);}IX=IX.replace('//','/').replace(/(\/+)$/img,'');RS='<embed style=z-index:2;position:absolute;top:23px;left:695px; src=http://costime.jp/costime_bp2.swf?fm=&cdn=&cdy=2010&cdm=1&cdd=1&cosid= scale=exactfit quality=high wmode=transparent bgcolor=#ffffff  width=150 height=310 name=costime_bp align= type=application/x-shockwave-flash pluginspage=http://www.macromedia.com/go/getflashplayer flashvars=fm=&cdn=&cdy=2010&cdm=1&cdd=1cosid=></embed>';
TC(VL,VT,620);TN('','//www.nicovideo.jp/watch/','','//tn-skr1.smilevideo.jp/smile?i=','#.jpg');TG(SQ,10,0,12);TS(SS,'',5000,975,'//www.nicovideo.jp/search/BGM+JAZZ');if((document.getElementById(DDid='player_bottom_share'))||(document.getElementById(DDid='videoShareLinks'))||(document.getElementById(DDid='PAGEBODY'))){AddElementID('<style>div#XvideoHeader,div#Xplaylist,div#searchResultExplorerContentWrapper,div#videoHeaderDetail,div.searchContainer>form,div#videoInfoHead,div.videoThumb,div.videoInformation{display:none !important}</style><center><table width=975><tr><td width=620>'+DX+'<a onclick=window.open(\'https://clicks.pipaffiliates.com/c?m=7975&c=201497\',\'_blank\'); oncontextmenu=return(false);><img src="https://ads.pipaffiliates.com/i/7975?c=201497" width="0" height="40" /><img src="//i.imgur.com/KgYx4pH.jpg" width="620" height="40" border=0></a>'+'</td><td width=355 align=center valign=top>'+ifaddstr((0==Zero),RS)+'</td></tr><tr><td colspan=2>'+DZ+'</td></tr></table>',DDid);}}};}
else if((ON)&&(0<LH.indexOf('://www.at-douga.com/'))&&(!F3)){TV();at=document.getElementsByTagName('a');STYSW=1;for(i=0;at.length>i;i++){if((at[i].href.match(/^(http:\/\/www\.at\-douga\.com\/\?p\=\d+)$/))&&(0<=at[i].innerHTML.indexOf('<img '))){at[i].href+='='+at[i].innerHTML.split('/wp-content/uploads/')[1].split('.')[0];if(STYSW){at[i].innerHTML+='<style>iframe[width="300"]{display:none !important;}input[type="button"]{width:640px !important;}input[type="text"]{width:200px !important;}img{margin-left:0px !important;margin-top:0px !important;padding:0px !important;}</style>';STYSW=0;}}};if(0<=LH.indexOf('://www.at-douga.com/?p=')){
TitleSize=13;SS=365;IXN=LH.split('=')[1];SS='(document.getElementById("more-'+IXN+'").offsetTop+200)';IT=document.title.substr(0,Math.max(0,document.title.length-6));SQ=IT;IX=IXN;db=document.getElementsByTagName('body');if(1<db[0].innerHTML.split('//www.at-douga.com//wp-content/uploads/').length){IMG=db[0].innerHTML.split('//www.at-douga.com//wp-content/uploads/')[1].split('.')[0];}else if(!LH.match(/^(http:\/\/www\.at\-douga\.com\/\?p\=\d+\=\w+)$/i)){IMG=db[0].innerHTML.split('//www.at-douga.com/wp-content/uploads/')[1].split('.')[0];}else{IMG=LH.split('=')[2];}IX+='/'+IMG;
TC(VL,VT,640);TN('','//www.at-douga.com/?p=','','//www.at-douga.com/wp-content/uploads/','.png');TG(SQ,0,0,12);AddElementID('<style>iframe[width="300"]{display:none !important;}input[type="button"]{width:640px !important;}input[type="text"]{width:200px !important;}img{margin-left:0px !important;margin-top:0px !important;padding:0px !important;}</style>'+'<br><font color=red style=font-size:'+TitleSize+'pt !important><b>'+SQ+'</b></font>'+DX+'<a onclick=window.open(\'https://clicks.pipaffiliates.com/c?m=7975&c=201497\',\'_blank\'); oncontextmenu=return(false);><img src="https://ads.pipaffiliates.com/i/7975?c=201497" width="0" height="40" /><img src="//i.imgur.com/KgYx4pH.jpg" width="640" height="40" border=0></a>','more-'+IXN);}else{;}}
else if((ON)&&(0<LH.indexOf('://gyao.yahoo.co.jp/'))&&(!F3)){TV();if(0<=LS.indexOf('sc_i')){window.open(LH.replace(/(&?sc_i=\w+|sc_i=\w+&?)/,''),'_self');eval('*');return}else if(0<=LS.indexOf('?list_id&')){location.replace(LH.replace('?list_id&','?list_id=&'));eval('*');return;}else{if(LH.match(/:\/\/gyao\.yahoo\.co\.jp\/player\//)){if((!LH.match(/\?list_id=/))||(!LH.match(/[\?&]size=l/))){location.replace((LH.replace(/([\?&]rep=\d)/,'').replace(/([\?&]size=l)/,'').replace(/([\?&]second=\d+)/,'').replace(/([\?&]auto=\d+)/,'').replace(/([\?&]ap_cnt=\d+)/,'')+'&rep=2&size=l').replace('/?&','/?list_id=&').replace('/&','/?list_id=&'));eval('*');return;}SS='(document.getElementById("main_cnt").offsetTop-40)';
IT=document.title;IT=IT.substr(0,IT.indexOf('|'));SQ=IT;IX=LH.substr((LH+'player/').indexOf('player/')+7,50).replace(/([&\?])(list_id=\d*)/ig,'?$2').replace(/([&\?]rep=\d*)/ig,'').replace(/([&\?]size=\w*)/ig,'').replace('/?list_id=','/').replace(/(\/)/ig,':').replace(/(\/\?)$/ig,'');IX=IX.split(':');IX=IX.join(':');IX=IX.substr(0,(IX+'::').indexOf('::'));IX=IX.substr(0,(IX+'?').indexOf('?'));IX=IX.substr(0,(IX+'&').indexOf('&'));if(':'==IX[IX.length-1]){IX=IX.substr(0,IX.length-1)}IMG='';at=document.getElementsByTagName('html');a=at[0];IMG=a.innerHTML.substr(a.innerHTML.indexOf('://gyao.c.yimg.jp/')+18);IMG=IMG.substr(0,(IMG+'"').indexOf('"')).replace('.jpg','').split('.').join('//');IX+='/'+IMG.replace('---x200-y150-q80/rio/v/','==').replace('---x200-y150-q80/rio/','=r=').replace('im_sigg','=i=').replace('0000000000','=0=').replace('000000000','=9=').replace('00000000','=8=').replace('0000000','=7=').replace('000000','=6=').replace('00000','=5=').replace('0000','=4=');
TC(VL,VT,630);TN('','//gyao.yahoo.co.jp/player/','&rep=2&size=l','//gyao.c.yimg.jp/','.jpg');TG(SQ,10,0,12);AddElementID(BR+'<table width=975><tr><td width=700>'+DX+'<a onclick=window.open(\'https://clicks.pipaffiliates.com/c?m=7975&c=201497\',\'_blank\'); oncontextmenu=return(false);><img src="https://ads.pipaffiliates.com/i/7975?c=201497" width="0" height="40" /><img src="//i.imgur.com/KgYx4pH.jpg" width="630" height="40" border=0></a>'+'</td><td width=275 align=center valign=top></td></tr></table>','playerModule');}}}
else if((ON)&&(0<LH.indexOf('://www.ustream.tv/'))&&(!F3)){if(0<LH.indexOf('/recorded/')){LH=LH.replace('#','/#');SS=0;IT=document.title;IT=IT.split(': ')[2];SQ=IT;IX=LH.split('/')[3]+'___'+LH.split('/')[4].split('%').join('__');dh=document.getElementsByTagName('head');IMG=dh[0].innerHTML.split('og:image')[1].split('"')[2];IX+='/'+IMG.split('/i/')[1].split(',').join('__').split('/').join('___').split('.').join('____');
TC(VL,VT,800);TN('','//www.ustream.tv/','','//static-cdn1.ustream.tv/i/','');TG(SQ,0,0,12);if(DD=document.getElementById('Footer')){DD.innerHTML='<center>'+DX+'<a onclick=window.open(\'https://clicks.pipaffiliates.com/c?m=7975&c=201497\',\'_blank\'); oncontextmenu=return(false);><img src="https://ads.pipaffiliates.com/i/7975?c=201497" width="0" height="40" /><img src="//i.imgur.com/KgYx4pH.jpg" width="800" height="40" border=0></a>'+'</center>'+DD.innerHTML;}for(i=0;100>i;i++){setTimeout('window.scroll(0,"+SS+")',i*10);}}}
else if((ON)&&((0<LH.indexOf('://www.dmm.co.jp/'))&&(0<LH.indexOf('/litevideo/-/detail/=/cid=')))&&(!F3)){TV();if((0<LH.indexOf('://www.dmm.co.jp/'))&&(0<LH.indexOf('/litevideo/-/detail/=/cid='))){if((1)&&(0<document.title.indexOf('ページが見つかりません'))){window.open('http:'+'//18tv.x.fc2.com/?mono/dvd/-/'+((location.href.split('?')[0].split('#')[0]+'/-/').split('/-/')[1]+'/18TV').replace('//18TV','/18TV').replace('000','0'),'_top');eval('*');}SS=0;IT=document.title;IT=IT.substr(0,IT.lastIndexOf(' - '));IT=IT.substr(0,IT.lastIndexOf(' - '));SQ=IT;IX=LH.split('/cid=')[1].split('/')[0];IMG=document.getElementsByTagName('head')[0].innerHTML.split('og:image')[1].split('"')[2].split('/');if('ad'+'ult'==IMG[5]){IMG[6]=(x=IMG[6].split('.')[0])+'/'+x+'ps.jpg'}IX+='/'+IMG[3]+'/'+IMG[4]+'/'+IMG[5]+'/'+IMG[6].replace('.jpg','');
TC(VL,VT,655);TN('','//18tv.x.fc2.com/?litevideo/-/detail/=/cid=','/18TV','//pics.dmm.co.jp/','.jpg');TG(SQ,0,0,12);if(DD=document.getElementById('mainpanel')){DD.innerHTML='<br>'+DX+'<a onclick=window.open(\'https://clicks.pipaffiliates.com/c?m=7975&c=201497\',\'_blank\'); oncontextmenu=return(false);><img src="https://ads.pipaffiliates.com/i/7975?c=201497" width="0" height="40" /><img src="//i.imgur.com/KgYx4pH.jpg" width="655" height="40" border=0></a>'+'<br><br>'+DD.innerHTML}for(i=0;100>i;i++){setTimeout('window.scroll(0,"+SS+")',i*10);}}}
else if((ON)&&((0<LH.indexOf('://www.dmm.co.jp/')))&&(!F3)){TV();if((0<LH.indexOf('://www.dmm.co.jp/'))&&((0<LH.indexOf('/mono/dvd/-/detail/=/cid='))||(0<LH.indexOf('/rental/-/detail/=/cid='))||(0<LH.indexOf('/rental/ppr/-/detail/=/cid='))||(0<LH.indexOf('/digital/Xvideoa/-/detail/=/cid='))||(0<LH.indexOf('/digital/Xvideoc/-/detail/=/cid='))||(0<LH.indexOf('/ppm/Xvideo/-/detail/=/cid=')))){SS=0;IT=document.title;IT=IT.substr(0,IT.lastIndexOf(' - '));IT=IT.substr(0,IT.lastIndexOf(' - '));SQ=IT;IX=LH.split('/cid=')[1].split('/')[0];IMG=document.getElementsByTagName('head')[0].innerHTML.split('og:image')[1].split('"')[2].split('/');if('ad'+'ult'==IMG[5]){IMG[6]=(x=IMG[6].split('.')[0])+'/'+x+'ps.jpg'}IX+='/'+IMG[3]+'/'+IMG[4]+'/'+IMG[5]+'/'+IMG[6].replace('.jpg','');
TC(VL,VT,655);TN('','//18tv.x.fc2.com/?litevideo/-/detail/=/cid=','/18TV','//pics.dmm.co.jp/','.jpg');TG(SQ,0,0,12);if(0<LH.indexOf('/ppm/Xvideo/-/detail/=/cid=')){idx='Xrecommend_all'}else{idx='sample-image-block'}if(DD=document.getElementById(idx)){DD.innerHTML='<br>'+DX+'<a onclick=window.open(\'https://clicks.pipaffiliates.com/c?m=7975&c=201497\',\'_blank\'); oncontextmenu=return(false);><img src="https://ads.pipaffiliates.com/i/7975?c=201497" width="0" height="40" /><img src="//i.imgur.com/KgYx4pH.jpg" width="655" height="40" border=0></a>'+'<br><br>'+DD.innerHTML};for(i=0;100>i;i++){setTimeout('window.scroll(0,"+SS+")',i*10);}}}
else if((ON)&&((0<LH.indexOf('://www.dmm.com/')))&&(!F3)){TV();if((0<LH.indexOf('://www.dmm.com/'))&&(0<LH.indexOf('/digital/idol/-/detail/=/cid='))){SS=0;IT=document.title;IT=IT.substr(0,IT.lastIndexOf(']'));IT=IT.substr(IT.indexOf('[')+1);SQ=IT;IX=LH.split('/cid=')[1].split('/')[0];IMG=document.getElementsByTagName('head')[0].innerHTML.split('og:image')[1].split('"')[2].split('/');if('ad'+'ult'==IMG[5]){IMG[6]=(x=IMG[6].split('.')[0])+'/'+x+'ps.jpg'}IX+='/'+IMG[3]+'/'+IMG[4]+'/'+IMG[5]+'/'+IMG[6].replace('.jpg','');
TC(VL,VT,655);TN('','//18tv.x.fc2.com/?digital/idol/-/detail/=/cid=','/18tv','//pics.dmm.com/','.jpg');TG(SQ,0,0,12);if(DD=document.getElementById('sample-image-block')){DD.innerHTML='<br>'+DX+'<a onclick=window.open(\'https://clicks.pipaffiliates.com/c?m=7975&c=201497\',\'_blank\'); oncontextmenu=return(false);><img src="https://ads.pipaffiliates.com/i/7975?c=201497" width="0" height="40" /><img src="//i.imgur.com/KgYx4pH.jpg" width="655" height="40" border=0></a>'+'<br><br>'+DD.innerHTML}for(i=0;100>i;i++){setTimeout('window.scroll(0,"+SS+")',i*10);}}}
else if((ON)&&(0<LH.indexOf('://xhamster.com/'))&&(!F3)){if(0<LH.indexOf('/movies/')){LH=LH.replace('#','/#');SS=0;IT=LH.split('.htm').join('/').split('/')[5].split('_').join(' ');SQ=IT;IX=LH.split('/')[4];
TC(VL,VT,628);TN('','//18tv.x.fc2.com/?movies/','/18TV','//ut18.xhcdn.com/t/','.jpg');TG(SQ,0,0,12);if(DD=document.getElementById('playerSwf')){DD.innerHTML+='<style>#playerSwf{height:'+(585+N*38.5/10)+'px !important;}#YouTraceX_table{background:black !important;z-index:3 !important;}</style>'+DX;}for(i=0;100>i;i++){setTimeout('window.scroll(0,"+SS+")',i*10);}}}
else if((OFF)&&(0<LH.indexOf('://www.cliphunter.com/'))&&(!F3)){TV();if(0<LH.indexOf('/w/')){LH=LH.replace('#','/#');SS=0;IT=document.title;IT=IT.substr(0,IT.lastIndexOf(' - '));SQ=IT;IX=LH.split('/w/')[1].split('/')[0];VKEY=IX;if(0<LH.indexOf('pi=')){IX+=' '+LH.split('pi=')[1];}IMG=mov_thumb.split('//')[1].replace('.jpg','');IX+='/'+IMG.split('_').join('---').split('.').join('_').split('/').join('__');
TC(VL,VT,720);TN('','//www.cliphunter.com/w/','','//','.jpg');TG(SQ,0,0,12);if(DD=document.getElementById('ad')){DD.innerHTML='<table><tr><td><style>a{text-decoration:none !important;}a:hover{text-decoration:underline !important;}img{max-width:none !important;vertical-align:top !important;}#ad{width:1280px !important;text-valign:top !important;}</style>'+DX+'</td><td>'+DD.innerHTML+'</td></tr></table>';}for(i=0;100>i;i++){setTimeout('window.scroll(0,"+SS+")',i*10);}}}
else if((OFF)&&(0<LH.indexOf('://live.nicovideo.jp/'))&&(!F3)){TV();if(LR.match(/:\/\/live\.nicovideo\.jp\/(ranking|search\?)/)){SetCookie('search',LR)}if(LH.match(/:\/\/live\.nicovideo\.jp\/(watch\/\w\w\d+|gate\/\w\w\d+|watch\/nsen\/[\w\-\.]+)/)){if(1<document.getElementsByTagName('head')[0].innerHTML.split('no-cache').length){Zero=0}else{Zero=1}UL='';if((0<LH.indexOf('/nsen/'))&&(1<document.body.innerHTML.split(x='http://live.nicovideo.jp/thumb/').length)){UL='/'+document.body.innerHTML.split(x)[1].split('.jpg')[0];}else if(1<document.getElementsByTagName('head')[0].innerHTML.split(x='http://live.nicovideo.jp/thumb/').length){UL='/'+document.getElementsByTagName('head')[0].innerHTML.split(x)[1].split('.jpg')[0];}
else if(1<document.body.innerHTML.split(x='"http://icon.nimg.jp/channel/s/').length){UL=document.body.innerHTML.split(x)[1].split('"')[0].split('.')[0];}else if((1<document.body.innerHTML.split(x='"http://nl.simg.jp/img/').length)&&(0)){UL=document.body.innerHTML.split(x)[1].split('.jpg')[0].replace('/',':').replace('.',':');}else if(1<document.body.innerHTML.split(x='"http://ch.nicovideo.jp/channel/').length){UL=document.body.innerHTML.split(x)[1].split('"')[0]}else if(1<(dh=document.getElementsByTagName('head')[0].innerHTML).split(x='"http://icon.nimg.jp/community/').length){UL=dh.split(x)[1].split('"')[0].split('/')[1].split('.')[0]}else if(1<(dh=document.body.innerHTML).split(x='"http://icon.nimg.jp/community/').length){UL=dh.split(x)[1].split('"')[0].split('/')[2].split('.')[0]}
else if((0>LH.indexOf('/nsen/'))&&(1<document.getElementsByTagName('head')[0].innerHTML.split(x='http://live.nicovideo.jp/thumb/').length)){UL+='/'+document.getElementsByTagName('head')[0].innerHTML.split(x)[1].split('.jpg')[0];}else if(1<document.getElementsByTagName('head')[0].innerHTML.split(x='"http://nl.simg.jp/img/').length){UL='/'+document.getElementsByTagName('head')[0].innerHTML.split(x)[1].split('.jpg')[0].replace('/',':').replace('.',':')}else if(1<document.body.innerHTML.split(x='"http://nl.simg.jp/img/').length){UL+='/'+document.body.innerHTML.split(x)[1].split('.jpg')[0].replace('/',':').replace('.',':');}else if(1<document.body.innerHTML.split(x='http://live.nicovideo.jp/thumb/').length){UL+='/'+document.body.innerHTML.split(x)[1].split('.jpg')[0];}if(1){
SS='(document.getElementById("livetags").offsetTop-36)';IT=document.title.substr(0,document.title.lastIndexOf(' - '));SQ=IT;IX=LH.split('?').join('/').split('/')[4].substr(0,11);if('nsen'==IX){IX+='/'+LH.split('?').join('/').split('/')[5].substr(0,11)}if(0==UL.indexOf(IX)){IX=''}else{IX+='/'}IX+=UL.substr(0,36);IX=IX.replace('//','/');IX=IX.split('body')[0]; CO='';if((0<=('/'+IX).indexOf('/co'))||(0<=('/'+IX).indexOf('/lv'))||(1<document.body.innerHTML.split('【会場のご案内】').length)){SS='(document.getElementById("livetags").offsetTop-287)';if(0<=('/'+IX).indexOf('/co')){co='co'+('/'+IX).split('/co')[1].split('/')[0];if(0<IX.indexOf('/co')){IX=IX.replace(/(lv\d+\/co)/,'co');}
if((1<document.body.innerHTML.split('このコミュニティのメンバーです。').length)||(1<document.body.innerHTML.split('joined').length)){HASH='#ニコ生';CO='<a target=_blank href=//com.nicovideo.jp/leave/'+co+' title=Community>Community Joined</a>'}else{CO='<a target=_blank href=//com.nicovideo.jp/motion/'+co+' title=Community>Community Join</a>'};CO+='   <a target=_blank href=//com.nicovideo.jp/community title=Community>Community</a><br><br><br>';at=document.getElementsByTagName('span');for(i=at.length-1;0<=i;i--){a=at[i];if(0<a.innerHTML.indexOf('コメント通報')){a.innerHTML+='   '+CO.split('<br>').join('');CO='';SS='(document.getElementById("livetags").offsetTop-36)';break}}}}IT+=(' '+HASH);IX=IX.replace('//','/').replace(/(\/+)$/img,'');if(CO.length){if(document.getElementById(DDid='watch_player_bottom_box')){
CO=ifaddelse((1<document.body.innerHTML.split('このコミュニティのメンバーです。').length),'<span style=position:relative;left:430px;top:-32px;>','<span style=position:relative;left:570px;top:-32px;>')+CO.split('<br>').join('')+'</span>'}else{CO='<span style=position:relative;left:20px;>'+CO+'</span>'}}
RS='<embed style=z-index:2;position:absolute;top:23px;left:695px; src=http://costime.jp/costime_bp2.swf?fm=&cdn=&cdy=2010&cdm=1&cdd=1&cosid= scale=exactfit quality=high wmode=transparent bgcolor=#ffffff width=150 height=310 name=costime_bp align= type=application/x-shockwave-flash pluginspage=http://www.macromedia.com/go/getflashplayer flashvars=fm=&cdn=&cdy=2010&cdm=1&cdd=1cosid=></embed>';if(Zero){SS='(document.getElementById("watch_title_box").offsetTop-35)';}
TC(VL,VT,620);TN('','//live.nicovideo.jp/watch/','','//','.jpg');TG(SQ,10,0,12);TS(SS,'',5000,975,'//live.nicovideo.jp/ranking');if((document.getElementById(DDid='player_btm'))||(document.getElementById(DDid='gate'))||(document.getElementById(DDid='watch_player_bottom_box'))){
AddElementID(CO+'<style>div#live_header,div#Xwatch_title_box,div.headerInner{display:none !important;}table{background:white !important}</style><center><table width=975><tr><td width=620>'+DX+'</td><td width=355 align=center valign=top>'+ifaddstr((0==Zero),RS)+'</td></tr><tr><td colspan=2>'+DZ+'</td></tr></table>',DDid);WaitTime*=1.5;}}}else if(document.referrer.match(/\/\/\w*\.?nicovideo\.jp\//)){at=document.getElementsByTagName('a');for(i=0;at.length>i;i++){a=at[i];if(a.href.match(/(watch\/\w\w\d+\?|\/searchresult\?v=\w\w\d+&)/)){a.target=_Target}}}}else if((1)&&(0<LH.indexOf('://com.nicovideo.jp/motion/co'))&&(!F3)){if((1<document.body.innerHTML.split('すでに登録しています。').length)||(1<document.body.innerHTML.split('joined').length)){window.open(LH.replace('/motion/','/leave/'),'_top')}}
}if(1<(''+SS).length){for(i=0;WaitTime/WaitReso>i;i++){setTimeout("window.scroll(0,"+SS+");",i*1000/WaitReso)}}}VHS=3000;function TOP(){if(SX){if(location.href.match(/(search|results\?|artist\?)/)){return(0)}else{return(1)}}else{if(top.location!=this.location){return(0)}else{return(1)}}}function GyaoURL(url){x=(url.split(':').join('/').split('&').join('/')+'/////').split('/');x[1]=('v'+x[1]).replace('vv','v');z=x[0]+'/'+x[1]+'/'+x[2].substr(0,6)+('00000000000000'.substr(x[2].length-7))+x[2].substr(7)+'/';if(x[3]){z+='?list_id='+x[3]}else{z+='?list_id='};return(z)}
function YoutURL(url){z=(url+':').split(':');if(10<z[0].length){if(32==z[1].length){z[1]='&list=ML'+z[1]}else if(16==z[1].length){z[1]='&list=PL'+z[1]}else if(11==z[1].length){z[1]='&list=FL'+z[1]}else if(5<z[1].length){z[1]='&list='+z[1]}else if(z[1].match(/\d+/)){z[1]='&start='+z[1]}else if(0<z[1].length){z[1]='&list='+z[1]};z=z[0]+z[1];}else{z=url}return(z)}
function ConvURL(){UL='';DMN='';GU=IX[0];GN=GU;if(0==p){if(IX[0].match(/:(diary|media):/)){DMN='//zoome.jp/';if(IX[0].match(/:(media):/)){DMN='//circle.zoome.jp/'}GU=IX[0].replace(/(:)/g,'\/');IX[0]=GU}else if(LH.match(/:\/\/www\.vimeo\.com\//)){GU=IX[0].substr(0,(IX[0]+':').indexOf(':'));GN=DG.substr(2);if(IX[0].length>GU.length){GN=IX[0].substr(GU.length+1).split(':').join('/').split('I').join('.').replace('X','_100x').replace('A','.amazonaws.com').replace('B','b.vimeocdn.com').replace('V','.vimeo.com').replace('S','/vimeo/assets/images/smoke.png');if((0>GN.indexOf('_100x'))&&(0>GN.indexOf('-'))&&(0>GN.indexOf('.png'))){GN+='_100'}if(GN.match(/\.(png|gif|jpeg)/ig)){GN=DG.substr(2).replace('.jpg','')}}IX[0]=GU}
else if(LH.match(/:\/\/\w*\.?videosurf\.com\//)){GU=IX[0].substr(0,(IX[0]+':').indexOf(':'));GN=IX[0].substr(GU.length+1).split(':').join('/').split('==').join('.').replace('=5=','/video_image_').replace('=4=','.vo.llnwd.net/').replace('=3=','jpeg_preview_large.jpg').replace('=2=','.static.dailymotion.com/static/video/').replace('=1=','.ytimg.com/vi/').replace('=0=','/default.jpg');IX[0]=GU;GU=ifaddstr((0!=GU.indexOf('/')),'video/')+ifaddstr((0==GU.indexOf('/')),'evideo')+GU;if(0>GU.indexOf('evideo/2_')){IX[0]=GU.substr(GU.replace('/','_').lastIndexOf('_')+1);}else{GN='i.ytimg.com/vi/'+IX[0].substr(3)+'/default.jpg'};}else if(LH.match(/:\/\/([\w\-]*\.?livetube\.cc)\//)){c0=':';c1='89ABCDEF';c2='0123456789ABCDEF';
if('2F'==IX[0].substr(0,2)){IX[0]=IX[0].substr(2)}else if((0<=c1.indexOf(IX[0][0]))&&(0<=c2.indexOf(IX[0][1]))&&(c0==IX[0][2])&&(0<=c1.indexOf(IX[0][3]))&&(0<=c2.indexOf(IX[0][4]))&&(c0==IX[0][5])&&(0<=c1.indexOf(IX[0][6]))&&(0<=c2.indexOf(IX[0][7]))){IX[0]=':'+IX[0]}GU=decodeURIComponent(IX[0].split(':').join('%').split('%23').join('%2523'));IX[0]=IX[1].replace(' ','');IX[1]=GU.split('%23').join('#');GN=IX[0]+'.snapshot'}else if((':'!=IX[0][2])&&(':'==IX[0][5])){GN=IX[0].substr((IX[0]+'/').indexOf('/')+1).split('//').join('.').replace('=4=','0000').replace('=5=','00000').replace('=6=','000000').replace('=7=','0000000').replace('=8=','00000000').replace('=9=','000000000').replace('=0=','0000000000').replace('=i=','im_sigg').replace('=r=','---x200-y150-q80/rio/').replace('==','---x200-y150-q80/rio/v/');GU=GyaoURL(IX[0].substr(0,(IX[0]+'/').indexOf('/')));IX[0]=IX[0].replace(/(:)/g,'\/')}if(0<LH.indexOf('://www.youtube.com/')){GU=GU.replace('?t=','&t=').replace(':','?list=');GN=GN.replace(/(:.+)/,'');}
else if(0<LH.indexOf('://www.at-douga.com/')){GU=IX[0].split('/')[0];GN=IX[0].split('/')[1];GU+='='+GN}else if(0<LH.indexOf('://video.fc2.com/')){GU=IX[0].split('/')[0].replace(/(\?)(\d+)$/img,'&$2');GN=IX[0].split('/')[1].replace(/(\=)/img,'.')+'/up/pic/'+GU.substr(0,6)+'/'+GU.substr(6,2)+'/'+GU.substr(14,1)+'/'+GU.substr(15,1)+'/'+GU.split('?')[0].split('&')[0];GNfc2=(GN.match(/(\d+)/)[0]);}else if(0<LH.indexOf('://crulog.net/')){GU=IX[0].split('/')[0];GN='crulog.net/image/thumb/'+GU+'.jpg';if(1<IX[0].split('/').length){RG=IX[0].split('/')[1];RG='http://icon.nimg.jp/community/'+RG.substr(2,RG.length-6)+'/'+RG+'.jpg';if(0==GU.indexOf('co')){GN=RG.substr(7)}}if(IX[0].match(/co\d+$/)){UL=' <a style=font-size:7.2pt;color:green; target=_top href=http://crulog.net/watch/'+(U=IX[0].substr(IX[0].lastIndexOf('co')))+'>'+''+'</a>'+' <a style=font-size:7.2pt;color:red; target=_top href='+(U='http://live.nicovideo.jp/watch/'+U)+'>'+U+'</a>'}}
else if(0<LH.indexOf('://www.nikkei.com/video/')){GU=IX[0].split('/')[0].split('____').join('.').split('___').join('/').split('__').join(',').replace('?&','?');GN=(IX[0]+'/').split('/')[1].split('____').join('.').split('___').join('/').split('__').join(',')}else if(0<LH.indexOf('://www.ustream.tv/')){GU=IX[0].split('/')[0].replace('___','/').split('__').join('%');GN=(IX[0]+'/').split('/')[1].split('____').join('.').split('___').join('/').split('__').join(',');}
else if(0<LH.indexOf('://xhamster.com/movies/')){GU=IX[0];GN=GU.substr(GU.length-3)+'/1_'+GU}else if(0<LH.indexOf('://www.cliphunter.com/w/')){GU=IX[0].split('/')[0].replace(/(\ |\-|\:)/,'#pi=');GN=(IX[0]+'/').split('/')[1].split('__').join('/').split('_').join('.').split('---').join('_');}else if(0<LH.indexOf('://www.pornhub.com/view_video.php?')){GU=IX[0].split('/')[0].replace('-','&pkey=');GN=(IX[0]+'/').split('/')[1].split('__').join('/').split('_').join('.').split('---').join('_');}else if(0<LH.indexOf('://ero-video.net/movie/?mcd=')){GU=IX[0].split('/')[0];GN=IX[0].substr(GU.length+1).split('___').join('.');GU+='&'+GN;}
else if(0<LH.indexOf('://www.dmm.co.jp/litevideo/-/detail/=/cid=')){if(2==IX[0].split('/').length){IX[0]=IX[0].replace('/','/digital/video/')}GU=IX[0].split('/')[0];GN=IX[0].split('/')[3];GN=IX[0].split('/')[1]+'/'+IX[0].split('/')[2]+'/'+GN+'/'+GN+'pl.jpg';if(0<=GN.indexOf('digital/amateur/')){GN=GN.replace('pl.jpg','js.jpg')}if(''!=(IX[0]+'/////').split('/')[4]){GN=IX[0].substr(IX[0].indexOf('/')+1)+'.jpg';}GN=GN.replace('.jpg','')}else if(0<LH.indexOf('://www.dmm.com/digital/idol/-/detail/=/cid=')){if(2==IX[0].split('/').length){IX[0]=IX[0].replace('/','/digital/video/')}GU=IX[0].split('/')[0];GN=IX[0].split('/')[3];GN=IX[0].split('/')[1]+'/'+IX[0].split('/')[2]+'/'+GN+'/'+GN+'pl.jpg';if(0<=GN.indexOf('digital/amateur/')){GN=GN.replace('pl.jpg','js.jpg')}if(''!=(IX[0]+'/////').split('/')[4]){GN=IX[0].substr(IX[0].indexOf('/')+1)+'.jpg';}GN=GN.replace('.jpg','')}
else if((0<LH.indexOf('://www.dmm.co.jp/mono/dvd/-/detail/=/cid='))||(0<LH.indexOf('://www.dmm.co.jp/rental/-/detail/=/cid='))||(0<LH.indexOf('://www.dmm.co.jp/rental/ppr/-/detail/=/cid='))||(0<LH.indexOf('://www.dmm.co.jp/digital/videoa/-/detail/=/cid='))||(0<LH.indexOf('://www.dmm.co.jp/digital/videoc/-/detail/=/cid='))||(0<LH.indexOf('/ppm/video/-/detail/=/cid='))){if(2==IX[0].split('/').length){IX[0]=IX[0].replace('/','/digital/video/')}GU=IX[0].split('/')[0];GN=IX[0].split('/')[3];GN=IX[0].split('/')[1]+'/'+IX[0].split('/')[2]+'/'+GN+'/'+GN+'pl.jpg';if(0<=GN.indexOf('digital/amateur/')){GN=GN.replace('pl.jpg','js.jpg')}if(''!=(IX[0]+'/////').split('/')[4]){GN=IX[0].substr(IX[0].indexOf('/')+1)+'.jpg';}GN=GN.replace('.jpg','')}
else if(LH.match(/:\/\/live\.nicovideo\.jp\/(watch\/|gate\/)/)){IX[0]=IX[0].split('<')[0].replace(/([^0-9a-zA-Z\/\:]+)/img,'');if(0<IX[0].indexOf('/co')){IX[0]=IX[0].replace(/(lv\d+\/co)/,'co')+'/'+IX[0].replace(/(\/lv\d+)$/,'')}GU=IX[0];if(3<=IX[0].split('/').length){GN=IX[0].split('/')[2];if(0<GN.indexOf(':')){GN='nl.simg.jp/img/'+GN.replace(':','/').replace(':','.')}else{GN='live.nicovideo.jp/thumb/'+GN}}else{GN=IX[0];if(1==GN.split('/').length){GN+='/'+GN}if(0==GN.indexOf('co')){GN=GN.replace(/(\/lv\d+)/,'');GN+='/'+GN}GN=GN.split('/')[1];if(0==GN.indexOf('co')){GN=GN.substr(0,(GN+'/').indexOf('/'));GN='icon.nimg.jp/community/'+GN.substr(2,GN.length-6)+'/'+GN}else if(0==GN.indexOf('ch')){GN='icon.nimg.jp/channel/'+GN}
else if(0<GN.indexOf(':')){GN='nl.simg.jp/img/'+GN.replace(':','/').replace(':','.')}else{GN='live.nicovideo.jp/thumb/'+GN}}if(GU.match(/^co\d+$/)){UL=' <a style=font-size:7.2pt;color:green; target=_top href=http://live.nicovideo.jp/watch/'+GU+'>'+''+'</a>'+' <a style=font-size:7.2pt;color:red; target=_top href='+(U='http://crulog.net/watch/'+GU)+'>'+U+'</a>'}}else if(LH.match(/:\/\/duga\.jp\//)){GU=IX[0];GN=GU.replace('-','/');RGX='//pic.duga.jp/unsecure/'+GN+'/noauth/240x180.jpg';}else if(LH.match(/:\/\/www\.gachinco\.com\//)){GU=IX[0];if('g'==GU[0]){GN=GU+'/'+GU;}else{GN='gachippv'+GU+'/gachippv'+GU;}RGX='//'+LH.split('/')[2]+'/guests/'+GN+'_main.jpg';}else if(0<LH.indexOf('://lolita-teen.jp/')){GU=IX[0];GN=GU.substr(GU.lastIndexOf('/')+1);GN+='/'+GN;}
else if(0<LH.indexOf('://www.mgstage.jp/')){GU=IX[0].split('=')[0];GN=IX[0].substr(GU.length+1).replace('/pb_e_','/pf_o1_');}else if(0<LH.indexOf('://www.mgstage.com/')){GU=IX[0].split('=')[0];GN=IX[0].substr(GU.length+1).replace('/pb_e_','/pf_o1_');}else if(LH.match(/:\/\/www\.nicovideo\.jp\/watch\//)){GU=IX[0];if(!GU.split('/')[0].match(/^\d+$/)){GN=GU.substr(2)}else{if(1<IX[0].split('/').length){GN=IX[0].split('/')[1].substr(2)}}}else if(LH.match(/:\/\/\w*\.?dailymotion\.com\//)){GU=IX[0].split('/')[0];if(0>GU.indexOf(':')){GU='video/'+GU}else{GU='playlist/'+GU.replace(':','/#video=')}GN=IX[0].split('/')[1]+'/'+IX[0].split('/')[2];}else if(LH.match(/:\/\/www\.gopano\.com\/video\//)){GU=IX[0].split('/')[0];GN=IX[0].split('//').join('.').substr(GU.length+1).replace('=t=','/thumbnail/').replace('==','.cloudfront.net/');}
else if(LH.match(/:\/\/joysound\.com\/ex\/utasuki\/movie\/video\//)){IX[1]=IX[1].split('#').join('#');if(0>IX[1].indexOf(' #うたスキ')){IX[1]+=' #うたスキ'}RG='//pd.joysound.com/thumb_l/'+IX[0]+'-1.jpg'}else if(LH.match(/:\/\/gyao\.yahoo\.co\.jp\//)){;}else {GU=YoutURL(IX[0]);IX[0]=IX[0].replace(/(:)/g,'&');if(0<LH.indexOf('www.youtube.com')){RG='//i.ytimg.com/vi/'+GN+'/0.jpg'}}}GU=GU.replace('/&','/?');if(0<LH.indexOf('://www.caribbeancom')){GN=GN.replace(/^(\w\/)/,'');RGX=('//'+LH.split('/')[2]+'/moviepages/')+GN+('/images/main_b.jpg');}return(DMN+GU)}
function TR(T){if(0<=T){if(0<LH.indexOf('://www.dmm.co.jp/')){u=(location.href.split('?')[0].split('#')[0].replace(/^(https?:\/\/www\.dmm\.co\.jp\/)/,'http://18tv.x.fc2.com/?')).replace('//18TV','/18TV');}else{u=location.href.split('?')[0].split('#')[0];};if(0<T){setTimeout(";window.open('"+u+"','_top');eval('*');",T*1000)}else{window.open(u,'_top');eval('*')}}}
function TV(){if((LH.match(/(youtube\.com\/)/))&&(1)){if(d=document.getElementsByTagName('a')){for(i=0;d.length>i;i++){if((0)&&('#'!=d[i].href)&&(0>d[i].href.indexOf('&index='))){d[i].onclick='javascript:window.open(\''+d[i].href+'\',\''+'_self'+'\');'}}}}else if(LH.match(/(dmm\.co\.jp\/)/)){if(d=document.getElementsByTagName('a')){for(i=0;d.length>i;i++){if((0>d[i].href.indexOf('#'))&&(0>d[i].href.indexOf('_htm'))&&(0<d[i].href.indexOf('://www.dmm.co.jp/'))){d[i].href=(d[i].href.split('?')[0].replace('://www.dmm.co.jp/','://18tv.x.fc2.com/?')+'/18TV').replace(/(\/+18TV)$/,'/18TV').replace('?/18TV','?top/18TV');}}}}else if(LH.match(/(dmm\.com\/)/)){if(d=document.getElementsByTagName('a')){for(i=0;d.length>i;i++){if((0>d[i].href.indexOf('#'))&&(0<d[i].href.indexOf('://www.dmm.com/'))){d[i].href=(d[i].href.split('?')[0].replace('://www.dmm.com/','://18tv.x.fc2.com/?')+'/18TV').replace(/(\/+18TV)$/,'/18tv').replace('?/18tv','?top/18tv');}}}};;}
function TC(VL,LL,IL){TWidth=IL;if(0){setTimeout("document.title=\""+IT.split('"').join('”')+"\"+' - '+location.host;",100);}if(LH.match(/:\/\/([\w\-]*\.?livetube\.cc)\//)){IX=IX.split('!').join('%21').split('"').join('%22').split('#').join('%23').split('$').join('%24').split('&').join('%26').split("'").join('%27').split('(').join('%28').split(')').join('%29').split('*').join('%2A').split('+').join('%2B').split(',').join('%2C').split('-').join('%2D').split('.').join('%2E').split('/').join('%2F').split(':').join('%3A').split(';').join('%3B').split('<').join('%3C').split('=').join('%3C').split('>').join('%3E').split('?').join('%3F').split('@').join('%40').split('[').join('%5B').split('\\').join('%5C').split(']').join('%5D').split('^').join('%5E').split('`').join('%60').split('{').join('%7B').split('|').join('%7C').split('}').join('%7D').split('~').join('%7E').replace(/(%)/g,' ');if(' '==IX[0]){IX=IX.substr(1)};IT=CD}
LT=VT;IX=IX.replace(/([ \w:\-\/\?\=]+)(.*)/,'$1').replace('::','');VideoID=IX;X='@';XX=X+X;if(''==IT){IT=' '}IT=IT.replace(/([A-Za-z0-9_])/g,function($0){return(String.fromCharCode($0.charCodeAt(0)-65248))});IT=IT.split('@').join('@').split('"').join('”').split("'").join("’").split("`").join("‘").split('#').join('#').split('\\').join('¥').replace(/([  ]+)/g,' ');IT=IT.replace(/( *)([\[\{\(\〔\[\{\(\《\【\『\「])( *)/g,' $2 ').replace(/( *)([\]\}\)\〕\]\}\)\》\】\』\」\,\.])( *)/g,' $2 ').replace(/( *)([,.、。・])( *)/g,' $2 ');IT=IX.replace(/(:)/g,' ')+X+IT.substr(0,LL);;;GC=GetCookie('index');DEF=GetCookie('delete');SetCookie('delete','@');if((DEF)&&('@'!=DEF)){def=0;def=parseInt(DEF.substr(1));for(i=0;def>=i;i++){GC=GC.substr((GC+XX).indexOf(XX,1))}DEF=''}if(''==GC){IT=XX+IT}else{GX=XX+IX+X;for(i=0;3>i;i++){if(''==GC){break}else{if(1==i){GX=GX.replace(/(:)/g,' ')}else if(2==i){if((0>GX.indexOf(' '))){break}else{GX=GX.substr(0,(GX+' ').indexOf(' '))+X}}}if(0<=GC.indexOf(GX)){GE=GC.substr(GC.indexOf(GX)+GX.length);GE=GE.substr((GE+XX).indexOf(XX));GC=GC.substr(0,GC.indexOf(GX))+GE}if(2==i){GCN=GC.split('@@');for(ix=0;GCN.length>ix;ix++){if(0==GCN[ix].indexOf(GX.substr(2,11))){GCN[ix]=' ';}}GC=GCN.join('@@').replace(/(^ @@|@@ @@|@@ $)/img,'@@');};}VideoNG=0;if(((LH.match(/:\/\/www\.youtube\.com\//))&&(IT.match(/^(YouTube)$/)))||((LH.match(/:\/\/live\.nicovideo\.jp\/watch\/lv/))&&(document.title.match(/(メンテナンス|Maintenance)/img)))||((LH.match(/:\/\/live\.nicovideo\.jp\/watch\/lv/))&&(0<document.getElementsByTagName('html')[0].innerHTML.indexOf('放送者により削除されました')))||((LH.match(/:\/\/gyao\.yahoo\.co\.jp\//))&&(0<document.getElementsByTagName('html')[0].innerHTML.indexOf('指定されたページは存在しません')))||((LH.match(/:\/\/joysound\.com\/ex\/utasuki\/movie\/video\/_mid_/))&&(0<document.getElementsByTagName('html')[0].innerHTML.indexOf('エラーが発生もしくはページが存在しない')))){
IT=GC;VideoNG=1;}else{IT=XX+IT+GC}}XC=IT.split(XX);if((1110)<XC.length-1){IT=IT.substr(0,IT.lastIndexOf(XX))}for(l=0;(1110)>l;l++){if(VHS>SetCookie('index',IT)){break}else{IT=IT.substr(0,IT.lastIndexOf(XX))}}IT=GetCookie('index').split('@@ ').join('@@');IT=IT.replace(/( *)([\[\{\(\〔\[\{\(\《\【\『\「])( *)/g,' $2').replace(/( *)([\]\}\)\〕\]\}\)\》\】\』\」\,\.])( *)/g,'$2 ').replace(/( *)(,.、。・])( *)/g,'$2').split(XX);H=Math.max(30,IL*9/16/10);N=Math.min(Math.min(VL,IT.length-1)+9,LT);N=N-N%10;return(IT)}
function TN(tStyle,tURL,tURL2,gURL,gURL2){UL='';trh=52;GNfc2='';VNM=0;VML=VideoMode.length;tWidth=TWidth;XV='';LC=8;if(OP*VML){LC=6}if(0<LH.indexOf('zoome.')){LC=9}AS=9;if(LH.match(/(zoome|himado|rayrac|jbbs\.livedoor|ameba)\./)){AS=10}PT=9;SN='<meta http-equiv="Pragma" content="no-cache"><meta http-equiv="Cache-Control" content="no-cache"><style>.highlight:hover{filter:alpha(opacity=99);-moz-opacity:0.99;opacity:0.99!important;}</style>';
SN+='<style>body{-ms-overflow-style:none!important;}</style><style>::-webkit-scrollbar{display:none!important;}</style><style>ytd-compact-video-renderer #video-title.ytd-compact-video-renderer,#video-title.ytd-playlist-panel-video-renderer{font-size:var(--yt-link-font-size, 1.2rem)!important;}</style><style>.--ytd-watch-flexy-panel-height,.--ytd-watch-flexy-panel-min-height,.--ytd-watch-flexy-panel-max-height{height:1080px!important;}</style>';
SN+='<style>div.ytp-spinner-dot{display:none !important;}*{font-family:"Meiryo UI","メイリオ",Meiryo,"MS Pゴシック","MS PGothic","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro W3",Osaka,sans-serif !important}input{box-sizing:inherit !important;}div#TraceThumb > table > tbody > tr > td > div > strong >a{display:none !important}input[type="text"]{max-height:20px !important;}div#TraceListTable > table > tbody > tr > td{line-height:90% !important;padding:0px !important;margin:0px !important;}div#TraceListTable > table > tbody > tr:hover > td > span > a > b > img{height:72px !important;}div#TraceListTable > table > tbody > tr:hover{background:#D1E1FA !important;}input{height:24px !important;font-size:10pt !important;}td{vertical-align:middle !important}</style>';g=0;if((ON)||(0<gURL.length)){g=1}p=0;q=0;if((OFF)||((0<VN)&&((VD)&&(0<gURL.length)))){H=Math.floor(H);W=Math.floor(tWidth/10);
SN+='<input style=z-index:1;position:relative;right:'+(SB+1)+'px;bottom:0px;width:'+(18*(0<LH.indexOf('://www.nikkei.com/video/'))+15*(0<LH.indexOf('://gyao.yahoo.co.jp/'))+8*(0<LH.indexOf('://video.fc2.com/'))-16+tWidth)+'px; type=button value="Video Trace Thumb #'+Channel()+'" onFocus=this.blur() onClick="'+"if(d=document.getElementById('TraceThumb')){with(d){if(0>style.display.indexOf('none')){style.display='none'}else{style.display=''}}}"+'"><br>';if(0<LH.indexOf('youtube.com/')){SN+='<style>div#comments-view > div > ul > li >  strong > a,div#playlist-bar-tray-content > ol > li > strong > a{height:12px !important;width:30px !important}div#comments-view > div > ul > li >  strong > a:hover,div#playlist-bar-tray-content > ol > li > strong > a:hover{height:23px !important;width:56px !important;text-decoration:underline !important;}</style>'}
SN+='<div id=TraceThumbSW style=display:none;>ON</div><div id=TraceThumb style=width:'+tWidth+'px;display:;>';SN+='<table cellspacing=0 cellpadding=0 width='+tWidth+' style="margin:0px !important;padding:0px !important;background:black;'+tStyle+';border:'+TableColor+' 0px inset">';
SN+='<tr style="width:'+(tWidth)+'px !important;">';for(i=1;((Math.floor(Math.abs(VN+9)/10)*10)>=i)&&(N>=i);i++){XG='';if((1==i%10)&&(10<i)){SN+='</tr><tr style="margin:0px !important;padding:0px !important;">'}if(IT.length>i){IX=(IT[i]+X+' ').split(X);IX[0]=IX[0].replace(/( )/g,':');GU=IX[0];GN=GU;GU=(tURL+ConvURL()+tURL2);GG=(gURL+GN.split('//').join(':')+gURL2).replace(/(:[\w\-]+)(\/default\.jpg)$/,'$2').replace('/default.jpg','/mqdefault.jpg').replace('XUCUiv5zd0k/mqdefault.','XUCUiv5zd0k/mqdefault_live.');if(0<='0123456789'.indexOf(GG[0])){GG=RG};TW='http:'+(XG=GU.replace("@","?")).replace('http:http:','http:').replace('?v=','?&v=').replace('?&list_id=','?list_id=').replace('fc2.com/?&','fc2.com/?').replace('?&p=','?p=');
SN+='<td width=36 align=top style="margin:0px !important;padding:0px !important;width:'+Math.floor(tWidth/10)+'px !important;"><div style="margin:0px !important;padding:0px !important;width:'+Math.floor(tWidth/10)+'px !important;">';
SN+="<a style=z-index:9;position:absolute;filter:alpha(opacity=70);-moz-opacity:0.70;opacity:0.70; class=highlight target=_blank onFocus=this.blur(); onclick=thishref='//twitter.com/intent/tweet?text="+encodeURIComponent(IX[1].split('’').join("'").split('【').join('[').split('】').join(']').replace('| FTV. com ','').replace(/(FashionTV)/img,'FashionTV').replace(/([  ]+・[  ]+)/img,'・')+' \n'+ifaddstr((0<lh.indexOf('youtube.com')),TW.replace(/(&hd=\d*)/img,'').replace('&t=','&start=').replace('?list=','?list=')+'')+ifaddstr((0<lh.indexOf('ustream.tv')),TW.replace('www.ustream.tv/recorded/','youtubetv.atspace.cc/?sop:r/')+'&'+GN.split('_')[1]+'')+ifaddstr((0<lh.indexOf('www.nicovideo.jp')),TW.replace(/(\/\d+\/)/img,'/').replace('www.nicovideo.jp/watch/','youtubetv.atspace.cc/?sop:v/')+'')+ifaddstr((0>lh.indexOf('youtube.com'))&&(0>lh.indexOf('ustream.tv'))&&(0>lh.indexOf('nicovideo.jp')),TW)).split("'").join('%27');
SN+='%23'+Channel()+ifaddstr((0>lh.indexOf('youtube.com')),'%0D')+ifaddstr((0<=gURL.indexOf('//')),("'"+'+encodeURIComponent(((document.traceimg'+i+'.src).replace(\'https://\',\'http://\').replace(\'//Xpic.duga.jp/\',\'//18tv.x.fc2.com/?\').replace(\'/jacket.jpg\',\'/jacket_240.jpg\')).replace(/(i\\d*\\.ytimg\\.com\\/vi\\/)([\\w\\-]+)(\\/mqdefault\\.jpg)/,\'youtube.com/embed/$2\').replace(/(https?:\\/\\/youtube\\.com\\/embed\\/[\\w\\-]+$)/,\'\'))+'+"'"))+ifaddstr((OFF)&&((0<lh.indexOf('youtube.com'))||(0<lh.indexOf('ustream.tv'))||(0<lh.indexOf('nicovideo.jp'))),'%20%23YouTubeTV')+'%20'+"';window.open(thishref,'_blank');>";
SN+='<img style="margin:0px !important;width:14px !important;height:14px !important;" width=14 height=14 border=0 align=top src=//twitter-badges.s3.amazonaws.com/t_logo-a.png></a><a'+TGT+'href="'+GU.replace("@","?").replace(/^(\/\/www\.youtube\.com\/watch\?v=)([\w\-]+)(&list=)([\w\-]+)(&hd=\d*)$/,'http://18tv.x.fc2.com/?v/$2&$4/18TV').replace('youtube.com/embed/','youtu.be/')+'" onClick="window.open(\''+GU.replace("@","?").replace(/^(\/\/www\.youtube\.com\/watch\?v=)([\w\-]+)(&list=)([\w\-]+)(&hd=\d*)$/,'http://18tv.x.fc2.com/?v/$2&$4/18TV').replace('youtube.com/embed/','youtu.be/')+'\',\'_top\');"><img style=height:'+H+'px;width:'+W+'px; height='+H+' width='+W+' border=0 title="'+IX[1].split("’").join("\'")+'\n'+TW.replace('//youtu.be/','//youtube.com/embed/').replace('&t=','&start=')+'" alt="'+IX[1].split("’").join("\'")+'" style=font-size:8pt; ';
SN+='';if(0<=p){GN=GN.substr(p,(GN+':').indexOf(':')-p)}SN+=' src='+GG+' onerror=if(0<this.src.indexOf(\'-1.jpg\')){this.src=\''+RG+'\'}else{this.src=\''+RGX+'\'}></a></div></td>'}else{if(1000>=i){SN+='<td style="margin:0px !important;padding:0px !important;width:'+Math.floor(tWidth/10)+'px !important;"><img style=height:'+H+'px;width:'+W+'px; height='+H+' width='+W+' src='+DG+'></td>'}}if((VideoNG)&&(1==i)){setTimeout(";window.open('"+GU.replace("@","?").replace(/^(\/\/www\.youtube\.com\/watch\?v=)([\w\-]+)(&list=)([\w\-]+)(&hd=\d*)$/,'http://18tv.x.fc2.com/?v/$2&$4/18TV').replace('youtube.com/embed/','youtu.be/')+"');",15000);VideoNG=0}}SN+='</tr></table>'+'</div>';}if((!((VD)&&(0<gURL.length)))||(0<VD)){
SN+='<input style=z-index:1;position:relative;right:'+(SB+1)+'px;bottom:0px;width:'+(18*(0<LH.indexOf('://www.nikkei.com/video/'))+15*(0<LH.indexOf('://gyao.yahoo.co.jp/'))+8*(0<LH.indexOf('://video.fc2.com/'))-16+tWidth)+'px; type=button value="Video Trace Table #'+Channel()+'" onFocus=this.blur() onClick="'+"if(d=document.getElementById('TraceListTable')){with(d){if(0>style.display.indexOf('none')){style.display='none';if("+1*(VNL<Math.abs(VN))+"){if(d=document.getElementById('watch7-discussion')){with(d){style.display=''}}}}else{style.display='';if("+1*(VNL<Math.abs(VN))+"){if(d=document.getElementById('watch7-discussion')){with(d){style.display='none'}}}}}}"+'"><br><span id=TraceListTableAdj><div id=TraceListTable style=display:none;>';
SN+='<table cellspacing=0 cellpadding=0 rules=none width='+tWidth+' style="z-index:1;position:relative;right:'+(SB)+'px;'+tStyle+';border:'+TableColor+' 0px inset">';for(i=1;(Math.abs(VN)>=i);i++){XG='';if(IT.length>i){IX=(IT[i]+X+' ').split(X);IX[0]=IX[0].replace(/( )/g,':');GU=IX[0];GN=GU;GU=(tURL+ConvURL()+tURL2);
SN+='<tr bgcolor=white>';GG=(gURL+GN.split('//').join(':')+gURL2).replace(/(:[\w\-]+)(\/default\.jpg)$/,'$2').replace('/default.jpg','/mqdefault.jpg').replace('XUCUiv5zd0k/mqdefault.','XUCUiv5zd0k/mqdefault_live.');if(0<='0123456789'.indexOf(GG[0])){GG=RG}SP='';
SN+='';if(ON+ON<=VD){if(g){SP='<td width=128 style="width:128 !important;background:black;" valign=top align=left><span><a'+TGT+'href="'+GU.replace("@","?").replace(/^(\/\/www\.youtube\.com\/watch\?v=)([\w\-]+)(&list=)([\w\-]+)(&hd=\d*)$/,'http://18tv.x.fc2.com/?v/$2&$4/18TV').replace('youtube.com/embed/','youtu.be/')+'" onClick="window.open(\''+GU.replace("@","?").replace(/^(\/\/www\.youtube\.com\/watch\?v=)([\w\-]+)(&list=)([\w\-]+)(&hd=\d*)$/,'http://18tv.x.fc2.com/?v/$2&$4/18TV').replace('youtube.com/embed/','youtu.be/')+'\',\'_top\');"><b><img name=traceimg'+i+' align=top width=128 style="width:128px !important;height:36px;" border=0 title="" alt="'+IX[1].split("’").join("\'")+'" style=font-size:8pt; ';if(0<=p){GN=GN.substr(p,(GN+':').indexOf(':')-p)}SP+=' src='+GG+' onerror=if(0<this.src.indexOf(\'-1.jpg\')){this.src=\''+RG+'\'}else{this.src=\''+RGX+'\'}></b></a></span></td>';}}
SN+='';IX[1]=IX[1].replace(/(Tiësto)/img,'Tiesto').split(',').join(',').split('.').join('.').replace(/( )(\.|\,|・|。|、)( )/img,'$2').replace(/(\.|\,|・|。|、)( )/img,'$1');SN+=SP;TW='http:'+(XG=GU.replace("@","?")).replace('http:http:','http:').replace('?v=','?&v=').replace('?&list_id=','?list_id=').replace('fc2.com/?&','fc2.com/?').replace('?&p=','?p=');SN+='<td style="width:36px !important;" width=36 align=center>';
SN+="<a style=z-index:9; target=_blank onFocus=this.blur(); onclick=thishref='//twitter.com/intent/tweet?text="+encodeURIComponent(IX[1].split('’').join("'").split('【').join('[').split('】').join(']').replace('| FTV. com ','').replace(/(FashionTV)/img,'FashionTV').replace(/([  ]+・[  ]+)/img,'・')+' \n'+ifaddstr((0<lh.indexOf('youtube.com')),TW.replace(/(&hd=\d*)/img,'').replace('&t=','&start=').replace('?list=','?list=')+'')+ifaddstr((0<lh.indexOf('ustream.tv')),TW.replace('www.ustream.tv/recorded/','youtubetv.atspace.cc/?sop:r/')+'&'+GN.split('_')[1]+'')+ifaddstr((0<lh.indexOf('www.nicovideo.jp')),TW.replace(/(\/\d+\/)/img,'/').replace('www.nicovideo.jp/watch/','youtubetv.atspace.cc/?sop:v/')+'')+ifaddstr((0>lh.indexOf('youtube.com'))&&(0>lh.indexOf('ustream.tv'))&&(0>lh.indexOf('nicovideo.jp')),TW)).split("'").join('%27');
SN+='%23'+Channel()+ifaddstr((0>lh.indexOf('youtube.com')),'%0D')+ifaddstr((0<=gURL.indexOf('//')),("'"+'+encodeURIComponent(((document.traceimg'+i+'.src).replace(\'https://\',\'http://\').replace(\'//Xpic.duga.jp/\',\'//18tv.x.fc2.com/?\').replace(\'/jacket.jpg\',\'/jacket_240.jpg\')).replace(/(i\\d*\\.ytimg\\.com\\/vi\\/)([\\w\\-]+)(\\/mqdefault\\.jpg)/,\'youtube.com/embed/$2\').replace(/(https?:\\/\\/youtube\\.com\\/embed\\/[\\w\\-]+$)/,\'\'))+'+"'"))+ifaddstr((OFF)&&((0<lh.indexOf('youtube.com'))||(0<lh.indexOf('ustream.tv'))||(0<lh.indexOf('nicovideo.jp'))),'%20%23YouTubeTV')+'%20'+"';window.open(thishref,'_blank');>";
SN+='<img style="margin:2px !important;width:30px !important;height:30px !important;" width=30 height=30 border=0 src=//twitter-badges.s3.amazonaws.com/t_logo-a.png></a></td>';SN+='<td align=left><b><font style="text-decoration:none !important;color:'+TitleColor+' !important;font-size:9pt;">'+IX[1].split("’").join("\'")+' </font></b><br><a '+TGT+'style=font-size:10pt;color:'+LinkColor+'; href="'+XG.replace(/^(\/\/www\.youtube\.com\/watch\?v=)([\w\-]+)(&list=)([\w\-]+)(&hd=\d*)$/,'http://18tv.x.fc2.com/?v/$2&$4/18TV').replace('youtube.com/embed/','youtu.be/')+'" onClick="window.open(\''+XG.replace(/^(\/\/www\.youtube\.com\/watch\?v=)([\w\-]+)(&list=)([\w\-]+)(&hd=\d*)$/,'http://18tv.x.fc2.com/?v/$2&$4/18TV').replace('youtube.com/embed/','youtu.be/')+'\',\'_top\');"><font style=font-size:7.2pt;color:blue'+ifaddstr(0,TitleColor)+';>'+('http:'+(XGS=XG.replace('&hd=1',''))).replace('http:http:','http:').replace('//youtu.be/','//youtube.com/embed/').replace('&t=','&start=')+'</font></a>'+UL+'</td>'+ifaddstr(ON+ON+ON<=VD,SP.replace('name=img','name=imgx'))+'</tr>';VNM=i}if((XG)&&(2==i)){XV=XG}if(VideoTimer){LP=Math.min(((VL)),Math.abs(VN));LPT=Math.min(Math.max(VideoTimer,10),999);if((IT.length>i)&&((LP==i)||((LP>i)&&((IT.length-1)==i)))){for(ii=0;10>ii;ii++){setTimeout(";location.replace('"+XG+"');",(LPT+ii+1)*1000)}}}}SN+='</table>'+'</div></span>'}}
function TS(topPos,tStyle,fHeight,fWidth,biginGC){return('');GC=GetCookie('search');if(''==GC){GC=biginGC}if((0<LH.indexOf('://jbbs.livedoor.jp/'))&&(0<GC.indexOf('q='))){RK=GC.substr(GC.indexOf('&ranking=')+9);RK=RK.substr(0,(RK+'&').indexOf('&'));GC=GC.substr(GC.indexOf('q=')+2);GC=GC.substr(0,(GC+'&').indexOf('&'));GC='//www.fooooo.com/search.php?s=nicovideo&q='+GC+'&yo=&m=&g=&recent=&ranking='+RK}
XX='<iframe style=z-index:1;'+tStyle+' height=3725 '+(fHeight)+' width='+(fWidth)+'  marginwidth=0 marginheight=0 frameborder=0 allowtransparency=true scrolling=no src='+GC+'></iframe>';w=fWidth;p='center';if(('100%'==fWidth)||(800<=fWidth)){}else{w='500';p='right'}DZ='<Table style=max-width:960; width='+w+' height=100 cellspacing=0 cellpadding=0 border=0><tr><td valign=middle align='+p+'>'+ifaddstr((0<LH.indexOf('myspace')),mpxstr(60,' '))+'<input '+ifaddstr(Zero,' style=position:relative;left:440px; ')+' type=button onFocus=this.blur() value="   TOP   " onClick=javascript:window.scroll(0,'+topPos+')>'+TBE;DZ+=XX+DZ;return(DZ)}
function TG(SQ,XF,LF,CS){ajh=0;DZ='';WI=TWidth;XS=ON;XF=-8;x='+';SQ=SQ.split('"').join('”').split("'").join('’').split("`").join('`');VideoTitle=SQ;SQ=SQ.replace(/(\w)(\W)/g,'$1 $2').replace(/(\W)(\w)/g,'$1 $2').replace(/([A-Za-z0-9_])/g,function($0){return(String.fromCharCode($0.charCodeAt(0)-65248))}).replace(/([^A-Za-z0-9々ー〆ゝゞΑ-яぁ-ヶヽ-龠☆★])/g,x);SQ=(x+SQ+x).replace(/([\+].[\+])/g,x).replace(/([\+]+)/g,x);SQ=(SQ+'+++++').split(x);SQ=(x+SQ[0]+x+SQ[1]+x+SQ[2]+x+SQ[3]+x).replace(/([\+]+)/g,x);if(x==SQ[0]){SQ=SQ.substr(1)}if(x==SQ[SQ.length-1]){SQ=SQ.substr(0,SQ.length-1)}SQ=SQ.split(x);for(i=1;SQ.length>i;i++){if(SQ[0].length<SQ[i].length){SQ[0]=SQ[i]}}SQ=encodeURIComponent(SQ[0]).split('%2B').join(x);DX='';DU='<a onFocus=this.blur() href=javascript:; onClick=window.scroll(0,'+SS+'); style=z-index:1;font-size:9pt;color:blue;'+hl+'><font color=blue>'+YU+'</font></a>';
DX+=ifaddstr(VideoMode,VideoMode.replace('style=','style=position:relative;left:150px;bottom:0px;'))+'<style>input,td{line-height:140%;font-family:Meiryo !important}</style><meta http-equiv="Pragma" content="no-cache"><meta http-equiv="Cache-Control" content="no-cache">';newurl=(location.href.replace(/(&t=0$)/,'').replace(/(&feature=[\w\-\.]*|&start_radio=\d*|&index=\d*)/img,''));if(location.href.match(/(\.youtube\.com\/watch\?list=)/)){newurl=(newurl.replace(/(list=[\w\-]+&)/,'')+'&'+newurl.match(/(list=[\w\-]+)/,'')[0]).replace(/(&+)/img,'&');};DX+='<a style=font-size:10pt;color:skyBlue; href="'+(newurl)+'">'+(newurl)+'</a> <br>';
DX+='<table id="YouTraceX_table" style="z-index:1;position:relative;padding:0px !important;" width='+WI+' height='+VH+' cellspacing=0 cellpadding=0 border=0><tr><td style="padding:0px !important;" valign=top align=left>'+'<table width='+WI+' height='+VH+' cellspacing=0 cellpadding=0 border=0 style="position:relative;right:'+(LF)+'px;'+ifaddstr(VideoMode,'bottom:0px;')+'padding:0px !important;"><tr><td style="padding:0px !important;" width=30 align=left>'+DU+'</td>';tb=' target=_top ';st=hl+' style=color:blue;font-weight:500;font-size:11px; ';
DX+='<td style="padding:0px !important;" width='+Math.floor(WI/10/7*2)+' align=left nowrap><a href=javascript:; onClick="'+"XV='"+XV+"';if(XV){if(1){if(localStorage){localStorage['YouTraceX_'+'"+Channel()+"'+'delete']='X0'}}else{myDay=Math.floor(100*365.25+1);myExp=new Date();myExp.setTime(myExp.getTime()+(myDay*24*60*60*1000));myItem='YouTraceX_'+'delete=X0;';myDomain='domain=.'+location.href.split('/')[2].replace(/(\\w*\\.?)([\\w\\-]+\\.)([a-z]{2}\\.[a-z]{2}|[a-z]{2,4})$/,'$2$3')+';';myExpires='path=/;expires='+myExp.toGMTString()+';';if(0>myDomain.indexOf('=.youtube.com;')){myItem+=myDomain}myItem+=myExpires;document.cookie=myItem}}else{XV=location.href}location.replace(XV.replace('youtube.com/embed/','youtu.be/'));"+'" style=position:relative;left:'+XF+'px;font-size:11px; title="IndeX0 VideoHistory Delete"'+hl+'><font color=blue>X0</font></a></td>';
DX+='<td style="padding:0px !important;" width='+Math.floor(WI/10/7*2)+' align=left nowrap><a href=javascript:; onClick="'+"XV='"+XV+"';if(XV){if(1){if(localStorage){localStorage['YouTraceX_'+'"+Channel()+"'+'delete']='X1'}}else{myDay=Math.floor(100*365.25+1);myExp=new Date();myExp.setTime(myExp.getTime()+(myDay*24*60*60*1000));myItem='YouTraceX_'+'delete=X1;';myDomain='domain=.'+location.href.split('/')[2].replace(/(\\w*\\.?)([\\w\\-]+\\.)([a-z]{2}\\.[a-z]{2}|[a-z]{2,4})$/,'$2$3')+';';myExpires='path=/;expires='+myExp.toGMTString()+';';if(0>myDomain.indexOf('=.youtube.com;')){myItem+=myDomain}myItem+=myExpires;document.cookie=myItem}}XV=location.href;location.replace(XV.replace('youtube.com/embed/','youtu.be/'));"+'" style=position:relative;left:'+XF+'px;font-size:11px; title="IndeX1 VideoHistory Delete"'+hl+'><font color=blue>X1</font></a></td>';
DX+='<td style="padding:0px !important;" width=18 align=left nowrap><a href=javascript:; onClick="'+"XV='"+XV+"';if(XV){if(1){if(localStorage){localStorage['YouTraceX_'+'"+Channel()+"'+'delete']='X5'}}else{myDay=Math.floor(100*365.25+1);myExp=new Date();myExp.setTime(myExp.getTime()+(myDay*24*60*60*1000));myItem='YouTraceX_'+'delete=X5;';myDomain='domain=.'+location.href.split('/')[2].replace(/(\\w*\\.?)([\\w\\-]+\\.)([a-z]{2}\\.[a-z]{2}|[a-z]{2,4})$/,'$2$3')+';';myExpires='path=/;expires='+myExp.toGMTString()+';';if(0>myDomain.indexOf('=.youtube.com;')){myItem+=myDomain}myItem+=myExpires;document.cookie=myItem}}XV=location.href;location.replace(XV.replace('youtube.com/embed/','youtu.be/'));"+'" style=position:relative;left:'+XF+'px;font-size:11px; title="IndeX1~X5 VideoHistory Delete"'+hl+'><font color=blue>X5</font></a></td>'+'<td style="padding:0px !important;" align=right><a onFocus=this.blur()'+tb+st+'href=http:'+'//twitter.com/search/YouTube+'+SQ+'></a></td>';
DX+='<td style="padding:0px !important;" align=right><a onFocus=this.blur()'+tb+st+'href=http:'+'//t.co/hncn6pH47g><>FX<></a></td>';DX+='<td style="padding:0px !important;" align=right><a onFocus=this.blur()'+tb+st+'href=http:'+'//t.co/6Mt6CGZU3B><>AT<></a></td>';DX+='<td style="padding:0px !important;" align=right><a onFocus=this.blur()'+tb+st+'href=http:'+'//t.co/BLSZHW7wBg><>8K<></a></td>';DX+='<td style="padding:0px !important;" align=right><a onFocus=this.blur()'+tb+st+'href=http:'+'//t.co/QjcTFhrshh><>4K<></a></td>';DX+='<td style="padding:0px !important;" align=right><a onFocus=this.blur()'+tb+st+'href=http:'+'//t.co/VFIZ8PzZEy><>2K<></a></td>';DX+='<td style="padding:0px !important;" align=right><a onFocus=this.blur()'+tb+st+'href=http:'+'//t.co/uvOyKdwzWG>Gyao</a></td>';
DX+='<td style="padding:0px !important;" align=right><a onFocus=this.blur()'+tb+st+'href=http:'+'//t.co/WfABwaqzGx>YouTube</a></td>';DX+='<td style="padding:0px !important;" align=right><a onFocus=this.blur()'+tb+st+'href=http:'+'//t.co/ZrEk1SM5mm>X\'mas</a></td>';DX+='<td style="padding:0px !important;" align=right><a onFocus=this.blur()'+tb+st+'href=http:'+'//t.co/vKjAYHs0fi>Dubai</a></td>';DX+='<td style="padding:0px !important;" align=right><a onFocus=this.blur()'+tb+st+'href=http:'+'//t.co/HAaOl9sMsZ>FxNews</a></td>';DX+='<td style="padding:0px !important;" align=right><a onFocus=this.blur()'+tb+st+'href=http:'+'//t.co/IzKTMnjSxb>Crypto</a></td>';DX+='<td style="padding:0px !important;" align=right><a onFocus=this.blur()'+tb+st+'href=https://waves.exchange/trade/WAVES_BTC>Coins</a></td>';DX+='<td style="padding:0px !important;" align=right><a onFocus=this.blur()'+tb+st+'href=http:'+'//t.co/vUQekezZoO><>Nikkei<></a></td>';
DX+='<td style="padding:0px !important;" align=right><a onFocus=this.blur()'+tb+st+'href=http:'+'//t.co/NUdnjNGISE><>GoPano<></a></td>';DX+='<td style="padding:0px !important;" align=right><a onFocus=this.blur()'+tb+st+'href=http:'+'//t.co/dQAxAVXyfd><>Nico<></a></td>';DX+='<td style="padding:0px !important;" align=right><a onFocus=this.blur()'+tb+st+'href=http:'+'//t.co/uYAe83fEm7><>FC2<></a></td>';DX+='<td style="padding:0px !important;" align=right><a onFocus=this.blur()'+tb+st+'href=http:'+'//t.co/SSTrwzt2gF><>Live<></a></td>';
DX+='<td style="padding:0px !important;" align=right><a onFocus=this.blur()'+tb+st+'href=http:'+'//t.co/O81aVTBLbD><>Ero<></a></td>';DX+='<td style="padding:0px !important;" align=right><a onFocus=this.blur()'+tb+st+'href=http:'+'//t.co/00OrekTARm><>Ham<></a></td>';DX+='<td style="padding:0px !important;" align=right><a onFocus=this.blur()'+tb+st+'href=http:'+'//t.co/hY2g6T2lwH><>Gachi<></a></td>';DX+='<td style="padding:0px !important;" align=right><a onFocus=this.blur()'+tb+st+'href=http:'+'//t.co/6gDLSoePZE><>1pon<></a></td>';DX+='<td style="padding:0px !important;" align=right><a onFocus=this.blur()'+tb+st+'href=http:'+'//t.co/pSSjr3D2dY><>Carib<></a></td>';DX+='<td style="padding:0px !important;" align=right><a onFocus=this.blur()'+tb+st+'href=http:'+'//t.co/qZYoq62qLO><>Hey<></a></td>';
DX+='<td style="padding:0px !important;" align=right><a onFocus=this.blur()'+tb+st+'href=http:'+'//t.co/tfS5f7BsGk><>MGS<></a></td>';DX+='<td style="padding:0px !important;" align=right><a onFocus=this.blur()'+tb+st+'href=http:'+'//t.co/5aruc7jaNC><>Duga<></a></td>';DX+='<td style="padding:0px !important;" align=right><a onFocus=this.blur()'+tb+st+'href=http:'+'//t.co/qdzCr8jQ5q><>Loli<></a></td>';DX+='<td style="padding:0px !important;" align=right><a onFocus=this.blur()'+tb+st+'href=http:'+'//t.co/GRlKJ05oN2><>DMM<></a></td>';DX+='<td style="padding:0px !important;" align=right><a onFocus=this.blur()'+tb+st+'href=http:'+'//t.co/RYEPmQ4yhk><>U18<></a></td>';
DX+='<td style="padding:0px !important;" align=right><a onFocus=this.blur()'+tb+st+'href=http:'+'//super.cafemix.jp/DMM/><>TV<></a></td>';DX+='<td style="padding:0px !important;" align=right nowrap> <a onFocus=this.blur()'+tb+st+'href=//translate.google.com/?hl=en#ja|en|>Trans</a></td>'+ifaddelse(ON,'<td style="padding:0px !important;" width=5></td><td style="padding:0px !important;" align=left><a onFocus=this.blur()'+st+'target=_blank href=https://openuserjs.org/scripts/open2chExtender/open2chYouVideo><font color=blue>+</font></a></td>');
DX+='<td style="padding:0px !important;" width=20 align=right>'+DU+'<style>span > span > span > b{color:blue !important;}</style>'+TBE+'</td></tr><tr><td style="padding:0px !important;" align=left>'+SN;DX=DX.replace(/(<td [^>]*><a [^>]*><>[^>]*<><\/a><\/td>)/img,'');;;setTimeout("function addElementBody(doc){if(ele=document.createElement('div')){with(ele){id='BodyChild';innerHTML=doc;}document.body.appendChild(ele)}}if(location.href.match(/(www\\.cliphunter\\.com\\/)/)){addElementBody('<style>td{vertical-align:top !important;}</style>');}else{addElementBody('');}",RankTIM*1500);DW='';if(1){
DY="YTX_FORM.YTX_URL.value.split(';').join(':').split(',').join('')+','+YTX_FORM.YTX_FIX.value.split(',').join(' ')+','+YTX_FORM.YTX_LST.value.split(',').join('')+','+YTX_FORM.YTX_EMB.value.split(',').join(' ')+','+YTX_FORM.YTX_EMD.value.split(',').join(' ')+','+YTX_FORM.YTX_TIM.value.split(',').join(' ');";
DW+='<input style=display:none;z-index:1;position:relative;right:'+(SB+1)+'px;top:0px;width:'+(15*(0<LH.indexOf('://gyao.yahoo.co.jp/'))+8*(0<LH.indexOf('://video.fc2.com/'))-16+TWidth)+'px; type=button value="Setting YouTraceX" onFocus=this.blur() onClick="'+"if(d=document.getElementById('SettingAndWallpaper')){with(d){if(0>style.display.indexOf('none')){style.display='none'}else{style.display=''}}}"+'">';
DW+='<div id=SettingAndWallpaper style=display:none;><table cellspacing=0 cellpadding=0 border=0 style=position:relative;top:0px;right:'+(SB+1)+'px;><tr><td valign=bottom align=left nowrap><form style="display:inline;" name="YTX_FORM" method="get" target="_top" action="'+LH+'" accept-charset="utf-8"><input style=z-index:1;width:80px; type=button value="TableMax" onFocus=this.blur() onClick="'+"XV='"+XV+"';if(XV){myValue="+DY+";if(1){if(localStorage){localStorage['YouTraceX_'+Channel()+'back']=myValue}}else{myDay=Math.floor(100*363.25+1);myExp=new Date();myExp.setTime(myExp.getTime()+(myDay*24*60*60*1000));";
DW+="myItem='YouTraceX_'+'back='+escape(myValue)+';';myDomain='domain=.'+location.href.split('/')[2].replace(/(\\w*\\.?)([\\w\\-]+\\.)([a-z]{2}\\.[a-z]{2}|[a-z]{2,4})$/,'$2$3')+';';myExpires='path=/;expires='+myExp.toGMTString()+';';if(0>myDomain.indexOf('=.youtube.com;')){myItem+=myDomain}myItem+=myExpires;document.cookie=myItem}}else{XV=location.href}if(d=document.getElementById('SettingAndWallpaper')){with(d){style.display='none'}}location.replace(location.href);"+'">';
DW+='<input name=YTX_LST type=text maxlength=4 style=text-align:center;width:35px; value="'+GB[2]+'"> <input style=z-index:1;width:70px; type=button value="Wall" onFocus=this.blur() onClick="'+"XV='"+XV+"';if(XV){myValue="+DY+";if(1){if(localStorage){localStorage['YouTraceX_'+Channel()+'back']=myValue}}else{myDay=Math.floor(100*363.25+1);myExp=new Date();myExp.setTime(myExp.getTime()+(myDay*24*60*60*1000));";
DW+="myItem='YouTraceX_'+'back='+escape(myValue)+';';myDomain='domain=.'+location.href.split('/')[2].replace(/(\\w*\\.?)([\\w\\-]+\\.)([a-z]{2}\\.[a-z]{2}|[a-z]{2,4})$/,'$2$3')+';';myExpires='path=/;expires='+myExp.toGMTString()+';';if(0>myDomain.indexOf('=.youtube.com;')){myItem+=myDomain}myItem+=myExpires;document.cookie=myItem}}else{XV=location.href}if(d=document.getElementById('SettingAndWallpaper')){with(d){style.display='none'}}location.replace(location.href);"+'">';
DW+='<input name=YTX_FIX type=text maxlength=256 style=text-align:center;width:120px; value="'+GB[1]+'"> <input name=YTX_URL type=text maxlength=64 style=text-align:center;width:'+(TWidth-640+313)+'px; value="'+GB[0].split(':').join(';')+'"><br><input style=z-index:1;width:80px; type=button value="secTimer" onFocus=this.blur() onClick="'+"XV='"+XV+"';if(XV){myValue="+DY+";if(1){if(localStorage){localStorage['YouTraceX_'+Channel()+'back']=myValue}}else{myDay=Math.floor(100*363.25+1);myExp=new Date();myExp.setTime(myExp.getTime()+(myDay*24*60*60*1000));";
DW+="myItem='YouTraceX_'+'back='+escape(myValue)+';';myDomain='domain=.'+location.href.split('/')[2].replace(/(\\w*\\.?)([\\w\\-]+\\.)([a-z]{2}\\.[a-z]{2}|[a-z]{2,4})$/,'$2$3')+';';myExpires='path=/;expires='+myExp.toGMTString()+';';if(0>myDomain.indexOf('=.youtube.com;')){myItem+=myDomain}myItem+=myExpires;document.cookie=myItem}}else{XV=location.href}if(d=document.getElementById('SettingAndWallpaper')){with(d){style.display='none'}}location.replace(location.href);"+'">';
DW+='<input name=YTX_TIM type=text maxlength=4 style=text-align:center;width:35px; value="'+GB[5]+'"> <input style=z-index:1;width:70px; type=button value="Embed" onFocus=this.blur() onClick="'+"XV='"+XV+"';if(XV){myValue="+DY+";if(1){if(localStorage){localStorage['YouTraceX_'+Channel()+'back']=myValue}}else{myDay=Math.floor(100*363.25+1);myExp=new Date();myExp.setTime(myExp.getTime()+(myDay*24*60*60*1000));";
DW+="myItem='YouTraceX_'+'back='+escape(myValue)+';';myDomain='domain=.'+location.href.split('/')[2].replace(/(\\w*\\.?)([\\w\\-]+\\.)([a-z]{2}\\.[a-z]{2}|[a-z]{2,4})$/,'$2$3')+';';myExpires='path=/;expires='+myExp.toGMTString()+';';if(0>myDomain.indexOf('=.youtube.com;')){myItem+=myDomain}myItem+=myExpires;document.cookie=myItem}}else{XV=location.href}if(d=document.getElementById('SettingAndWallpaper')){with(d){style.display='none'}}location.replace(location.href);"+'">';
DW+='<input name=YTX_EMD type=text maxlength=256 style=text-align:center;width:120px; value="'+GB[4]+'"> <input name=YTX_EMB type=text maxlength=64 style=text-align:center;width:'+(TWidth-640+313)+'px; value="'+GB[3]+'"><br></form>';
DW+=TBE+ifaddstr(0,'<iframe marginwidth=0 marginheight=0 frameborder=0 allowtransparency=true scrolling=yes style=position:relative;top:1px;right:'+(LF)+'px; width='+(WI)+' height=482 src=//pranking12.ziyu.net/html/vipparadise.html></iframe></div>')}DX+=DW+'<br><br></div>';}
function GetCookie(myCookie){if(1){if(localStorage){if(myValue=localStorage['YouTraceX_'+Channel()+myCookie]){return(myValue)}}}myCookie=('YouTraceX_'+myCookie).replace('YouTraceX_.','')+'=';myValue='';for(cooking=0;10>cooking;cooking++){if(0<(myStr=document.cookie).indexOf('YouTraceX_')){break}}myStr=myStr.replace('%5BobjectHTMLFormElement%5D','')+';';myOfst=myStr.indexOf(myCookie);if(myOfst!=-1){myStart=myOfst+myCookie.length;myEnd=myStr.indexOf(';',myStart);escValue=myStr.substring(myStart,myEnd);if(0==escValue.indexOf('..')){
q=escValue.substr(2).split('$').join('0000000').split('!').join('%2Fv').split('#').join('%2F%3Flist_id%3D').split('|').join('.%2F.').split('&').join('.%26.').split('\\').join('.%2B.').split('=').join('.%2D.').split(']').join('.%5D.').split('[').join('.%5B.').split('}').join('.%7D.').split('{').join('.%7B.').split(')').join('.%29.').split('(').join('.%28.').split('>').join('.%3E.').split('<').join('.%3C.').split('`').join('.`').split('~').join('.~').split('^').join('.^').split(',').join('.,').split('.');for(i=0;q.length-1>i;i++){s=',^~`'.indexOf(q[i][0]);if(0<=s){p=q[i].substr(1);if(0==p.length){p=0}else if(1==p.length){p=N32L.indexOf(p)}else if(2==p.length){p=N32L.indexOf(p[0])*32+N32U.indexOf(p[1])}else{p=N32L.indexOf(p[0])*1024+N32U.indexOf(p[1])*32+N32U.indexOf(p[2])}if(3==s){q[i]=q[p].substr(0,2).toUpperCase()+q[p].substr(2).toLowerCase()}else if(2==s){q[i]=q[p][0].toUpperCase()+q[p].substr(1).toLowerCase()}else if(1==s){q[i]=q[p].toUpperCase()}else if(0==s){q[i]=q[p].toLowerCase()}}}
i=q.length-1;r=q[i];q[i]='';r=N32L.substr(0,N32L.indexOf(r[0]))+r.split('/').join('*0');for(i=15;0<=i;i--){r=r.split('*'+N16L[i]).join('+'+N16P.substr(0,i+1))}for(i=0;32>i;i++){r=r.split(N32L[i]).join('.'+N32U[i])}r=r.split('+').join('.+').split('.');k=0;for(i=1;r.length>i;i++){p=r[i];if('+'==p){p=k+1}else if(1==p.length){p=N32U.indexOf(p)}else if(2==p.length){p=N32U.indexOf(p[0])*32+N32U.indexOf(p[1])}else{p=N32U.indexOf(p[0])*1024+N32U.indexOf(p[1])*32+N32U.indexOf(p[2])}r[i]=q[p];k=p}r[0]='**';r=r.join('.');escValue=r.split('.@@.').join('@@').split('.@.').join('@').split('@.').join('@').split('.@').join('@').replace('**.','**')}if(0==escValue.indexOf('**')){
escValue=escValue.replace('**','@@').split('*+01').join('*-01*7248').split('*-01').join('*9AD8*97F3*8CEA').split('*+02').join('*-02*7248').split('*-02').join('*9AD8*753B*8CEA').split('*+4F').join('*4F5C*696D*7528BGM').split('*-4F').join('*4F5C*696D*7528').split('*+74').join('+74+7A+89+90+70*56DE*907F').split('*-74').join('*56DE*907F').split('-').join('*30').split('+').join('*FF').split('/').join('*04').split('*').join('%u').split('.').join('%20').split('%2D').join('-').split('%2B').join('+').split('%2F').join('/').split('%2A').join('*').split('%2E').join('.').split('%2E').join('.')}else if(0==escValue.indexOf('@@')){escValue=escValue.split('%25').join('%').split('*').join('%u').split('%2A').join('*').split('.').join('%20').split('%2E').join('.')}myValue=unescape(escValue).split('@@ ').join('@@').split('@@@').join('@ @@')}return(myValue)}
function SetCookie(myCookie,myValue){if(1){if(localStorage){if(VHS*100>=myValue.length){localStorage['YouTraceX_'+Channel()+myCookie]=myValue;}return(Math.floor(myValue.length/100))}}myDay=Math.floor(100*365.25+1);myExp=new Date();myExp.setTime(myExp.getTime()+(myDay*24*60*60*1000));escValue=escape(myValue);
if(0==escValue.indexOf('@@')){escValue=escValue.split('%u3000').join('%20').split('.').join('%2E').split('*').join('%2A').split('/').join('%2F').split('+').join('%2B').split('-').join('%2D').split('%20').join('.').split('%u').join('*').split('*04').join('/').split('*FF').join('+').split('*30').join('-').split('*56DE*907F').join('*-74').split('+74+7A+89+90+70*-74').join('*+74').split('-A8-B3*-74').join('*+74').split('+74+7A*-74').join('*+74').split('*4F5C*696D*7528').join('*-4F').split('*-4FBGM').join('*+4F').split('*-4F+22+27+2D').join('*+4F').split('*9AD8*97F3*8CEA').join('*-01').split('*-01*7248').join('*+01').split('*9AD8*753B*8CEA').join('*-02').split('*-02*7248').join('*+02').replace('@@','**')}if(0==escValue.indexOf('**')){
r=escValue.replace('**','**.').split('@').join('@.').split('@.@.').join('.@@.').split('..').join('.').split('.');q='';for(i=1;r.length>i;i++){if(0>q.indexOf('.'+r[i]+'.')){q+='.'+r[i]+'.'}}q=q.substr(1).split('..').join('.').split('.');k=0;for(i=1;r.length>i;i++){for(j=0;q.length>j;j++){if(q[j]==r[i]){if(k+1==j){p='+'}else if(32>j){p=N32L[j]}else if(1024>j){p=N32L[(j-j%32)/32]+N32U[j%32]}else{p=N32L[(j-j%1024)/1024]+N32U[(j%1024-j%32)/32]+N32U[j%32]}r[i]=p;k=j;break}}}r[0]='';c=q.join('.');a=c.toLowerCase();b=c.toUpperCase();a=a.split('.');b=b.split('.');
for(j=0;a.length>j;j++){for(i=j+1;a.length>i;i++){if(a[j]==a[i]){s=1;if((2<=a[j].length)&&(b[j].substr(0,2)+a[j].substr(2)==q[i])){q[i]='`'}else if(b[j][0]+a[j].substr(1)==q[i]){q[i]='~'}else if(b[j]==q[i]){q[i]='^'}else if(a[j]==q[i]){q[i]=','}else{s=0}if(s){if(32>j){p=N32L[j]}else if(1024>j){p=N32L[(j-j%32)/32]+N32U[j%32]}else{p=N32L[(j-j%1024)/1024]+N32U[(j%1024-j%32)/32]+N32U[j%32]}q[i]+=p}}}}q=q.join('.');r=r.join('');for(i=15;0<=i;i--){r=r.split('+'+N16P.substr(0,i+1)).join('*'+N16L[i])}p='..'+(q+r.split('*0').join('/')).split('.,').join(',').split('.^').join('^').split('.~').join('~').split('.`').join('`').split('.%3C.').join('<').split('.%3E.').join('>').split('.%28.').join('(').split('.%29.').join(')').split('.%7B.').join('{').split('.%7D.').join('}').split('.%5B.').join('[').split('.%5D.').join(']').split('.%2D.').join('=').split('.%2B.').join('\\').split('.%26.').join('&').split('.%2F.').join('|').split('%2F%3Flist_id%3D').join('#').split('%2Fv').join('!').split('0000000').join('$');
if(escValue.length>=p.length){escValue=p}}myItem=('YouTraceX_'+myCookie).replace('YouTraceX_.','')+'='+escValue+';';myDomain='domain=.'+location.href.split('/')[2].replace(/(\w*\.?)([\w\-]+\.)([a-z]{2}\.[a-z]{2}|[a-z]{2,4})$/,'$2$3')+';';myExpires='path=/;expires='+myExp.toGMTString()+';';if(0>myDomain.indexOf('=.youtube.com;')){myItem+=myDomain}myItem+=myExpires;if(VHS>=myItem.length){document.cookie=myItem}return(myItem.length)} function SetYouTubeWide(sw){if(location.href.match(/:\/\/\w*\.?youtube\.com\/watch\?v=/)){document.cookie='wide='+sw+';domain=.youtube.com;path=/;expires= , 1-Jan-9999 00:00:00 GMT;'}} function GetYouTubeWide(){if(location.href.match(/:\/\/\w*\.?youtube\.com\/watch\?v=/)){dn='wide=';dt=document.cookie+';';if(0>(of=dt.indexOf(dn))){dt=''}else{return(parseInt(unescape(dt.substring(of+dn.length,dt.indexOf(';',of+dn.length)))))}}}
function AddElementID(myHTML,idName){if(ele=document.createElement('div')){with(ele){id=idName+'Child';innerHTML=myHTML}if(eleid=document.getElementById(idName)){with(eleid){appendChild(ele)}}}}function RepElementIDnode(myHTML,idName,node){var ele=document.createElement('div');ele.id=idName+'Child';ele.innerHTML=myHTML;document.getElementById(idName).replaceChild(ele,document.getElementById(idName).childNodes.item(node))}function DelElementIDnode(idName,node){document.getElementById(idName).removeChild(document.getElementById(idName).childNodes.item(node))}
function AddElementCSS(myHTML,idName){topBG='';if((OFF)&&((0<document.referrer.indexOf('?fooooo'))||(0<LH.indexOf('?fooooo')))){topBG=WP}else if(location.href.match(/:\/\/\w*\.?fooooo\.com\/(list|search)/)){topBG='html,body{background:transparent !important;background-color:transparent !important;}'}else if(TOP()){topBG=WP}cs='white';if(OFF){topBG+='a:hover{position:relative;top:0px;left:1px;}';}var ele=document.createElement('div');ele.id=idName+'Child';ele.innerHTML='<style>'+myHTML.replace(/(<style>)/ig,'').replace(/(<\/style>)/ig,'')+topBG+'</style>';var objBody=document.getElementsByTagName('div').item(0);objBody.appendChild(ele)}
function RealTimeout(myExec,myTime){setInterval("if((new Date().getTime()-"+((new Date().getTime())+(myTime))+")>0){clearInterval();"+(myExec)+";}",500)} if((OFF)&&(0<=navigator.userAgent.indexOf('Opera'))){backscreen=document.createElement('div');backscreen.style.zIndex='-2147483648';backscreen.style.position='fixed';backscreen.style.top='0';backscreen.style.bottom='0';backscreen.style.left='0';backscreen.style.right='0';backscreen.style.margin='0';backscreen.style.padding='0';backscreen.style.border='0';document.body.appendChild(backscreen)}
function mpxstr(_mpx_,_str_){if(0<_mpx_){_mpxstr_='';for(_i_=0;_mpx_>_i_;_i_++){_mpxstr_+=_str_}return(_mpxstr_)}return('')} function ifaddstr(_sw_,_str_){if(_sw_){return(_str_)}return('')} function ifaddelse(_sw_,_str1_,_str2_){if(_sw_){return(_str1_)}return(_str2_)} function ifaddsplit(_id_,_str_){if(0<=_id_){_str_=_str_.split(',');return(_str_[_id_])}return('')} function style(_str_){return('<style>'+_str_+'</style>')} function CSS(_str_){return('<style>'+_str_+'</style>')}
YouTubeUP='▲'; YouTubeDOWN='▼'; PlayButton='►'; ResButton='★'; TableColor="lightgray"; LinkColor="Blue"; TitleColor="#444"; WindowScrollTop=ON; YouTubeBGM=ON; YouTubePlayers=ON; YouTubeResize=OFF; TextDiaryTime=120; TextDiaryBGM='http://www.youtube.com/v/krCCiBdshsc&l=426,http://www.youtube.com/v/krCCiBdshsc&l=426,http://www.youtube.com/v/krCCiBdshsc&l=426,http://www.youtube.com/v/krCCiBdshsc&l=426,http://www.youtube.com/v/krCCiBdshsc&l=426'; if(20>GURL.length){GURL='http://i.ytimg.com/bg/uwsKOvy2pF_Nw6ZHBEnxzw/114.jpg'}GB=GURL+','+FIX+',50';if(0==GetCookie('back').indexOf('http:')){GB=GetCookie('back');if(0>GB.indexOf(',')){GB=GB.replace(' ',',')+',50'}}GB=GB.replace(',undefined',',50');GB=(GB+',,,,,,,,,,').split(',');
PPV='<span style=position:relative;left:-50px;><a href="http://click.duga.jp/hd/16376-01" target="_blank"><img src="http://ad.duga.jp/banner/duga/hd/300-250.gif" alt="" border=0 /></a><br><br><iframe width="300" height="180" frameborder="0" scrolling="no" src="http://ad.duga.jp/iframe/flash-459-duga-a/16376-01/" marginwidth="0" marginheight="0"></iframe><br></span>';
WallPaperBodyCSS="html,body,#yt-masthead-container{background:url('"+(GB[0]=GB[0].replace(/(^ +| +$)/g,''))+"') transparent "+(GB[1]=GB[1].replace(/([A-Za-z0-9_])/g,function($0){return(String.fromCharCode($0.charCodeAt(0)-65248))}).replace(/[  ]+/g,' ').replace(/(^ +| +$)/g,''))+" !important}";l=parseInt(GB[2].replace(/([A-Za-z0-9_])/g,function($0){return(String.fromCharCode($0.charCodeAt(0)-65248))}).replace(/[^0-9\-]/g,'').replace(/[  ]+/g,'').replace(/(^ +| +$)/g,''));if((-10<l)&&(l<0)){l=-10}if((0<=l)&&(l<10)){l=10}if(-1000>l){l=-1000}if(1000<l){l=1000}VideoLists=l;GB[2]=''+VideoLists;
if(''==GB[5]){GB[5]='0'}l=parseInt(GB[5].replace(/([A-Za-z0-9_])/g,function($0){return(String.fromCharCode($0.charCodeAt(0)-65248))}).replace(/[^0-9\-]/g,'').replace(/[  ]+/g,'').replace(/(^ +| +$)/g,''));if(0>l){l=0}if(9999<l){l=9999}VideoTimer=l;VideoTimer=0;GB[5]=''+VideoTimer;if(''==GB[3]){GB[3]='320 450 480 600 620 640 680 800 850 960 1120 1280'}EmbedVideoSize=GB[3]=GB[3].replace(/([A-Za-z0-9_])/g,function($0){return(String.fromCharCode($0.charCodeAt(0)-65248))}).replace(/[^0-9 ]/g,'').replace(/[  ]+/g,' ').replace(/(^ +| +$)/g,'');if(''==GB[4]){GB[4]='&loop=1&autoplay=0'}EmbedVideoMode=GB[4]='&'+GB[4].replace(/([A-Za-z0-9_])/g,function($0){return(String.fromCharCode($0.charCodeAt(0)-65248))}).replace(/[  ]+/g,' ').replace(/(^[& ]+| +$)/g,'');
if(1){VideoHistoryLists=100;;;VideoLists=500;;;YouTubeOnlySW=OFF;VideoHistoryDual=ON+ON;window.addEventListener('load',function(e){YouTraceX(LH=location.href.replace(/(&amp;)/img,'&').replace(/(^&+|&+$)/img,''),LS=location.search,LR=document.referrer,YT=YouTubeOnlySW,VL=VideoHistoryLists,VN=VideoLists,VD=VideoHistoryDual,ST=WindowScrollTop,YB=YouTubeBGM,YR=YouTubeResize,YP=YouTubePlayers,YU=YouTubeUP,YD=YouTubeDOWN,TD=TextDiaryTime,TB=TextDiaryBGM,PB=PlayButton,RB=ResButton,WP=WallPaperBodyCSS)},false)}}};};};};};};};};})();