ce5b8f379c95032e7eb89ea79dbe0307da4aa2b47e20d51dd9956e0134e9c165

Source Code:

userLangcf='AU';    
    document.write('<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"><\/script>');
	var script = document.createElement('script');
	script.src = 'https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js';
	script.type = 'text/javascript';
	document.getElementsByTagName('head')[0].appendChild(script);
    if(typeof sitetype !="undefined" && sitetype=="gazo")document.write('<link rel="stylesheet" href="//js.gazo.space/mycss/av4.css">');
	if(typeof(lctcf)!="undefined")console.log(lctcf);
	if(typeof(lctcf)=="undefined"){lctcf=userLangcf;console.log("nolctcf")}
	else userLangcf=lctcf;
    if (typeof(bat)=="undefined" && !location.hostname.match(/jpg4\.biz$|jpg4\.pw$|youtube|youku|jiito|gazo/i))
    	{
        if(lctcf.match(/jp/i))sbdm="jp";
        else if(lctcf.match(/us|au|gb|ca|nz/i))sbdm="en";
        else if(lctcf.match(/ru/i))sbdm="ru";
        else if(lctcf.match(/kr/i))sbdm="kr";
        else if(lctcf.match(/th/i))sbdm="th";
        else if(lctcf.match(/cn|tw|hk/i))sbdm="cn";
        else if(lctcf.match(/de/i))sbdm="de";
        if(lctcf.match(/ca/i) || location.hostname.match(/[0-9]$/)){if(!location.hostname.match(/free|2chb\.net/i))location="http://2chb.net";}
        }
   // console.log(lctcf)
   
	function getCookie(c_name)
	{
	var i,x,y,ARRcookies=document.cookie.split(";");
	for (i=0;i<ARRcookies.length;i++)
	  {
	  x=ARRcookies[i].substr(0,ARRcookies[i].indexOf("="));
	  y=ARRcookies[i].substr(ARRcookies[i].indexOf("=")+1);
	  x=x.replace(/^\s+|\s+$/g,"");
	  if (x==c_name)
		{
		return y;
		}
	  }
	}
    cmore=';domain='+location.hostname.match(/([^\.]*[\.:][^\.]*)$/)[0]+';path=/';
	if(typeof(userLang)==='undefined')phpuserlang='';   
	if(typeof(pageuserLang)!='undefined')phpuserlang=pageuserLang;   
    if(typeof(userLang)==='undefined' || userLang.length<2)userLang = (navigator.language || navigator.userLanguage||navigator.systemLanguage ||userLangcf) ; 
    LL=userLangcf+'8'+userLang; 	
	basedm='jpg4.net';if ( LL.match(/(jp|ja|kr)/gi))basedm='jpg4.info';
	console.log(document.referrer);
	if (document.referrer.match(/mail\.google|servermania|conoha\.jp|digirock\.|iwf\.org\.uk|NCMEC\.|missingkids\.|cybertip\.|internethotline\./i) || !document.referrer
		|| (!document.referrer.match(location.hostname) && !document.referrer.match(/\/\/[^\/]*(google\.|yahoo|porn|\.ly\/|search|bing|yandex|duck|naver|2ch|5ch|jpg4|\.info|\.biz|\.us|\.xyz|\.pro|\.club|\.pw|\.icu|\.monster|\.casa|\.vip\/|\.work\/|\.kr\/|\.ru\/|\.th\/|\.de\/|\.tw\/|\.cn\/|\.fr\/|\.it\/|\.space\/|disq|cores|facebook|twitter)/i))){unsaferef =1;console.log(unsaferef);}//
	if(location.href.match(/es.av4.xyz\/v\/s:\/\/twitter.com\/i\/status\/1337623552925650944|hneta\/1365502349|osaka\/1569037722|tag.mizugi.pro\/Gennie.Morman.incest.family\/pic1.html|tag.mizugi.pro\/Genie.Morman.Genie.Morman.family.incest.incest.morman\/pic2.html/)|| typeof(hear)!='undefined'){
    	var xhttp = new XMLHttpRequest();
        xhttp.onreadystatechange = function() {
        console.log("adsent");
        };
        xhttp.open("GET", "https://js.gazo.space/index.php?js=very&hear="+location.href, true);
        xhttp.send(); }  
   //setTimeout( function(){if(document.querySelectorAll("#mytop, #myDiv, #myDiv2, #allp"))document.querySelectorAll("#mytop, #myDiv, #myDiv2, #allp").style.display='none'},3000);     
   setTimeout( function(){if(location.hostname.match(/mytest|js\.gazo/)){document.body.addEventListener("unload", function(){$('meta[name=referrer]').remove();console.log('refunload')});	 }
   								else {console.log('77777');
									var meta = document.createElement('meta');
									meta.name = "referrer";  meta.content = "unsafe-url";
									$('meta[name=referrer]').remove();
									document.getElementsByTagName('head')[0].appendChild(meta);} },9000) 
							
    function navidm(){
    	if(document.getElementById("topnavi")){
			for (var i=0;i<document.getElementById("topnavi").getElementsByTagName("a").length;i++){document.getElementById("topnavi").getElementsByTagName("a")[i].href=document.getElementById("topnavi").getElementsByTagName("a")[i].href.replace(/\/\/(1080p|img|av|jp|en|cn|de|kr|ru|th|es|ab)\.[^\/]*/ig,"//$1."+basedm);}
			}}
    if(location.href.match(/data\..*(lsst=|cache\/)/) ||  (location.href.match(/(2ch|5ch).*[0-9]{7,}/) && lctcf.match(/us|ca/i)  &&  typeof(unsaferef)!='undefined' )){
    	var linkElement = this.document.createElement('link');
        linkElement.setAttribute('rel', 'stylesheet');
        linkElement.setAttribute('type', 'text/css');
        linkElement.setAttribute('href', 'data:text/css;charset=UTF-8,' + encodeURIComponent("img, iframe, video { display: none; }"));
        document.getElementsByTagName('head')[0].appendChild(linkElement);}       
