$(document).ready(function(e) { var qyixd8 = 10; $(".msvugnh4 .rxybxcn3").mouseenter(function(){ $(this).animate({'height':'+='+qyixd8},500); }); $(".msvugnh4 .rxybxcn3").mouseleave(function(){ $(this).animate({'height':'-='+qyixd8},500); }); $(".ripyhy3 .xdtxjy8 a").fancybox(); $(".vwiyid5 .sfyrxgvqf6 a").fancybox(); $('.vPlayer .btn').click(function(){ $.ajax({ 'type' : "POST", 'url' : document.location, 'data' : 'dopaction=getvideo', success: function(data){ $('.vPlayer').after(data); $('.vPlayer').remove(); } }); }); });