document.write('
招生
'); (function(){ var height_24 = $(window).height(); var width_24 = $(window).width(); var randheight = Math.random() < 0.5 ? -30*Math.ceil(Math.random()*10) : 30*Math.ceil(Math.random()*10); var Hoffset_24 = $('#flying_24').height(); var Woffset_24 = $('#flying_24').width(); var xPos_24 = (width_24-Woffset_24)/2 + randheight; var yPos_24 = (height_24-Hoffset_24)/2 - randheight; var step_24 = 1; var delay_24 = Math.ceil(25+Math.random()*10*(Math.random() < 0.5?-1:1)); var yon_24 = 0; var xon_24 = 0; var pause_24 = true; var interval_24; var interval_24 = setInterval(changePos_24, delay_24); $('#flying_24').hover(function(){ clearInterval(interval_24); },function(){ interval_24 = setInterval(changePos_24, delay_24);}); function changePos_24() { $('#flying_24').css({left:xPos_24+$(window).scrollLeft(),top:yPos_24+$(window).scrollTop()}); if (yon_24) {yPos_24 = yPos_24 + step_24; } else {yPos_24 = yPos_24 - step_24; } if (yPos_24 < 0) { yon_24 = 1;yPos_24 = 0; } if (yPos_24 >= (height_24 - Hoffset_24)) { yon_24 = 0;yPos_24 = (height_24 - Hoffset_24);} if (xon_24) {xPos_24 = xPos_24 + step_24; } else {xPos_24 = xPos_24 - step_24; } if (xPos_24 < 0) { xon_24 = 1;xPos_24 = 0; } if (xPos_24 >= (width_24 - Woffset_24-20)) { xon_24 = 0;xPos_24 = (width_24 - Woffset_24-20); } } })()