weixin_common.js 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511
  1. //切换发布版本 true:正式版,连接生产环境;false:测试版,连接测试环境。
  2. //var publish_version = true;
  3. var publish_version = false;
  4. var PROVINCE_CODE = "450000", //450000
  5. CITY_CODE = "450800", //"450800"
  6. CITY_NAME = "贵港市"; //贵港市
  7. if(publish_version){
  8. //正式环境(厦门i健康)
  9. var server = "http://www.xmtyw.cn/wlyy/";
  10. var appId = "wxad04e9c4c5255acf";
  11. var urlName = "wlyy";
  12. var weixinUrl = "www.xmtyw.cn";
  13. var agentName = "wlyyAgent";
  14. var agentName1 = "wlyyAgent1";
  15. var OpenidAgent = "OpenidAgent";
  16. var judgeAgent = "judgeAgent";
  17. var pageName = "pageurl";
  18. var wxurl = "http%3a%2f%2fwww.xmtyw.cn%2fwlyy%2fwx%2fhtml";
  19. var imurl="http://120.41.253.95:3000";
  20. var imurl="http://27.155.101.77:3000";
  21. var imgUrlDomain = 'http://www.xmtyw.cn/';
  22. }else{
  23. //测试环境(健康之路i厦门)
  24. //var server_jm = "http://ehr.yihu.com/wlyy_jm/";// 集美中医体检
  25. // var server = "http://ehr.yihu.com/wlyy/";
  26. var server = "http://172.19.103.88:9092/wlyy/";
  27. // var server = "http://192.168.131.243:8080/";//志南
  28. // var server = "http://192.168.131.154:8080/";//张丹
  29. // var server = "http://192.168.131.24:8080/";//仕杰
  30. // var server = "http://192.168.131.127:8060/";//逸祥
  31. // var server = "http://192.168.131.133:8080/";//文杰
  32. // var server = "http://192.168.131.113:8080/";//俊杰
  33. var appId = "wx1f129f7b51701428";
  34. var urlName = "wlyy";
  35. var weixinUrl = "ehr.yihu.com";
  36. var agentName = "wlyyAgent";
  37. var agentName1 = "wlyyAgent1";
  38. var OpenidAgent = "OpenidAgent";
  39. var judgeAgent = "judgeAgent";
  40. var pageName = "pageurl";
  41. var wxurl = "http%3a%2f%2fehr.yihu.com%2fwlyy%2fwx%2fhtml";
  42. var wsurl = 'ws://172.19.103.76:3030/netex';
  43. var imgUrlDomain = "http://172.19.103.54/";//添加图片服务器路径;
  44. var imurl="http://172.19.103.88:3000";
  45. var articleUrl = "http://172.19.103.87:9088"//健康教育文章详情
  46. // var imurl="http://192.168.131.24:3000";//仕杰
  47. //var imurl="http://192.168.131.127:3000";//逸祥
  48. //测试环境(健康之路当阳)
  49. //var server = "http://weixin.xmtyw.cn/wlyy-dev/";
  50. //var appId = "wxd03f859efdf0873d";
  51. //var urlName = "wlyy-dev";
  52. //var weixinUrl = "weixin.xmtyw.cn";
  53. //var agentName = "wlyyAgent_test";
  54. //var agentName1 = "wlyyAgent_test1";
  55. //var OpenidAgent = "OpenidAgent_test";
  56. //var judgeAgent = "judgeAgent_test";
  57. //var pageName = "pageurl_test";
  58. //var wxurl = "http%3a%2f%2fweixin.xmtyw.cn%2fwlyy-dev%2fwx%2fhtml";
  59. //var wsurl = 'ws://172.19.103.76:3030/netex';
  60. //var imurl="http://172.19.103.29:3008";
  61. }
  62. //添加openid白名单,只有这个名单内的openid才可以在线支付
  63. var openidList = [];
  64. //设置变量,控制是否可以在线支付
  65. var canPayOnline = true;
  66. if(GetRequest().openid){
  67. checkCanPayOnline(GetRequest().openid);
  68. }
  69. //添加处方功能的openid白名单
  70. var prescriptionOpenidList = ['123456'];
  71. var canPrescription = true;
  72. if(GetRequest().openid){
  73. checkCanPrescription(GetRequest().openid);
  74. }
  75. //保存userAgent
  76. function wxSaveUserAgent(id, uid, openid, token,lastUid) {
  77. if(window.localStorage.getItem(agentName)){
  78. window.localStorage.removeItem(agentName);
  79. }
  80. var userAgent = {
  81. id: id,
  82. uid: uid,
  83. openid: openid,
  84. token: token,
  85. lastUid: (lastUid ? lastUid:""),
  86. platform: 3
  87. }
  88. userAgent = JSON.stringify(userAgent);
  89. // var userAgent = "{\"id\":" + id + ",\"uid\":\"" + uid + "\",\"openid\":\"" + openid + "\",\"token\":\"" + token + "\",\"lastUid\":\"" + (lastUid ? lastUid:"") + "\",\"platform\":3}";
  90. window.localStorage.setItem(agentName, userAgent);
  91. return userAgent;
  92. }
  93. //保存userAgent1
  94. function wxSaveUserAgent1(uid, name, photo) {
  95. if(window.localStorage.getItem(agentName1)){
  96. window.localStorage.removeItem(agentName1);
  97. }
  98. var userAgent = {
  99. uid: uid,
  100. name: name,
  101. photo: photo
  102. }
  103. userAgent = JSON.stringify(userAgent);
  104. // var userAgent = "{\"uid\":" + uid + ",\"name\":\"" + name + "\",\"photo\":\"" + photo + "\"}";
  105. window.localStorage.setItem(agentName1, userAgent);
  106. return userAgent;
  107. }
  108. //保存openid
  109. function saveAgentOpenid(openid){
  110. if(window.localStorage.getItem(OpenidAgent)){
  111. window.localStorage.removeItem(OpenidAgent);
  112. }
  113. var agentOpenid = "{\"openid\":\"" + openid + "\"}";
  114. window.localStorage.setItem(OpenidAgent, agentOpenid);
  115. }
  116. //保存页面跳转值
  117. function saveAgentJudge(judge){
  118. if(window.localStorage.getItem(judgeAgent)){
  119. window.localStorage.removeItem(judgeAgent);
  120. }
  121. var agentJudge = "{\"judge\":" + judge + "}";
  122. window.localStorage.setItem(judgeAgent, agentJudge);
  123. }
  124. //保存跳转页面到agent
  125. function saveAgentPage(pageurl){
  126. if(window.localStorage.getItem(pageName)){
  127. window.localStorage.removeItem(pageName);
  128. }
  129. var agentPage = "{\"pageurl\":\"" + pageurl + "\"}";
  130. window.localStorage.setItem(pageName, agentPage);
  131. //如果页面中有code这个参数,及微信授权返回的code,将这个code保存在storage中
  132. if(pageurl.indexOf("code=") > -1){
  133. var arr = pageurl.split("code=");
  134. var code = arr[1].split("&")[0];
  135. window.localStorage.setItem("weixinCode", code);
  136. }
  137. }
  138. //清空所有的agent
  139. function clearAgent(){
  140. if(window.localStorage.getItem(agentName)){
  141. window.localStorage.removeItem(agentName);
  142. }
  143. if(window.localStorage.getItem(agentName1)){
  144. window.localStorage.removeItem(agentName1);
  145. }
  146. window.localStorage.removeItem("weixinCode"); //清楚缓存的code
  147. // if(window.localStorage.getItem(OpenidAgent)){
  148. // window.localStorage.removeItem(OpenidAgent);
  149. // }
  150. }
  151. //获取链接上的参数
  152. function GetRequest() {
  153. var url = location.search; //获取url中"?"符后的字串
  154. var theRequest = new Object();
  155. if (url.indexOf("?") != -1) {
  156. var str = url.substr(1);
  157. strs = str.split("&");
  158. for(var i = 0; i < strs.length; i ++) {
  159. theRequest[strs[i].split("=")[0]]=(strs[i].split("=")[1]);
  160. }
  161. }
  162. //添加toName的信息
  163. if(theRequest.toName){
  164. localStorage.setItem("toName", theRequest.toName);
  165. }
  166. return theRequest;
  167. }
  168. //新的判断用户是否登录的方法,先校验openid是否一致
  169. function checkUserAgent(){
  170. var Request = new Object();
  171. Request = GetRequest();
  172. var code = Request["code"];
  173. var userAgent = window.localStorage.getItem(agentName);
  174. var agentCode = window.localStorage.getItem("weixinCode");
  175. if(code == "" || code == null || code == undefined){
  176. if(agentCode){
  177. //存在agentCode,说明一定获取openid成功过。
  178. if(!userAgent){
  179. var agentOpenids = window.localStorage.getItem(OpenidAgent);
  180. agentOpenids = JSON.parse(agentOpenids);
  181. window.location.href = "../../home/html/zhmm-login.html?type=" + pagetype + "&openid=" + agentOpenids.openid;
  182. }else{
  183. try{
  184. var agentOpenids = window.localStorage.getItem(OpenidAgent);
  185. if(agentOpenids){
  186. agentOpenids = JSON.parse(agentOpenids);
  187. checkCanPayOnline(agentOpenids.openid);
  188. checkCanPrescription(agentOpenids.openid);
  189. }
  190. queryInit();
  191. }catch(e){
  192. }
  193. }
  194. }else{
  195. if(!userAgent){
  196. d.close();
  197. // dialog({contentType:'tipsbox', skin:'bk-popup' , content:'授权失败',bottom:true}).show();
  198. //模板消息的情况,模板消息带上openid的值给页面
  199. var openid = Request['openid'];
  200. saveAgentOpenid(openid);
  201. window.location.href = "../../home/html/zhmm-login.html?type=" + pagetype + "&openid=" + openid;
  202. }else{
  203. try{
  204. checkCanPayOnline(Request['openid']);
  205. checkCanPrescription(Request['openid']);
  206. queryInit();
  207. }catch(e){
  208. }
  209. }
  210. }
  211. }
  212. else{
  213. //校验code与缓存中的code是否一致,一致的话则不再向后端获取openid,因为code只能使用一次
  214. if(agentCode && (code == agentCode)){
  215. try{
  216. var agentOpenids = window.localStorage.getItem(OpenidAgent);
  217. if(agentOpenids){
  218. agentOpenids = JSON.parse(agentOpenids);
  219. checkCanPayOnline(agentOpenids.openid);
  220. checkCanPrescription(agentOpenids.openid)
  221. }
  222. queryInit();
  223. }catch(e){
  224. }
  225. }else{
  226. //校验登录的openid是否与缓存中存在的一致
  227. d.show();
  228. sendPost('weixin/getOpenidByCode', {code: code}, 'json', 'post', openidFailed, function(res){
  229. if (res.status == 200) {
  230. d.close();
  231. localStorage.setItem("weixinCode", code);
  232. var openid = res.openid,
  233. agentOpenids = window.localStorage.getItem(OpenidAgent),
  234. agentOpenid = agentOpenids && JSON.parse(agentOpenids).openid;
  235. saveAgentOpenid(openid);
  236. if( agentOpenid == openid){
  237. if(!userAgent){
  238. window.location.href = "../../home/html/zhmm-login.html?type=" + pagetype + "&openid=" + openid;
  239. }else{
  240. try{
  241. checkCanPayOnline(openid);
  242. checkCanPrescription(openid);
  243. queryInit();
  244. }catch(e){
  245. }
  246. }
  247. }else{
  248. window.location.href = server + "wx/html/home/html/zhmm-login.html?type=" + pagetype + "&openid=" + openid;
  249. }
  250. } else {
  251. openidFailed(res);
  252. }
  253. });
  254. }
  255. }
  256. }
  257. //判断用户是否登录
  258. function checkUserAgent1(){
  259. var userAgent = window.localStorage.getItem(agentName);
  260. if(!userAgent){
  261. var agentOpenid = window.localStorage.getItem(OpenidAgent);
  262. if(!agentOpenid||agentOpenid=="undefined"){
  263. var Request = new Object();
  264. Request = GetRequest();
  265. var code = Request["code"];
  266. if(code == "" || code == null || code == undefined){
  267. d.close();
  268. dialog({contentType:'tipsbox', skin:'bk-popup' , content:'授权失败',bottom:true}).show();
  269. }
  270. else{
  271. d.show();
  272. var data = {};
  273. data.code = code;
  274. sendPost('weixin/getOpenidByCode', data, 'json', 'post', openidFailed, openidSuccess);
  275. }
  276. }
  277. else{
  278. var jsonstr = $.parseJSON(agentOpenid);
  279. var openid = jsonstr.openid;
  280. if((pagetype>=20&&pagetype<=27) || pagetype=='-1' || pagetype==3 || !pagetype){
  281. pagetype = 0;
  282. window.localStorage.setItem(pageName, JSON.stringify({pageurl: location.href}))
  283. }
  284. // window.location.href = server + "wx/html/home/html/zhmm-login.html?type=" + pagetype + "&openid=" + openid;
  285. window.location.href = "../../home/html/zhmm-login.html?type=" + pagetype //+ "&openid=" + openid;
  286. }
  287. }
  288. else{
  289. try{
  290. queryInit();
  291. }catch(e){
  292. }
  293. }
  294. }
  295. //判断openid是否在可以在线支付的白名单里面
  296. function checkCanPayOnline(id){
  297. if(id && openidList.indexOf(id)>-1){
  298. canPayOnline = true;
  299. }
  300. }
  301. //判断openid是否在可以开启处方功能的白名单中
  302. function checkCanPrescription(id){
  303. if(id && prescriptionOpenidList.indexOf(id)>-1){
  304. canPrescription = true;
  305. }
  306. }
  307. //成功
  308. function openidSuccess(res) {
  309. if (res.status == 200) {
  310. var openid = res.openid;
  311. saveAgentOpenid(openid);
  312. window.location.href = server + "wx/html/home/html/zhmm-login.html?type=" + pagetype + "&openid=" + openid;
  313. } else {
  314. openidFailed(res);
  315. }
  316. }
  317. //失败
  318. function openidFailed(res) {
  319. d.close();
  320. // if(window.localStorage.getItem(OpenidAgent)){
  321. // window.localStorage.removeItem(OpenidAgent);
  322. // }
  323. if (res && res.msg) {
  324. dialog({contentType:'tipsbox', skin:'bk-popup' , content:res.msg,bottom:true}).show();
  325. } else {
  326. dialog({contentType:'tipsbox', skin:'bk-popup' , content:'获取认证信息失败',bottom:true}).show();
  327. }
  328. }
  329. //判断用户是否有签约
  330. function checkSign(type){
  331. d.show();
  332. var userAgent = window.localStorage.getItem(agentName);
  333. if(userAgent){
  334. var data = {};
  335. $.ajax(server + "patient/is_sign", {
  336. data: data,
  337. type: 'POST',
  338. dataType: 'json',
  339. beforeSend: function(request) {
  340. request.setRequestHeader("userAgent", userAgent);
  341. },
  342. error: function(res) {
  343. d.close();
  344. if(res.status == 999 || res.status == 998 || res.status == 997){
  345. loginUrl(res.status);
  346. return;
  347. }
  348. dialog({contentType:'tipsbox', skin:'bk-popup' , content:'校验失败',bottom:true}).show();
  349. },
  350. success: function(res) {
  351. d.close();
  352. if(res.status == 999 || res.status == 998 || res.status == 997){
  353. loginUrl(res.status);
  354. }
  355. else if (res.status == 200) {
  356. var is_sign = res.data;//0未签约,1已签约
  357. if(is_sign == 0){
  358. dialog({
  359. title: '提示',
  360. content: '您还未签约,请先签约,谢谢!',
  361. okValue:'签约',
  362. ok: function (){
  363. window.location.href = server + "wx/html/ssgg/html/choose-region.html";
  364. },
  365. cancelValue: '不了',
  366. cancel: function () {
  367. return;
  368. }
  369. }).showModal();
  370. }else{
  371. if(type == 1){
  372. window.location.href = server + "wx/html/zxwz/html/teachers-consult-commit.html";
  373. }
  374. }
  375. } else {
  376. dialog({contentType:'tipsbox', skin:'bk-popup' , content:res.msg,bottom:true}).show();
  377. }
  378. }
  379. });
  380. }
  381. else{
  382. dialog({contentType:'tipsbox', skin:'bk-popup' , content:'用户信息错误',bottom:true}).show();
  383. }
  384. }
  385. var toUsers = localStorage.getItem("toUser");
  386. var curId = localStorage.getItem("id");
  387. var toName = localStorage.getItem("toName");
  388. var consultCode = localStorage.getItem("consultCode");
  389. var pageUrl = {
  390. /**通用跳转**/ 0:function(){
  391. var pageurl = "";
  392. var agentPage = window.localStorage.getItem(pageName);
  393. if(agentPage){
  394. var jsonstr = $.parseJSON(agentPage);
  395. pageurl = jsonstr.pageurl;
  396. }
  397. return pageurl;
  398. }(),
  399. /**签约管理首页**/ "-1":"../../qygl/html/signing-doctors.html",//签约管理首页
  400. /**医生咨询首页**/ 1:"../../yszx/html/doctor-consultation.html",
  401. /**医生指导首页**/ 3:"../../yszd/html/doctor-guidance.html",//医生指导首页
  402. /**疾病社区首页**/ 4:"../../jbsq/html/disease-community.html",//疾病社区首页
  403. /**健康记录首页**/ 5:"../../jkjl/html/health-record.html",//健康记录
  404. /**我的设备首页**/ 6:"../../wdsb/html/my-equipments.html",//我的设备
  405. /**我的资料首页**/ 11:"../../grzx/html/my-detail.html",
  406. /**我的设备首页**/ 15:"../../wdsb/html/my-equipments.html",
  407. /**签约选择医生**/ 16:"../../qygl/html/select-doctor.html",
  408. /**签约搜索医生**/ 17:"../../qygl/html/search-doctor.html",
  409. /**签约医生主页**/ 18:function(){
  410. var doctor = localStorage.getItem("doccode");
  411. return "../../ssgg/html/doctor-homepage-new.html?openid="+0+"&state="+doctor;
  412. }(),
  413. /**我的预约首页**/ 20:"../../wdyy/html/my-appointment.html",
  414. /**预约挂号提交**/ 21:"https://open.weixin.qq.com/connect/oauth2/authorize?appid="+appId+"&redirect_uri="+wxurl+"%2fwdyy%2fhtml%2finfo-confirm.html&response_type=code&scope=snsapi_base&state=STATE#wechat_redirect",
  415. 22:"../../jtgx/html/family.html",
  416. /**预约详情首页**/ 23:"../../wdyy/html/detail-appointment.html?openid="+0+"&toUser="+toUsers+"&id="+curId+"&toName="+toName,
  417. /**医生咨询详情**/ 24:"../../yszx/html/consulting-doctor.html?openid="+0+"&toUser="+toUsers+"&consult="+consultCode+"&toName="+toName,
  418. /**医生指导详情**/ 25:"../../yszd/html/guidance-detail.html?openid="+0+"&toUser="+toUsers+"&id="+curId+"&toName="+toName,
  419. /**健康教育**/ 26:"../../jkjy/html/article_list.html",
  420. /**健康详情**/ 27:function(){
  421. var artoUser = localStorage.getItem("toUser");
  422. var article = localStorage.getItem("article");
  423. return "../../jkjy/html/article.html?dataId="+article+"&toUser="+artoUser+"&toName="+toName;
  424. }(),
  425. /**新的健康详情**/ 50:function(){
  426. var artoUser = localStorage.getItem("toUser");
  427. var article = localStorage.getItem("article");
  428. return "../../jkjy/html/article2.html?dataId="+article+"&toUser="+artoUser+"&toName="+toName;
  429. }(),
  430. 28:"../../jkda/html/jiuzhenjilu.html",
  431. 29:"../../jkda/html/jianchajianyan.html",
  432. 30:"../../survey/html/survey_info.html?openid="+0+"&toUser="+toUsers+"&toName="+toName+"&survey_id="+localStorage.getItem("survey_id"),
  433. /**签约管理首页2**/ 31:"../../qygl/html/signing_management.html",//签约管理首页
  434. /*社区体检*/ 32: "../../jkda/html/jiankangtijian.html",
  435. /*续签页面*/ 33: "../../xuqian/html/information.html",
  436. /**意见反馈**/ 34:"../../yjfk/html/feedback.html",
  437. /**公共咨询**/ 36:"../../jbsq/html/public-consult-detail.html",
  438. /*处方记录 */ 38: "../../prescription/html/prescription_records.html",
  439. /*续方订单跟踪页*/ 41: '../../prescription/html/order_tracking.html?openid='+0+'&toUser='+toUsers+'&toName='+toName+'&code='+window.localStorage.getItem("prescriptionCode"),
  440. ///*续方记录页*/ 42: '../../prescription/html/re-prescription_info.html?openid='+0+'&toUser='+toUsers+'&toName='+toName+'&code='+window.localStorage.getItem("prescriptionCode"),
  441. /*孕检计划*/ 45: "../../fybj/html/yunjianjihua.html",
  442. /*免疫计划*/ 46: "../../fybj/html/mianyijihua.html",
  443. /*慢病管理修改*/ 47: "../../jbsq/html/slow-disease-manage.html",
  444. /**免疫预约首页**/ 48:"../../wdyy/html/immune-appointment.html",
  445. /**免疫预约详情页**/ 49:"../../wdyy/html/detail-immune-appointment.html",
  446. /**健康银行详情页**/ 51:"../../jkjf/html/index.html",
  447. /**健康存折详情页**/ 52:"../../jkjf/html/passbook.html",
  448. /**我的健康存折**/ 53:"../../jkjf/html/my-passbook.html",
  449. /**我的 活动**/ 54:"../../jkjf/html/my-activities.html",
  450. /**活动广场**/ 55:"../../jkjf/html/activity-square.html",
  451. /**活动详情**/ 56:"../../jkjf/html/activity-detail.html",
  452. /**健康银行默认缺省页**/ 57:"../../jkjf/html/unopened.html"
  453. }
  454. Date.prototype.Format = function(formatStr)
  455. {
  456. var str = formatStr;
  457. var Week = ['日','一','二','三','四','五','六'];
  458. str=str.replace(/yyyy|YYYY/,this.getFullYear());
  459. str=str.replace(/yy|YY/,(this.getYear() % 100)>9?(this.getYear() % 100).toString():'0' + (this.getYear() % 100));
  460. str=str.replace(/MM/,this.getMonth()>8?(this.getMonth()+1).toString():'0' + (this.getMonth()+1));
  461. str=str.replace(/M/g,this.getMonth()+1);
  462. str=str.replace(/w|W/g,Week[this.getDay()]);
  463. str=str.replace(/dd|DD/,this.getDate()>9?this.getDate().toString():'0' + this.getDate());
  464. str=str.replace(/d|D/g,this.getDate());
  465. str=str.replace(/hh|HH/,this.getHours()>9?this.getHours().toString():'0' + this.getHours());
  466. str=str.replace(/h|H/g,this.getHours());
  467. str=str.replace(/mm/,this.getMinutes()>9?this.getMinutes().toString():'0' + this.getMinutes());
  468. str=str.replace(/m/g,this.getMinutes());
  469. str=str.replace(/ss|SS/,this.getSeconds()>9?this.getSeconds().toString():'0' + this.getSeconds());
  470. str=str.replace(/s|S/g,this.getSeconds());
  471. return str;
  472. }
  473. var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");
  474. //document.write(unescape("%3Cspan style='display:none' id='cnzz_stat_icon_1265315380'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s22.cnzz.com/z_stat.php%3Fid%3D1265315380' type='text/javascript'%3E%3C/script%3E"));