$(document).ready(function(){$.event.props=$.event.props.join("|").replace("layerX|layerY|","").split("|")});window.onload=function(){parent.upDateGoBack();var a="1";cef.param=a;cef.appStore("getTopic");parent.document.getElementById("bubble").style.display="none";$(window).resize(function(){var f=document.getElementById("huiList");var c=f.clientWidth;var e=c%260;var d=(c-e)/260;var g=e%d;var b=(e-g)/d;$("ul li").css({"margin-left":b/2+"px"});$("ul li").css({"margin-right":b/2+"px"})})};function myfocus(){}document.oncontextmenu=new Function("return false;");function setTocpicList(h){if(h!=""&&h!=null&&h!="0"){var a="",g="";for(var f=0;f<h.length;f++){g='<li class="AppSet" onclick="getTopicApp(\''+h[f]["imageUrl"]+"','"+h[f]["id"]+"','"+h[f]["topicName"]+'\',this)">    	                <img src="'+h[f]["imageUrl"]+'"/>    	                <div class="topicName">'+h[f]["topicName"]+"("+h[f]["appCount"]+'款应用)</div>    	                <div class="topicInfo">'+h[f]["info"]+"<div>    	            </li>";a+=g}$("ul").html(a)}var d=document.getElementById("huiList");var b=d.clientWidth;var e=b%260;var j=(b-e)/260;var k=e%j;var c=(e-k)/j;$("ul li").css({"margin-left":c/2+"px"});$("ul li").css({"margin-right":c/2+"px"})}function getTopicApp(e,d,a,c){parent.global.cateId="topic";parent.global.appId=d;parent.global.cateName=a;parent.global.huiInfo=$(c).find(".topicInfo").text();parent.global.appIconUrl=e;parent.global.page=1;parent.global.arrayType=3;var b=parent.document.getElementById("myIframe");parent.global.refreshPage="category/category.html";$(b).attr("src",parent.global.refreshPage);parent.addHistoryEvent()};