PageSourceSearch

https://fedgar.com/site/assets/js/functions.js

js fedgar.com collected 2026-10-05 03:41:05 UTC 1,100 bytes, 26 lines download raw bytes

1function NewWindow(mypage,myname,w,h,scroll,pos){
2	if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
3	if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
4	else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
5	settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';
6	win=window.open(mypage,myname,settings);
7}
8
9
10function limitText(limitField, limitCount, limitNum) {
11	
12	if (limitField.value.length > limitNum) {
13		limitField.value = limitField.value.substring(0, limitNum);
14	} 
15	else {
16		limitCount.value = limitNum - limitField.value.length;
17	}
18}
19
20
21function email_window(url){
22	
23	var escaped_url = escape(url);
24	
25	window.open('/site/email_page/pop_up.php?url=' + escaped_url,'_blank','width=450, height=470, toolbars=no, scrollbars=yes, resize=yes,');
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.