1/* ============================== 2 颿°ï¼openWindow 3============================== */ 4function openWindow( targetRef, popWidth, popHeight ){ 5 var PROJECT_NAME = "icard"; 6 var popLeft = (screen.width - popWidth) / 2; 7 var popTop = (screen.height - popHeight) / 2; 8 9 var refPopWin; 10 if( (arguments.length == 4) && (arguments[3] == 'scroll') ) { 11 refPopWin = window.open( targetRef, PROJECT_NAME + "_Pop" + popWidth + "x" + popHeight + "SB", "toolbar=0,location=0,directories=0,scrollbars=1,status=1,resizable=0,width=" + popWidth + ",height=" + popHeight + ",top=" + popTop + ",left=" + popLeft); 12 } 13 else { 14 refPopWin = window.open( targetRef, PROJECT_NAME + "_Pop" + popWidth + "x" + popHeight + "", "toolbar=0,location=0,directories=0,scrollbars=0,status=1,resizable=0,width=" + popWidth + ",height=" + popHeight + ",top=" + popTop + ",left=" + popLeft); 15 } 16 refPopWin.focus(); 17 return refPopWin; 18} 19 20 21function openWindowLeft( targetRef, popWidth, popHeight ){ 22 var PROJECT_NAME = "icard2"; 23 24 var refPopWin; 25 if( (arguments.length == 4) && (arguments[3] == 'scroll') ) { 26 refPopWin = window.open( targetRef, PROJECT_NAME + "_Pop" + popWidth + "x" + popHeight + "SB", "toolbar=0,location=0,directories=0,scrollbars=1,status=1,resizable=1,width=" + popWidth + ",height=" + popHeight + ",top=0,left=0"); 27 } 28 else { 29 refPopWin = window.open( targetRef, PROJECT_NAME + "_Pop" + popWidth + "x" + popHeight + "", "toolbar=1,location=1,directories=0,scrollbars=1,status=1,resizable=1,width=" + popWidth + ",height=" + popHeight + ",top=0,left=0"); 30 } 31 refPopWin.focus(); 32 return refPopWin; 33} 34 35
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.