').appendTo(document.body).fdiv({width:460,height:360,theme:'gray',title:'支付窗口',modal:true,buttons:{'取消':function(){$(this).fdiv('close');},'支付':function(){$.post(url,elm.queryStr(),function(json){if(json.response==RESPONSE_SUCCESS){redirect(URL+'?app=article&action=buyArticlePay&id='+json.data.orderId+'&pt='+json.data.pt);}},'json');}},close:function(){elm.remove();}});elm.loading();$.ajax({url:URL+'/?app=article&action=view&job=buyArticle&id='+aid,success:function(h){if(typeof(h)=='object'){if(h.response==RESPONSE_FORBIDDEN){elm.fdiv('close');tipMsg(h.message,true,5000,true,function(){redirect(URL+'/login.html');});}}else{elm.html(h);}}});}