$(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("getNewApp");parent.document.getElementById("bubble").style.display="none"};document.oncontextmenu=new Function("return false;");function setNewAppList(k){if(k!=""&&k!=null&&k!="0"){var b="",j="",a,l,n,m,c,f,d;console.log(k);for(var h=0;h<k.length;h++){var g=k[h];l=parseInt(g.score,10);a="";while(l--){a+='<img src="../images/score.png" />'}n=parseInt(g.size,10);n=n/1024;n=n.toFixed(1);c=g.updateTime;c=c.split(" ");c=c[0];c=c.split("-");c=c[1]+"月"+c[2]+"月";l=k[h]["status"];m=getButtonStatus(l,g["package"]);if(k[h]["iconUrl"]==""){k[h]["iconUrl"]="../images/default.png"}var e=g.img;f=e[0]["img"];d=e[1]["img"];console.log(g.img);if(f===undefined||f===""){f="../images/viewBg.png"}if(d===undefined||d===""){d="../images/viewBg.png"}b=b+'<table class="app" onclick="appClick(this,'+g.id+')"><tr>                		<td class="iconImg" valign="center"><img src="'+g.iconUrl+'" onerror="appImgError(this)"/></td><td valign="top">                		    <div class="appName">'+g.titleCN+'</div>                		    <div class="appScore">'+a+'</div>	                        <div class="appInfo" version="'+g.versionName+'" downloadUrl="'+g.downloadUrl+'" appName="'+g.titleCN+'"                              >'+n+"M</div>"+m+'                		</td></tr><tr>		                <td valign="top" colspan="2">		                    <div class="viewImg"><img src="'+f+'" onerror="appImgError(this)"/></div>		                    <div class="viewImg"><img src="'+d+'" onerror="appImgError(this)"/></div>		                </td></tr><tr>		                <td valign="top" colspan="2">		                    <div class="date">'+c+'</div>		                    <div class="count">已经有'+g.count+"人抢先体验</div>		                </td></tr></table>"}$("#appList").html(b)}};