function pus_message(){var a=window.location.protocol+"//"+window.location.hostname+window.location.pathname+"?act=MainCenter/PusMessage";$.ajax({type:"get",url:a,dataType:"json",success:function(a){a.pushbann_id>0&&espcms_pop(a)},error:function(){$("a").removeAttr("href"),$("a").removeAttr("data-url"),$("a").removeClass("espcms_dialog_link")}})}function espcms_pop(a){var b='<div id="espcms_pop"><div class="pop_head"><a id="espcms_pop_close" title="关闭" class="info_update f14">关闭</a><h2>温馨提示</h2></div> <div class="espcms_pop_content"><div class="espcms_pop_content_into"></div></div></div>';$("body").append(b),$("<link>").attr({rel:"stylesheet",type:"text/css",href:a.stylename}).appendTo("head"),$(".espcms_pop_content_into").append(a.content),1==a.islink&&$(".espcms_pop_content").append('<p class="espcms_pop_more"><a href="'+a.url+'" target="_blank" class="btn btn-addblue" >查看更多…</a></p>'),$("#espcms_pop").fadeIn("show"),$("#espcms_pop_close").unbind("click").bind("click",function(){$("#espcms_pop").remove()})}$(document).ready(function(){pus_message(),site_loading(),set_save_loading()});