Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/bitrix/ext_www/rospirotorg.ru/bitrix/templates/learning/js/ |
Upload File : |
function ImgShw(e,t,n){var i="no";var r=0,o=0;if(t>screen.width-10||n>screen.height-28)i="yes";if(n<screen.height-28)r=Math.floor((screen.height-n)/2-14);if(t<screen.width-10)o=Math.floor((screen.width-t)/2-5);t=Math.min(t,screen.width-10);n=Math.min(n,screen.height-28);var h=window.open("","","scrollbars="+i+",resizable=yes,width="+t+",height="+n+",left="+o+",top="+r);h.document.write("<html><head>\n");h.document.write("<"+"script>\n");h.document.write("\x3c!--\n");h.document.write("function KeyPress()\n");h.document.write("{\n");h.document.write("\tif(window.event.keyCode == 27)\n");h.document.write("\t\twindow.close();\n");h.document.write("}\n");h.document.write("//--\x3e\n");h.document.write("</"+"script>\n");h.document.write("<title>Image View</title></head>\n");h.document.write('<body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" onKeyPress="KeyPress()">\n');h.document.write('<img src="'+e+'" border="0">');h.document.write("</body>");h.document.write("</html>");h.document.close()}function ShowImg(e,t,n,i){var r="no";var o=0,h=0;if(t>screen.width-10||n>screen.height-28)r="yes";if(n<screen.height-28)o=Math.floor((screen.height-n)/2-14);if(t<screen.width-10)h=Math.floor((screen.width-t)/2);t=Math.min(t,screen.width-10);n=Math.min(n,screen.height-28);window.open("/bitrix/tools/imagepg.php?alt="+i+"&img="+e,"","scrollbars="+r+",resizable=yes, width="+t+",height="+n+",left="+h+",top="+o)}function LearningInitSpoiler(e){if(typeof e!="object"||!e)return false;var t=e.nextSibling;while(t.nodeType!=1)t=t.nextSibling;t.style.display=t.style.display=="none"?"":"none";e.className=t.style.display=="none"?"":"learning-spoiler-head-open"} //# sourceMappingURL=imgshw.map.js