document.write('
招生广告2024
'); (function(){ var height_29 = $(window).height(); var width_29 = $(window).width(); var randheight = Math.random() < 0.5 ? -30*Math.ceil(Math.random()*10) : 30*Math.ceil(Math.random()*10); var Hoffset_29 = $('#flying_29').height(); var Woffset_29 = $('#flying_29').width(); var xPos_29 = (width_29-Woffset_29)/2 + randheight; var yPos_29 = (height_29-Hoffset_29)/2 - randheight; var step_29 = 1; var delay_29 = Math.ceil(25+Math.random()*10*(Math.random() < 0.5?-1:1)); var yon_29 = 0; var xon_29 = 0; var pause_29 = true; var interval_29; var interval_29 = setInterval(changePos_29, delay_29); $('#flying_29').hover(function(){ clearInterval(interval_29); },function(){ interval_29 = setInterval(changePos_29, delay_29);}); function changePos_29() { $('#flying_29').css({left:xPos_29+$(window).scrollLeft(),top:yPos_29+$(window).scrollTop()}); if (yon_29) {yPos_29 = yPos_29 + step_29; } else {yPos_29 = yPos_29 - step_29; } if (yPos_29 < 0) { yon_29 = 1;yPos_29 = 0; } if (yPos_29 >= (height_29 - Hoffset_29)) { yon_29 = 0;yPos_29 = (height_29 - Hoffset_29);} if (xon_29) {xPos_29 = xPos_29 + step_29; } else {xPos_29 = xPos_29 - step_29; } if (xPos_29 < 0) { xon_29 = 1;xPos_29 = 0; } if (xPos_29 >= (width_29 - Woffset_29-20)) { xon_29 = 0;xPos_29 = (width_29 - Woffset_29-20); } } })()