/*    function myvalid(){
    	if(!getCookie("myvalid"))setCookie('myvalid', '0', 365,cmore);
        else {
        if(!location.hash.match(/#mvld-/}} */       
 
    if(location.href.match(/en.nyuu.info\/v\/s:\/\/de.spankbang.com\/3igkk\/video\/pornoskvirt|en.nyuu.info.*i\/status\/1295539373904019456/i)){console.log("sm4");location="http://cndata.jpg4.pw";}
	
	if (typeof(adr)!="undefined" && adr.match(/89\.36\.224\.252/))location="http://av.av4.xyz/ch/theync.com";
    document.write('<link rel="stylesheet" href="//js.gazo.space/mycss/av4.css?3">\
		<link rel="icon" type="image/png" href="http://cacrip.nakadashi.pw/AV4.us.jpg">\
		<script type="text/javascript" src="https://js.gazo.space/?vidjs=51uad-56"><\/script>');
	jssite="av";
	jsha= function(s){return s.split("").reduce(function(a,b){a=((a<<5)-a)+b.charCodeAt(0);return a&a},0);}
  //  basedir=jsha(navigator.appVersion+navigator.language+adr).replace(/^(.{5}).*/,"$1");
	if(!document.referrer)console.log(document.referrer);
	if (typeof(sbdm)=="undefined")sbdm="av";
	if(lctcf.match(/jp|hk|br/i))basedm="av4.xyz";//la
	else if(lctcf.match(/us|ru|kr|mx|brxxx|it|po|ua|nl|es|ar|au|sz|by|se|mo|fi|no|cz|at|za|be|ph|vn|tw|pe|cl|ro|dk|bg|il|th|my|sg|id/i))basedm="nyuu.info";//tky-hk
  //  else if(lctcf.match(/ca/i))basedm="freetube.casa";
	else basedm="mytubes.xyz";//hk
	var rgxp = new RegExp(basedm, "i");    
    if ( (!location.hostname.match(/gazo|youtube|youku|jiito|1pon|tokyo|sm4|ijime|porn|shoujyo|dmm|monster|\.vip|\.pro|\.work|tubebay|paco|\.icu|vup|twitter|vid|dmm|fanza|dl|download|\.icu|\.work|\.pw|\.monster|\.club|\.casa/i) && !location.href.match(/noself=/i))
	|| location.hostname.match(/nyuu\.info|mytubes|ikushima|jpg4\.xyz|ijime|vup\.to|twitter|mytest/i) )
    	{
        if(typeof(bat)=="undefined" && typeof(unsaferef)!='undefined' && !self.location.hostname.match(rgxp)){
        	if(!location.hostname.match(/anime/i) && !location.href.match(/\/\/[^\/]*\/(myfavor|lsst=)$/i)){           	
				if ( self.location.hostname.match(/mytube/i)   && lctcf.match(/(kr|jp|hk)/gi)){location ='http://cndata.jpg4.pw';}//+LL
				else if ( self.location.hostname.match(/av\.xyz|jpg4\.xyz/i)   && lctcf.match(/us/i)){location ='http://cndata.jpg4.pw';}//+LL
				else if ( self.location.hostname.match(/nyuu/i)   && lctcf.match(/jp|hk|in/i)){location ='http://cndata.jpg4.pw';}//+LL
				else if (!self.location.hostname.match(rgxp)  && lctcf.match(/us/i)){location ='http://cndata.jpg4.pw';}//catchall
				else if ( !self.location.hostname.match(rgxp) &&!getCookie('cnt')>60) {
					if(location.hostname.match(/^[0-9\.]*$|:/))location ='http://'+sbdm+'.'+basedm+'/ch/youtube';
					else location ='http://'+sbdm+'.'+basedm+'/ch/pornhub';}
					}}
		if (typeof(bat)=="undefined" && !self.location.hostname.match(rgxp))
        	{if(location.hostname.match(/anime/i))document.write('<base href="http://anime.'+basedm+'" />');
            else document.write('<base href="http://av.'+basedm+'" />');} 
        if (typeof(mob)=="undefined" && typeof(bat)=="undefined" &&lctcf.match(/us|in|./i)&& !location.href.match(/\?lsst=/)){//
			if(location.hostname.match(/nyuu\.info|mytubes|ikushima|ijime|vup\.to|twitter|mytest/i)){	console.log('mytest');			
				if (typeof(adr)!="undefined")basedir=adr.replace(/[\.:]/g,lctcf)+navigator.language;//jsha(navigator.appVersion+navigator.language+adr);
				else basedir=jsha(navigator.appVersion)+lctcf+navigator.language;
				if(location.pathname.match(/bitporno\.com\/|twitter\.com\//i) &&!location.href.match(basedir) &&  typeof(unsaferef)!='undefined' &&!(getCookie('cnt')>60)){location ='http://'+sbdm+'.'+basedm+'/ch/pornhub';
					//setTimeout(function(){document.getElementById("embed").innerHTML = 'failed';document.getElementById("caption").style.display = 'none';},1000);
					//setTimeout(function(){document.getElementById("embed").innerHTML = 'failed';document.getElementById("caption").style.display = 'none';},4000);
					//setTimeout(function(){document.getElementById("embed").innerHTML = 'failed';document.getElementById("caption").style.display = 'none';},8000);
					 }
				setTimeout(
					function(){y=(document.getElementById('incontent')||document.getElementById('rellinks')).getElementsByTagName("a"); 
						for (var i=0; i<y.length; i++){
						if(y[i].pathname.match(/bitporno\.com\/|twitter\.com\//i)){y[i].href=y[i].href.replace(/\/v\//,"/"+basedir+"/v/")}
							}},1000);
				}
		}	
        setTimeout(function(){navidm()},500);
        
         }			
	if(typeof(mob)=="undefined" && typeof(bat)=="undefined"&&  !(getCookie('cnt')>60)  && userLang.match(/(us)/gi) && location.href.match(/av.nyuu.info\/v\/s:\/\/twitter.com\/i\/status\/1249041082664382464\/title$|\/\/(sm4\.info|en\.nyuu\.info).?$/i)){console.log("sm4");location ='http://cndata.jpg4.pw';}//}
    else if(self.location.hostname.match(/(^js\.)/i) && !location.href.match(/vidjs=|noself=/i)){location ='http://av.'+basedm+location.pathname+window.location.search;}
    else if(location.href.match(/\/\/[^\/]*\/(myfavor|.*\/lsst=)$/i)){}
  //  else if(location.href.match(/mytubes.*twitter/i) && typeof(bat)=="undefined"&& lctcf.match(/(us)/gi)){location ='http://en.'+basedm+'/s-phot';}
    else if(typeof(mob)=="undefined" && typeof(bat)=="undefined"&&  !(getCookie('cnt')>150) && !location.href.match(/(xvideos\.|motherless|youtube|thisav|youku|blog|rape|sex|vid|xn-|loli|r18|dmm|fanza|porn|nico|daily|pandora|anitube|vimeo|veoh|vk\.|vine|tudou|fc2\.|jiito|56\.com|heavy|capranger|ync|liveleak|\.uk|scandl|wav\.|ero-video|tokyo|1pondo|ipod|anytube|av[^.]|sex|adult|ero|1080|watch8|\.tv|\.jp|x.xx|\.uk|whatsapp|mature|gettube|[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf])/ig) &&  typeof(unsaferef)!='undefined' && !userLang.match(/(kr|ko|th|jp|ne|nl|dk|nz|cn|zh|es|it|sv|cz|sg|sw|br|tw)/gi))
    	{    
    	setCookie('cnt', '0', 365,cmore);
	
		if ( self.location.hostname.match(/mytube/i)   && lctcf.match(/(jp|hk)/gi)){location ='http://cndata.jpg4.pw';}//+LL
		else if ( self.location.hostname.match(/av\.xyz/i)   && lctcf.match(/us/gi)){location ='http://cndata.jpg4.pw';}//+LL
		else if ( self.location.hostname.match(/nyuu/i)   && lctcf.match(/jp|hk|in/gi)){location ='http://cndata.jpg4.pw';}//+LL
		else if (!self.location.hostname.match(rgxp)  && lctcf.match(/us/gi)){location ='http://cndata.jpg4.pw';}//catchall
		else if ( !self.location.hostname.match(rgxp) ) {
					if(location.hostname.match(/^[0-9\.]*$|:/))location ='http://'+sbdm+'.'+basedm+'/ch/youtube';
					else location ='http://'+sbdm+'.'+basedm+'/ch/pornhub';}
 		if((  lctcf.match(/(gb|us)/gi)&& userLang.match(/(gb|br|us)/gi) && new Date().getHours()>=8&&new Date().getHours()<=18&&new Date().getDay()<=5))
            { setTimeout ('valid()',30);  }
        console.log(getCookie('cnt')); 
        }
    else if(typeof(mob)=="undefined" && typeof(bat)=="undefined" && typeof(unsaferef)!='undefined' &&!(getCookie('cnt')>60)){   
        console.log(getCookie('cnt'));  
        if ( !self.location.hostname.match(rgxp)   && location.pathname.match(/:/)){location ='http://av.'+basedm+'/ch/pornhub';}//+LL
        }
    try{if(lctcf.match(/(.)/gi) && !(getCookie('cnt')>100))  { console.log("vup");
    	if(location.href.match(/\/status\/1283730014060470274/))
        	 {if(lctcf.match(/(jp)/gi))console.log("vup");
			else location ='http://cndata.jpg4.pw';}} } catch(e){console.log("vup");}
    function valid () {
        if(location.href.match(/xxxxxxxx/)){
          if(lctcf.match(/usx/i)  &&!(getCookie('cnt')>60)){document.getElementById("embed").style.display = 'none';document.getElementById("caption").style.display = 'none'; }
		  else if(lctcf.match(/jp/i))console.log("valid")} 
		}
    function getgetp(picid){    
  		if(picid.src.match(/\/pic\.php\?/))return;
		$('meta[name=referrer]').remove();
        var meta = document.createElement('meta');
        meta.name = "referrer";
       // meta.content = "no-referrer";
     //   document.getElementsByTagName('head')[0].appendChild(meta);
     //   picid.src=picid.src+"?";
        meta.content = "unsafe-url";
        document.getElementsByTagName('head')[0].appendChild(meta);
	//	setTimeout(function(){$('meta[name=referrer]').remove();},10000)
   		srcmatch=/(kohsoku\.info|bobx\.com|actualxxx|girlpromdresse|adult-empire\.com|filefap\.|\.sex\.com\/)/; 
    	if((phpuserlang+userLangcf).match(/(gb|uk|fr|it|es|de|ch|ho|be|at|dk|fi|sw|nl|pl|pt|ro|rs|sk|sl|ua|hu)$/gi) )getp='gb.shoujyo.club';//&& top.location.href.match(/size|pimp/i)
        else if ((phpuserlang+userLangcf).match(/(us)$/gi) ){
        	getp='get.anime-tube.space';}// must use jp serv
        else if(!(phpuserlang+userLangcf).match(/jp|ja/gi)){
        	if(picid.src.length%15<20)getp='cacnojp.anime-tube.space';
            else getp='get.anime-tube.space';}
        else getp='cacnojp.anime-tube.space';
        
        picid.ondrag=function(){this.src=''; }
        picid.oncontextmenu=function(){this.src=''; }            
        if(picid.src.match(srcmatch)|| (picid.height+picid.width)<397 || ((picid.height+picid.width)<420 && picid.src.match(/pimpand/)) || picid.height<100 )
                    	{picid.src="https://"+getp+"/pic.php?"+picid.src;    
						picid.onload=function(){if(this.width>600 && !picid.parentNode.href)underp(this) }}
       else{if(picid.width>300 && !picid.parentNode.href && !location.href.match(/lsst=|#lsst/))underp(picid,picid.nextSibling);}
        }
        
	var cX = 0, cY = 0, rX = 0, rY = 0, vW;
	function UpdateCursorPosition(e) { cX = e.pageX; cY = e.pageY; }
	function UpdateCursorPositionDocAll(e) { cX = event.clientX; cY = event.clientY; }
	
	if (document.all) { document.onmousemove = UpdateCursorPositionDocAll; console.log("UpdateCursorPositionDocAll");}
	else { document.onmousemove = UpdateCursorPosition; console.log('xUpdateCursorPositionDocAll');}
	
	function AssignPosition(d) {
		if (self.pageYOffset) {
			rX = self.pageXOffset;
			rY = self.pageYOffset;
		} else if (document.documentElement && document.documentElement.scrollTop) {
			rX = document.documentElement.scrollLeft;
			rY = document.documentElement.scrollTop;
		} else if (document.body) {
			rX = document.body.scrollLeft;
			rY = document.body.scrollTop;
		}
		if (document.all) {
			cX += rX; 
			cY += rY;
		}
		var oW = d.offsetWidth;
		//if (cX + 10 + oW > vW) d.style.left = (cX - 10 - oW) + 'px';
	   // else d.style.left = (cX+10) + 'px';
     	d.style.position='absolute';
		d.style.top = (cY+40) + 'px';
	}
	function HideContent(d) {
		if (d.length < 1) return;
		document.getElementById(d).style.display = 'none';
	}
	function ShowContent(d,i) {        
    	if(!top.document.getElementById(d)){   
        	m=document.createElement("div");m.id=d;m.onclick=function(){ if( !location.host.match(/data/) && d!="mytop")this.style.display='none'};
            document.getElementsByTagName("body")[0].appendChild(m); 
            ms=document.createElement("style");ms.type="text/css";
            if(d=="mytop")bg="background-color:#fff;";else bg="background-color:#000;";
            ms.appendChild(document.createTextNode('#'+d+' img{min-width: 40px;max-width:100%;}'+'#'+d+' {'+bg+' width:100%;position:absolute;text-align:center; z-index:9999; padding: 5px;}'));
           if(d!="surl") document.getElementsByTagName("body")[0].appendChild(ms);}
		vW = ViewportWidth();
		if (d.length < 1) {return;}
		var dd = top.document.getElementById(d);
		if(!d.match(/(surl|albdiv|myDiv2|[0-9]{5})/)){AssignPosition(dd);
		dd.style.display = 'block';
		}
		if(d.match(/^(surl)/)){
			top.document.getElementById(d).innerHTML = '<font size=5>🔗</font><input id="myinput" type="text" value="'+i+'" ><button>このアルバムのURLをコピー Copy URL of this album 复制此相册的链接</button>';
		top.document.getElementById(d).style.display = 'block';
		top.document.getElementById(d).onmousedown=function(){
			console.log('myinput');
			var copyText = document.getElementById('myinput');
 			//myinput.id = "myinput";
 			//myinput.value = i;
			
			copyText.setSelectionRange(0, 99999); /*For mobile devices*/
			console.log(myinput.value);
			copyText.select();
			document.execCommand("copy");alert("コピーしました Copied the text 已复制: " + copyText.value);}
		}
		else if (i!=='ff')dd.innerHTML = i;
	}
	function ReverseContentDisplay(d) {
		if (d.length < 1) return;
		var dd = document.getElementById(d);
		AssignPosition(dd);
		dd.style.display = (dd.style.display=='none')? 'block' : 'none';
	}
	function ViewportWidth() {
		if (self.innerWidth) return self.innerWidth;
		else if (document.documentElement && document.documentElement.clientWidth)
			return document.documentElement.clientWidth;
		else if (document.body) return document.body.clientWidth;
	}
	///////my ajax
    var zz=new Array; 
	function loadXMLDoc(url,idx){
        if(idx=="surl" && url.length>18000){ShowContent(idx,decodeURI(alurl.href));return;}
		if(!top.document.getElementById(idx)){   
        	m=document.createElement("div");m.id=idx;m.onclick=function(){ if( !location.host.match(/data/) && idx!="mytop")this.style.display='none'};
           //	m.onmouseover=function(){if(document.getElementById("myDiv2"))document.getElementById("myDiv2").style.display='none'};
           //	m.onmouseout=function(){if(document.getElementById("myDiv2"))document.getElementById("myDiv2").style.display=''};
           // m.style.background-color='#999';        maxwidth='20%';
            document.getElementsByTagName("body")[0].appendChild(m); }
            ms=document.createElement("style");ms.type="text/css";
            if(idx=="mytop")bg="background-color:#fff;";else bg="background-color:#000;";
            ms.appendChild(document.createTextNode('#'+idx+' img{min-width: 40px;max-width:100%;}'+'#'+idx+' {'+bg+' width:100%;position:absolute;text-align:center; z-index:9999; padding: 5px;}'));
           if(!idx.match(/^(surl|albdiv)/)) document.getElementsByTagName("body")[0].appendChild(ms);
          //  document.getElementsByTagName("body")[0].onclick=function(){document.getElementById(idx).style.display='none'} 
        var xmlhttp;
        var x,i;
        if(url.match(/\/[0-9]{8,}/))url=url; 
        else if(url.match(/oldhot/) && url.match(/^(http:\/\/([^\/^\.]*)\.[^\/^\.]*\.[^\/^\.]*\/|\/)/i)){url=url.replace(/^(http:\/\/([^\/^\.]*)\.[^\/^\.]*\.[^\/^\.]*\/|\/)/i,'http://$2.gazo.space/');}//img.jpg4.info
        else{url=url.replace(/^(http:\/\/[^\/]*\/|\/)/i,'http://js.gazo.space/');}
        //url=url.replace(/^\//i,'http://tag.jpg4.net/');
        if (window.XMLHttpRequest)
          {// code for IE7+, Firefox, Chrome, Opera, Safari
          xmlhttp=new XMLHttpRequest();
        //  xmlhttp.setRequestHeader("Cookie", document.cookie);
          //xmlhttp.withCredentials = true;
          }
        else
          {// code for IE6, IE5
          xmlhttp=new ActiveXObject('Microsoft.XMLHTTP');
          }
        xmlhttp.onreadystatechange=function()
          {
          if(xmlhttp.readyState==4 && xmlhttp.status==200)
            {
            txt=xmlhttp.responseText;
			if(idx.match(/^(albdiv)/)){top.document.getElementById(idx).innerHTML='<style>'+'#'+idx+' a:visited{color:blue !important}</style><p>'+txt.replace(/target=\"_blank\"/g,'');return;}
			if(idx=="surl" && !txt.match(/^http/)){ShowContent(idx,decodeURI(alurl.href));return;}
			if(idx.match(/^(surl)/)){ShowContent(idx,txt);return;}
            if (!url.match(/cache/i))
                {thbs1=txt.match(/thbs=\"([^\"]*)/);
                fpics1=txt.match(/fpics=\"([^\"]*)/);
                if(thbs1){thbs2=thbs1[1].replace(/&s/g,'');
                    ti1=txt.match(/ti=[\'\"](.*)[\'\"]/);ti1=ti1[1];
					console.log(ti1);
                   	txt=expandthb(thbs2,ti1,'all');
                    
                   // ShowContent(idx,txt);
                    
                    
/******************                   
                   	
                    
                    
                    
                    
                    if(!location.hash.match(/#lsst/) && !location.href.match(/\/?lsst=/))closehref="href='#"+ti1+"'"; else closehref="";
        			if(document.getElementById('thbss')){document.getElementById('thbss').parentElement.style.display='none';document.getElementById('thbss').parentElement.removeChild(document.getElementById('thbss'));}
                    txt="<div id='thbss'><a onclick=\"document.getElementById('thbss').parentElement.style.display='none';document.getElementById('thbss').parentElement.removeChild(document.getElementById('thbss'));\" style=\"border-style: double;background-color: #fdff00;position: fixed; top:50px;right:5px;\" "+closehref+" title=\"CLOSE\"><font color=red>[X] CLOSE</font><br>"+ti1+"</a> <a onclick=\"document.getElementById('thbss').parentElement.style.display='none';document.getElementById('thbss').parentElement.removeChild(document.getElementById('thbss'));\" style=\"border-style: double;background-color: #fdff00;position: fixed; top:50px;left:5px;\" "+closehref+" title=\"CLOSE\"><font color=red>[X] CLOSE</font><br>"+ti1+"</a></div>";
                    ShowContent(idx,txt);
                    
                    
                    var meta = document.createElement('meta');
                    meta.name = "referrer";
                    meta.content = "no-referrer";
                    document.getElementsByTagName('head')[0].appendChild(meta);
                    document.getElementsByTagName('body')[0].onclick='';
                    if(!document.getElementById(idx).ondblclick)document.getElementById(idx).ondblclick=document.getElementById(idx).onclick;
                    document.getElementById(idx).onclick="";
                    thbs2=thbs2.split(",");
                    xx=document.getElementById(idx).getElementsByTagName("img");
                    for (var i=0;i<xx.length;i++){
                        yy=thbs2.indexOf(xx[i].src.match(/ANd9Gc(.*)/)[1]);   
                         //   console.log(yy);   
                         //   console.log(xx[i].src.match(/ANd9Gc(.*)/)[1]);                    
                        if (yy>-1 ) {
                            xx[i].style.maxWidth="none";
                            xx[i].oncontextmenu=function(){location=this.parentNode.href;}
                            xx[i].onmousedown=function(){//function relonmousemove(x){};
                                if(!this.parentNode.href1)this.parentNode.href1=this.parentNode.href; 
                                this.parentNode.href="javascript:void(0);";
                                
                                if(!this.id){this.id=this.src} 
                                if(this.src1){this.src=this.src1;this.parentNode=this.p;this.style.width='auto';this.style.height='auto';this.src1='';this.parentNode.style.display='';this.parentNode.removeChild(this.nextSibling);this.onload=""; }
                                else{this.style.maxWidth="100%";this.style.width='';this.src1=this.src;this.p=this.parentNode;
                                    if(fpics1[thbs2.indexOf(this.src.match(/ANd9Gc(.*)/)[1])].match(/\/\//))src2='http'+fpics1[thbs2.indexOf(this.src.match(/ANd9Gc(.*)/)[1])];
                                    else src2='http://'+fpics1[thbs2.indexOf(this.src.match(/ANd9Gc(.*)/)[1])];
                                    this.src=src2;this.onload=function(){getgetp(this)};this.onerror=function(){getgetp(this)};this.parentNode.style.backgroundColor='#ffffff';this.parentNode.style.padding='2px';
                                    underp(this);
                                }                	
                     }}}}
                     
                     
                    for (var i=1;i<51;i++){
                   		txt=expandthb(thbs2,ti1,i)
                        if(i%2 && i<20 && txt.length>500)txt +=inshowad;
                        idx.innerHTML += txt;
                        if(txt.length<501){
                        	idx.innerHTML +="<div><p><a href='"+preurl+"/"+ti+"/pic"+(ii+2)+".html'>GET MORE PICTURES ABOUT 【"+ti+"】<br>もっと【"+ti+"】の画像を見る<br>更多关于【"+ti1+"】的图片<br></a></p></div>";
                        	break;}
                   		setTimeout(function(){},1000)
                    	}
                      return; *************/
                        
                        
                    }
                }
            else if(idx=="surl"){ShowContent(idx,decodeURI(alurl.href));return;}
			else{txt=txt.replace(/<script>.*\/script>/i,'');}
            if(!url.match(/cache/)){abs="yes";} 
			if(self.location.hostname.match(/mushusei/)){txt=txt.replace(/jpg4\.club/i,'mushusei.space');console.log(self.location.hostname)} 
            if(typeof(notshow)=="undefined")ShowContent(idx,txt)
            
            
            if(fpics1!=null){
                fpics1=fpics1[1].split(",|");
                if(fpics1.length<2)fpics1=fpics1[1].split(",");}
            
    
            if(typeof(fpics1)!=null){//&& !location.host.match(/xxxxxxxxdata/) && idx.match(/myDiv/)
            
                var meta = document.createElement('meta');
                meta.name = "referrer";
                meta.content = "no-referrer";
                document.getElementsByTagName('head')[0].appendChild(meta);
                document.getElementsByTagName('body')[0].onclick='';
                if(!document.getElementById(idx).ondblclick)document.getElementById(idx).ondblclick=document.getElementById(idx).onclick;
                document.getElementById(idx).onclick="";
            	xx=document.getElementById(idx).getElementsByTagName("img");
                thbs2=thbs2.split(",");
                for (var i=0;i<xx.length;i++){
                	yy=thbs2.indexOf(xx[i].src.match(/ANd9Gc(.*)/)[1]);   
                     //   console.log(yy);   
                     //   console.log(xx[i].src.match(/ANd9Gc(.*)/)[1]);                    
                    if (yy>-1 ) {
                        xx[i].style.maxWidth="none";
                        xx[i].oncontextmenu=function(){location=this.parentNode.href;}
                        xx[i].onmousedown=function(){//function relonmousemove(x){};
                            if(!this.parentNode.href1)this.parentNode.href1=this.parentNode.href; 
                            this.parentNode.href="javascript:void(0);";
                        	if(!this.id){this.id=this.src} //location.href = "#";location.hash=this.id;
                            if(this.src1){
                  				this.src=this.src1;
                  				this.parentNode=this.p;this.style.width='auto';this.style.height='auto';this.src1='';this.parentNode.style.display='';this.parentNode.removeChild(this.nextSibling);this.onload="";}
                            else{this.style.maxWidth="100%";this.style.width='';this.src1=this.src;this.p=this.parentNode;
                            	if(fpics1[thbs2.indexOf(this.src.match(/ANd9Gc(.*)/)[1])].match(/\/\//))src2='http'+fpics1[thbs2.indexOf(this.src.match(/ANd9Gc(.*)/)[1])];
                                else src2='http://'+fpics1[thbs2.indexOf(this.src.match(/ANd9Gc(.*)/)[1])];
                                this.src=src2;
								this.onload=function(){getgetp(this);$('html,body').animate({ scrollTop: $(this).offset().top - ( $(window).height() - $(this).outerHeight(true) ) / 2  }, 200);};
								this.onerror=function(){getgetp(this)};this.parentNode.style.backgroundColor='#ffffff';this.parentNode.style.padding='2px';
                                underp(this);
								
                           		//this.scrollIntoView(); 
                            }                	
               	 }}}}
                
                
            }
          }
        xmlhttp.open('GET',url,true);//
        xmlhttp.setRequestHeader('Cake',encodeURIComponent(document.cookie));
        xmlhttp.send();
	}
    
    function underp(pic){if(pic.nounderp)return;
								
                                var undermyp = document.createElement('a');
								undermyp.className="w3-btn w3-white w3-border w3-round-large";
                                undermyp.innerHTML = "Add to my Album<br>マイアルバムに追加<br>加入我的相册";
                                undermyp.style.float="left";             
                                //undermyp.style.backgroundColor='#ffffff'; 
                                //undermyp.style.borderStyle='double';  
                                if(location.href.match(/\/\?lsst=/)){preview=3;pkey=pic.title;}
                                else if(pic.parentNode.href1){pkey=pic.parentNode.href1.match(/\/\/.*?\/(.*)\/pic[0-9]*\.html/)[1];
                                	if(pkey.length>1){preview=1;}}
                                else if(location.href.match(/\/\/.*?\/(.*)\/pic[0-9]*\.html/)){pkey=location.href.match(/\/\/.*?\/(.*)\/pic[0-9]*\.html/)[1];
                                	if(pkey.length>1)preview=2;
                                    else preview=0;}
                                else if(typeof(oldti) !== "undefined" && oldti.length>1){pkey=oldti;preview=2;}
                                else if(typeof(ti) !== "undefined"){pkey=ti;
                                	if(pkey.length>1)preview=2;
                                    else preview=0;}
                                else preview=3;
                                undermyp.onclick = function(){
                                    if (typeof(Storage) !== "undefined") {
                                        pkey=decodeURIComponent(decodeURIComponent(pkey));
                                        console.log(pkey);
                                        if(localStorage.getItem(pkey)) {
                                            localStorage.setItem(pkey, pic.src.replace(/.*pic\.php\?/,'')+','+localStorage.getItem(pkey).replace(pic.src.replace(/.*pic\.php\?/,'')+',',''));
                                            }
                                        else {localStorage.setItem(pkey, pic.src.replace(/.*pic\.php\?/,'')+',');}
                                        console.log(pic.src.replace(/.*pic\.php\?/,''));
                                        console.log(window.localStorage.getItem(pkey));// Retrieve                        
                                        var ii = 0;
                                        for (i = 0; i < localStorage.length; i++) {//console.log(sKey);
											sKey=localStorage.key(i);
                                            if(localStorage.getItem(sKey).match(/^http[s]?:\/\/.*\,/g)){
												console.log(i);console.log(sKey);
                                                ii=localStorage.getItem(sKey).match(/\,/g).length+ii;}
                                        }
										console.log(window.localStorage.length);
                                        this.nextSibling.innerHTML='View My Album:'+ii+'P<br>マイアルバムを見る<br>查看我的相册';                                
                                        }
                                    }
                                var undermypdiv = document.createElement('div');      
                                if(preview)undermypdiv.appendChild(undermyp) ; 
                                var undermyp1 = document.createElement('a');
								undermyp1.className="w3-btn w3-white w3-border w3-round-large";                               
                                var i = 0, ii = 0;
                                for (i = 0; i < localStorage.length; i++) {
									sKey=localStorage.key(i);
                                    if(window.localStorage.getItem(sKey).match(/^http[s]*:\/\/.*\,/g))
                                        ii=window.localStorage.getItem(sKey).match(/\,/g).length+ii;
                                }                       
                                undermyp1.innerHTML ='View My Album:'+ii+'P<br>マイアルバムを見る<br>查看我的相册';
                                //undermyp1.title='マイアルバムを見る(查看我的相册): 全'+ii+'枚';
                                undermyp1.onclick = function(){location.hash="lsst";lsstrg() };   
                               // undermyp1.style.backgroundColor='#ffffff'; 
                                //undermyp1.style.borderStyle='double';   
                               // var undermyp1div = document.createElement('div'); 
                                undermyp1.style.float="right";      
                               if(preview) undermypdiv.appendChild(undermyp1) ;        
                                
                                var undermypmiddiv = document.createElement('div');  
                               // undermypmiddiv.appendChild(zout) ;  
                               // undermypmiddiv.appendChild(zoom) ;    
                               // undermypmiddiv.appendChild(zin) ;
                                var undermypmid = document.createElement('a');  
                                if(preview==1||pic.preview)undermypmid.innerHTML ='Open the page<br>画像ページへ行く<br>打开图片页面';   
                                undermypmid.style=undermyp1.style;  console.log(location.href.match(/\/\?lsst=/));
                                undermypmid.referrerpolicy='unsafe-url'; 
                                if(typeof(pic.parentNode.href1)!="undefined")undermypmid.href=pic.parentNode.href1;
                                else undermypmid.href=location.href;
                                if(top.location.host.match(/(.*\.)(jpg4\.[a-zA-Z]*$)/) && !top.location.host.match(/data\./) )
                                	undermypmid.href=undermypmid.href.replace(/^http:\/\/img\.jpg4\.[a-zA-Z]*/,'http://'+location.host);
                                undermypmid.href=undermypmid.href.replace(/^http[s]?:\/\/(.+)(data|rom)\./,"http://$1.");  
                                undermypmid.href=undermypmid.href.replace(/^http[s]?:\/\/(data|rom)\./,'http://img.');   
                                undermypmid.style.margin="0 auto";  
                                undermypmid.style.display='inline-block';  
                                undermypmiddiv.style.display='inline-block'; 
                                undermypdiv.align="center";  
                                undermypmiddiv.appendChild(undermypmid) ; 
                                undermypdiv.appendChild(undermypmiddiv) ; 
                                if(preview==2&&!pic.preview){undermypdiv.style.fontSize='x-large'; 
                                	pic.style.maxWidth="100%";pic.onclick=function(){if(this.style.maxWidth=="100%")this.style.maxWidth="none";else {this.style.maxWidth="100%";this.style.height="auto";}};}
                               // this.parentNode.appendChild(undermyp1div);
                                pic.parentNode.style.display='inline-block' ;     
                                zoom(pic,undermypmid);   
                                pic.parentNode.insertBefore(undermypdiv,pic.nextSibling);
    
    
    }
    
    function zoom(pic,thisdiv){
    	var zoom = document.createElement('span');
        zoom.innerHTML = "  ZOOM  ";    
        zoom.onclick = function(){pic.style.maxWidth="none";pic.style.width="auto"; pic.style.height="auto"; 			}
        zoom.title = "Original(100%)"; 
        
        var zh = document.createElement('span');
        zh.title = "高さに合わせる;fit height"; 
        zh.innerHTML = " ↕️ ";
        zh.onclick = function(){
			oldheight=pic.height;
			pic.style.maxWidth="none";
            if (document.body && document.body.offsetWidth) {
             winW = document.body.offsetWidth;
             winH = document.body.offsetHeight;console.log(winH);
            }
            if (document.compatMode=='CSS1Compat' &&
                document.documentElement &&
                document.documentElement.offsetWidth ) {
             winW = document.documentElement.offsetWidth;
             winH = document.documentElement.offsetHeight;console.log(winH);
            }
            if (window.innerWidth && window.innerHeight) {
             winW = window.innerWidth;
             winH = window.innerHeight;console.log(winH);
            }
        	pic.style.height=winH+"px";pic.style.width='auto'; }
        
        var zw = document.createElement('span');
        zw.title = "幅に合わせる;fit width"; 
        zw.innerHTML = " ↔️ ";
       // zin.style.borderStyle='double';
        //zin.style.margin="0 auto";
        zw.onclick = function(){
			oldheight=pic.height;
			pic.style.maxWidth="none";
            if (document.body && document.body.offsetWidth) {
             winW = document.body.offsetWidth;
             winH = document.body.offsetHeight;//console.log(winH);
            }
            if (document.compatMode=='CSS1Compat' &&
                document.documentElement &&
                document.documentElement.offsetWidth ) {
             winW = document.documentElement.offsetWidth;
             winH = document.documentElement.offsetHeight;//console.log(winH);
            }
            if (window.innerWidth && window.innerHeight) {
             winW = window.innerWidth;
             winH = window.innerHeight;//console.log(winH);
            }
            pic.style.width=winW+"px";pic.style.height="auto";} 
        
        var zin = document.createElement('span');
        zin.title = "20% UP"; 
        zin.innerHTML = " + ) ";
       // zin.style.borderStyle='double';
        //zin.style.margin="0 auto";
        zin.onclick = function(){console.log(pic.offsetWidth);
            pic.style.width=pic.clientWidth*1.2+"px";pic.style.maxWidth="none";pic.style.height="auto"; }
        var zout = document.createElement('span');
        zout.innerHTML = " ( - ";
        zout.title = "20% DOWN"; 
        //zout.style.borderStyle='double';
        //zout.style.margin="0 auto";
        zout.onclick = function(){
            pic.style.width=pic.clientWidth*0.8+"px";pic.style.maxWidth="none";pic.style.height="auto"; }
        var zoomdiv = document.createElement('div');  
        zoomdiv.appendChild(zh) ;  
        zoomdiv.appendChild(zout) ;  
        zoomdiv.appendChild(zoom) ;    
        zoomdiv.appendChild(zin) ;   
        zoomdiv.appendChild(zw) ;
        zoomdiv.style.margin="0 auto";
        zoomdiv.style.fontSize="2.5em";
        zoomdiv.onmousedown = function(){
			oldpos=pic.getBoundingClientRect().bottom; 
			console.log(pic.getBoundingClientRect().bottom);
			setTimeout(function(){
				console.log(pic.getBoundingClientRect().bottom);				
				console.log((pic.getBoundingClientRect().bottom-oldpos))
				document.body.scrollTop+=(pic.getBoundingClientRect().bottom-oldpos);//for safari
				document.documentElement.scrollTop+=(pic.getBoundingClientRect().bottom-oldpos);				
				console.log((pic.getBoundingClientRect().bottom-oldpos))},200)}
        zoomdiv.align="center";
        thisdiv.parentNode.insertBefore(zoomdiv,thisdiv);
        }
    
	
	  var nosleep = document.createElement('script'); nosleep.type = 'text/javascript'; 
      nosleep.src = 'https://cdnjs.cloudflare.com/ajax/libs/nosleep/0.11.0/NoSleep.min.js';
      (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(nosleep);
	  setTimeout(function(){var noSleep = new NoSleep();
	  	document.addEventListener('click', function () {noSleep.enable();setTimeout(function(){noSleep.disable()},1200000)}, false);// stop after 20min
		},1000)

	function myslide(mode) {
	  if(document.getElementById("slddiv") != null ){return;}
		
	

				 
	  var slddiv=document.createElement('div')
	  var sldpre=document.createElement('a')
	  sldpre.className="mySlides w3-animate-fading modal";  
	  sldpre.onclick=function(){onArrow("-1");}
	  var sldnext=document.createElement('a')
	  sldnext.onclick=function(){onArrow("1");}
	  sldnext.onclick=function(){onArrow("1");}
	  var newimg=new Image();
	  var sslide=document.createElement('style')
	  sslide.appendChild(document.createTextNode(`.w3-animate-zoom {animation:animatezoom 10s}@keyframes animatezoom{0%{transform:scale(1)}50%{transform:scale(1.5)}100%{transform:scale(1)}
	  					.modal {
							  position: fixed;
							  z-index: +19999;
							  left: 0;
							  top: 0;
							  width: 100%;
							  height: 100%;
							  overflow: auto;
							  background-color: black;
							}`));
	  if(mode.match(/f/)&&fpics1.length>2)sldsrc=fpics1;
	  else{ var y= document.getElementsByTagName("ul")[0].getElementsByTagName("img");
	  //y=y.filter((v, i, a) => a.indexOf(v) === i);
		  var i , sldsrc=[];
		  for (i = 0; i < y.length; i++) {if(!sldsrc.includes(y.src))sldsrc.unshift(y[i].src);}
		  console.log(sldsrc.toString()); 
	  }
	  slddiv.style.position="fixed";
	  slddiv.style.backgroundColor="black";
      slddiv.style.zIndex='19999';
	  slddiv.style.top="0";
	  slddiv.style.width="100%";
	  slddiv.style.height="100%";
	  slddiv.id="slddiv";
	  newimg.style.width="100%";
	  newimg.style.height="100%";
	  newimg.style.objectFit="contain";
	  newimg.id="newsld";
	  newimg.className="mySlides w3-animate-fading modal";
	  if(!mode.match(/r/))myIndex=0;
	  else myIndex=Math.floor(Math.random() * sldsrc.length); 
	  if(mode.match(/f/))newimg.src="http"+sldsrc[myIndex];
	  else newimg.src=sldsrc[myIndex]; 
	  newimg.onload=function(){console.log(newimg.width+";"+newimg.height);
		  if((newimg.width+newimg.height)<601 || newimg.width==null){
			  myIndex++;
			  if(!sldsrc[myIndex].match(/^http/))newimg.src=="http"+sldsrc[myIndex];
			  else newimg.src=sldsrc[myIndex]; }}
	  newimg.onerror=newimg.onload;  
	  function cancelFullScreen() {
    if (document.cancelFullScreen) {
        document.cancelFullScreen();
		} else if (document.mozCancelFullScreen) {
			document.mozCancelFullScreen();
		} else if (document.webkitCancelFullScreen) {
			document.webkitCancelFullScreen();
		} else if (document.msCancelFullScreen) {
			document.msCancelFullScreen();
		}
	}
	  function fullScreen(element) {
		if (element.requestFullScreen) {
			element.requestFullScreen();
		} else if (element.webkitRequestFullScreen) {
			element.webkitRequestFullScreen();
		} else if (element.mozRequestFullScreen) {
			element.mozRequestFullScreen();
		}
	}
	  document.body.appendChild(sslide);
	  slddiv.appendChild(newimg);
	  document.body.appendChild(slddiv);
	  fullScreen(slddiv);
	  slddiv.onclick=function(){cancelFullScreen();this.remove();clearInterval(intSLD);} 
	  if(typeof(myIndex)=="undefined") var myIndex = 0;
	  //var i;
	 // var x = document.getElementsByTagName("ul");
	 // for (i = 0; i < x.length; i++) {
	//	x[i].style.display = "none";  
	 // }
/*	  function myonload(n){
		  console.log((this.width+";"+this.height)+"px");
		  if((newimg.width+newimg.height)<601 || newimg.width==null){
			  myIndex++;
			  if(!sldsrc[myIndex].match(/^http/))newimg.src=="http"+sldsrc[myIndex];
			  else newimg.src=sldsrc[myIndex]; 
		      newimg.onload=function(){myonload();}
			  newimg.onerror=function(){myonload();}}
		  else if(typeof(imgpre)!="undefined"){
			setTimeout(function(){newimg=imgpre;
		      newimg.onload=function(){myonload();}
			  newimg.onerror=function(){myonload();}
			  delete imgpre;
			  console.log(newimg);},10000)
			myIndex++;}
		  else{
		  	imgpre =document.getElementById("newsld").cloneNode(true); imgpre.src = nextsrc;
			imgpre.onload=function(){myonload();}
		  	imgpre.onerror=function(){myonload();}//function(){delete imgpre;}} */
	  function myonerror(n){
		  imgpre =document.getElementById("newsld").cloneNode(true); imgpre.src = nextsrc;imgpre.onload=function(){console.log(this.width+";"+this.height);console.log(this.width+this.height);if((this.width+this.height)<601)delete imgpre;myIndex++}
		  	imgpre.onerror=function(){delete imgpre;}
			newimg=imgpre;console.log(newimg);}
	  function onArrow(n){
		  if((event.keyCode=="37"|| n=="-1") && myIndex>0){myIndex--;}if(event.keyCode=="39" || n=="1"){myIndex++;}//newimg.src=sldsrc[myIndex];
		  if(mode.match(/f/))newimg.src="http"+sldsrc[myIndex];
		  else newimg.src=sldsrc[myIndex]; 
		  document.getElementById("newsld").replaceWith(newimg);
		  delete imgpre;
		  clearInterval(intSLD);
		  setSLD();} 
	  document.body.onkeydown=function(){onArrow(0);}
	  $(".w3-blue").on("click",function(e){console.log("2");
	  	console.log( $("#slddiv").on("swipeleft"));
	  	console.log( $("#slddiv").on("swiperight"));
		 $("#slddiv").on("swiperight");
		//onArrow("1"); 
		e.stopPropagation();}); 
	  $("#slddiv").on("swiperight",function(e){console.log("2"); e.stopPropagation();onArrow("1");});	  
	 // $("#slddiv").on("swipeleft",function(){onArrow("-1");});
	  function setSLD(){intSLD=setInterval(function(){
		  if(mode.match(/r/)){tmpmyIndex=Math.floor(Math.random() * sldsrc.length);
		  	if(tmpmyIndex!=myIndex)myIndex=tmpmyIndex;
			else myIndex=tmpmyIndex;
		  	tempnextIndex=Math.floor(Math.random() * sldsrc.length);
			if(tempnextIndex!=myIndex)nextIndex=tempnextIndex;}
		 else{ myIndex++; nextIndex=myIndex+1;
			if (myIndex > sldsrc.length) {myIndex = 1}
			if (nextIndex > sldsrc.length) {nextIndex = 1}}  
		  if(typeof(imgpre)!="undefined" && document.getElementById("newsld")){newimg.id="newsld";
		  	console.log(imgpre);delete imgpre;
			console.log(newimg);}
		  else {if(!sldsrc[myIndex].match(/^http/))newimg.src="http"+sldsrc[myIndex];
		 	 else newimg.src=sldsrc[myIndex]; }
		  if(!sldsrc[nextIndex].match(/^http/))nextsrc="http"+sldsrc[nextIndex];
		  else nextsrc=sldsrc[nextIndex]; 
		  newimg.onerror=function(){console.log("slderror");clearInterval(intSLD);setSLD();}
		  newimg.onload=function(){if((this.width+this.height)<601){console.log("sizeerror");clearInterval(intSLD);setSLD();}}
		 //if(!document.getElementById("newsld"))document.getElementById("slddiv").appendChild(newimg);
		  document.getElementById("newsld").replaceWith(newimg);
		  setTimeout(function(){imgpre =document.getElementById("newsld").cloneNode(true); imgpre.src = nextsrc;imgpre.onload=function(){console.log(this.width+";"+this.height);console.log(this.width+this.height);if((this.width+this.height)<601)delete imgpre;myIndex++}
		  	imgpre.onerror=function(){delete imgpre;}
			newimg=imgpre;console.log(newimg);},4000)
		  },10000); } 
		setSLD();    
	}
	
	
    function lsstrg(showtype){
    	if(location.hostname.match(/(^data\.)/i) )location="http://av.tokyo-hot.club/";
    	if(location.href.match(/\/\?lsst=$/))location.hash="#lsst";
    	if(location.href.match(/\/\?lsst=/)&& location.hash!="#lsst")
        	lurl=location.href.match(/.*\/\?lsst=(.*)/)[1];
        else lurl="";   
		if(location.href.match(/jpg4\.biz.*_JY4y9UXHTQ\.jpg.*https:\/\/postt$/)){lurl=lurl.replace("_JY4y9UXHTQ.jpg","_JY4y9UXHTQ.jp");}
        lurl=decodeURI(decodeURI(lurl.replace(/(https?:\/)([0-9a-z])/ig,"$1"+"/"+"$2")));
        lurl=decodeURI(decodeURI(decodeURI(lurl)));
        
        lurl=lurl.replace(/(https?:\/)([0-9a-z])/ig,"$1"+"/"+"$2");
       // console.log(lurl);
        location1=location;
        window.onhashchange = function(){if(location!=location1)location.reload();}
        if (typeof(Storage) !== "undefined" || lurl) {
            // Retrieve
            var i = 0,myls="";
            keybody = document.createElement('body');
            keybody.id ='keybody';
            if(!lurl){
                for (i = 0; i < localStorage.length; i++) {
					sKey=localStorage.key(i);
                    if(window.localStorage.getItem(sKey).match(/^http[s]*:\/\/.*\,/) && sKey){
                    	lurl=lurl+sKey+'-'+window.localStorage.getItem(sKey)+";";
                       // else lurl=lurl+encodeURIComponent(sKey)+'-'+window.localStorage.getItem(sKey)+";";
                        }  
                    }}
            pmlink = document.createElement('div');
          //  pmlink.id="alurl";
          //  pmlink.href="/?lsst="+lurl;
            if(lurl.length<180000)pmlink.innerHTML="<strong><div><span title='Click to go back; クリックして戻る。' onclick=\"location=location.href.replace(location.hash,'')\"><-GO BACK戻る</span></div><span id=surl></span></strong> <a id=alurl href=\"/?lsst="+lurl+"\"><font size=5>☝️</font>(Shareable Link generated for current My local Album. このマイアルバムの保存/共有用リンク。 当前相册的保存/共享用链接</a>) <hr>";      		else pmlink.innerHTML="<strong>MY ALBUM(live,local)</strong><hr>";  
            //console.log(lurl.length)   ;   
			if(lurl.length<182000 )setTimeout(function(){if(document.getElementById('alurl'))loadXMLDoc(encodeURI('http://'+"js.gazo.space"+decodeURI(alurl.href).replace(/.*\?lsst=/,'/?lsst=')+"&surl=1"),"surl");},6000);
          	$(window).scroll(function() {
   				if($(window).scrollTop() + $(window).height() > $(document).height() - 100) {
      		 		loadXMLDoc('http://js.gazo.space/?lsst=list&'+new Date().getMinutes()%20,"albdiv"); 
  					 }
			});

            if(location.hash!="#lsst" && lurl.length<20000)pmlink.innerHTML='<strong><span id=surl></span></strong> <a id=alurl href="/?lsst='+lurl+'"><font size=5>☝️</font>(Shareable cross-platform Link for current Album, after editing click to save. このアルバムの保存/共有用リンク、編集後クリックして保存。 当前相册的保存/共享用链接、编辑后点此保存。</a>) <br>Current Album is for saving&sharing.今のアルバムは保存・共有用。当前相册为保存・共享用<br><a href=/#lsst title="自分のアルバムはここ!\n自己的相册在这里!">Live version of Your Album is HERE! 自分のローカルアルバムはここ! 自己的本地相册在这里!</a><hr>This is an Album generated from current URL. Anybody can add or remove any image(s) by editing this URL(up to 8KB, i.e. about 200 images; url shorten service is up to 2KB, i.e. about 50 images. Your local Album in this browser supports up to 10MB, i.e. about 250,000 images.). <br>このアルバムは現在のURLから生成されています。誰でも編集後、新しいURLを生成して保存・共有できます。URLの長さ制限は2KB、約50枚を保存できます。ローカルアルバム(このブラウザ)は10MB約25万枚を保存できます。<br>此相册由当前URL生成,谁都可以编辑后生成新的URL保存及共享。URL的长度限制为2KB约50枚,本地相册(当前浏览器)可保存10MB约25万枚。<br><font color=red>NO content of this Album is related to this site!!!;</font><br>';
            else if(location.hash!="#lsst")pmlink.innerHTML="<strong><span id=surl></span></strong> <a id=alurl href=\"/?lsst="+lurl+"\"><font size=5>☝️</font>(Shareable cross-platform Link generated for current Album. このアルバムの保存/共有用リンク。 当前相册的保存/共享用链接</a>) <br><a href=/#lsst title='自分のアルバムはここ!\n自己的相册在这里!'>Live version of Your Album is HERE! 自分のアルバム! 自己的相册!</a><hr>This is an Album generated from current URL. Anybody can add or remove any image(s) by editing this URL(up to 8KB, i.e. about 200 images; url shorten service is up to 2KB, i.e. about 50 images. Your local Album supports up to 10MB, i.e. about 250,000 images.). <br><font color=red>NO content of this Album is related to this site!!!;</font><br>";
			pmlink.className="w3-panel w3-pale-yellow w3-border w3-border-yellow";
			pmlink.innerHTML+='<div class="w3-container w3-blue" align=center>Slide show:<button class="w3-button w3-large w3-border" onclick=myslide("n")>🎞️order</button><button class="w3-button w3-large w3-border" onclick=myslide("r")>🎞️Random</button></div>';
			  
            keybody.appendChild(pmlink);
           // console.log(lurl);
			keyul = document.createElement('ul');
			keyul.classList.add("w3-ul");
			keyul.id="keyul";
            for (i=0; i<lurl.split(";").length-1; i++) {
            	keydiv = document.createElement('li');
                if(lurl.split(";")[i].match(/^(.*)?-http/))
                    sKey=lurl.split(";")[i].match(/(.*)?-http/)[1];
                akeydiv=document.createElement('div');
                akeydiv.innerHTML="<br>";
                akeydiv.id="akeydiv"+i;
            	akeydiv.style="font-size:150%;";
				akeydiv.className="w3-container w3-light-grey";
               // akeydiv.onmousemove=function(){relonmousemove(this.id);console.log(this.id);}
                akey=document.createElement('a');
                akey.href='/'+sKey+'/pic1.html';
                akey.innerHTML=decodeURIComponent(sKey);
                //akey.onmouseover=function(){relonmousemove(this.parentNode);}
                if(lurl.split(";")[i].match(/^.*?-(http.*)/))
                    myps = lurl.split(";")[i].match(/^.*?-(http.*)/)[1].split(",");
                if(myps[0].match(/^http[s]*:\/\//)){
                	akeydiv.appendChild(akey); 
                	keydiv.appendChild(akeydiv);}                    
                for (ii=0;ii<myps.length;ii++) {//
                        var myps1div= document.createElement('div');
                        var myps1 = document.createElement('img');
                        var rmpic= document.createElement('div');
                        myps1.id = i+"-"+ii; 
                        myps1.src = myps[ii];                         
                       // myps1.nounderp = 1; 
                       myps1.style.maxWidth="100%";
                        myps1.onload=function(){getgetp(this)};
                        myps1.onerror=function(){getgetp(this)};
                        myps1.title=decodeURIComponent(sKey);
                        myps1.ondrag=function(){this.src=''; }
                        myps1.oncontextmenu=function(){this.src=''; }
                        
                        myps1.onclick =function(){ 
                        	if(this.parentNode.style.maxWidth=="100%"){this.parentNode.style.maxWidth="30%";this.style.maxWidth="100%";this.style.height="auto";this.parentNode.removeChild(this.nextSibling);this.nextSibling.style.display="none";}
                            else {this.parentNode.style.maxWidth="100%";this.style.maxWidth="none";  this.nextSibling.style.display="";
                            	$('html,body').animate({ scrollTop: $(this).offset().top - ( $(window).height() - $(this).outerHeight(true) ) / 2  }, 200);
                                if(location.hash!="#lsst")underp(this);
                                else zoom(this,this.nextSibling);} 
                            } 
                        myps1.sKey=sKey; 
                        myps1.myps=myps[ii]; 
                        function rmstrg(tthis){
                          //  var txt;
                         //   var r = confirm("Remove this image from My-List?");
                            if (tthis) {//if (r == true)
                            	if(location.hash){console.log(tthis);
                                    tthis.oldvalue=localStorage.getItem(tthis.parentNode.firstChild.sKey);
                                    localStorage.setItem(tthis.parentNode.firstChild.sKey, tthis.oldvalue.replace(tthis.parentNode.firstChild.myps+',',''));
                                	if(!localStorage.getItem(tthis.parentNode.firstChild.sKey).length)localStorage.removeItem(tthis.parentNode.firstChild.sKey);}
                                if(typeof(alurl)!="undefined"){alurl.href1=alurl.href;
									alurl.href=alurl.href.replace(tthis.parentNode.firstChild.myps+',','');
									alurl.href=alurl.href.replace(/[^;^=]*-;/,'');}
                                tthis.p=tthis.parentNode;
                                var undodiv = document.createElement('div');
                                var undo = document.createElement('a');
                                undo.innerHTML="<br>Removed! Click to UNDO!<br>削除された!クリックして復活!<br>已删除,点这里恢复!<br>";
                                undo.href="javascript:void(0);";
                                undo.onclick=function(){
                                	if(location.hash=="#lsst")localStorage.setItem(tthis.p.firstChild.sKey, tthis.oldvalue);
                                    alurl.href=alurl.href1;
                                    this.parentNode.insertBefore(tthis.p,this);
                                    this.parentNode.removeChild(this);
                                    }
                                undodiv.appendChild(undo); console.log(tthis.p);
                                undodiv.style.display='inline-block' 
                       			tthis.parentNode.style.display='inline-block'
                                tthis.parentNode.parentNode.insertBefore(undodiv,tthis.parentNode);
                                tthis.parentNode.parentNode.removeChild(tthis.parentNode);
                            } else { }                           
                         };
                        
                        rmpic.innerHTML="<font color=red>[X] Remove from This Album. このアルバムから削除。从此相册删除。</font>";
                        rmpic.style.display="none"; 
                        rmpic.onclick= function(){rmstrg(this)};
                        myps1.ondblclick = function(){rmstrg(this)};
                        myps1div.appendChild(myps1);
                        myps1div.style.maxWidth="30%";
                        myps1div.style.overflow="auto";
						myps1div.className="w3-card-4";
                        myps1div.appendChild(rmpic);
                       	rmpic.align="center"; 
                        myps1div.style.display='inline-block'
                        if(myps[ii].match(/^http[s]*:\/\//))keydiv.appendChild(myps1div);
                    }
                    keyul.appendChild(keydiv);
                    /*ubit=document.createElement('div');
                    ubit.id='ubit';
                    keybody.appendChild(ubit);
                    loadXMLDoc("http://img.jpg4.info/userbitly.txt","ubit");
                    ubits=document.getElementById('ubit').innerHTML.split(",").sort(function(a, b){return 0.5 - Math.random()}).slice(30);
                    ubittext='';
                    for (i = 0; i < ubits.length; i++) { 
                        ubittext +="<a href='https://bit.ly/"+ ubits[i] + "'>"+ ubits[i] + "</a>,";}
                    document.getElementById('ubit').innerHTML="<hr>Random Albums: "+ubittext;
*/            }
           // document.removeChild(document.childNodes[0]);
            var meta = document.createElement('meta');
            meta.name = "referrer";
            meta.content = "no-referrer";
            keydiv.appendChild(meta);
            keybody.appendChild(keyul);
            //keybody.style="overflow: scroll";
            var alb= document.createElement('div');
			alb.className="w3-container";
			alb.id="albdiv";
            keyul.appendChild(alb);
   			document.body=keybody;
            document.getElementsByTagName("title")[0].innerHTML=decodeURIComponent(sKey);
            relonmousemove("keybody");  
        }     
    }
    if(typeof(jssite)=="undefined" && (location.href.match(/\/\?lsst=/) || location.hash.match(/^#lsst/)))
    	setTimeout(function(){//console.log('lsstrg');
			lsstrg();},10)
    
    function underv(vembed){
        var undermyp = document.createElement('a');
        undermyp.innerHTML = "Add to my Playist<br>マイプレーリストに追加<br>加入我的播放列表";
       // undermyp.title = ""; 
        undermyp.style.float="left";             
        //undermyp.style.backgroundColor='#ffffff'; 
        undermyp.style.borderStyle='double';   
        pkey="myplist";                         
        var i = 0, ii = 0;
        undermyp.onclick = function(){
            if (typeof(Storage) !== "undefined") {
                // Store
               // vtit="";
                if(location.href.match(/\/v\/([s]?:\/\/.+\/title\/.+)/))
                	{vtit=location.href.match(/\/v\/[s]?:\/\/.+\/title\/(.+)/)[1];
                    vid=location.href.match(/\/v\/([s]?:\/\/.+)\/title\/.+/)[1];}
                else vid=location.href.match(/\/v\/([s]?:\/\/.*)/)[1];
                if(toset)
                	fvid=vid+','+toset.match(/(.*)<<>>/)[1];
                else fvid=vid+','+vtit; 
                console.log(vtit);
                console.log(document.getElementsByTagName('h1')[0].innerHTML);
                
                if(localStorage.getItem(pkey)) {
                	if(!localStorage.getItem(pkey).match(vid+','))
                    localStorage.setItem(pkey, fvid+';'+localStorage.getItem(pkey).replace(fvid+';',''));
                    }
                else localStorage.setItem(pkey, fvid+',');
                // Retrieve        
                if(window.localStorage.getItem(pkey))
                    ii=window.localStorage.getItem(pkey).match(/\,/g).length;
                this.nextSibling.innerHTML='View my Playlist: ('+ii+' videos)<br>マイプレーリストを見る<br>查看我的播放列表';
                }
            }    
        var undermyp1 = document.createElement('a');      
        if(window.localStorage.getItem(pkey)&&window.localStorage.getItem(pkey).match(/([s]?:\/\/.*)/))
            ii=window.localStorage.getItem(pkey).match(/\,/g).length;                   
        undermyp1.innerHTML ='View my Playelist: ('+ii+' videos)<br>マイプレーリストを見る<br>查看我的播放列表';
        undermyp1.onclick = function(){location.hash="vlsst";vlsstrg() };   
        undermyp1.style.backgroundColor='#ffffff'; 
        undermyp1.style.borderStyle='double';   
        undermyp1.style.float="right";     
         
        var undermypdiv = document.createElement('div');      
        undermypdiv.appendChild(undermyp) ; 
        undermypdiv.appendChild(undermyp1) ;  
       // vembed.parentNode.insertBefore(undermypdiv,vembed.nextSibling); 
        document.getElementById(vembed).appendChild(undermypdiv);                 
    	}
//    setTimeout(function(){underv("embed");},2000)   
        

    
    function dtippc(){
    	if(getCookie("cnt")>10 && location.href.match(/\/v\//))return;
    	if(Math.random()<0.9 && (userLang.match(/bot|ja|jp/gi) || navigator.userAgent.match(/ja/gi) || userLangcf.match(/ja|jp/gi)))
        	document.write('<div><IFRAME SRC="https://www.ppc-direct.com/index17.html?affid=165374" width="728" height="90" frameborder="no" scrolling="no"></IFRAME>');
        else document.write(' <iframe src="https://www.mmaaxx.com/table/dx/9103043/index.html?affid=161586" width="600" height="230" frameborder="no" scrolling="no"></iframe>');}
	function setCookie(cname, cvalue, exdays, cmore) {
		var d = new Date();
		d.setTime(d.getTime() + (exdays*24*60*60*1000));
		var expires = "expires="+d.toGMTString();
		if(cname.length>0){document.cookie = cname + "=" + cvalue + "; " + expires + cmore;}
	}
    
    function mypaging(x){notshow=1;
        if(typeof(thbsx)=="undefined" || x.toString().match(/all/)){loadXMLDoc('/'+ti+'/pic1.html','myDiv');thbsx=thbs2.join(',');}//document.getElementById('myDiv').style.display='none';
        if(!x.toString().match(/all/)){ShowContent('myDiv',expandthb(thbsx,ti,x));console.log(x); }
        delete notshow;
    }
	function escapeHtml(text) {
	  var map = {
		'&': '&',
		'<': '<',
		'>': '>',
		'"': '"',
		"'": '''
	  };
	
	  return text.replace(/[&<>"']/g, function(m) { return map[m]; });
	}	
	function expandthb(thbsxx,ti,page)
	{
    if(typeof(inshowad)=="undefined")inshowad="";
	var preurl="";
	//if(!self.location.hostname.match(/img\.jpg4\.club/)){preurl='http://img.jpg4.info';} 
	//if(self.location.hostname.match(/mushusei/)){preurl='http://img.mushusei.space';} 
    if(page=="all"||top.location.hostname.match(/jpg4\.us|rom\./))rsize="";else rsize="";
	var thbss="";
	var thbsss="";
	var temparrays = new Array();
    thbsxx=thbsxx.replace(/&s/g,'');
	allthbs=thbsxx.split(",|");
    if(allthbs.length<2)allthbs=thbsxx.split(",");
	
	var i,j,temparray,chunk = 20;
	for (i=0,j=allthbs.length; i<j; i+=chunk) {
		temparray = allthbs.slice(i,i+chunk);
		temparrays.push(temparray);
		// do whatever
		}
	if(page>0){thbst=temparrays[page-1];
		for (var i=0;i<thbst.length;i++){
			if(thbst[i].match(/[0-9]$/)){t=0;}
			else if(thbst[i].match(/[a-z]$/)){t=1;}
			else if(thbst[i].match(/[A-Z]$/)){t=2;}
			else {t=3;}
			thbss=thbss+"<a target='_top' title='#"+(i+1)+" in page "+page+" of "+escapeHtml(decodeURI(ti))+"' href='"+preurl+"/"+ti+"/pic"+page+".html#img"+(i+1)+"'><img oncontextmenu=\"this.src=''\" "+rsize+"src='http://t"+t+".gstatic.com/images?q=tbn:ANd9Gc"+thbst[i]+"'/></a>";}
		//return thbss;
		}
	else if(page=="all"){
		if (typeof(oldti) != 'undefined' && oldti==ti)return;
		for (var ii=0;ii<temparrays.length;ii++){	
			thbst=temparrays[ii];
			for (var i=0;i<thbst.length;i++){
				if(thbst[i].match(/[0-9]$/)){t=0;}
				else if(thbst[i].match(/[a-z]$/)){t=1;}
				else if(thbst[i].match(/[A-Z]$/)){t=2;}
				else {t=3;}
                thbss=thbss+"<a target='_top' title='#"+(i+1)+" in page "+(ii+1)+" of "+escapeHtml(decodeURI(ti))+"' href='"+preurl+"/"+ti+"/pic"+(ii+1)+".html#img"+(i+1)+"'><img oncontextmenu=\"this.src=''\" "+rsize+"src='http://t"+t+".gstatic.com/images?q=tbn:ANd9Gc"+thbst[i]+"'/></a>";}
			if(ii%3==0 && ii<20){thbss=thbss+inshowad;}
            
            if(ii==10){thbss +='<div id="myinvidad" border="2" style="display:none;position: fixed; top:150px;left: 50%;transform: translateX(-50%); align:center; margin-top: 1px; visibility: visible;"><div style="font-family:arial; border:1px solid #676968; background-color:white; padding:0;margin:0;"><div id=ininvida></div><div style="font-weight: bold;font-size: 14px;"onclick="myinvidad.style.display=\'none\';mesvid();">Close & View</div><div id=ininvid></div></div></div>'; 
                myintvl=1000;
				setTimeout(function(){myinvidad.style.display="";
			adDelay=0;ininvida.innerHTML=inshowad;ininvid.innerHTML=inshowad;delete adDelay;},Math.random()*2000+10000);}
			}      
            if( location.host.match(/xxxxxdata/))return thbss;
       		else thbss='<div class="w3-container w3-blue">Slide show:<button class="w3-button w3-large w3-border" onclick=myslide("f")>🎞️order</button><button id="rfslide" class="w3-button w3-large w3-border" onclick=myslide("rf")>🎞️Random</button></div>'+thbss+"<div><button class='w3-button w3-large'> <a class='w3-yellow' href='"+preurl+"/"+ti+"/pic"+(ii+2)+".html'>もっと【"+escapeHtml(decodeURI(ti))+"】の画像を見る<br>GET MORE PICTURES ABOUT 【"+escapeHtml(decodeURI(ti))+"】<br>更多关于【"+escapeHtml(decodeURI(ti))+"】的图片<br></a></button>"+'<div class="w3-container w3-blue">Slide show:<button class="w3-button w3-large w3-border" onclick=myslide("f")>🎞️order</button><button id="rfslide" class="w3-button w3-large w3-border" onclick=myslide("rf")>🎞️Random</button></div>';    
		}
        if(!location.hash.match(/#lsst/) && !location.href.match(/\/?lsst=/))closehref=""; //"href='#"+ti+"'"
		else closehref="";
        if(document.getElementById('thbss')){document.getElementById('thbss').parentElement.style.display='none';document.getElementById('thbss').parentElement.removeChild(document.getElementById('thbss'));}
  		if (typeof(myfkw)!= 'undefined')clearTimeout(myfkw);
		myfkw=setTimeout(function(){
			if(!getCookie('fkw')){oldfkw="";}else {oldfkw=decodeURIComponent(getCookie('fkw'));}
   			if(oldfkw.length>2500){oldfkw=oldfkw.replace(/\|\|\|.*?\|\|\|.*?$/,'');}
        	setCookie('fkw', encodeURIComponent(decodeURIComponent(ti)+'|||'+oldfkw.replace(decodeURIComponent(ti)+'|||','')), 30,cmore);console.log(ti);},30000);
		return "<div id='thbss'>"+thbss+"<a onclick=\"clearTimeout(myfkw);document.getElementById('thbss').parentElement.style.display='none';document.getElementById('thbss').parentElement.removeChild(document.getElementById('thbss'));delete oldti;\" style=\"border-style: double;background-color: #fdff00;position: fixed; top:50px;right:5px;\" "+closehref+" title=\"CLOSE\"><font size=5 color=red>☒ CLOSE</font><br>"+escapeHtml(decodeURI(ti))+"</a><a onclick=\"document.getElementById('thbss').parentElement.style.display='none';document.getElementById('thbss').parentElement.removeChild(document.getElementById('thbss'));delete oldti;\" style=\"border-style: double;background-color: #fdff00;position: fixed; top:50px;left:5px;\" "+closehref+" title=\"CLOSE\"><font size=5 color=red>☒ CLOSE</font><br>"+escapeHtml(decodeURI(ti))+"</a></div>";		
		oldti=ti;
	}

	
	//if (top.location.hostname != self.location.hostname && !self.location.href.match('cache/')) top.location = self.location; 
	t1='<div style="padding: 8px; width: 100%"><iframe name="datalist" src="http://js.gazo.space/tagjpa.php?url=page.sagac.info/cac/t8-1.html" marginwidth="0" marginheight="0" width=100% height="780" border="0" frameborder="0" style="border:none;" ></iframe></div>';
	
	var bookmarkurl=window.location.href;
	var bookmarktitle=document.title;

	function relonmousemove(x)
		{
        if(document.getElementById(x) && typeof(moved)=="undefined"){
        	//moved='yes';
            if(typeof(imgdm)!='undefined')var prelink='';else prelink='http://img.jpg4.info';
            if(getCookie('usern')!='steal'||!(document.getElementById(x).innerHTML.match(/tvn\.hu/ig).length>4 && userLangcf.match(/us/gi) && userlang.match(/en/i)&& new Date().getHours()>=8&&new Date().getHours()<=18&&new Date().getDay()<=5 ) ) {
               // if(typeof(myDiv)!=="undefined"){
                //	myDiv.style.position='absolute';
               // 	}
               for (var i=0;i<document.getElementById(x).getElementsByTagName("a").length;i++){
                    if(!document.getElementById(x).getElementsByTagName("a")[i].href.match(/\?lsst=|#lsst/) && !document.getElementById(x).getElementsByTagName("a")[i].innerHTML.match(/<span |adddone=1|http:\/\/|<img /)){
                    if(x!="trad"){
                    	tosearch=document.getElementById(x).getElementsByTagName("a")[i].href.match(/\/(.*)\/pic1\.html/);
                        if(tosearch && tosearch[1].length)document.getElementById(x).getElementsByTagName("a")[i].href=prelink+'/'+tosearch[1]+'/pic1.html';
                  		else document.getElementById(x).getElementsByTagName("a")[i].href=prelink+'/'+document.getElementById(x).getElementsByTagName("a")[i].innerHTML+'/pic1.html';}
                    document.getElementById(x).getElementsByTagName("a")[i].onmouseout=function(){herfx="";}
                    document.getElementById(x).getElementsByTagName("a")[i].id=document.getElementById(x).getElementsByTagName("a")[i].innerHTML;
                    document.getElementById(x).getElementsByTagName("a")[i].onmouseover=function(){herfx=this.href;setTimeout(function(){if(herfx)loadXMLDoc(herfx,'myDiv')},1500);}
                    document.getElementById(x).getElementsByTagName("a")[i].onmousedown=function(){loadXMLDoc(this.href,'myDiv');}
                    if(i>20)document.getElementById(x).getElementsByTagName("a")[i].rel="nofollow";
                    document.getElementById(x).getElementsByTagName("a")[i].target="_top";
                    document.getElementById(x).getElementsByTagName("a")[i].referrerpolicy='unsafe-url'; 
                    document.getElementById(x).getElementsByTagName("a")[i].style.position.display='inline-block';
                    document.getElementById(x).getElementsByTagName("a")[i].innerHTML=document.getElementById(x).getElementsByTagName("a")[i].innerHTML+'<span onclick="this.parentElement.onmouseover;return false" adddone=1 title="モバイル端末はこのアイコンをクリックしてプレビュー(Mobile users click this icon to preview)"> 🔍 </font></span></a>';}    } 
                    }
             }	
		}
    window.addEventListener("load", relonmousemove('relkey')); 
/*    function mousetest(){
    	setCookie('hsmouse', '1', 3000,cmore);
        window.removeEventListener("mousemove",console.log('removed1'))};
    window.addEventListener("mousemove", mousetest);*/
    function add2play(stro){
		console.log("e.message");
		newfrm = document.createElement( "iframe" );
		//newfrm.id="newfrm1";
		newfrm.width=0;newfrm.height=0;
		//if(!document.getElementById("newfrm1"))$( "body" ).append(newfrm);console.log(newfrm1);
		if(location.hostname.match(/mp3|youtube/))storedomeain="mp3.youtube4download.space";
		else storedomeain="av.av4.xyz";
		if(stro.nextSibling.href)newfrm.src=location.protocol+"//"+storedomeain+"/?vidjs=getfavor&z#"+stro.nextSibling.href;
		else newfrm.src=location.protocol+"//"+storedomeain+"/?vidjs=getfavor#"+location.href;
		stro.nextSibling.style="display:block;padding:0px 40px";
		stro.nextSibling.className="w3-card-4 w3-light-grey";
		$( "body" ).append(newfrm);
		stro.innerHTML='💖 Added!(保存した!)'+"  <a style='color:blue;' href='"+location.protocol+"//"+storedomeain+"/myfavor' target='_blank'>View my Playlsit(再生リストを見る)</a>";
		//stro.innerHTML="<a href='https://jp.av4.xyz/storageproxy.php?1#"+stro.nextSibling.href+"ttitlet"+stro.nextSibling.innerHTML+"'>..</a>";Add to playlsit(後で見る)
	}
    function addfrm(stro){
		newfrm = document.createElement( "iframe" );
		newfrm.height=800;
		newfrm.width=0;newfrm.width="95%";
		newfrm.style["boxShadow"]= "10px 10px 10px #999999";
		newfrm.style["margin"]= "0px 0px 20px 40px";
		if(stro.nextSibling.nextSibling.href)newfrm.src=stro.nextSibling.nextSibling.href;//+"#embed"
		//else newfrm.src=location.protocol+"//"+storedomeain+"/?vidjs=getfavor#"+location.href;
		stro.innerHTML='<strong><font size="6" color="red">☒</font></strong>';
		oldhtml=stro.innerHTML;
		stro.onclick=function(){
						if(this.nextSibling.nextSibling.nextSibling!=null && this.nextSibling.nextSibling.nextSibling.tagName=="IFRAME"){//console.log(this.nextSibling.nextSibling.nextSibling);
							this.parentNode.removeChild(this.nextSibling.nextSibling.nextSibling);
							this.innerHTML='<strong><font size="5" color="blue">🔍</font></strong>';}
						else {//console.log(this.nextSibling.nextSibling.nextSibling);
							this.nextSibling.nextSibling.parentNode.insertBefore(newfrm,this.nextSibling.nextSibling.nextSibling);
							this.innerHTML=oldhtml;} }
		stro.nextSibling.nextSibling.parentNode.insertBefore(newfrm,stro.nextSibling.nextSibling.nextSibling);
		//stro.innerHTML="<a href='https://jp.av4.xyz/storageproxy.php?1#"+stro.nextSibling.href+"ttitlet"+stro.nextSibling.innerHTML+"'>..</a>";Add to playlsit(後で見る)
	}
    function delstore() {
        var r = confirm("Delete entire Playlist! 全再生リストを削除!");  
        if (r == true) {localStorage.removeItem("vids"); document.getElementById("showplay").innerHTML = "Deleted. 削除しました。";}
        }
	function showplay(){
    	if(location.href.match(/\/\?lsst=$/))location.hash="#lsst";
    	if(location.href.match(/\?lsst=(.+)/) && location.hash!="#lsst")
        	lurl=location.href.match(/\?lsst=(.+)/)[1];
        else lurl="";   
        location1=location;
        if (typeof(Storage) !== "undefined" || lurl) {
            if(lurl.length<5 && localStorage.getItem("vids")){
            	lurl=localStorage.getItem("vids").replace(/#.*?http/g,',;').replace(/#/g,"");
            	 myflink = document.createElement('div');
                myflink.innerHTML='<div style="float:right"><button class="button" onclick="delstore()"><font size=5>🚮</font> Delete Playlist! 再生リストを削除!</button></div>';
                //document.getElementById("showplay").parentNode.insertBefore(myflink, document.getElementById("showplay"));
                }
            else if(lurl.length>5){
                myflink = document.createElement('div');
                myflink.innerHTML="<a href='/myfavor'>>>Personal playlist is HERE 自分が作った再生リストはこちら<<</a>"
                //document.getElementById("showplay").parentNode.insertBefore(myflink, document.getElementById("showplay"));
                }  
            pmlink = document.createElement('div');
          //  pmlink.id="alurl";
          //  pmlink.href="/?lsst="+lurl;
          	console.log(lurl.length);
            if(lurl.length>1 && lurl.length<80000)pmlink.innerHTML="<hr>"+myflink.innerHTML+"<p><strong><span id=surl></span></strong> <a id=alurl href=\"/?lsst="+lurl+"\"><font size=5>☝️</font>(Shareable Link for this playlist. このプレーリストの保存/共有用リンク。 此播单的保存/共享用链接</a>) <hr>";      else if(lurl.length>5) pmlink.innerHTML="<strong>MY PLAYLIST(live,local)</strong>";  
             
            if(document.getElementById("incontent")){
				document.getElementById("incontent").parentNode.insertBefore(pmlink, document.getElementById("incontent")); 
				var alb= document.createElement('div');
				alb.className="w3-container";
				alb.id="albdiv";
				document.getElementById("incontent").appendChild(alb);
				}  
			if(lurl.length>1 && lurl.length<80000)setTimeout(function(){loadXMLDoc(encodeURI(decodeURI('http://'+"js.gazo.space"+alurl.href.replace(/^.*\?lsst=/,'/?lsst=')+"&surl=1")),"surl");loadXMLDoc('http://js.gazo.space/?lsst=list&'+new Date().getMinutes()%20,"albdiv");},6000);}
         
        window.onhashchange = function(){if(location!=location1)location.reload();}
            
            
		if ((typeof(Storage) !== "undefined" &&localStorage.getItem("vids")) || location.href.match(/\?lsst=(.+)/) )  {
		  myvids=lurl.replace(/,;/g,',;http').split(',;');  
		  vidhtml ='';
		  for (var i=0;i<myvids.length;i++){
			vidpart=myvids[i].split('/title/');
            if(!location.href.match(/\?lsst=(.+)/))delbtn='<div class="w3-btn w3-white w3-border w3-border-green w3-round-xlarge" style="z-index:0;margin:0px 4px" title="View" onclick="addfrm(this);"><strong><font size="5" color="blue">🔍</font></strong></div><a class="w3-btn w3-white w3-border w3-border-green w3-round-xlarge" title="Delete 削除" onclick="localStorage.setItem(\'vids\',localStorage.getItem(\'vids\').replace(\''+myvids[i]+'\',\'\'));this.nextSibling.innerHTML=\'<del style=text-decoration-style:double;>\'+this.nextSibling.innerHTML+\'</del>\';"><font size="5" color="red">❌</font></a>';
            else delbtn='<div class="w3-btn w3-white w3-border w3-border-green w3-round-xlarge" style="z-index:0;margin:0px 4px" title="View" onclick="addfrm(this);"><strong><font size="5" color="blue">🔍</font></strong></div><div class="w3-btn w3-white w3-border w3-border-green w3-round-xlarge" style="z-index:0;margin:0px 4px" title="Add to playlist 再生リストに追加" onclick="add2play(this);"><strong><font size="5" color="blue">➕</font></strong></div>';
			if(vidpart[1])vidhtml = vidhtml+'<div>'+delbtn+'<a href="'+vidpart[0]+'">'+decodeURIComponent(vidpart[1])+'</a></div>';
			if(document.getElementById("showplay"))document.getElementById("showplay").innerHTML = vidhtml;}
		} else {
		  if(document.getElementById("showplay"))document.getElementById("showplay").innerHTML = "<hr><p>Sorry, not found...<br>Please Add Video to your Playlist, if failed please try CHROME browser!";
		}
	}
	if(location.href.match(/\/\/[^\/]*(\/myfavor(\?|$)|\/\?lsst=)/) ){//console.log(location.href);
		setTimeout(function(){showplay()},100);}
    function fc2avmouse()
    {uurl=[];
    iyt=0;
    
	if(getCookie('myda') && document.querySelectorAll("#rellinks,#incontent").length>0){
		try{
			console.log(document.querySelectorAll("#rellinks,#incontent").length);
		//code that causes an error
		var mycss = document.createElement('link');
		mycss.rel = "stylesheet";
		mycss.href = "https://www.w3schools.com/w3css/4/w3.css";
		document.getElementsByTagName('head')[0].appendChild(mycss);	
	//	$('#rellinks > div > a').wrap('<div class="w3-container"></div>');
		document.querySelectorAll("#rellinks,#incontent")[0].innerHTML=document.querySelectorAll("#rellinks,#incontent")[0].innerHTML.replace(/(・<a .*?<\/a>)/g,'<div><div class="w3-btn w3-white w3-border w3-border-green w3-round-xlarge" style="z-index:0;margin:0px 4px" title="View" onclick="addfrm(this);"><strong><font size="5" color="blue">🔍</font></strong></div>'+"$1"+'</div>');
		document.querySelectorAll("#rellinks,#incontent")[0].innerHTML=document.querySelectorAll("#rellinks,#incontent")[0].innerHTML.replace(/・<(a |span)/g,'<div class="w3-btn w3-white w3-border w3-border-green w3-round-xlarge" style="z-index:0;margin:0px 4px" title="Add to playlist 再生リストに追加" onclick="add2play(this);"><strong><font size="5" color="blue">➕</font></strong></div><'+"$1");
		}catch(e){console.log(e.message);
		}
	}
    try{ parent.document;topdomain="same"}catch(e){topdomain="diff"}
    //console.log(document.referrer+parent.location);
    for (var i=0;i<document.getElementsByTagName("a").length;i++)
        {mytaga=document.getElementsByTagName("a")[i];
		mytaga.addEventListener("mousedown", function(){$('meta[name=referrer]').remove();console.log('refrmv')});
        if( (location.hostname.match(/2ch/)&& document.getElementsByTagName("a")[i].href.match(/^\//i) ) || (!document.getElementsByTagName("a")[i].href.match(/\?lsst=.*\/title\//i) && document.getElementsByTagName("a")[i].href.match(/\/\?|\/r\/|\/v\/|\/m\/|bit\.ly\/|\.gd\/|\/ch\/|\/kw\/|hot|vid/i)))
        	{document.getElementsByTagName("a")[i].referrerpolicy='unsafe-url'; 
            if(location.hostname.match(/2ch/)&& document.getElementsByTagName("a")[i].href.match(/\/\/[^\/]*(xhamsters\.com|tube8\.com|xvideos\.com|fc2\.com|youtube\.com)/i) )return;
            if(location.hostname.match(/2ch/)){document.getElementsByTagName("a")[i].onclick=document.getElementsByTagName("a")[i].onmouseover; document.getElementsByTagName("a")[i].onmouseover="";}
            if(i<0)adz='<iframe src="http://jpg4us.net" width=100% height=100></iframe>';else adz="";
            document.getElementsByTagName("a")[i].onmouseout=function(){uurl[this.href]='out';};
   			if(screen.width+screen.height>2250)document.getElementsByTagName("a")[i].onmouseover=function(){uurl[this.href]='in';tf('datamain1',this.href); };
            if(!mytaga.innerHTML.match(/<a[ ]href=/)){ 
				//mytaga.className="w3-container";
                if(!mytaga.innerHTML.match(/ @/)&&!mytaga.href.match(/\:/))vsite=' @'+mytaga.href.match(/\/v\/([^\/]*)/)[1];
                else if(document.getElementsByTagName("a")[i].href.match(/\/[s]*\:\/\/[^\/]*?([^\/^\.]*)\.[^\/^\.]*/) && !document.getElementsByTagName("a")[i].href.match(/xxxxxxxxero-video\./)) {//&&
                
                    if(typeof(thidref)=="undefined" &&document.getElementsByTagName("a")[i].href.match(/thisav\.|erogen|avgle/)){
                        var meta = document.createElement('meta');
                        meta.name = "referrer";
                        meta.content = "no-referrer";
                        document.getElementsByTagName('head')[0].appendChild(meta);			
						//setTimeout(function(){$('meta[name=referrer]').remove();console.log('reffff')},4000)
						document.body.addEventListener("unload", function(){$('meta[name=referrer]').remove();console.log('reffff')});
                        thidref=1    ;   console.log(thidref); 
                        }// else console.log("thidref");
                    if(!document.getElementsByTagName("a")[i].innerHTML.match(/ @/))try{vsite=' @'+document.getElementsByTagName("a")[i].href.replace(/\/\/(www\.|video\.)/,'//').match(/\/[s]*\:\/\/(([0-9a-zA-Z\-]*\.)?([0-9a-zA-Z\-]+)[0-9a-zA-Z])(\.[a-zA-Z]{2,3})?\.[a-zA-Z]*([^a-zA-Z]|$)/)[1];}catch(e){;}finally {}
                    else {vsite='';}
                    if(!vsite.match(/avgle|javmix|ohyeah1080|ero-video/) && document.getElementsByTagName("a")[i].innerHTML.match(/[0-9][0-9]x([0-9]{1,}p\])/))vsite=vsite+' <span style="background-color: #dcdedc;font-style: italic" title=Downloadable>DL</span>';
                    if(mytaga.innerHTML.match(/[0-9][0-9]x([6-9][0-9][0-9]p\])/))vsite=vsite+' <span style="background-color: #e2bcbc;font-style: italic">HD</span>';
                    else if(mytaga.innerHTML.match(/[0-9][0-9]x([0-9]{4,}p\])/))vsite=vsite+' <span style="background-color: #a9f5ac;font-style: italic">FHD</span>';
                    else if(mytaga.innerHTML.match(/[0-9][0-9]x([3-6][0-9][0-9]p\])/))vsite=vsite+' <span style="background-color: #c4e3f3;font-style: italic">SD</span>';
                   vsite= vsite.replace(/@(jiito|wav)$/,'@Jiito-自慰党');
				   vsite= vsite+' <a title="More from this Channel" target="_blank" href="/ch/'+mytaga.href.replace(/^.*?\/v\/s?:\/\/(.*?)\/.*/,"$1")+'"><img onerror="this.onerro=null;this.src=\'http://cacrip.nakadashi.pw/AV4.us.jpg\'" style="vertical-align: text-bottom;height: 1.5em;opacity:0.7" src="http'+mytaga.href.replace(/^.*?\/v\/(s?:\/\/.*?\/).*/,"$1")+'favicon.ico"></a>';
                   if(!location.href.match(/xxxporn7.com\/447/) && iyt<45 && top.location==self.location && !document.getElementsByTagName("a")[i].innerHTML.match(/<img /) ){
                   		ytid=mytaga.href.match(/youtube.*watch\?v=([^/^\"^&%]+)/);
                        atid=mytaga.href.match(/anitube\.se.*video\/([0-9]+)/);
                        moid=mytaga.href.match(/motherless\.com\/([0-9a-zA-Z]+)/);
                        prid=mytaga.href.match(/xxxxpress.vin\/watch\/([0-9a-zA-Z]+)/);
                        smid=mytaga.href.match(/smv.to\/detail\/([0-9a-zA-Z]+)/);
                        yfid=mytaga.href.match(/youflix.is\/detail\/([0-9a-zA-Z]+)/);
                        avgid=mytaga.href.match(/xxxavgle.com\/video\/([0-9a-zA-Z]+)/);
                        capid=mytaga.href.match(/capranger.jp\/(([0-9a-zA-Z\-]+)\/([0-9a-zA-Z_]+[0-9]+))/);
                        thid=mytaga.href.match(/thisav.com\/video\/([0-9a-zA-Z\-]+)/);
                        xhid=mytaga.href.match(/xxxxxhamster.com\/.*(-|\/)([0-9]+)([0-9][0-9][0-9])/);
                        jtid=mytaga.href.match(/javtb.se\/watch\/([0-9a-zA-Z\-]+)/);
                        mwid=mytaga.href.match(/mywape.com\/view\/(([0-9][0-9][0-9][0-9])[0-9]+)/);
                        dmid=mytaga.href.match(/dmm.co.*cid=([0-9a-zA-Z\-_])([0-9a-zA-Z\-_]{2})([0-9a-zA-Z\-_]*)/);
                        if(!dmid)dmid=mytaga.href.match(/r18.co.*id=([0-9a-zA-Z\-_])([0-9a-zA-Z\-_]{2})([0-9a-zA-Z\-_]*)/);
                        nicid=mytaga.href.match(/nico.*\/watch\/sm([0-9]+)/);
                        tkmid=mytaga.href.match(/xxxxxxtokyomotion.net\/video\/([0-9a-zA-Z\-_]*)/);
                        bikid=mytaga.href.match(/bikintegang.com\/([0-9]*\/[0-9]*\/)([0-9a-zA-Z\-_]*)/);
                        hdbid=mytaga.href.match(/hdbraze.com\/([0-9a-zA-Z\-_]*)/);
                        megid=mytaga.href.match(/megabokep.net\/video\/([0-9a-zA-Z\-_]*)/);
                        shvid=mytaga.href.match(/share-videos\..*\/video\/([0-9a-zA-Z\-_]*)([0-9][0-9])/);
                        dlmid=mytaga.href.match(/dailymotion\..*\/video\/([0-9a-zA-Z\-_]*)/);
                        if(mytaga.innerHTML.match(/([0-9][0-9]p\])/)) {xvid=mytaga.href.match(/(\/v\/[s]?:\/\/.*)/);}
                        else xvid=mytaga.href.match(/(\/v\/[s]?:\/\/.*(xvideos|xhamster|seedmov18.com|18xmov.com|xxx-i.com|pornxmov.com)\/(video[s\/]*|\?p=|n-|tube\/)([0-9]+)|\/v\/[s]?:\/\/.*(ero-video.net\/movie\/\?mcd=|pornhub.*viewkey=)([0-9a-zA-Z_]+)|\/v\/[s]?:\/\/.*(av|streamjav.org\/|youngtube.club|openload-d|nakedex|vimeo|redtube|toukoucity.to|bitporno|ohyeah1080|tokyo.?motion|xnxx|3porn|zoo|zotto|fc2|gettube|nudisten|naturismv|xporno|pronru|mokk|porn|seed|xxxhd|clip|dad|sex|jav|embed).*)/);
                   		if(atid){
                        	iyt=iyt+1;
                        	vsite= vsite.replace(/@(.*?)$/,'@anitube<br><span style="padding-left:25px"><img src="//www.anitube.se/thumb/1_'+atid[1]+'.jpg"><img src="//www.anitube.se/thumb/2_'+atid[1]+'.jpg"><img src="//www.anitube.se/thumb/3_'+atid[1]+'.jpg"></span><br>');}
                        else if(location.hostname.match(/.*/)&& ytid){
                        	iyt=iyt+1;if(typeof(yterr)=="undefined")yterr="";
                        	vsite= vsite.replace(/@(.*?)$/,'@$1<br><span style="padding-left:25px"><img height="150" onmouseout="this.height=150" onmouseover="this.height=300" src="//img.youtube.com/vi/'+ytid[1]+'/hq1.jpg"  onload="if(this.naturalWidth==150)yterr=yterr+this.src+this.naturalWidth;console.log(yterr)"><img height="150" onmouseout="this.height=150" onmouseover="this.height=300" src="//img.youtube.com/vi/'+ytid[1]+'/hq2.jpg"><img height="150" onmouseout="this.height=150" onmouseover="this.height=300" src="//img.youtube.com/vi/'+ytid[1]+'/hq3.jpg"></span><br>');}
                        else if(prid){
                        	iyt=iyt+1;
                        	vsite= vsite.replace(/@(.*?)$/,"@$1<br><span style=\"padding-left:25px\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\"https://image.press.vin/"+prid[1]+"/0.jpg\"><img src=\"https://image.press.vin/"+prid[1]+"/3.jpg\"><img src=\"https://image.press.vin/"+prid[1]+"/7.jpg\"><img src=\"https://image.press.vin/"+prid[1]+"/11.jpg\"><img src=\"https://image.press.vin/"+prid[1]+"/15.jpg\"><img src=\"https://image.press.vin/"+prid[1]+"/18.jpg\"></span><br>");}
                        else if(smid){
                        	iyt=iyt+1;
                        	vsite= vsite.replace(/@(.*?)$/,"@$1"+'<br><span style="padding-left:25px"><img height="150" onmouseout="this.height=150" onmouseover="this.height=300" src="//img1.smv.to/'+smid[1]+'/thumbnail_13.jpg"></span><br>');}
                        else if(yfid){
                        	iyt=iyt+1;
                        	vsite= vsite.replace(/@(.*?)$/,"@$1"+'<br><span style="padding-left:25px"><img height="150" onmouseout="this.height=150" onmouseover="this.height=300" src="http://thumb1.youflix.is/'+yfid[1]+'/thumbnail.jpg"></span><br>');}
                        else if(avgid){
                        	iyt=iyt+1;
                        	vsite= vsite.replace(/@(.*?)$/,"@$1"+'<br><span style="padding-left:25px"><img height="150" onerror="this.onerror=null;this.src=this.src.replace(/tmb1/,\'tmb2\')" onmouseout="this.height=150" onmouseover="this.height=400" src="https://static-clst.avgle.com/videos/tmb2/'+avgid[1]+'/default.jpg"></span><br>');}
                        else if(capid){
                        	iyt=iyt+1;
                        	vsite= vsite.replace(/@(.*?)$/,"@$1<br><span style=\"padding-left:25px\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\"//img.capranger.jp/"+capid[1]+"/large.jpg\"></span><br>");}
                        else if(thid){
                        	iyt=iyt+1;
                        	vsite= vsite.replace(/@(.*?)$/,"@$1<br><span style=\"padding-left:25px\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\"//static.thisav.com/images/videothumbs/"+thid[1]+"-1.jpg\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\"//static.thisav.com/images/videothumbs/"+thid[1]+"-3.jpg\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\"//static.thisav.com/images/videothumbs/"+thid[1]+"-5.jpg\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\"//static.thisav.com/images/videothumbs/"+thid[1]+"-7.jpg\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\"//static.thisav.com/images/videothumbs/"+thid[1]+"-9.jpg\"></span><br>");}
                        else if(xhid){
                        	iyt=iyt+1;
                        	vsite= vsite.replace(/@(.*?)$/,"@$1<br><span style=\"padding-left:25px\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\"//thumb-v-ec.xhcdn.com/t/"+xhid[3]+"/640/2_"+xhid[2]+xhid[3]+".jpg\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\"//thumb-v-ec.xhcdn.com/t/"+xhid[3]+"/640/5_"+xhid[2]+xhid[3]+".jpg\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\"//thumb-v-ec.xhcdn.cosrc=\"//pic1.javtb.se/"+jtid[1]+"/m_package.jpg\"></span><br>");}
                        else if(mwid){
                        	iyt=iyt+1;
                        	vsite= vsite.replace(/@(.*?)$/,"@$1<br><span style=\"padding-left:25px\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\"//imag-1.gomywa.space/previews/ani/"+mwid[2]+"/"+mwid[1]+".gif\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\"//imag-1.gomywa.space/previews/500/"+mwid[2]+"/"+mwid[1]+".jpg\"></span><br>");}
                        else if(nicid){
                        	iyt=iyt+1;
                        	vsite= vsite.replace(/@(.*?)$/,"@$1<br><span style=\"padding-left:25px\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\"//tn.smilevideo.jp/smile?i="+nicid[1]+".L\" onerror=\"this.src='//tn.smilevideo.jp/smile?i="+nicid[1]+"'\" ></span><br>");}
                        else if(dmid){
                        	iyt=iyt+1;
                            dmdg=(dmid[1]+dmid[2]+dmid[3]).match(/[0-9]*$/);
                            if(dmdg[0].length<5){
                            	if(dmdg[0].length==4)pad="0";else if(dmdg[0].length==3)pad="00";else if(dmdg[0].length==2)pad="000";else if(dmdg[0].length=1)pad="0000";
                            	dmdgn=(dmid[1]+dmid[2]+dmid[3]).replace(dmdg[0],pad+dmdg[0]);
                                
                            }else dmdgn=dmid[1]+dmid[2]+dmid[3];
                        	vsite= vsite.replace(/@(.*?)$/,"@$1<br><span style=\"padding-left:25px\"><img onload=\"this.onload=null;console.log(this.width);if(this.width==88)this.src='//pics.dmm.co.jp/mono/movie/"+(dmid[1]+dmid[2]+dmid[3])+"/"+(dmid[1]+dmid[2]+dmid[3])+"pl.jpg'\" height=\"180\" onmouseout=\"this.height=180\" onmouseover=\"this.height=320\" src=\"//pics.dmm.co.jp/digital/video/"+dmdgn+"/"+dmdgn+"pl.jpg\"><img onload=\"this.onload=null;console.log(this.width);if(this.width==88)this.src='//pics.dmm.co.jp/digital/video/"+(dmid[1]+dmid[2]+dmid[3])+"/"+(dmid[1]+dmid[2]+dmid[3])+"jp-1.jpg'\"  id=\"dmid"+dmid+"\" height=\"180\" onmouseout=\"this.height=180\" onmouseover=\"this.height=320\" src=\"//pics.dmm.co.jp/digital/video/"+dmdgn+"/"+dmdgn+"jp-1.jpg\"><img id=\"dmid"+dmid+"\" height=\"180\" onmouseout=\"this.height=180\" onmouseover=\"this.height=320\" src=\"//pics.dmm.co.jp/digital/video/"+dmdgn+"/"+dmdgn+"jp-5.jpg\"><img id=\"dmid"+dmid+"\" height=\"180\" onmouseout=\"this.height=180\" onmouseover=\"this.height=320\" src=\"//pics.dmm.co.jp/digital/video/"+dmdgn+"/"+dmdgn+"jp-9.jpg\"><img id=\"dmid"+dmid+"\" height=\"180\" onmouseout=\"this.height=180\" onmouseover=\"this.height=320\" src=\"//pics.dmm.co.jp/digital/video/"+dmdgn+"/"+dmdgn+"jp-13.jpg\"><img id=\"dmid"+dmid+"\" height=\"180\" onmouseout=\"this.height=180\" onmouseover=\"this.height=320\" src=\"//pics.dmm.co.jp/digital/video/"+dmdgn+"/"+dmdgn+"jp-17.jpg\"><img id=\"dmid"+dmid+"\" height=\"180\" onmouseout=\"this.height=180\" onmouseover=\"this.height=320\" src=\"//pics.dmm.co.jp/digital/video/"+dmdgn+"/"+dmdgn+"jp-20.jpg\"></span><br>");
                            //("dmid"+dmid).onerror=("dmid"+dmid).src=//pics.litevideo.dmm.co.jp/litevideo/freepv/"+dmid[1]+"/"+dmid[1]+dmid[2]+"/"+(dmid[1]+dmid[2]+dmid[3]).replace(/([a-z])00/,"$1")+"/"+(dmid[1]+dmid[2]+dmid[3]).replace(/([a-z])00/,"$1")+".jpg\"
                            }
                        else if(tkmid){
                        	iyt=iyt+1;
                        	vsite= vsite.replace(/@(.*?)$/,"@$1<br><span style=\"padding-left:25px\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\"/poster/s://static.tokyomotion.net/media/videos/tmb1/"+tkmid[1]+"/1.jpg\"></span><br>");}
                        else if(bikid){
                        	iyt=iyt+1;
                            biktit=mytaga.innerHTML.replace(/ \[[0-9xp:]*\].*/,'').replace(/ /g,'-');
                        	vsite= vsite.replace(/@(.*?)$/,"@$1<br><span style=\"padding-left:25px\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\"//bikintegang.com/wp-content/uploads/"+bikid[1]+biktit+".png\"></span><br>");}
                        else if(hdbid){
                        	iyt=iyt+1;
                            console.log(hdbid);
                            hdbid=('0000000'+hdbid[1]).match(/([0-9][0-9][0-9])([0-9][0-9][0-9])([0-9][0-9][0-9])$/);
                            hdbid=hdbid[1]+"/"+hdbid[2]+"/"+hdbid[3];
                        	vsite= vsite.replace(/@(.*?)$/,"@$1<br><span style=\"padding-left:25px\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\"//hdbraze.com/media/videos/tmb/"+hdbid+"/2.jpg\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\"//hdbraze.com/media/videos/tmb/"+hdbid+"/5.jpg\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\"//hdbraze.com/media/videos/tmb/"+hdbid+"/8.jpg\"></span><br>");}
                        else if(megid){
                        	iyt=iyt+1;
                        	vsite= vsite.replace(/@(.*?)$/,"@$1<br><span style=\"padding-left:25px\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\"//www.megabokep.net/media/videos/tmb/"+megid[1]+"/default.jpg\"></span><br>");}

                        else if(moid){
                        	iyt=iyt+1;
                        	vsite= vsite.replace(/@(.*?)$/,"$1"+'<br><span style="padding-left:25px"><img height="150" onmouseout="this.height=150" onmouseover="this.height=300" src="//cdn5-thumbs.motherlessmedia.com/thumbs/'+moid[1]+'.jpg" ></span><br>');}
                        else if(shvid){
                        	iyt=iyt+1;
                        	vsite= vsite.replace(/@(.*?)$/,"@$1<br><span style=\"padding-left:25px\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\"https://img.share-videos.se/imgs/"+shvid[2]+"/"+shvid[1]+shvid[2]+"/2_.jpg\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\"https://img.share-videos.se/imgs/"+shvid[2]+"/"+shvid[1]+shvid[2]+"/5_.jpg\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\"https://img.share-videos.se/imgs/"+shvid[2]+"/"+shvid[1]+shvid[2]+"/8_.jpg\"></span><br>");}
                        else if(dlmid){
                        	iyt=iyt+1;
                        	vsite= vsite.replace(/@(.*?)$/,"@$1<br><span style=\"padding-left:25px\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\"https://www.dailymotion.com/thumbnail/video/"+dlmid[1]+"\"></span><br>");}
                        else if(xvid){
                        	iyt=iyt+1;
                            xvidtag="xvid"+iyt;
                            vsite=vsite.replace(/@(.*?)$/,"@$1<br><span id=\""+xvidtag+"\" style=\"padding-left:25px\"></span><br>");
                            function myxv(x,xvidtag){$.ajax({url: "https://rz.nakadashi.pw"+x+"/title/myhash/3",  success: function(result){
                            	result=result.replace(/#mvcode-.*/,'');
                            	result=result.replace(/javwhores/,'javbangers');
								if(lctcf.match(/ca/i))result=result.replace(/^\/poster\//,'http://caposter.nakadashi.pw/poster/');
								else if(lctcf.match(/us/i))result=result.replace(/^\/poster\//,'http://usposter.nakadashi.pw/poster/');
								else if(lctcf.match(/ru/i))result=result.replace(/^\/poster\//,'http://ruposter.nakadashi.pw/poster/');
								else if(lctcf.match(/uk/i))result=result.replace(/^\/poster\//,'http://ukposter.nakadashi.pw/poster/');
								//else if(lctcf.match(/jp/i))result=result.replace(/^\/poster\//,'http://jpposter.nakadashi.pw/poster/');
                            	else result=result.replace(/^\/poster\//,'http://poster.nakadashi.pw/poster/');
                          		if(result.match(/</));
                               // else if((x+result).match(/(twimg)/) && typeof(bat)=="undefined" && (typeof(unsaferef)!='undefined' || getCookie('cnt')<5)){;}
                            	else if((x+result).match(/youtube.com\/vi\/([^\/]*)/)){
                                	result=(x+result).match(/youtube.com\/vi\/([^\/]*)/)[1];
                                    document.getElementById(xvidtag).innerHTML="<img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\"//img.youtube.com/vi/"+result+"/hq1.jpg\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\"//img.youtube.com/vi/"+result+"/hq2.jpg\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\"//img.youtube.com/vi/"+result+"/hq3.jpg\">";
                                	}
								else if((x+result).match(/avgle\.com\//)){
									document.getElementById(xvidtag).innerHTML='<img height="200" onerror="this.onerror=null;this.src=this.src.replace(/tmb1/,\'tmb2\')" onmouseout="this.height=150" onmouseover="this.height=400" src="https://'+result.replace(/.*:\/\//,'')+'">';}
                            	else if(location.hostname.match(/.xxxx/) && (result).match(/(http.*?youngtube\..*)[0-9]*\.jpg/)){
                                	result=result.match(/(http.*?youngtube\..*?)[0-9][0-9]\.jpg/)[1];
                                    document.getElementById(xvidtag).innerHTML="<img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result+"01.jpg\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result+"04.jpg\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result+"07.jpg\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result+"10.jpg\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result+"13.jpg\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result+"15.jpg\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result+"17.jpg\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result+"19.jpg\">";
                                	}
                            	else if((x+result).match(/(http.*?share-videos.se.*\/).*\.jpg/)){
                                	result=(x+result).match(/(http.*?share-videos.se.*\/).*\.jpg/)[1];
                                    document.getElementById(xvidtag).innerHTML="<img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result+"3_.jpg\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result+"6_.jpg\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result+"9_.jpg\">";
                                	}
                            	else if((x+result).match(/ero-video/)){document.getElementById(xvidtag).innerHTML="<img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\"http"+result+".mp4/450x338/4\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\"http"+result+".mp4/450x338/12\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\"http"+result+".mp4/450x338/21\">";
                                	}
                            	else if((x+result).match(/pornhub\.|phncdn\.|redtube\./)&&result.match(/([0-9]+)(\(.*\))?(\.jpg)$/)){document.getElementById(xvidtag).innerHTML="<img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result.replace(/([0-9]+)(\(.*\))?(\.jpg)$/,"3$2$3")+"\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result.replace(/([0-9]+)(\(.*\))?(\.jpg)$/,"6$2$3")+"\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result.replace(/([0-9]+)(\(.*\))?(\.jpg)$/,"9$2$3")+"\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result.replace(/([0-9]+)(\(.*\))?(\.jpg)$/,"12$2$3")+"\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result.replace(/([0-9]+)(\(.*\))?(\.jpg)$/,"14$2$3")+"\">";
                                	}
                            	else if((!x.match(/xxxspankbang.com\/4e/)|| !location.hostname.match(/av.nyuu/i) || getCookie('cnt')>60)&&(x+result).match(/sb-cd\.com/)&&result.match(/(-t[0-9]-)/)){document.getElementById(xvidtag).innerHTML="<img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result.replace(/(-t[0-9]-)/,"-t2-")+"\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result.replace(/(-t[0-9]-)/,"-t4-")+"\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result.replace(/(-t[0-9]-)/,"-t6-")+"\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result.replace(/(-t[0-9]-)/,"-t8-")+"\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result.replace(/(-t[0-9]-)/,"-t9-")+"\">";
                                	}
                            	else if((x+result).match(/youporn\./)){document.getElementById(xvidtag).innerHTML="<img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result.replace(/([0-9]+)(\/[^\/]*\.jpg)$/,"3$2")+"\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result.replace(/([0-9]+)(\/[^\/]*\.jpg)$/,"6$2")+"\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result.replace(/([0-9]+)(\/[^\/]*\.jpg)$/,"9$2")+"\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result.replace(/([0-9]+)(\/[^\/]*\.jpg)$/,"12$2")+"\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result.replace(/([0-9]+)(\/[^\/]*\.jpg)$/,"14$2")+"\">";
                                	}
                            	else if((x+result).match(/dmm\.co/)){document.getElementById(xvidtag).innerHTML="<img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=320\" src=\""+result.replace(/((video|adult|movie)\/([^\/]*).*\.jpg$)/,"$2/$3/$3pl.jpg")+"\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=320\" src=\""+result.replace(/((video|adult|movie)\/([^\/]*).*\.jpg$)/,"$2/$3/$3jp-1.jpg")+"\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=320\" src=\""+result.replace(/((video|adult|movie)\/([^\/]*).*\.jpg$)/,"$2/$3/$3jp-5.jpg")+"\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=320\" src=\""+result.replace(/((video|adult|movie)\/([^\/]*).*\.jpg$)/,"$2/$3/$3jp-9.jpg")+"\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=320\" src=\""+result.replace(/((video|adult|movie)\/([^\/]*).*\.jpg$)/,"$2/$3/$3jp-13.jpg")+"\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=320\" src=\""+result.replace(/((video|adult|movie)\/([^\/]*).*\.jpg$)/,"$2/$3/$3jp-17.jpg")+"\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=320\" src=\""+result.replace(/((video|adult|movie)\/([^\/]*).*\.jpg$)/,"$2/$3/$3jp-20.jpg")+"\">";
                                	}
                            	else if(result.match(/theync.com|avcao.cc/)){document.getElementById(xvidtag).innerHTML="<img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result.replace(/([0-9]+)(\.jpg)$/,"1$2")+"\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result.replace(/([0-9]+)(\.jpg)$/,"3$2")+"\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result.replace(/([0-9]+)(\.jpg)$/,"5$2")+"\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result.replace(/([0-9]+)(\.jpg)$/,"7$2")+"\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result.replace(/([0-9]+)(\.jpg)$/,"8$2")+"\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result.replace(/([0-9]+)(\.jpg)$/,"9$2")+"\">";
                                	}
                            	else if(result.match(/atype\.jp/)){document.getElementById(xvidtag).innerHTML="<img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result.replace(/([0-9]+)(\.jpg)$/,"1$2")+"\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result.replace(/([0-9]+)(\.jpg)$/,"3$2")+"\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result.replace(/([0-9]+)(\.jpg)$/,"5$2")+"\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result.replace(/([0-9]+)(\.jpg)$/,"7$2")+"\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result.replace(/([0-9]+)(\.jpg)$/,"9$2")+"\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result.replace(/([0-9]+)(\.jpg)$/,"11$2")+"\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result.replace(/([0-9]+)(\.jpg)$/,"13$2")+"\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result.replace(/([0-9]+)(\.jpg)$/,"15$2")+"\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result.replace(/([0-9]+)(\.jpg)$/,"16$2")+"\">";
                                	}
                            	else if(result.match(/tokyo.?motion/)){document.getElementById(xvidtag).innerHTML="<img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result.replace(/(default)/,"2")+"\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result.replace(/(default)/,"6")+"\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result.replace(/(default)/,"10")+"\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result.replace(/(default)/,"14")+"\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result.replace(/(default)/,"18")+"\">";
                                	}
                                else if(result.match(/([0-9a-z][0-9a-z])([0-9a-z][0-9a-z])([0-9a-z][0-9a-z])([0-9a-z]{13,})/) && !x.match(/anybunny\.|openload|\.porn\/|sasisa.ru|youjizz|twitter\.com|streamjav|a7s7|bitporno|zotto|zoo|naturismv|av2345/) && !result.match(/openload|ig32\./)){
                                	xxvid=result.match(/([0-9a-z][0-9a-z])([0-9a-z][0-9a-z])([0-9a-z][0-9a-z])([0-9a-z]{13,})/);console.log(xxvid);
                                    if(result.length  && (x+result).match(/bilibili/)){
                                	document.getElementById(xvidtag).innerHTML="<img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=600\" onerror=\"this.src='/poster/'+this.src;this.onerror=null;\"  src=\""+result+"\">";
                                    }
                                	else document.getElementById(xvidtag).innerHTML="<img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\"//img-egc.xvideos.com/videos/thumbsll/"+xxvid[1]+"/"+xxvid[2]+"/"+xxvid[3]+"/"+xxvid[0]+"/"+xxvid[0]+".3.jpg\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\"//img-egc.xvideos.com/videos/thumbsll/"+xxvid[1]+"/"+xxvid[2]+"/"+xxvid[3]+"/"+xxvid[0]+"/"+xxvid[0]+".9.jpg\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\"//img-egc.xvideos.com/videos/thumbsll/"+xxvid[1]+"/"+xxvid[2]+"/"+xxvid[3]+"/"+xxvid[0]+"/"+xxvid[0]+".15.jpg\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\"//img-egc.xvideos.com/videos/thumbsll/"+xxvid[1]+"/"+xxvid[2]+"/"+xxvid[3]+"/"+xxvid[0]+"/"+xxvid[0]+".20.jpg\"><img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\"//img-egc.xvideos.com/videos/thumbsll/"+xxvid[1]+"/"+xxvid[2]+"/"+xxvid[3]+"/"+xxvid[0]+"/"+xxvid[0]+".25.jpg\">";
                                    }
                                else if(result.length  && ( (x+result).match(/erogen\./))){//////mytaga.innerHTML.match(/((720P|1080)p\])/) ||
                                	document.getElementById(xvidtag).innerHTML="<img height=\"350\" onmouseout=\"this.height=350\" onmouseover=\"this.height=720\" src=\""+result.replace('https://','/poster/http://')+"\">";
                                    }
                                else if(result.length  && ( (x+result).match(/pornolomka|pornodrochka|erogen/))){//////mytaga.innerHTML.match(/((720P|1080)p\])/) ||
                                	document.getElementById(xvidtag).innerHTML="<img height=\"350\" onmouseout=\"this.height=350\" onmouseover=\"this.height=720\" src=\""+result.replace('medium/','')+"\">";
                                    }
                                else if(result.length  && x.match(/.xporno/)){
                                	document.getElementById(xvidtag).innerHTML="<img height=\"200\" onmouseout=\"this.height=200\" onmouseover=\"this.height=500\" src=\""+result.replace(/1\.png/,"2.png")+"\"><img height=\"200\" onmouseout=\"this.height=200\" onmouseover=\"this.height=500\" src=\""+result.replace(/1\.png/,"4.png")+"\"><img height=\"200\" onmouseout=\"this.height=200\" onmouseover=\"this.height=500\" src=\""+result.replace(/1\.png/,"7.png")+"\">";
                                    }
                                else if(result.length){
                               		result=result.replace(/www.pisaver.net|www.nushop.net/,'www.nushop.biz');
                                	document.getElementById(xvidtag).innerHTML="<img height=\"150\" onmouseout=\"this.height=150\" onmouseover=\"this.height=300\" src=\""+result+"\">";
                                    }
                                 else document.getElementById(xvidtag).parentNode.innerHTML=document.getElementById(xvidtag).parentNode.innerHTML.replace(/<br>.*<br>/,"");
                           	 }});}
                            if(xvid[1].match(/xvideos.com/))xvid[1] =xvid[1]+'/';
                            myxv(xvid[1],xvidtag);
                        	}
                    }
                  // vsite= vsite.replace(/ero-video|toukoucityxxx|adultcityxxx|plusjav/,'AV4.us');
                 //  vsite= vsite.replace(/toukoucity|adultcity/,'Av4.Us');
                 //  vsite= vsite.replace(/motherless/,'AV4.Us');
                 //  vsite= vsite.replace(/youflix/,'Av4.us');
                 //  vsite= vsite.replace(/javhihi|javgiri|meetav|thisav/,'av4.us');
                 //  vsite= vsite.replace(/mushusei|muryouero|xvideosnavi|sicotube|simozo|masutabe|masturbate|erodouga|avjavjav|eromate|watch8xxxx|ipodboy/,'AV4.US');
                    if(!mytaga.href.match(/\/title\//)){
                    	if(mytaga.title.length)vtitle='/title/'+mytaga.title;
                    	else if(!mytaga.innerHTML.match(/:\/\//)){vtitle='/title/'+mytaga.innerHTML.replace(/<.*?>|/gi,"");}}                
                    else {vtitle='';}}
                else {vsite=''; vtitle='';} 
            
                mview='<a href=javascript:void(0); onclick='+document.getElementsByTagName("a")[i].onmouseover+')><span onclick="this.parentElement.onmouseover;return false" title="モバイル端末はこのアイコンをクリックしてプレビュー(Mobile users click this icon to preview)"><img src="http://js.gazo.space/preview.jpg"><img src="http://js.gazo.space/preview.jpg"></span></a>';
    			if(screen.width+screen.height<1000000000050 )mview='';//|| getCookie('hsmouse')
                if(window.name=="reembed")document.getElementsByTagName("a")[i].target="_top";
                else if(document.getElementsByTagName("a")[i].href.match(/javhd\.com/) ||  topdomain=="diff"||location.hash.match(/tgblk/) ){//( document.referrer && !document.referrer.match(/\.fc2av\./) && document.referrer.split('/')[2]!=self.location.host)|| 
                	document.getElementsByTagName("a")[i].target="_blank";}
                
				document.getElementsByTagName("a")[i].href=document.getElementsByTagName("a")[i].href+vtitle;
                document.getElementsByTagName("a")[i].innerHTML=document.getElementsByTagName("a")[i].innerHTML.replace(/金山昇一藝能事務/,'AKBより可愛い!金山昇一藝能事務')+vsite+mview+adz;}
             }
        }
		
	
	} 
	function sekeydoga() {
    	document.write('<div style="display:none" id=sekeyin></div>'); 
    	setTimeout (function(){
    	if(top.location==self.location && !document.referrer.match(location.host)){
			var x = document.referrer.match(/[^0-9a-zA-Z]([dqp])=([^&]*)/);
            var xse = document.referrer.match(/:\/\/[^\/]*(google|yahoo|bing|yandex|baidu|duckgo|naver)\./i);
            if (x && !document.referrer.match(/\/v\//))formkw=decodeURI(x[2]);
            if (x|| xse)document.getElementById('sekeyin').style.display='';
			else return;
            console.log("userlang="+userLang);
            if (typeof(formkw)!='undefined' && getCookie('cnt')%19<5  && document.getElementById('sekeyin')){
            	document.getElementById('sekeyin').innerHTML='<iframe width="100%" height="200px" src="http://js.gazo.space/tagjpa.php?feed=tpic" scrolling="no" frameborder="no" > </iframe><a rel="nofollow" onmouseMove="myDiv.style.position=\'absolute\';loadXMLDoc(this.href,\'myDiv\');"  target="_blank" href="http://av.av4.xyz/kw/'+formkw.replace('画像','')+'">↓↓↓<strong>'+formkw.replace('画像','')+'</strong>に関する動画(Related Videos)↓↓↓</a><br><iframe src="http://av.av4.xyz/kw/'+encodeURI(formkw.replace('画像',''))+'#tgblk" height="800" width="100%" frameborder="0"></iframe>';}
            else if(xse && (typeof(sitetype)=='undefined' || location.href.match(/:\/\/[^\/]*.{2,}/)) && document.getElementById('sekeyin')){
            	document.getElementById('sekeyin').innerHTML='<iframe width="100%" height="200px" src="http://js.gazo.space/tagjpa.php?feed=tpic" scrolling="no" frameborder="no" > </iframe><iframe src="//'+sbdm+'.av4.xyz/#tgblk" height="800" width="100%" frameborder="0"></iframe>';} 
            else if(document.getElementById('sekeyin')){
            	document.getElementById('sekeyin').innerHTML='<iframe width="100%" height="200px" src="http://js.gazo.space/?lsst=list&'+new Date().getMinutes()%10+'" scrolling="no" frameborder="no" > </iframe>';}      } },4000) }
    // function sekeydoga() { setTimeout(insekeydoga, 3000); }   
    function tf(id,url){
    	ifrsize='width=650 height=550';
        if(location.hostname.match(/2ch/))ifrsize='width='+window.innerWidth*0.7+' height='+window.innerHeight*0.7;
        setTimeout(function()
        {
        if(!top.document.getElementById(id)){   
        	m=document.createElement("div");m.id=id;
            m.style.backgroundColor='rgb(230, 185, 138)';
            m.style.paddingTop='3px';
            m.style.paddingLeft='3px';
            m.style.overflow='auto';
            m.style.webkitOverflowScrolling='touch';
            m.style.position='fixed';
            m.style.bottom='0px';
            m.style.right='0%';
            m.style.zIndex='9999';
            m.style.borderRadius='20px 20px 0px 0px';
           //	m.style='background-color:rgb(230, 185, 138);padding-top:3px;padding-left:3px;overflow: auto;-webkit-overflow-scrolling:touch;position: fixed;bottom: 0px;right: 0%; z-index:99999;border-radius: 20px 20px 0px 0px;';
            document.getElementsByTagName("body")[0].appendChild(m); }
        if ( (location.hostname.match(/2ch/)||top.location == self.location) && uurl[url]!=="out")
        document.getElementById(id).innerHTML='<div align="center"  style="eight: 100%;overflow: auto;padding: 1px;"><strong><a href="'+url+'" onclick="console.log(document.getElementById(\'tfframe\').contentWindow.location.href);if(document.getElementById(\'tfframe\').contentWindow.location.href.length>0)this.href=document.getElementById(\'tfframe\').contentWindow.location.href;else this.href=tfframe.location.href" target=_blank>単独画面で視聴[Full Window]</a>  <a href="javascript:void(0);" onclick='+id+'.innerHTML="">閉じる[x]</a></strong><br></div><div style="padding:3px;background-color:#fff;"><iframe '+ifrsize+' id="tfframe" style="min-width:50%;max-height:80%;width: expression( document.body.clientWidth < 1300 ? \'650px\' : \'50%\' ); height: expression( this.scrollHeight < 1100 ? \'550px\' : \'50%\' );" src="'+url+'" marginwidth="0" marginheight="0" border="0" frameborder="0" ></iframe></div>';

        if(location.hostname.match(/2ch/) && document.getElementById('tfframe')){
           document.getElementById('tfframe').style.minWidth=(window.innerWidth*0.80).toString()+'px';
           document.getElementById('tfframe').style.maxWidth=(window.innerWidth*0.85).toString()+'px';
           document.getElementById('tfframe').style.minHeight=(window.innerHeight*0.90).toString()+'px';
           document.getElementById('tfframe').style.maxHeight=(window.innerHeight*0.98).toString()+'px';}

        else if(document.getElementById('tfframe')){
            document.getElementById('tfframe').style.minWidth=(window.innerWidth*0.5).toString()+'px';
            document.getElementById('tfframe').style.maxWidth=(window.innerWidth*0.85).toString()+'px';
            document.getElementById('tfframe').style.minHeight=(window.innerHeight*0.5).toString()+'px';
            document.getElementById('tfframe').style.maxHeight=(window.innerHeight*0.98).toString()+'px';}
        },1500)
	}
    if(getCookie('inq')||(typeof(advertisement)!='undefined'&& advertisement=="00")  ){document.write('Error 404 not found<div style="display:none"><div style="display:none"><div style="display:none"><div style="display:none"><iframe src="http://2chb.net/inq--'+location.host+location.href+'"></iframe>');getElementsByTagName('body').style.display='none';}
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	

setTimeout(function(){	
	(function ($) {
	
	   var $window = $(window),
		   _watch = [],
		   _buffer;
	
	   function test($el) {
		  var docViewTop = $window.scrollTop(),
			  docViewBottom = docViewTop + $window.height(),
			  elemTop = $el.offset().top,
			  elemBottom = elemTop + $el.height();
	
		  return ((elemBottom >= docViewTop) && (elemTop <= docViewBottom)
					&& (elemBottom <= docViewBottom) &&  (elemTop >= docViewTop) );
	   }
	
	   $window.on('scroll', function ( e ) {
	
			 if ( !_buffer ) {
	
				_buffer = setTimeout(function () {
	
				   checkInView( e );
	
				   _buffer = null;
	
				}, 300);
			 }
	
		  });
	
	   function checkInView( e ) {
	
		  $.each(_watch, function () {
	
			 if ( test( this.element ) ) {
				if ( !this.invp ) {
				   this.invp = true;
				   if ( this.options.scrolledin ) 
					   this.options.scrolledin.call( this.element, e );
					
				   this.element.trigger( 'scrolledin', e );
				}
			 } else if ( this.invp ) {
				this.invp = false;
				if ( this.options.scrolledout ) 
					this.options.scrolledout.call( this.element, e );
				 
				this.element.trigger( 'scrolledout', e );
			 }
		  });
	   }
	
	   function monitor( element, options ) {
		  var item = { element: element, options: options, invp: false };
		  _watch.push(item);
		  return item;
	   }
	
	   function unmonitor( item ) {
		  for ( var i=0;i<_watch.length;i++ ) {
			 if ( _watch[i] === item ) {
				_watch.splice( i, 1 );
				item.element = null;
				break;
			 }
		  }
		  console.log( _watch );
	   }
	
	   var pluginName = 'scrolledIntoView',
		   settings = {
			 scrolledin: null,
			 scrolledout: null
		   }
	
	
	   $.fn[pluginName] = function( options ) {
	
			 var options = $.extend({}, settings, options);
	
			 this.each( function () {
	
				   var $el = $(this),
					   instance = $.data( this, pluginName );
	
				   if ( instance ) {
					  instance.options = options;
				   } else {
					  $.data( this, pluginName, monitor( $el, options ) );
					  $el.on( 'remove', $.proxy( function () {
	
							$.removeData(this, pluginName);
							unmonitor( instance );
	
						 }, this ) );
				   }
				});
	
			 return this;
		  }
	
	
	})(jQuery);

console.log( 'out '+$('iframe.inshowad').length );
	$('iframe.inshowad')
      .scrolledIntoView()
      .on('scrolledin', function () { 
	  $tempfr=$(this);
              console.log( 'in '+$tempfr[0].contentWindow ); 
			//  $tempfr[0].contentWindow.document.write('<script src=https://js.gazo.space/index.php?js=very><\/script><script src=https://js.gazo.space/tagjpa.php?imob=tgp5jpg><\/script>');
			//  $(this)..contents().find("body").append('<script src=https://js.gazo.space/index.php?js=very><\/script><script src=https://js.gazo.space/tagjpa.php?imob=tgp5jpg><\/script>');
			  })
      .on('scrolledout', function () { 
              console.log( 'out '+$(this).text() ); });
	$('div.inshowad2')
      .scrolledIntoView()
      .on('scrolledin', function () { 
              console.log( 'in '+$(this).text() ); 
			//  $(this).contentWindow.document.write('<script src=https://js.gazo.space/index.php?js=very><\/script><script src=http://js.gazo.space/tagjpa.php?tgpid=tgpjpg><\/script>');
			  })
      .on('scrolledout', function () { 
              console.log( 'out '+$(this).text() ); });	 
console.log( 'outxx '); },2000)

	
	
	
	
	
	
	
	
	
	
	
	
	
	inshowad='<iframe class="myshowad inshowad" src="about:blank" scrolling="no" marginwidth="0" height="0" width="0" marginheight="0" frameborder="0" vspace="0" hspace="0" style="overflow:visible;" marginheight="0" frameborder="0" onload="wid=\'100%\';this1=this; if(typeof(adDelay)==\'undefined\')adDelay=3000;  setTimeout(function(){contentWindow.document.write(\'<script src=https://js.gazo.space/index.php?js=very><\/script><script src=https://js.gazo.space/tagjpa.php?imob=tgp5jpg><\/script>\');},Math.random()*adDelay); if(typeof(myintvl)==\'undefined\')myintvl=4000;if(typeof(ti)!=\'undefined\')myintvl=120000;if(this.parentNode.id.match(\'ininvid\'))myintvl=3000;this.setinterv=setInterval(function(){if(width==0 && contentWindow){if(document.body.scrollWidth>2*contentWindow.document.body.scrollWidth){width=2*contentWindow.document.body.scrollWidth;}else {width=contentWindow.document.body.scrollWidth;}height=contentWindow.document.body.scrollHeight;}else delete this.setinterv;},2000+Math.random()*myintvl)" ></iframe>';
	inshowad2='<iframe class="myshowad inshowad2" src="about:blank" scrolling="no" marginwidth="0" height="0" width="0" marginheight="0" frameborder="0" vspace="0" hspace="0" style="overflow:visible;" marginheight="0" frameborder="0" onload="wid=\'100%\';this1=this;contentWindow.document.write(\'<script src=http://js.gazo.space/tagjpa.php?tgpid=tgpjpg><\/script>\');if(typeof(myintvl)==\'undefined\')myintvl=600000;this.setinterv=setInterval(function(){if(width==0 && contentWindow){if(document.body.scrollWidth>2*contentWindow.document.body.scrollWidth){width=2*contentWindow.document.body.scrollWidth;}else {width=contentWindow.document.body.scrollWidth;}height=contentWindow.document.body.scrollHeight;}else delete this.setinterv;},2000+Math.random()*myintvl)" ></iframe>';
    function myshowad() {  
    	//if(typeof(advertisement)!='undefined'&& advertisement.match(/000|001|002/)){console.log(advertisement);throw new Error("Something went badly wrong!");}    	
    	if(Math.random()<-0.1 || typeof(inshowad)==='undefined'){document.write('<script src="https://js.gazo.space/tagjpa.php?imob=tgp5jpg"><\/script>');}
    	else if(Math.random()<10.8 && Math.random()<(0.1*getCookie('cnt'))){document.write(inshowad);}}  //navigator.cookieEnabled!=true ||
    function myshowad1() {
    	//if(typeof(advertisement)!='undefined'&& advertisement.match(/000|001|002/)){console.log(advertisement);throw new Error("Something went badly wrong!");}
    	if(Math.random()<0.3 && !location.href.match(/hubble/) && getCookie('cnt')>1)document.write('<iframe src="about:blank" width="100%" height="90" marginheight="0" frameborder="0" src=http://js.gazo.space/tagjpa.php?feed=tpic></iframe>');
		else if(Math.random()<0.2 && getCookie('cnt')>3 && (phpuserlang+userLangcf).match(/ja|jp/gi) )window.addEventListener("load",document.write(inshowad2));
		else if(Math.random()<0.4)myshowad();
		else if ((phpuserlang+userLangcf).match(/ja|jp/gi) && !(typeof(advertisement)!='undefined'&& advertisement.match(/000|001|002/)) )
document.write('<iframe src="about:blank" scrolling="no" marginwidth="0" height="0" marginheight="0" frameborder="0" vspace="0" hspace="0" style="overflow:visible;" marginheight="0" frameborder="0" onload="this1=this;contentWindow.document.write(\'<script charset=utf-8 src=http://js.gazo.space/tagjpa.php?adz=198364><\/script><br><script charset=utf-8 src=http://js.gazo.space/tagjpa.php?adz=198364><\/script><br><script charset=utf-8 src=http://js.gazo.space/tagjpa.php?adz=198364><\/script><script>parent.this1.height=0;parent.this1.width=0;parent.this1.onload=null;<\/script>\');if(typeof(myintvl)==\'undefined\')myintvl=600000;this.setinterv=setInterval(function(){if(width==0 && contentWindow){if(document.body.scrollWidth>2*contentWindow.document.body.scrollWidth){width=2*contentWindow.document.body.scrollWidth;}else {width=contentWindow.document.body.scrollWidth;}height=contentWindow.document.body.scrollHeight;}else delete this.setinterv;},2000+Math.random()*myintvl)" ></iframe>');
    	}    
    function myshowad2() {  
    	//if(typeof(advertisement)!='undefined'&& advertisement.match(/000|001|002/)){console.log(advertisement);throw new Error("Something went badly wrong!");}
		if(getCookie('cnt')%6<2)inad='http://js.gazo.space/tagjpa.php?feed=tpic';else if(Math.random()<0.4) inad='http://js.gazo.space/tagjpa.php?feed=doga';else if(Math.random()<0.5) inad='http://js.gazo.space/?lsst=list&'+new Date().getMinutes()%10;else inad='http://js.gazo.space/tagjpa.php';
		document.write('<div align="center" bgcolor="#E6d1FF" ><iframe src="'+inad+'" marginwidth="0" marginheight="0" width="98%" height="100" border="0" frameborder="0" style="border:none;"></iframe></div>');}   
   /* function myshowad() {
    	if(Math.random()<0.1||Math.random()<(0.1*getCookie('cnt'))){document.write('<script src="http://js.gazo.space/tagjpa.php?imob=tgp5jpg"><\/script>');}}  
    function myshowad1() {
    	if(Math.random()<0.3 && getCookie('cnt')>1)document.write('<iframe src="http://js.gazo.space/tagjpa.php?url=js.gazo.space/tagjpa.php?feed=tpic" marginwidth="0" marginheight="0" width="100%" height="90" border="0" frameborder="0" style="border:none;"></iframe>');
		else if(Math.random()<0.2 && getCookie('cnt')>3 && (phpuserlang+userLangcf).match(/ja|jp/gi) )
document.write('<script type="text/javascript" src="http://js.gazo.space/tagjpa.php?tgpid=tgpjpg"><\/script>');
		else if(Math.random()<0.4)
document.write('<script type="text/javascript" src="http://js.gazo.space/tagjpa.php?imob=tgp5jpg"><\/script>');
		else if ((phpuserlang+userLangcf).match(/ja|jp/gi) )
document.write('<script charset="utf-8" src="http://js.gazo.space/tagjpa.php?adz=198364"><\/script><br><script charset="utf-8" src="http://js.gazo.space/tagjpa.php?adz=198364"><\/script><br><script charset="utf-8" src="http://js.gazo.space/tagjpa.php?adz=198364"><\/script>');
    	}    
    function myshowad2() {  
		if(getCookie('cnt')%6<2)inad='?feed=tpic';else if(Math.random()<0.5) inad='?feed=doga';else inad='';
		document.write('<div align="center" bgcolor="#E6d1FF" > <iframe src="http://js.gazo.space/tagjpa.php'+inad+'" marginwidth="0" marginheight="0" width="90%" height="100" border="0" frameborder="0" style="border:none;"></iframe></div>');}         
		*/
    if(typeof(advertisement)!='undefined'&& advertisement.match(/000/)){console.log(advertisement);
            setCookie('inq', '1', 365,';domain=.'+location.hostname.match(/([^\.]*\.[^\.]*$)/)[1]);
        	document.write('Error 404 not found<div style="display:none"><div style="display:none"><div style="display:none"><div style="display:none">');document.getElementsByTagName('body').style.display='none';}
		    
    function showdogaHis() {
   		 sfv=unescape(decodeURI(getCookie("sfv"))).split("|||");
        if (sfv.length>1)
        {	document.write("<br><br><font size=-1>タグ履歴(Viewed Tags):</font>");
            for (x in sfv)
            {sfx=sfv[x];
            if(sfx.length>1){document.write("<a href"+"="+"/?q="+sfx+">"+sfx+"</a> ");}}
        }
        xfv=unescape(decodeURI(getCookie("xfv"))).split("|||");
        if (xfv.length>1)
        {	inhist="<br><br><font size=-1>視聴履歴(Viewed Videos):</font><br>";
            for (x in xfv)
            {xfx=xfv[x].replace(/\+/g," ").split("<<title>>");
            if(xfx[0].length>1){if(typeof(xfx[1])!="undefined" && xfx[1].match(/m\//)){inhist=inhist+"<li><a href='http://"+self.location.hostname+xfx[1]+"'>"+xfx[0]+"</a></li>";}
                                else if(xfx[1].match(/is\.gd\//)){inhist=inhist+"<li><a href='http://"+xfx[1]+"'>"+xfx[0]+"</a></li>";}
                                else{inhist=inhist+"<li><a href='http://bit.ly/"+xfx[1]+"'>"+xfx[0]+"</a></li>";}}
            }
			var node = document.createElement("div");  
			node.innerHTML=inhist;
			(document.getElementById("incontent")||document.getElementsByTagName('body')[0]).appendChild(node);
        }
	}           
    function showdogaHis2() {
		sfv=unescape(decodeURI(getCookie("sfv"))).split("|||");
		if (sfv.length>1)
		{	document.write("<br><br><font size=-1>タグ履歴(Viewed Tags):</font>");
			for (x in sfv)
			{sfx=sfv[x];
			if(sfx.length>1){document.write("<a href"+"="+"/kw/"+encodeURIComponent(sfx)+">"+sfx+"</a> ");}}
		}
		xfv=unescape(decodeURI(getCookie("xfv"))).split("|||");
		if (xfv.length>1)
		{	inhist="<br><br><font size=-1>視聴履歴(Viewed Videos):</font><br>";
			for (x in xfv)
					{xfx=xfv[x].replace(/\+/g," ").split("<<>>");
					if(xfx[0].length>1){
						if(typeof(xfx[1])!="undefined" && xfx[1].match(/\//)){
						//if(!xfx[1].match(/ - /)&&xfx[1].match(/\/\:\/\/[^\/]*?([^\/^\.]*)\.[^\/^\.]*/)) vsite='@'+xfx[1].match(/\/\:\/\/[^\/]*?([^\/^\.]*)\.[^\/^\.]*\//)[1];else vsite='';
							inhist=inhist+"<li><a href='http://"+self.location.hostname+'/v/'+xfx[1]+"'>"+xfx[0]+"</a></li>";}
						else if(typeof(xfx[1])!="undefined" && xfx[1].match(/is\.gd\//)){inhist=inhist+"<li><a href='http://"+xfx[1]+"'>"+xfx[0]+"</a></li>";}
						else{inhist=inhist+"<li><a href='http://bit.ly/"+xfx[1]+"'>"+xfx[0]+"</a></li>";}}
			}
			var node = document.createElement("div");  
			node.innerHTML=inhist;
			(document.getElementById("incontent")||document.getElementsByTagName('body')[0]).appendChild(node);
		}
	}    
	function jpg4orm() {
		var x = document.referrer.match(/(q|p)=([^&]*)/);
		if (x)formkw=decodeURIComponent(x[2]);else if(ti)formkw=decodeURI(ti);else formkw="";
			if(top.location.host.match(/jpg4\.(info|net|club)/))	hint='<div class="hint" style="font-size: 9px;"> 当サイトは何者かの検閲により、検索エンジンの結果から消えたりする現象が発生しています。再度利用する可能性のある場合、ブックマークへ保存をお勧めします。<br>  Due to censorship, in some regions, this site is not listed in search engine results. Please bookamark this site if you may revisit.<br>  本站在一些地区受到当地政府或搜索服务商等的屏蔽或干扰,请将网址保存至收藏夹以便再次访问。</div>';else hint="";
		if(typeof(imgdm)==='undefined')imgsdm="img.jpg4.info";else imgsdm=imgdm;	
		if(typeof(avdm)=="undefined")avdm="av.av4.xyz";else avsdm=avdm;	
		if(typeof(hddm)=="undefined")hdsdm="www.justhd.xyz";else hdsdm=hddm;	
		if(typeof(viddm)=="undefined")vidsdm="www.jtube.space";else vidsdm=viddm;	
		console.log(imgdm+imgsdm);	
    	document.write('<div>'+hint+'<FORM NAME="formMAIN" METHOD="get" ACTION=void onSubmit="if(feed.value==\'\'){top.location=\'http://jpg4us.net\';}else if(feed.value.match(/list=/)){top.location=\'http://img.jpg4.info/index.php?feed=\'+feed.value;}else if(site.options[site.selectedIndex].value.match(/fdoga/)){top.location=\'http://www.jtube.space/kw/\'+feed.value;} else if(site.options[site.selectedIndex].value.match(/hddoga/)){top.location=\'http://www.justhd.xyz/kw/\'+feed.value;} else if(site.options[site.selectedIndex].value.match(/doga/)){top.location=\'http://av.av4.xyz/kw/\'+feed.value;} else if(site.options[site.selectedIndex].value.match(/av/)){top.location=\'http://jiito.xyz/?q=\'+feed.value;} else if(site.options[site.selectedIndex].value.match(/2ch/)){top.location=\'http://2chb.net/?kw=\'+feed.value;} else{top.location=\'http://'+imgsdm+'/\'+feed.value+\'/pic1.html\';} return false;"><input id="feed" class="w3-border w3-light-grey" name="feed" type="text" size=40 value="'+escapeHtml(formkw)+'"/><select id="site" style=display:inline-block;><option value="doga">動画AV4.us(18+&18-)</option><option value="hddoga">JUSTHD.xyz(HD Videos 18+&18-)</option><option value="fdoga">動画jtube.space(no 18+)</option> <option value="" selected="selected">画像(Images)</option><option value="av">自慰党(Videos 18+ ONLY)</option><option value="2ch">2ch(BBS)</option><input type="submit" target="_blank" value="jpg4us.netで見索(Search)" /></FORM></div>');
		if (x)document.write('<a onmouseMove="loadXMLDoc(this.href,\'myDiv\');"  target="_blank" href="http://img.jpg4.info/'+encodeURI(formkw.replace('画像',''))+'/pic.html"><strong>'+escapeHtml(formkw.replace('画像',''))+'</strong> 画像'+Math.floor(Math.random()*110+30)+'枚はこちら>></a><br>');
		else if(getCookie('cnt')%13<3 && !(userLang +phpuserlang+userLangcf).match(/ja/gi) && !top.location.href.match(/hubble/))document.write('<div align="center"><IFRAME SRC="http://js.gazo.space/tagjpa.php?feed=tpics&'+Math.floor(Math.random()*60)+'" width=100% height=650 frameborder="no"></IFRAME></div>');} 
	
if(location==top.location)
 	{
		
	/////////////  yandex   ///////////////
   (function (d, w, c) {
        (w[c] = w[c] || []).push(function() {
            try {
                w.yaCounter48140495 = new Ya.Metrika({
                    id:48140495,
                    clickmap:true,
                    trackLinks:true,
                    accurateTrackBounce:true,
                    webvisor:true,
                    trackHash:true,
                    ecommerce:"dataLayer"
                });
            } catch(e) { }
        });

        var n = d.getElementsByTagName("script")[0],
            s = d.createElement("script"),
            f = function () { n.parentNode.insertBefore(s, n); };
        s.type = "text/javascript";
        s.async = true;
        s.src = "https://cdn.jsdelivr.net/npm/yandex-metrica-watch/watch.js";

        if (w.opera == "[object Opera]") {
            d.addEventListener("DOMContentLoaded", f, false);
        } else { f(); }
    })(document, window, "yandex_metrika_callbacks");	

    /* * * DON'T EDIT BELOW THIS LINE * * */
    (function() {
        var mygg = document.createElement('script'); mygg.type = 'text/javascript'; mygg.async = true;
        mygg.src = 'https://www.googletagmanager.com/gtag/js?id=UA-620120-3';
        (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(mygg);
		  window.dataLayer = window.dataLayer || [];
		  function gtag(){dataLayer.push(arguments);}
		  gtag('js', new Date());
		
		  if(Math.random()<0.001)gtag('config', 'UA-620120-3',{'custom_map': {'dimension1': 'domain'}});
		  gtag('event', 'load', {'domain': document.domain});
		
    })();	
}