1var piaoHTML = "<div id='hdyscfPiao' class='hdyscfPiao' data-countDown='2026/11/01 00:00:00'>" + 2 "<a href='//www.med66.com/yishizigekaoshi/kaoshijingyan/li2609197016.shtml' target='_blank' class='pic pic01'></a>" + 3 "<a href='//www.med66.com/yishizigekaoshi/kaoshijingyan/li2609197016.shtml' target='_blank' class='pic pic02'></a>" + 4 "<i class='closePiao'></i>" + 5 "<style>" + 6 ".hdyscfPiao{ display:none; width:200px; height:200px; z-index:9999}" + 7 ".hdyscfPiao .pic{ display:none;width:200px; height:200px;line-height:0; font-size:0; z-index:1;}" + 8 ".hdyscfPiao .pic01{ background:url('/upload/resources/image/2026/09/20/892007.png') no-repeat center;}" + 9 ".hdyscfPiao .pic02{ background:url('/upload/resources/image/2026/09/20/892007.png') no-repeat center;}" + 10 ".hdyscfPiao .closePiao{ line-height:0; font-size:0; position:absolute; height:21px; width:21px; right:-6px; top:-6px; background:url('/lamu/images/2026yscf/close_piao.png') no-repeat center; display:block;z-index:10000;cursor:pointer;}" + 11 "</style>" + 12 "</div>"; 13 14$("body").prepend(piaoHTML); 15 16function addEvent(obj,evtType,func,cap){ 17 cap=cap||false; 18 if(obj.addEventListener){ 19 obj.addEventListener(evtType,func,cap); 20 return true; 21 }else if(obj.attachEvent){ 22 if(cap){ 23 obj.setCapture(); 24 return true; 25 }else{ 26 return obj.attachEvent("on" + evtType,func); 27 } 28 }else{ 29 return false; 30 } 31} 32function getPageScroll(){ 33 var xScroll,yScroll; 34 if (self.pageXOffset) { 35 xScroll = self.pageXOffset; 36 } else if (document.documentElement && document.documentElement.scrollLeft){ 37 xScroll = document.documentElement.scrollLeft; 38 } else if (document.body) { 39 xScroll = document.body.scrollLeft; 40 } 41 if (self.pageYOffset) { 42 yScroll = self.pageYOffset; 43 } else if (document.documentElement && document.documentElement.scrollTop){ 44 yScroll = document.documentElement.scrollTop; 45 } else if (document.body) { 46 yScroll = document.body.scrollTop; 47 } 48 arrayPageScroll = new Array(xScroll,yScroll); 49 return arrayPageScroll; 50} 51function GetPageSize(){ 52 var xScroll, yScroll; 53 if (window.innerHeight && window.scrollMaxY) { 54 xScroll = document.body.scrollWidth; 55 yScroll = window.innerHeight + window.scrollMaxY; 56 } else if (document.body.scrollHeight > document.body.offsetHeight){ 57 xScroll = document.body.scrollWidth; 58 yScroll = document.body.scrollHeight; 59 } else { 60 xScroll = document.body.offsetWidth; 61 yScroll = document.body.offsetHeight; 62 } 63 var windowWidth, windowHeight; 64 if (self.innerHeight) { 65 windowWidth = self.innerWidth-18; 66 windowHeight = self.innerHeight-18; 67 } else if (document.documentElement && document.documentElement.clientHeight) { 68 windowWidth = document.documentElement.clientWidth; 69 windowHeight = document.documentElement.clientHeight; 70 } else if (document.body) { 71 windowWidth = document.body.clientWidth; 72 windowHeight = document.body.clientHeight; 73 } 74 if(yScroll < windowHeight){ 75 pageHeight = windowHeight; 76 } else { 77 pageHeight = yScroll; 78 } 79 if(xScroll < windowWidth){ 80 pageWidth = windowWidth; 81 } else { 82 pageWidth = xScroll; 83 } 84 arrayPageSize = new Array(pageWidth,pageHeight,windowWidth,windowHeight) 85 return arrayPageSize; 86} 87var AdMoveConfig=new Object(); 88AdMoveConfig.IsInitialized=false; 89AdMoveConfig.ScrollX=0; 90AdMoveConfig.ScrollY=0; 91AdMoveConfig.MoveWidth=0; 92AdMoveConfig.MoveHeight=0; 93AdMoveConfig.Resize=function(){ 94 var winsize=GetPageSize(); 95 AdMoveConfig.MoveWidth=winsize[2]; 96 AdMoveConfig.MoveHeight=winsize[3]; 97 AdMoveConfig.Scroll(); 98}; 99AdMoveConfig.Scroll=function(){ 100 var winscroll=getPageScroll(); 101 AdMoveConfig.ScrollX=winscroll[0]; 102 AdMoveConfig.ScrollY=winscroll[1]; 103};
104addEvent(window,"resize",AdMoveConfig.Resize); 105addEvent(window,"scroll",AdMoveConfig.Scroll); 106function AdMove(id){ 107 if(!AdMoveConfig.IsInitialized){ 108 AdMoveConfig.Resize(); 109 AdMoveConfig.IsInitialized=true; 110 } 111 var obj=document.getElementById(id); 112 obj.style.position="absolute"; 113 var W=AdMoveConfig.MoveWidth-obj.offsetWidth; 114 var H=AdMoveConfig.MoveHeight-obj.offsetHeight; 115 var x = W*Math.random(),y = H*Math.random(); 116 var rad=(Math.random()+1)*Math.PI/6; 117 var kx=Math.sin(rad),ky=Math.cos(rad); 118 var dirx = (Math.random()<0.5?1:-1), diry = (Math.random()<0.5?1:-1); 119 var step = 1; 120 var interval; 121 this.SetLocation=function(vx,vy){x=vx;y=vy;}; 122 this.SetDirection=function(vx,vy){dirx=vx;diry=vy;}; 123 obj.CustomMethod=function(){ 124 obj.style.left = (x + AdMoveConfig.ScrollX) + "px"; 125 obj.style.top = (y + AdMoveConfig.ScrollY) + "px"; 126 rad=(Math.random()+1)*Math.PI/6; 127 W=AdMoveConfig.MoveWidth-obj.offsetWidth; 128 H=AdMoveConfig.MoveHeight-obj.offsetHeight; 129 x = x + step*kx*dirx; 130 if (x < 0){dirx = 1;x = 0;kx=Math.sin(rad);ky=Math.cos(rad);} 131 if (x > W){dirx = -1;x = W;kx=Math.sin(rad);ky=Math.cos(rad);} 132 y = y + step*ky*diry; 133 if (y < 0){diry = 1;y = 0;kx=Math.sin(rad);ky=Math.cos(rad);} 134 if (y > H){diry = -1;y = H;kx=Math.sin(rad);ky=Math.cos(rad);} 135 } 136 this.Run=function(){ 137 var delay = 25;; 138 interval=setInterval(obj.CustomMethod,delay); 139 obj.onmouseover=function(){clearInterval(interval);} 140 obj.onmouseout=function(){interval=setInterval(obj.CustomMethod, delay);} 141 } 142} 143 144var ad=new AdMove("hdyscfPiao"); 145ad.Run(); 146 147$(function(){ 148 $(".hdyscfPiao .closePiao").click(function () { 149 $(".hdyscfPiao").remove(); 150 }); 151 $.getScript("//www.med66.com/lamu/2021common.js", function () { 152 lamuTimer("hdyscfPiao",lamuServerTime,function (obj) { 153 $(".hdyscfPiao .pic").css("display","none"); 154 if(obj.d > 4){ 155 $(".hdyscfPiao .pic.pic01").css("display","block"); 156 }else if(obj.d <= 4){ 157 $(".hdyscfPiao .pic.pic02").css("display","block"); 158 }else { 159 $(".hdyscfPiao").remove(); 160 } 161 $(".hdyscfPiao").show(); 162 },function (obj) { 163 $(".hdyscfPiao").remove(); 164 }); 165 }); 166});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.