");$t.val(text).css({width:"1px",height:"1px"}).appendTo("body");$t.select();if(document.execCommand("copy"))$t.remove();var event=window.event||callmymethod.caller.arguments[0];event.preventDefault?event.preventDefault():(event.returnValue=false);return false;} function mpv_showpic(pid, pic) { $("#" + pid + " .pobj>ul.mpv_pics li").hide(); $("#" + pid + " .pobj>ul.mpv_pics li:eq(" + pic + ")").show(); var img = $("#" + pid + " .pobj>ul.mpv_pics li:eq(" + pic + ") img"); if (img.hasClass("evzh_inner")) img.elevateZoom({ zoomType: "inner", cursor: "crosshair" }); } function mpv_filterthumbs(pid, indexes) { var thumbs = $(".mpv_thb li"); if (thumbs.length > 0) { if (indexes.length > 0) { var nThumbs = 0; thumbs .hide() .filter(function (idx) { if (indexes.includes(idx + 1)) { nThumbs++; return true; } else return false; }) .show(); mpv_showpic(pid, indexes[0] - 1); if (nThumbs === 1) $(".mpv_thb").hide(); else $(".mpv_thb").show(); } else { thumbs.show(); $(".mpv_thb").show(); } } }function onChangeSiteLang(href){var i=location.href.indexOf("?");if(i>0)href+=location.href.substr(i);document.location.href=href;}