$(document).ready(function(e) { pageInit(); function pageInit(){ if( $("#top_1").length > 0 ){ if( "0" == 1 ){ $.get("/index.php/public/getJson/l/cn", null, function(data){ UpdateLoginStatus(data['MemberID'], data['MemberName']); },"json"); }else{ UpdateLoginStatus("", ""); } } } function UpdateLoginStatus(id, name){ var html = ""; if( id ){ html += ''+name+'&nb