PageSourceSearch

http://roerich-izvara.ru/openwin.js

js roerich-izvara.ru collected 2026-10-02 17:08:09 UTC 1,271 bytes, 26 lines download raw bytes

1var win_opened = null;
2
3function openwin( mySrc, string, w, h ){
4
5	if ( win_opened != null) 
6		win_opened.close();
7	
8	myLeft = Math.floor((screen.availWidth - w )/2 - 20) ;
9	myTop = Math.floor((screen.availHeight - h )/2 - 40) ;
10	if ( myTop < 5 ) myTop = 5 ;
11	if ( myLeft < 5 ) myLeft = 5 ;
12	myWidth = w + 20 ;
13	myHeight = h + 70 ;
14
15	win_opened = window.open( mySrc, "photo", "resizable=no,status=no,toolbar=no,menubar=no,width="+myWidth+",height="+myHeight+",left="+myLeft+",top="+myTop );
16	if ( '0' && win_opened ){
17		win_opened.document.write("<html><head><title>"+string+"</title>");
18		win_opened.document.write("<link rel='stylesheet' href='http://www.roerich-izvara.ru/izvara.css' type='text/css'></head>");
19		win_opened.document.write("<body><div align='center'><img src="+ mySrc +" onClick='window.close();' title='Çàêðûòü îêíî'>");
20		win_opened.document.write("<br><br><span class='h2'>"+string+"</div>");
21		win_opened.document.write("<a href='http://top100.rambler.ru/top100/'><img src='http://counter.rambler.ru/top100.cnt?1128614' border=0  width=0 height=0></a>");
22		win_opened.document.write("<a href='http://top.mail.ru/jump?from=1247046'></a>");
23		win_opened.document.write("</body></html>");
24		win_opened.document.close();
25	}
26}

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.