1jQuery(document).ready(function (jQuery) { 2 3 /*ÐклÑÑение ÑÑилей Ð´Ð»Ñ ÑлабовидÑÑÐ¸Ñ */ 4 jQuery('#accessibility-btn').click(function () { 5 CecutientOn(); 6 }); 7 8 9 10 /*Ð Ð°Ð·Ð¼ÐµÑ ÑÑиÑÑа*/ 11 jQuery('#accessibility-sf').click(function () { 12 SmallFonts(); 13 }); 14 jQuery('#accessibility-mf').click(function () { 15 MediumFonts(); 16 }); 17 jQuery('#accessibility-bf').click(function () { 18 BigFonts(); 19 }); 20 jQuery('#accessibility-gs').click(function () { 21 BigFonts(); 22 }); 23 /*ЦвеÑÐ¾Ð²Ð°Ñ ÑÑ ÐµÐ¼Ð°*/ 24 jQuery('#accessibility-wbg').click(function () { 25 WhiteStyle(); 26 }); 27 jQuery('#accessibility-bbg').click(function () { 28 BlackStyle(); 29 }); 30 31 32 jQuery('#accessibility-grs').click(function () { 33 GrScale(); 34 }); 35 jQuery('#accessibility-grcolor').click(function () { 36 GrColor(); 37 }); 38 jQuery('#krn-s').click(function () { 39 SKerning(); 40 }); 41 jQuery('#krn-m').click(function () { 42 MKerning(); 43 }); 44 jQuery('#krn-b').click(function () { 45 BKerning(); 46 }); 47 jQuery('#line-s').click(function () { 48 SLine(); 49 }); 50 jQuery('#line-m').click(function () { 51 MLine(); 52 }); 53 jQuery('#line-b').click(function () { 54 BLine(); 55 }); 56 57 58 function CecutientOn() { 59 60 jQuery('#accessibility-btn').css("display", "none"); 61 jQuery("body").addClass("accessibility default smallfonts"); 62 jQuery('body, html,h1,h2,h3,h4, a,li').css("font-family", "Arial"); 63 jQuery.cookie("accessibilitycookie", "on", { 64 expires: 365, 65 path: '/' 66 }); 67 return false; 68 } 69 70function BlackStyle() { 71 if (jQuery.cookie("accessibilitycookie") == "on") { 72 jQuery("body").addClass("blackcolor"); 73 jQuery("body").removeClass("default bluecolor greencolor"); 74 75 jQuery.cookie("style", "black", { 76 expires: 365, 77 path: '/' 78 }); 79 return false; 80 } 81 } 82 83 84 85 86 87 function WhiteStyle() { 88 if (jQuery.cookie("accessibilitycookie") == "on") { 89 jQuery("body").addClass("default"); 90 jQuery("body").removeClass("blackcolor bluecolor greencolor"); 91 92 jQuery.cookie("style", "white", { 93 expires: 365, 94 path: '/' 95 }); 96 return false; 97 } 98 } 99 100 101 /*ФÑнкÑии обÑабоÑÑик оÑобÑÐ°Ð¶ÐµÐ½Ð¸Ñ Ð¸Ð·Ð¾Ð±Ñажений*/ 102 103 /*Ð Ð°Ð·Ð¼ÐµÑ ÑекÑÑа*/ 104 function SmallFonts() { 105 if (jQuery.cookie("accessibilitycookie") == "on") { 106 jQuery('body').removeClass("mediumfonts bigfonts").addClass("smallfonts"); 107 jQuery.cookie("fonts", "small", { 108 expires: 365, 109 path: '/' 110 }); 111 return false; 112 } 113 } 114 function MediumFonts() { 115 if (jQuery.cookie("accessibilitycookie") == "on") { 116 jQuery('body').removeClass("smallfonts bigfonts").addClass("mediumfonts"); 117 jQuery.cookie("fonts", "medium", { 118 expires: 365, 119 path: '/' 120 }); 121 return false; 122 } 123 } 124 function BigFonts() { 125 if (jQuery.cookie("accessibilitycookie") == "on") { 126 jQuery('body').removeClass("smallfonts mediumfonts").addClass("bigfonts"); 127 jQuery.cookie("fonts", "big", { 128 expires: 365, 129 path: '/' 130 }); 131 return false; 132 } 133 } 134 135 136 /*ÐнÑеÑвал*/ 137 function SLine(){ 138 jQuery("body").addClass("s-line"); 139 jQuery("body").removeClass("m-line b-line"); 140 141 jQuery.cookie("string", "sl", { 142 expires: 365, 143 path: '/' 144 }); 145 return false; 146 147 } 148 function MLine(){ 149 jQuery("body").addClass("m-line"); 150 jQuery("body").removeClass("s-line b-line"); 151 jQuery.cookie("string", "ml", { 152 expires: 365, 153 path: '/' 154 }); 155 return false; 156 157 158 } 159 function BLine(){ 160 jQuery("body").addClass("b-line"); 161 jQuery("body").removeClass("m-line s-line"); 162 jQuery.cookie("string", "bl", { 163 expires: 365, 164 path: '/' 165 }); 166 return false; 167 168 } 169 /*ÐÑклÑÑение веÑÑии Ð´Ð»Ñ ÑлабовидÑÑÐ¸Ñ */ 170 jQuery('#accessibility-btnoff').click(function () { 171 172 jQuery.cookie('accessibilitycookie', null, { 173 expires: -365, 174 path: '/' 175 }); 176 jQuery.cookie("style", null, { 177 expires: -365, 178 path: '/' 179 }); 180 jQuery.cookie("image", null, { 181 expires: -365, 182 path: '/' 183 }); 184 jQuery.cookie("fonts", null, { 185 expires: -365, 186 path: '/' 187 }); 188 189 window.location.reload(); 190 return false; 191 192 }); 193}); 194
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.