<P><SPAN style="FONT-SIZE: 8pt; COLOR: #015117; FONT-FAMILY: Verdana"> <SCRIPT language=JavaScript><BR><!-- mikesfreegifs.com thanks Kurt Grigg <A href="http://website.lineone.net/~kurt.grigg/javascript">http://website.lineone.net/~kurt.grigg/javascript</A><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P> <P><SPAN style="FONT-SIZE: 8pt; COLOR: #015117; FONT-FAMILY: Verdana">P=new Image();<BR>P.src="<A href="//gportal.hu/portal/jegvirag2/image/gallery/1148314268.gif">//gportal.hu/portal/jegvirag2/image/gallery/1148314268.gif</A>"; //Pre-load your image here!<BR>SY=3; //Up-down speed!<BR>SX=5; //Left-right speed!<BR>LINK="#";<o:p></o:p></SPAN></P> <P><SPAN style="FONT-SIZE: 8pt; COLOR: #015117; FONT-FAMILY: Verdana">//Nothing needs altering below!<BR>n6=(document.getElementById&&!document.all);<BR>ns=(document.layers);<BR>ie=(document.all);<BR>d=(ns||ie)?'document.':'document.getElementById("';<BR>a=(ns||n6)?'':'all.';<BR>n6r=(n6)?'")':'';<BR>s=(ns)?'':'.style';<o:p></o:p></SPAN></P> <P><SPAN style="FONT-SIZE: 8pt; COLOR: #015117; FONT-FAMILY: Verdana">if (ns){<BR>document.write("<LAYER NAME='pics' LEFT=0 TOP=0><a href="+LINK+"><img src='pooh.gif' border=0></a></LAYER>");<BR>}<BR>if (ie||n6){<BR>document.write("<div id='pics' style='position:absolute;top:0px;left:0px'><a href="+LINK+"><img src="+P.src+" border=0></a></div>");<BR>}<BR>R=0,C1=0;PB=0,Y=0,X=0,D=0,VB=0,HB=0;<BR>Y=10;X=10;D=Math.floor(Math.random()*60+10);<BR>function Curve(){<BR>plusMinus=new Array(1,-1,2,-2,3,-3,0,1,-1,4,-4)<BR>R = plusMinus[Math.floor(Math.random()*plusMinus.length)];<BR>}<BR>function MoveRandom(){<BR>C1++;<BR>if (C1==50){Curve();C1=0}<BR>var H=(ns||n6)?window.innerHeight:document.body.clientHeight;<BR>var W=(ns||n6)?window.innerWidth:document.body.clientWidth;<BR>var YS=(ns||n6)?window.pageYOffset:document.body.scrollTop;<BR>var XS=(ns||n6)?window.pageXOffset:document.body.scrollLeft;<BR>var BY=-P.height;<BR>var BX=-P.width;<BR>PB=D+=R;<BR>y = SY*Math.sin(PB*Math.PI/180);<BR>x = SX*Math.cos(PB*Math.PI/180);<BR>if (D < 0) D+=360;<BR>Y+=y;<BR>X+=x;<BR>VB=180-D;<BR>HB=0-D;<BR>//Corner rebounds! not necessary but looks nice.<BR>if ((Y < 1) && (X < 1)) {Y=1;X=1;D=45;}<BR>if ((Y < 1) && (X > W+BX)) {Y=1;X=W+BX;D=135;}<BR>if ((Y > H+BY) && (X < 1)) {Y=H+BY;X=1;D=315;}<BR>if ((Y > H+BY) && (X > W+BX)) {Y=H+BY;X=W+BX;D=225;}<BR>//Edge rebounds!<BR>if (Y < 1) {Y=1;D=HB;} <BR>if (Y > H+BY) {Y=H+BY;D=HB;} <BR>if (X < 1) {X=1;D=VB;} <BR>if (X > W+BX) {X=W+BX;D=VB;} <BR>var temp=eval(d+a+"pics"+n6r+s);<BR>temp.top=Y+YS;<BR>temp.left=X+XS;<BR>setTimeout('MoveRandom()',10);<BR>}<BR>MoveRandom();<BR>//--><o:p></o:p></SPAN></P> <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 14pt"><o:p><FONT face="Times New Roman"> </FONT></o:p></SPAN></P></body> </html> </SCRIPT> </SPAN></P> |