portal html css js resource

resourceShow.js 19KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635
  1. $(document).ready(function() {
  2. loginStatus(); //判断个人是否登录
  3. var userid = $.cookie("userid");
  4. $(".jqzoom").imagezoom();
  5. $("#thumblist").on("click", "li a", function() {
  6. $(this).parents("li").addClass("tb-selected").siblings().removeClass("tb-selected");
  7. $(".jqzoom").attr('src', $(this).find("img").attr("src"));
  8. $(".jqzoom").attr('rel', $(this).find("img").attr("src"));
  9. });
  10. $('.shareWeixin').hover(function() {
  11. $('.shareCode').stop(true, false).fadeToggle();
  12. });
  13. var resourceId = GetQueryString("resourceId");
  14. ifCollection(resourceId, 2)
  15. var professorId = "";
  16. getRecourceMe();
  17. /*获取资源信息*/
  18. function getRecourceMe() {
  19. $.ajax({
  20. "url": "/ajax/resource/queryOne",
  21. "type": "GET",
  22. "success": function(data) {
  23. console.log(data);
  24. if(data.success) {
  25. resourceHtml(data.data);
  26. var resourceName = data.data.resourceName + "-科袖网";
  27. window.setTimeout(function() {
  28. document.title = resourceName;
  29. }, 500);
  30. }
  31. },
  32. "data": {
  33. "resourceId": resourceId
  34. },
  35. dataType: "json",
  36. 'error': function() {
  37. $.MsgBox.Alert('提示', '服务器连接超时!');
  38. }
  39. });
  40. }
  41. /*合作备注及性能参数存储换行格式*/
  42. function outHTML(selecter) {
  43. var getValue = selecter;
  44. var aa = "";
  45. if(getValue) {
  46. var endValue = ((getValue.replace(/<(.+?)>/gi, "&lt;$1&gt;")).replace(/ /gi, "&nbsp;")).replace(/\n/gi, "|");
  47. var cc = endValue.split("|");
  48. for(var i = 0; i < cc.length; i++) {
  49. aa += cc[i] + '<br/>'
  50. }
  51. }
  52. return aa;
  53. }
  54. /*处理资源html代码*/
  55. function resourceHtml($da) {
  56. $("#resourceName").text($da.resourceName); //名字
  57. $("#application").text($da.supportedServices); //应用用途
  58. if($da.editProfessor) {
  59. $("#person").show();
  60. if($da.orgName) { //所属机构
  61. $("#organizationName").text($da.orgName).parents("li").show();
  62. }
  63. $("#nameS").text($da.editProfessor.name);
  64. if($da.editProfessor.title) {
  65. $("#titleOffice").text($da.editProfessor.title);
  66. } else {
  67. if($da.editProfessor.office) {
  68. $("#titleOffice").text($da.editProfessor.office);
  69. }
  70. }
  71. if($da.editProfessor.orgName) {
  72. $("#orgType").text($da.editProfessor.orgName);
  73. }
  74. professorId = $da.editProfessor.id;
  75. console.log(professorId);
  76. console.log(userid);
  77. if(userid != professorId) {
  78. ifCollection(professorId, 1)
  79. $(".goSpan").show();
  80. }
  81. var professorFlag = autho($da.editProfessor.authType, $da.editProfessor.orgAuth, $da.editProfessor.authStatus);
  82. $("#authFlag").addClass(professorFlag.sty).attr("title", professorFlag.title);
  83. if($da.editProfessor.hasHeadImage == 1) {
  84. $("#headImg").css("background-image", 'url(/images/head/' + $da.editProfessor.id + '_l.jpg)');
  85. }
  86. }else{
  87. $("#enterprise,#resPerson").show();
  88. if($da.organization.hasOrgLogo) {
  89. $("#Qimg").attr("style", "background-image: url(/images/org/" + $da.organization.id + ".jpg);");
  90. }
  91. if($da.organization.authStatus==3){
  92. $("#QauthFlag").addClass("authicon-com-ok").attr("title", "认证企业");
  93. }
  94. $("#Qname").text($da.organization.name);
  95. $("#Qindustry").text($da.organization.subject);
  96. if($da.organization.orgType==2){
  97. $("#QorgType").text("上市企业");
  98. }else if($da.organization.orgType==3){
  99. $("#QorgType").text("国有企业");
  100. }else if($da.organization.orgType==4){
  101. $("#QorgType").text("合资企业");
  102. }else if($da.organization.orgType==5){
  103. $("#QorgType").text("私人企业");
  104. }else if($da.organization.orgType==6){
  105. $("#QorgType").text("外资企业");
  106. }else if($da.organization.orgType==7){
  107. $("#QorgType").text("初创企业");
  108. }else{
  109. $("#QorgType").text("");
  110. }
  111. }
  112. if($da.spec) { //厂商型号
  113. $("#modelNumber").text($da.spec).parents("li").show();
  114. }
  115. if($da.parameter) { //性能参数
  116. $("#performancePa").html(outHTML($da.parameter)).parents("li").show();
  117. }
  118. if($da.cooperationNotes) { //合作备注
  119. $("#remarkContent").html(outHTML($da.cooperationNotes)).parents("li").show();
  120. }
  121. if($da.subject) {
  122. var oSub = $da.subject.split(",");
  123. if($da.resourceType==1) {
  124. interestingResources(oSub,$da.professorId,0);
  125. }else{
  126. interestingResources(oSub,$da.orgId,1);
  127. }
  128. var oSt = "";
  129. for(var i = 0; i < oSub.length; i++) {
  130. oSt += '<li><p class="h2Font">' + oSub[i] + '</p></li>'
  131. }
  132. $(".tagList").html(oSt);
  133. } else {
  134. $(".aboutTit:contains('您可能感兴趣的资源')").parent().hide();
  135. }
  136. if($da.descp) { //编辑器
  137. $("#descp").html($da.descp).parents("li").show();
  138. }
  139. var weibotitle = $da.resourceName;
  140. var weibourl = window.location.href;
  141. //return;
  142. if($da.images.length) {
  143. var weibopic = "http://" + window.location.host + "/data/resource/" + $da.images[0].imageSrc;
  144. $("#firstFigure").attr({
  145. "src": "/data/resource/" + $da.images[0].imageSrc,
  146. "rel": "/data/resource/" + $da.images[0].imageSrc
  147. }).parent().attr("href", "/data/resource/" + $da.images[0].imageSrc);
  148. var arr = "";
  149. for(var i = 0; i < $da.images.length; i++) {
  150. if($da.images[i] == $da.images[0]) {
  151. var oString = '<li class="tb-selected">' +
  152. '<div class="tb-pic tb-s66">' +
  153. '<a href="javascript:void(0);">' +
  154. '<img src="/data/resource/' + $da.images[i].imageSrc + '"/>' +
  155. '</a>' +
  156. '</div>' +
  157. '</li>'
  158. } else {
  159. var oString = '<li >' +
  160. '<div class="tb-pic tb-s66">' +
  161. '<a href="javascript:void(0);">' +
  162. '<img src="/data/resource/' + $da.images[i].imageSrc + '"/>' +
  163. '</a>' +
  164. '</div>' +
  165. '</li>'
  166. }
  167. arr += oString;
  168. }
  169. $("#thumblist").html(arr);
  170. } else {
  171. var weibopic = "http://" + window.location.host + "../images/default-resource.jpg";
  172. $("#firstFigure").attr({
  173. "src": '../images/default-resource.jpg',
  174. "rel": '../images/default-resource.jpg'
  175. });
  176. }
  177. $("#weibo").attr("href", "http://service.weibo.com/share/share.php?appkey=3677230589&title=" + weibotitle + "&url=" + weibourl + "&pic=" + weibopic + "&ralateUid=6242830109&searchPic=false&style=simple");
  178. }
  179. /*点击名字及头像跳转个人浏览页面*/
  180. $("#nameS,#headImg").click(function() {
  181. location.href = "information-brow.html?professorId=" + professorId;
  182. })
  183. //关键词标签点击进去搜索
  184. $(".tagList").on("click","li",function(){
  185. var tagText = $(this).find("p").text();
  186. location.href = "searchNew.html?searchContent=" + tagText + "&tagflag=2";
  187. })
  188. /*资源里面相关文章*/
  189. function relatedArticles() {
  190. $.ajax({
  191. "url": "/ajax/resource/articles",
  192. "type": "GET",
  193. "success": function(data) {
  194. console.log(data);
  195. if(data.success) {
  196. if(data.data.length == 0) {
  197. $("#oArticle").parent().hide();
  198. $(".aboutTit:contains('相关文章')").hide();
  199. return;
  200. }
  201. relatedArticlesHtml(data.data);
  202. }
  203. },
  204. "data": {
  205. "resourceId": resourceId,
  206. "rows": 5
  207. },
  208. dataType: "json",
  209. 'error': function() {
  210. $.MsgBox.Alert('提示', '服务器连接超时!');
  211. }
  212. });
  213. }
  214. relatedArticles();
  215. /*资源相关文章html*/
  216. function relatedArticlesHtml($html) {
  217. for(var i = 0; i < $html.length; i++) {
  218. (function(n) {
  219. var oURL;
  220. if($html[i].article.articleType==1) {
  221. oURL="/ajax/professor/baseInfo/" + $html[i].article.professorId;
  222. }else{
  223. oURL="/ajax/org/" + $html[i].article.orgId;
  224. }
  225. $.ajax({
  226. "url":oURL,
  227. "type": "GET",
  228. "success": function(data) {
  229. if(data.success) {
  230. if($html[n].article.articleType==1) {
  231. var stl = autho(data.data.authType, data.data.orgAuth, data.data.authStatus);
  232. }else {
  233. var stl={};
  234. stl.sty="";
  235. stl.title="";
  236. if(data.data.authStatus==3) {
  237. stl.sty="authicon-com-ok";
  238. stl.title="认证企业";
  239. }
  240. }
  241. var str = ""
  242. str += '<li data-id="' + $html[n].article.articleId + '">'
  243. if($html[n].article.articleImg) {
  244. str += '<div class="madiaHead artHead" style="background-image: url(/data/article/' + $html[n].article.articleImg + ')"></div>'
  245. } else {
  246. str += '<div class="madiaHead artHead"></div>'
  247. }
  248. str += '<div class="madiaInfo" style="margin-top:18px;padding-bottom:8px">'
  249. str += '<p class="h1Font ellipsisSty">' + $html[n].article.articleTitle + '</p>'
  250. str += '<p><span class="h1Font">' + data.data.name + '</span><em class="authiconNew ' + stl.sty + '" title="' + stl.title + '"></em></p>'
  251. str += '</div></li>'
  252. $("#oArticle").append(str);
  253. }
  254. },
  255. 'dataType': "json",
  256. 'error': function() {
  257. $.MsgBox.Alert('提示', '服务器连接超时!');
  258. }
  259. });
  260. })(i);
  261. }
  262. }
  263. /*文章跳转*/
  264. $("#oArticle").on("click", "li", function() {
  265. location.href = "articalShow.html?articleId=" + $(this).attr("data-id");
  266. })
  267. /*感兴趣的资源*/
  268. function interestingResources(arry,oId,oNu) {
  269. var oUrl;
  270. var $in={};
  271. $in.keys= arry;
  272. $in.resourceId= resourceId;
  273. if(oNu==0) {
  274. $in.professorId= oId;
  275. oUrl="/ajax/resource/ralateRes";
  276. }else {
  277. $in.orgId= oId;
  278. oUrl="/ajax/resource/orgRalateRes";
  279. }
  280. $.ajax({
  281. "url": oUrl,
  282. "type": "GET",
  283. "success": function(data) {
  284. console.log(data);
  285. if(data.success) {
  286. if(data.data.length == 0) {
  287. $(".aboutTit:contains('您可能感兴趣的资源')").parent().hide();
  288. return;
  289. }
  290. interestingResourcesHtml(data.data);
  291. }
  292. },
  293. "data":$in,
  294. "traditional": true,
  295. dataType: "json",
  296. 'error': function() {
  297. $.MsgBox.Alert('提示', '服务器连接超时!');
  298. }
  299. });
  300. }
  301. /*感兴趣资源的html*/
  302. function interestingResourcesHtml($respond) {
  303. for(var i = 0; i < $respond.length; i++) {
  304. if($respond[i].organization) {
  305. var stl={};
  306. stl.sty="";
  307. stl.title="";
  308. if($respond[i].organization.authStatus==3) {
  309. stl.sty="authicon-com-ok";
  310. stl.title="认证企业";
  311. }
  312. var name= $respond[i].organization.name;
  313. }else {
  314. var stl = autho($respond[i].editProfessor.authType, $respond[i].editProfessor.orgAuth, $respond[i].editProfessor.authStatus);
  315. var name= $respond[i].editProfessor.name;
  316. }
  317. var oStr = '';
  318. if($respond[i].images.length) {
  319. oStr += '<li data-id="' + $respond[i].resourceId + '"><div class="madiaHead resouseHead"style="background-image: url(/data/resource/' + $respond[i].images[0].imageSrc + ')"></div>'
  320. } else {
  321. oStr += '<li data-id="' + $respond[i].resourceId + '"><div class="madiaHead resouseHead"></div>'
  322. }
  323. oStr += '<div class="madiaInfo">'
  324. oStr += '<p class="h1Font">' + $respond[i].resourceName + '</p>'
  325. oStr += '<p><span class="h1Font">' + name + '</span><em class="authiconNew ' + stl.sty + '" title="' + stl.title + '"></em></p>'
  326. oStr += '<p class="h2Font ellipsisSty">用途:<span>' + $respond[i].supportedServices + '</span></p>'
  327. oStr += '</div></li>'
  328. $("#resourceList").append(oStr);
  329. }
  330. }
  331. /*点击资源列表*/
  332. $("#resourceList").on("click", "li", function() {
  333. location.href = "resourceShow.html?resourceId=" + $(this).attr("data-id");
  334. })
  335. /*点击咨询*/
  336. $("#consultin").on("click", function() {
  337. clickResouceConsultHandler();
  338. });
  339. $("#expertli").on("click", ".addbtn", function() {
  340. var $this = $(this);
  341. clickResouceConsultHandler($this);
  342. })
  343. /*咨询函数*/
  344. function clickResouceConsultHandler($this) {
  345. if(userid && userid != "null" && userid != null) {
  346. ConsultApply();
  347. if(!professorId) {
  348. concultProInfo($this.attr("data-id")); //专家信息common.js中
  349. } else {
  350. concultProInfo(professorId); //专家信息common.js中
  351. }
  352. //默认选中资源咨询和标题
  353. for(var i = 0; i < $("ul.menucon").children().length; i++) {
  354. $("ul.menucon").children().eq(i).removeClass("clicknow");
  355. $("ul.menucon").children().eq(1).addClass("clicknow");
  356. }
  357. var consultTitleVal = $("#resourceName").text();
  358. $("#consultTitle").val("关于" + consultTitleVal + "的咨询");
  359. //点击的发送
  360. $("#sendConsultBtn").click(function() {
  361. sendConsultHandler(professorId); //common.js中
  362. });
  363. } else {
  364. $.MsgBox.Alert("消息提醒", "请先登录再进行咨询");
  365. $("#mb_btn_ok").val("去登录");
  366. var aele = document.createElement('a');
  367. $("#mb_btnbox").append(aele);
  368. $("#mb_btnbox a").css({
  369. 'display': "block",
  370. 'width': '100%',
  371. 'height': '40px',
  372. 'position': 'absolute',
  373. 'bottom': '-6px',
  374. 'left': '0'
  375. });
  376. aele.setAttribute('href', '../login.html');
  377. }
  378. };
  379. //点击专家关注
  380. $('.attenSpan').click(function() {
  381. if(userid && userid != "null" && userid != null) {
  382. if($(this).is('.attenSpanyes')) {
  383. cancelCollectionExpert(professorId, 1)
  384. } else {
  385. collectionExpert(professorId, 1);
  386. }
  387. } else {
  388. $.MsgBox.Alert('提示', "请先登录再进行关注");
  389. $("#mb_btn_ok").val("去登录");
  390. var aele = document.createElement('a');
  391. $("#mb_btnbox").append(aele);
  392. $("#mb_btnbox a").css({
  393. 'display': "block",
  394. 'width': '100%',
  395. 'height': '40px',
  396. 'position': 'absolute',
  397. 'bottom': '-6px',
  398. 'left': '0'
  399. });
  400. aele.setAttribute('href', '../login.html');
  401. }
  402. })
  403. //点击资源收藏
  404. $('#attention em').click(function() {
  405. if(userid && userid != "null" && userid != null) {
  406. if($(this).is('.icon-collected')) {
  407. cancelCollectionExpert(resourceId, 2)
  408. } else {
  409. collectionExpert(resourceId, 2);
  410. }
  411. } else {
  412. $.MsgBox.Alert('提示', "请先登录再进行收藏");
  413. $("#mb_btn_ok").val("去登录");
  414. var aele = document.createElement('a');
  415. $("#mb_btnbox").append(aele);
  416. $("#mb_btnbox a").css({
  417. 'display': "block",
  418. 'width': '100%',
  419. 'height': '40px',
  420. 'position': 'absolute',
  421. 'bottom': '-6px',
  422. 'left': '0'
  423. });
  424. aele.setAttribute('href', '../login.html');
  425. }
  426. })
  427. /*判断是非关注专家*/
  428. function ifCollection(getid, num) {
  429. var data = {
  430. "professorId": userid,
  431. "watchObject": getid
  432. }
  433. //alert(JSON.stringify(data))
  434. $.ajax({
  435. url: "/ajax/watch/hasWatch",
  436. data: data,
  437. dataType: 'json', //数据格式类型
  438. type: 'get', //http请求类型
  439. timeout: 10000,
  440. async: true,
  441. success: function(data) {
  442. if(num == 1) {
  443. if(data.success && data.data != null) {
  444. $('.attenSpan').addClass("attenSpanyes");
  445. $('.attenSpan').addClass("attenedSpan");
  446. $('.attenSpan').text('已关注');
  447. zjreturnId = data.data.watchObject;
  448. } else {
  449. $('.attenSpan').removeClass("attenSpanyes");
  450. $('.attenSpan').removeClass("attenedSpan");
  451. $('.attenSpan').text('关注');
  452. }
  453. }
  454. if(num == 2) {
  455. if(data.success && data.data != null) {
  456. $('#attention em').addClass("icon-collected").removeClass("icon-collect");
  457. wzreturnId = data.data.watchObject;
  458. } else {
  459. $('#attention em').removeClass("icon-collected").addClass("icon-collect");
  460. }
  461. }
  462. },
  463. error: function() {
  464. $.MsgBox.Alert('提示', "服务器链接超时");
  465. }
  466. });
  467. }
  468. /*关注专家*/
  469. function collectionExpert(watchObject, num) {
  470. if(num == 1) {
  471. var data = {
  472. "professorId": userid,
  473. "watchObject": watchObject,
  474. "watchType": 1
  475. }
  476. } else {
  477. var data = {
  478. "professorId": userid,
  479. "watchObject": watchObject,
  480. "watchType": 2
  481. }
  482. }
  483. $.ajax({
  484. url: "/ajax/watch",
  485. data: data,
  486. dataType: 'json', //数据格式类型
  487. type: 'POST', //http请求类型
  488. timeout: 10000,
  489. async: false,
  490. success: function(data) {
  491. if(num == 1) {
  492. if(data.success) {
  493. $('.attenSpan').addClass("attenSpanyes");
  494. $('.attenSpan').addClass("attenedSpan");
  495. $('.attenSpan').text('已关注');
  496. zjreturnId = data.data.watchObject;
  497. }
  498. }
  499. if(num == 2) {
  500. if(data.success) {
  501. $('#attention em').addClass("icon-collected").removeClass("icon-collect");
  502. wzreturnId = data.data.watchObject;
  503. }
  504. }
  505. },
  506. error: function() {
  507. $.MsgBox.Alert('提示', "服务器链接超时");
  508. }
  509. });
  510. }
  511. /*取消收藏专家*/
  512. function cancelCollectionExpert(watchObject, num) {
  513. $.ajax({
  514. url: "/ajax/watch/delete",
  515. data: {
  516. professorId: userid,
  517. watchObject: watchObject
  518. },
  519. dataType: 'json', //数据格式类型
  520. type: 'post', //http请求类型
  521. timeout: 10000,
  522. async: true,
  523. success: function(data) {
  524. console.log(data.success)
  525. if(num == 1) {
  526. if(data.success) {
  527. $('.attenSpan').removeClass("attenSpanyes");
  528. $('.attenSpan').removeClass("attenedSpan");
  529. $('.attenSpan').text('关注');
  530. }
  531. }
  532. if(num == 2) {
  533. if(data.success) {
  534. $('#attention em').removeClass("icon-collected").addClass("icon-collect");
  535. }
  536. }
  537. },
  538. error: function(data) {
  539. $.MsgBox.Alert('提示', "服务器链接超时");
  540. }
  541. });
  542. }
  543. //资源浏览量
  544. function pageViewsVal() {
  545. $.ajax({
  546. "url": "/ajax/resource/pageViews",
  547. "type": "POST",
  548. "dataType": "json",
  549. "data": {
  550. "resourceId": resourceId
  551. },
  552. "success": function(data) {
  553. console.log(data);
  554. if(data.success) {}
  555. },
  556. "error": function() {
  557. $.MsgBox.Alert('提示', '链接服务器超时')
  558. }
  559. });
  560. }
  561. pageViewsVal();
  562. selUse();
  563. function selUse() {
  564. $.ajax({
  565. url: "/ajax/resource/qaLinkman",
  566. type: "GET",
  567. timeout: 10000,
  568. dataType: "json",
  569. async: true,
  570. data: {
  571. "resourceId": resourceId,
  572. },
  573. success: function(data, textState) {
  574. console.log(data)
  575. if(data.success) {
  576. unauthUser(data.data);
  577. }
  578. },
  579. error: function(XMLHttpRequest, textStats, errorThrown) {
  580. $.MsgBox.Alert('提示', '服务器请求失败')
  581. }
  582. })
  583. }
  584. function unauthUser($res) {
  585. var osting = ""
  586. for(var i = 0; i < $res.length; i++) {
  587. var img;
  588. var styC = "";
  589. var oClass = autho($res[i].professor.authType, $res[i].professor.orgAuth, $res[i].professor.authStatus);
  590. var oTitle = "";
  591. if($res[i].professor.title) {
  592. oTitle = $res[i].professor.title;
  593. } else {
  594. if($res[i].professor.office) {
  595. oTitle = $res[i].professor.office;
  596. }
  597. }
  598. if($res[i].professor.hasHeadImage) {
  599. img = "/images/head/" + $res[i].professor.id + "_l.jpg";
  600. } else {
  601. img = "../images/default-photo.jpg"
  602. }
  603. var oSt = '<li class="flexCenter">'
  604. oSt += '<div class="madiaHead useHead" id="userimg" style="background-image: url(' + img + ');"></div>'
  605. oSt += '<div class = "madiaInfo">'
  606. oSt += '<p class = "ellipsisSty">'
  607. oSt += '<span class = "h1Font" id="name">' + $res[i].professor.name + '</span><em class="authiconNew ' + oClass.sty + '" title="' + oClass.title + '"></em >'
  608. oSt += '</p>'
  609. oSt += '<p class="h2Font ellipsisSty">' + oTitle + '</p>'
  610. oSt += '</div>'
  611. oSt += '<span class="addbtn" data-id="' + $res[i].professor.id + '">咨询</span>'
  612. oSt += '</li>'
  613. osting += oSt;
  614. }
  615. $("#expertli").html(osting);
  616. }
  617. })