/** PTNovelSearch-v4.1.2 LPPL License By http://www.ptcms.com/ */
 ;function longview(){$(".longview").click(function(){var t=$(this).parents(".hot_sale");if(100==t.height()){var o=t.css("height","auto").height();t.css("height","100px"),t.css({height:o}),$(this).css({transform:"rotate(180deg)","-webkit-transform":"rotate(180deg)","-moz-transform":"rotate(180deg)","-o-transform":"rotate(180deg)"})}else t.css({height:"100px"}),$(this).css({transform:"rotate(0deg)","-webkit-transform":"rotate(0deg)","-moz-transform":"rotate(0deg)","-o-transform":"rotate(0deg)"})})}function slidetop(){var t=$(window).height(),o=t+window.scrollY;o>t?o>=$("footer").offset().top?$("#slidetop").css("right","-50px"):$("#slidetop").css("right","20px"):$("#slidetop").css("right","-50px")}$(function(){longview(),$(window).scroll(function(){var t=$(window).height(),o=t+window.scrollY;o>t?o>=$("footer").offset().top?$("#slidetop").css("right","-50px"):$("#slidetop").css("right","20px"):$("#slidetop").css("right","-50px")})});