$(function(){ var globals = { az_cart_fetch_file: "zen_az_fetch.php?", az_cart_fetch: false, az_loading_image: '
', az_cart_opacity: 0.9, az_box_status: false, az_timer: "", }; $("#animBoxCart").html(globals.az_loading_image); $("#btn_animBoxCart").hover( function(){ if(globals.az_cart_fetch == false){ retrievecart(); } clearTimeout(globals.az_timer); animatedbox("show"); }, function(){ globals.az_timer = setTimeout('animatedbox("hide")',400); } ); $("#animBoxCart").hover( function(){clearTimeout(globals.az_timer);animatedbox("show");}, function(){globals.az_timer = setTimeout('animatedbox("hide")',400); } ); animatedbox = function(action){ if(action=="show") $("#animBoxCart").animate({height: "show", opacity: "show"}).animate({opacity:globals.az_cart_opacity}); else $("#animBoxCart").animate({height: "hide", opacity: "hide"}); } retrievecart = function(){ $.ajax({ url: globals.az_cart_fetch_file, success: function(returned_data){ parsedata(returned_data); globals.az_cart_fetch = true; } }); } parsedata = function(result){ $("#animBoxCart").html(result); } }); //-->

Best Sellers For July