$(function(){function a(){var a=navigator.userAgent.toLowerCase();"iphone os"==a.match(/iphone os/i)?"safari"==a.match(/safari/i)&&"crios"!=a.match(/crios/i)&&($("#addDesktop").show(),$("#addDesktopClose").click(function(){$("#addDesktop").hide(),GM.utils.cookie("_ip_sf_close","true",{expires:7})})):$("#addDesktop").hide()}GM.vars.GA_TYPE="home",ukey&&$("#navBtn").trigger("click"),null===GM.utils.cookie("_ip_sf_close")&&a();var b=$(window).width();$(".titles li").width(b-16),$(window).resize(function(){b=$(window).width(),$(".titles li").width(b-16)}),GM.init.swipeChangeFocus($("#focus li"),!0),GM.init.swipeChangeFocus($("#askBlock .titles-list ul"),!1,GM.utils.tabChange),GM.init.swipeChangeFocus($("#groupBlock .titles-list ul"),!1,GM.utils.tabChange),GM.init.clickChangeTab($("#askBlock .tab li")),GM.init.clickChangeTab($("#groupBlock .tab li")),GM.init.initSpecial()});