锘?(function () { if (window.parent.updateShare) { window.parent.updateShare('#ss' + _json_base.fid, '', _json_base.shareDesc, ''); } myp2c_DoSearch(); }); //鑾峰彇瀛楁鍊 function myp2c_get_fid(fid) { return (document.getElementById(fid) ? document.getElementById(fid).value.replace(/'/g, '').replace(/\"/g, '').replace(/\n/g, ' ').replace(/\r/g, ' ') : ''); } //瑙e喅寰俊鐨刲ocation.reload()鏃犳晥 function myp2c_reload() { location.href = _json_base.p_tmp_reload.replace('t=000', 't=' + new Date().getTime()); } //鏍忕洰瀵硅瘽妗 function myp2c_ShowFds() { var sId = "myp2c_ShowFds_Dlg"; myp2c_bs_OpenDlg("閫夋嫨鏍忕洰鑼冨洿", "
", 3, '', '', '鍏抽棴绐楀彛', false, false); var div = $('#' + sId); div.html('鑾峰彇鏁版嵁...'); $.ajax({ url: _json_base.SourcePath + "/news_wx_ss_ajax.ashx", type: 'POST', data: { action: 'GetFdsHtml', said: _json_base.said, LbId: _json_base.LbId, BmId: _json_base.BmId, fid: _json_base.fid }, dataType: 'text', cache: false, context: document.getElementById(sId), success: function (result, s, r) { $(this).html(result); }, error: function (r, s, err) { $(this).html('鑾峰彇閿欒锛?); }, complete: function (r, s) { // } }); } //鎼滅储 function myp2c_DoSearch() { var sId = "div_items"; var div = $('#' + sId); $.ajax({ url: _json_base.SourcePath + "/news_wx_ss_ajax.ashx", type: 'POST', data: { action: 'DoSearch', said: _json_base.said, LbId: _json_base.LbId, BmId: _json_base.BmId, fid: _json_base.fid, kw: myp2c_get_fid('id_search_kw') }, dataType: 'text', cache: false, success: function (result, s, r) { div.html(result); }, error: function (r, s, err) { alert('鑾峰彇閿欒锛?); }, complete: function (r, s) { // } }); } //鏌ョ湅鏇村 function myp2c_DoMore(sPageIndex) { var sId = "div_items_" + sPageIndex; var div = $('#' + sId); $.ajax({ url: _json_base.SourcePath + "/news_wx_ss_ajax.ashx", type: 'POST', data: { action: 'DoMore', said: _json_base.said, LbId: _json_base.LbId, BmId: _json_base.BmId, fid: _json_base.fid, kw: myp2c_get_fid('id_search_kw'), PageIndex: sPageIndex }, dataType: 'text', cache: false, success: function (result, s, r) { div.after(result); div.remove(); }, error: function (r, s, err) { alert('鑾峰彇閿欒锛?); }, complete: function (r, s) { // } }); } //閫氳繃涓婄骇璺冲嚭iframe妗嗘灦 function parentUrl(sUrl) { if (parent.toUrl) { parent.toUrl(sUrl); } else { location.href = sUrl; } }