福安市公安局城北派出所女子护学岗中队

环亚AG88娱乐

2018-10-05

varxPos=300;varyPos=200;varstep=1;vardelay=30;varheight=0;varHoffset=0;varWoffset=0;varyon=0;varxon=0;varpause=true;varinterval;=yPos;functionchangePos(){width=;height=;Hoffset=;Woffset=;=xPos+;=yPos+;if(yon){yPos=yPos+step;}else{yPos=yPos-step;}if(yPos=(height-Hoffset)){yon=0;yPos=(height-Hoffset);}if(xon){xPos=xPos+step;}else{xPos=xPos-step;}if(xPos=(width-Woffset)){xon=0;xPos=(width-Woffset);}}functionstart(){="visible";interval=setInterval(changePos(),delay);}functionpause_resume(){if(pause){clearInterval(interval);pause=false;}else{interval=setInterval(changePos(),delay);pause=true;}}start();。