1var winHelp = null; 2var winInfo = null; 3var winPrint = null; 4var winNewDia = null; 5 6function childWindow(target) { 7 var userAgent = window.navigator.userAgent.toLowerCase(); 8 var appVersion = window.navigator.appVersion.toLowerCase(); 9 10// if((userAgent.indexOf("firefox") > -1) || (userAgent.indexOf("opera") > -1) || (userAgent.indexOf("chrome") > -1)) 11// { 12 // ã¿ããã©ã¦ã¶ãªã®ã§ãä½ãããªã 13// return true; 14// } 15 16 if(target == "info") { 17 if(winInfo) { 18 if(winInfo.closed) { 19 winInfo = null; 20 } 21 } 22 23 try { 24 winInfo = window.open("", "info"); 25 } catch(e) { 26 } 27 28 if(winInfo) { 29// window.blur(); 30 winInfo.focus(); 31 } 32 } else if(target == "help") { 33 if(winHelp) { 34 if(winHelp.closed) { 35 winHelp = null; 36 } 37 } 38 39 try { 40 winHelp = window.open("", "help"); 41 } catch(e) { 42 } 43 44 if(winHelp) { 45// window.blur(); 46 winHelp.focus(); 47 } 48 } else if(target == "print") { 49 if(winPrint) { 50 if(winPrint.closed) { 51 winPrint = null; 52 } 53 } 54 55 try { 56 winPrint = window.open("", "print"); 57 } catch(e) { 58 } 59 60 if(winPrint) { 61// window.blur(); 62 winPrint.focus(); 63 } 64 } else if(target == "newdia") { 65 if(winNewDia) { 66 if(winNewDia.closed) { 67 winNewDia = null; 68 } 69 } 70 71 try { 72 winNewDia = window.open("", "newdia"); 73 } catch(e) { 74 } 75 76 if(winNewDia) { 77// window.blur(); 78 winNewDia.focus(); 79 } 80 } 81 return true; 82}
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.