var win;$(function(){if(____json4fe.catentry.name=="sou"&&$(".index_div")&&window.location.href.indexOf("local")>0){if((/iphone|ipad/gi).test(navigator.appVersion)){if(window.localStorage){if(typeof(localStorage.addLayer)=="undefined"){$(".index_div").append('<div id="addMscreen"><b class="ico_close"></b><p>请按下方"<strong>+</strong>"或者"<strong>@</strong>"<br>然后选择 "添加到主屏幕"<br>即可快速浏览我们了啦!</p><div class="addThree"></div></div>');$("#addMscreen").css("display","block");localStorage.setItem("addLayer","addMscreen")}$(".ico_close").bind("click",function(){$("#addMscreen").css("display","none")});$("#addMscreen").bind("click",function(){$(this).css("display","none")})}}}if(typeof TipWindow=="function"){win=new TipWindow("search_ajax","keyWords1","","4","请输入关键字",true,false,"请输入关键字");if($(".search_word").length){hotWords()}}if(typeof basefun=="function"){basefun()}if(typeof $.location=="object"){var B=window.location.href;if($(".index_page").length&&B.indexOf("local")==-1){$.location.posInit()}}if($("#index_down_div").length&&window.location.href.indexOf(".com/local")>0){var A="<div class='index_down indown_bg"+Math.floor(Math.random()*3+1)+"' ><a href='http://m.58.com/down/down/?from=home_bd'></a></div>";$("#index_down_div").html(A).css("height","118px")}if($(".index_nav_dl").length){$(".index_nav_dl a").bind("click",function(){var C=$(this);localStorage.footword=C.text();localStorage.footurl=C.attr("href")})}});loadJS(_jsRootPath+"/m.googleAnalytices.js");loadJS(_jsRootPath+"/m.base.js",function(){basefun()});loadJS(_jsRootPath+"/m3.search.js",function(){win=new TipWindow("search_ajax","keyWords1","","4","请输入关键字",true,false,"请输入关键字");if($(".search_word").length){hotWords()}});loadJS(_jsRootPath+"/m.location.js",function(){var A=window.location.href;if($(".index_page").length&&A.indexOf("local")==-1){$.location.posInit()}});