$(function(e){var navH=$(".newbanweianniu").offset().top+80;$(window).scroll(function(e){var scroH=$(this).scrollTop();if(scroH>=navH){$(".newbanweianniu").addClass("scroll_down_fixed");$(".newhuidadingbuy").addClass("newhuidaodingbux");$(".newhuidadingbuy").css("display","block")}else if(scroH<navH){$(".newbanweianniu").removeClass("scroll_down_fixed");$(".newhuidadingbuy").removeClass("newhuidaodingbux");$(".newhuidadingbuy").css("display","none")}var height=$(window).height()+75;if(height<=600){$(".newhuidaodingbux").css("display","none")}else{$(".newhuidaodingbux").css("display","block")}})});$(document).ready(function(e){$(".newonefloorrightul li").hover(function(e){$(this).removeClass("newlihove123r");$(this).children("a").removeClass("newlihove123ra");$(this).find(".newselectinput").css({"height":"0px","border-top":"0px solid #FFF"});$(this).find(".newicoselect").css("background-position","7px -50px");$(this).css("z-index","90");$(this).addClass("newlihove123r");$(this).children("a").addClass("newlihove123ra")},function(e){$(this).find(".newselectinput").css({"height":"0px","border-top":"0px solid #FFF"});$(this).find(".newicoselect").css("background-position","7px -50px");$(this).css("z-index","");$(this).removeClass("newlihove123r");$(this).children("a").removeClass("newlihove123ra")});$(".newonefloorrightul li .newicoselect").click(function(e){if($(this).css('background-position')=='7px -50px'){$(this).css("background-position","7px -9px");$(this).parent("li").find(".newselectinput").css({"height":"127px","border-top":"1px solid #FFF"})}else{$(this).css("background-position","7px -50px");$(this).parent("li").find(".newselectinput").css({"height":"0px","border-top":"0px solid #FFF"})}});$(".fenleihangshufenlei li").hover(function(e){$(this).find(".newgengduoselect").css("background-position","7px -35px");$(this).css("z-index","90");if($(this).find(".newselectgengduo").html()==undefined){var html='<div class="newselectgengduo"><a href="'+$(this).children("a").attr("href")+'" target="_blank" class="newzhijiej">直接进入网站</a><a href="'+'/introduce/'+urlTH($(this).children("a").attr("href"))+'" target="_blank" class="newchakwzxq">查看网站详情</a><a href="'+$(this).parents(".fenleihangshu").find(".fenleihangshulr").children("a").attr("href")+'" target="_blank" class="gengduogengdsele">更多类似网站</a></div>';$(this).append(html);$(this).children(".newselectgengduo").children("a").css("background",$(this).parents(".newfloortyright").find("i").css('color'))}},function(e){$(this).find(".newgengduoselect").css("background-position","7px -62px");$(this).find(".newselectgengduo").css("height","0px");$(this).css("z-index","")});$(".newgengduoselect").click(function(e){if($(this).parent("li").find(".newselectgengduo").css("height")=='0px'){$(this).css('background-position','7px 4px');$(this).parent("li").find(".newselectgengduo").css("height","88px")}else{$(this).css('background-position','7px -35px');$(this).parent("li").find(".newselectgengduo").css("height","0px")}});function urlTH(link){var s1=link.match(/[\w]+\.[\w]+\.[\w]+\.[\w]+/);if(s1==null){s1=link.match(/[\w]+\.[\w]+\.[\w]+/)}return(''+s1).replace(/\./g,"_")+".html"}$(".newgg").addClass("newgg")});