var reportString="&nbsp;<font color='#ffffff'>展区数：<font color='red'>{0}</font>&nbsp;&nbsp;&nbsp;"+"展台数：<font color='red'>{1}</font>&nbsp;&nbsp;&nbsp;"+"产品数：<font color='red'>{2}</font>&nbsp;&nbsp;&nbsp;"+"参展企业：<font color='red'>{3}</font><a class='onsite' href='/register.html' target='_blank' title='让生意自己找上门'>让生意自己找上门</a></font>";var reportsListString="<li>·来自"+"<font color='#218100'>{0}</font>"+"的客户正在参观&nbsp;&nbsp;"+"<a href='{1}' title='{2}' target='_blank'><font color='red'>{2}展台</font></a></li>";
getProductInfo("2");loadRealtimeReports();getRealtimeReportsList();initUpScroll("divFriends",1,120,20,5000);
function loadRealtimeReports()
{$("RealTimeInfo").innerHTML="Loading...";Show.Web.Skins.Source.InnerRealtimeReports.GetRealtimeReports(tradeId,spId,reportString,callbackGetRealtimeReports);}
function callbackGetRealtimeReports(res)
{$("RealTimeInfo").innerHTML=res.value;}
function getRealtimeReportsList()
{Show.Web.Skins.Source.InnerRealtimeReports.GetRealtimeReportsList(tradeId,reportsListString,callbackGetRealtimeReportsList);}
var isShowAll = 0;
function ShowAllPavilions(obj)
{isShowAll=isShowAll==0?1:0;$(allPavilionsDiv).className=isShowAll==0?"pavilionimg overflowy":"pavilionimg overflowy1";
//$(allPavilionsDiv).className=obj.innerHTML=="显示所有展区"?"pavilionimg overflowy1":"pavilionimg overflowy";
$(allPavilionsDiv).scrollTop="0px";obj.innerHTML=obj.innerHTML=="显示所有展区"?"精简显示展区":"显示所有展区";}
var currentRecommendedObj=$("currentRecommendedSpan");var currentRecommendListIndex='2';function getProductInfo(mark,obj)
{if(obj!=currentRecommendedObj)
{currentRecommendedObj.className="producttitle";$("recommendedProduct"+currentRecommendListIndex).style.display="none";$("recommendedProduct"+mark).style.display="";obj.className="producttitle2";currentRecommendedObj=obj;currentRecommendListIndex=mark;}}
