PageSourceSearch

https://opticalsys.ru/script.js

js opticalsys.ru collected 2026-10-05 00:06:12 UTC 2,106 bytes, 70 lines download raw bytes

1
2
3
4
5
6
7var WinOpen;
8
9function cl() {
10  close();
11}
12
13function show(img_src, img_width, img_height) {
14 	height = parseInt(img_height) + 30;
15 	width = parseInt(img_width) + 30;
16    if(WinOpen != null){
17     	  WinOpen.close();
18          WinOpen  =  window.open("", "Foto", "closed=yes, toolbar=no, location=no, top=100, left=100, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, width="+width+", height="+height+"");
19    }else{
20          WinOpen  =  window.open("", "Foto", "closed=yes, toolbar=no, location=no, top=100, left=100, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, width="+width+", height="+height+"");
21}
22    if(WinOpen != null){
23          WinOpen  =  window.open("", "Foto", "closed=yes, toolbar=no, location=no, top=100, left=100, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, width="+width+", height="+height+"");
24          WinOpen.document.write("<html><head><title></title>");
25          WinOpen.document.write("<SCRIPT language=javascript>function cl() { close(); }</SCRIPT></head>");
26          WinOpen.document.write("<body style='padding:0; margin:0;'><table width='100%' height='100%'><tr><td align='center' style='vertical-align:middle;'><img src="+img_src+" style='cursor:pointer;' alt=\"Çàêðûòü\" onClick=\"cl()\";></td></tr></table></body></html>");
27    }
28 return WinOpen;
29}
30
31
32
33
34
35
36
37
38function checkForm(form) {
39	var form = document.forms[0]
40	for (i = 0; i < form.elements.length; i++) {
41		if (form.elements[i].value == ""){
42			alert("Full form")
43            return
44		}
45	}
46    form.submit()
47     return  
48}
49
50
51
52
53function hideIt(id){
54		if(document.getElementById(id).style.display=="none"){
55		document.getElementById(id).style.display="inline";
56	}else{
57		document.getElementById(id).style.display="none";
58	}
59}
60
61function checkForm(form_id) {
62	var form = document.getElementById(form_id);	
63	for (i = 0; i < form.elements.length; i++) {
64		if (form.elements[i].value == ""){
65			alert("Âñå ïîëÿ îáÿçàòåëüíû ê çàïîëíåíèþ!")
66            return
67		}
68	}
69    form.submit()
70}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.