if (!likedtotal) var likedtotal; if (!pvtotal) var pvtotal; var krpano = document.getelementbyid("krpanoswfobject"); function krpmodifyurl(pid) { } function onkrpxmlready() { } function krpgetpanostat() { } function krppathfinding() { } function krpgetauthstat() { } function openmedia(link, device) { if (link.indexof('firstxml') != -1) { var link = link.replace("%firstxml%", "."); } if (device == "true") { var link = 'play.html?type=1&file=' + link; $.fancybox.open({ type: 'iframe', href: link, padding: 0 }); } else { var link = 'play.html?type=0&file=' + link; $.fancybox.open({ type: 'iframe', href: link, padding: 0, maxwidth: 535, maxheight: 520, fittoview: true, width: '70%', height: '70%', }); } } function js_show_intro(desc, device) { if (desc != 0 && desc != '') { desc = unescape(desc); var width; if (device == 'true') { width = '80%'; height = '60%'; } else { width = '480px'; height = 'auto'; } layer.open({ type: 1, title: false, area: [width, height], shadeclose: true, content: '
' + desc + '
' }); } } function js_do_like() { if (typeof (guid) == "undefined" || guid == '' || guid == null) { return false; } $.ajax({ type: "post", url: "/member/panoapi/zan", data: { "guid": guid }, datatype: 'json', success: function (data) { } }); } function js_do_pv() { if (typeof (guid) == "undefined" || guid == '' || guid == null) { return false; } $.ajax({ type: "post", url: "/member/panoapi/pview", data: { "guid": guid }, datatype: 'json', success: function (data) { } }); } function js_show_qr() { //杩欓噷鐨勪簩缁寸爜浠s guid鍛藉悕 鍥犱负闇€瑕佽皟鐢? if (typeof (guid) == "undefined" || guid == '' || guid == null) { return false; } layer.open({ type: 1, title: false, area: ['580px', '500px'], shadeclose: true, content: '
鎵弿浜岀淮鐮? 鍒嗕韩浣犵殑鍏ㄦ櫙
' }); } function js_show_wcode(link) { if (link.indexof('firstxml') != -1) { var link = link.replace("%firstxml%", "."); } var flag = ispc(); var width; var height; if (flag) { width = '500px'; height = '500px'; } else { width = '80%'; height = '51%'; } layer.open({ type: 1, title: false, area: [width, height], shadeclose: true, content: '
鍏虫敞浜嗚в鏇村
' }); } function js_show_deccontent(t, link) { if (link.indexof('firstxml') != -1) { var link = link.replace("%firstxml%", "."); } var flag = ispc(); if (flag) { layer.open({ type: 1, title: false, area: ['820px', '540px'], shadeclose: true, content: '
' + t + '