1function ButtonHighlight(item,classNameHighlight) 2{ 3 $(item).toggleClass(classNameHighlight); 4} 5 6function CaptchaReload(id) 7{ 8 var src=$("#"+id).attr("src"); 9 var queryIndex=src.indexOf("?"); 10 if(queryIndex!=-1) 11 src=src.substring(0,queryIndex); 12 $("#"+id).attr("src",src+"?"+Math.random()); 13} 14 15/*window.onload = function () { 16 if (window.innerWidth> document.body.scrollWidth) 17 document.getElementById('"+divBodyHiderId+"').style.width = window.innerWidth; 18 else 19 document.getElementById('"+divBodyHiderId+"').style.width = document.body.scrollWidth; 20 if (window.innerHeight> document.body.scrollHeight) 21 document.getElementById('"+divBodyHiderId+"').style.height = window.innerHeight; 22 else 23 document.getElementById('"+divBodyHiderId+"').style.height = document.body.scrollHeight; 24 25 26 document.getElementById('"+divHelperTextId+"').style.left = window.innerWidth / 8; 27 document.getElementById('"+divHelperTextId+"').style.top = window.innerHeight / 8; 28 document.getElementById('"+divHelperTextId+"').style.width = window.innerWidth * 3/4; 29 document.getElementById('"+divHelperTextId+"').style.height = window.innerHeight* 3/4; 30 31 document.getElementById('"+HelperViewLinkId+"').style.left = window.innerWidth - 70; 32 document.getElementById('"+HelperViewLinkId+"').style.top = 200; 33 document.getElementById('"+HelperEditLinkId+"').style.left = window.innerWidth - 103; 34 document.getElementById('"+HelperEditLinkId+"').style.top = 220; 35 36 $(window).scroll(function () { 37 document.getElementById('"+HelperViewLinkId+"').style.top = $(window).scrollTop() + 200; 38 document.getElementById('"+HelperEditLinkId+"').style.top = $(window).scrollTop() + 220; 39 }); 40 41 42};*/ 43 44function ShowHelperDiv(divName) { 45 document.getElementById(divName).style.display = "block"; 46} 47 48function HideHelperDiv(divName) { 49 document.getElementById(divName).style.display = "none"; 50} 51 52/*jQuery(function($) { 53 $('div.mousewheel_example') 54 .bind('mousewheel', function(event, delta) { 55 /*var dir = delta > 0 ? 'Up' : 'Down', 56 vel = Math.abs(delta); 57 $(this).text(dir + ' at a velocity of ' + vel); 58 document.getElementById('"+HelperViewLinkId+"').style.left = window.innerWidth - 70; 59 document.getElementById('"+HelperViewLinkId+"').style.top = 200; //window.innerHeight + 200; 60 document.getElementById('"+HelperEditLinkId+"').style.left = window.innerWidth - 103; 61 document.getElementById('"+HelperEditLinkId+"').style.top = 220; //window.innerHeight + 200; 62 63 return true; 64 }); 65});*/ 66 67 68function showAuthorizationBlock() { 69 var _keydown = document.onkeydown; 70 71 document.onkeydown = function (e) { 72 e = e || window.event; 73 74 if ((e.keyCode == 27) && (!e.ctrlKey) && (!e.altKey)) { 75 hideAuthorizationBlock(_keydown); 76 } 77 } 78 79 jQuery('#authBlock').show('fast'); 80 81 window.setTimeout(authFocus, 300); 82 83 84} 85 86function hideAuthorizationBlock(_keydown) { 87 if(_keydown){ 88 document.onkeydown = _keydown; 89 } 90 91 jQuery('#authBlock').hide('fast'); 92 93} 94 95function showAuthorizationBlock2() { 96 var _keydown = document.onkeydown; 97 98 document.onkeydown = function (e) { 99 e = e || window.event; 100 101 if ((e.keyCode == 27) && (!e.ctrlKey) && (!e.altKey)) { 102 hideAuthorizationBlock(_keydown); 103 } 104 } 105 106 jQuery('#authBlock2').show('fast'); 107 108 window.setTimeout(authFocus, 300); 109 110 111} 112 113function hideAuthorizationBlock2(_keydown) { 114 if(_keydown){ 115 document.onkeydown = _keydown; 116 } 117 118 jQuery('#authBlock2').hide('fast'); 119 120} 121 122function showCommentBlock(name) { 123 var _keydown = document.onkeydown; 124 125 document.onkeydown = function (e) { 126 e = e || window.event; 127 128 if ((e.keyCode == 27) && (!e.ctrlKey) && (!e.altKey)) { 129 hideCommentBlock(name, _keydown); 130 } 131 } 132 133 jQuery('#'+ name).show('fast'); 134 135 window.setTimeout(authFocus, 300); 136 137 138} 139 140function hideCommentBlock(name, _keydown) { 141 if(_keydown){ 142 document.onkeydown = _keydown; 143 } 144 jQuery('#'+name).hide('fast'); 145 146} 147 148function hideCommentBlock(name) { 149 150 jQuery('#'+name).hide('fast'); 151 152}
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.