1jQuery(document).ready(function (jQuery) { 2 if (jQuery.cookie("CecutientCookie") == "on") { 3 CecutientOn(); 4 if (jQuery.cookie("fonts") == "small") { 5 SmallFonts(); 6 } 7 if (jQuery.cookie("fonts") == "medium") { 8 MediumFonts(); 9 } 10 if (jQuery.cookie("fonts") == "big") { 11 BigFonts(); 12 } 13 if (jQuery.cookie("image") == "on") { 14 ImageOn(); 15 } 16 if (jQuery.cookie("image") == "off") { 17 ImageOff(); 18 } 19 if (jQuery.cookie("style") == "white") { 20 WhiteStyle(); 21 } 22 if (jQuery.cookie("style") == "black") { 23 BlackStyle(); 24 } 25 if (jQuery.cookie("style") == "blue") { 26 BlueStyle(); 27 } 28 if (jQuery.cookie("style") == "green") { 29 GreenStyle(); 30 } 31 if (jQuery.cookie("volume") == "on") { 32 FontArial(); 33 } 34 if (jQuery.cookie("volume") == "off") { 35 FontRoman(); 36 } 37 38 if (jQuery.cookie("spacing") == "sm") { 39 SpacingSmall(); 40 } 41 if (jQuery.cookie("spacing") == "md") { 42 SpacingMedium(); 43 } 44 if (jQuery.cookie("spacing") == "big") { 45 SpacingBig(); 46 } 47 48 if (jQuery.cookie("kerning") == "sm") { 49 KerningSmall(); 50 } 51 if (jQuery.cookie("kerning") == "md") { 52 KerningMedium(); 53 } 54 if (jQuery.cookie("kerning") == "big") { 55 KerningBig(); 56 } 57 if (jQuery.cookie("colormono") == "on") { 58 ColorMono(); 59 } 60 if (jQuery.cookie("colormono") == "off") { 61 ColorAll(); 62 } 63 64 } 65 66 /*On*/ 67 jQuery('#CecutientOn').click(function () { 68 CecutientOn(); 69 }); 70 /*Image On-Off*/ 71 jQuery('#ImageOn').click(function () { 72 ImageOn(); 73 }); 74 jQuery('#ImageOff').click(function () { 75 ImageOff(); 76 }); 77 /*Ð Ð°Ð·Ð¼ÐµÑ ÑÑиÑÑа*/ 78 jQuery('#SmallFonts').click(function () { 79 SmallFonts(); 80 }); 81 jQuery('#MediumFonts').click(function () { 82 MediumFonts(); 83 }); 84 jQuery('#BigFonts').click(function () { 85 BigFonts(); 86 }); 87 /*Color*/ 88 jQuery('#WhiteStyle').click(function () { 89 WhiteStyle(); 90 }); 91 jQuery('#BlackStyle').click(function () { 92 BlackStyle(); 93 }); 94 jQuery('#BlueStyle').click(function () { 95 BlueStyle(); 96 }); 97 jQuery('#GreenStyle').click(function () { 98 GreenStyle(); 99 }); 100 /*ШÑиÑÑ*/ 101 jQuery('#accessibility-arial').click(function () { 102 FontArial(); 103 }); 104 jQuery('#accessibility-roman').click(function () { 105 FontRoman(); 106 }); 107 jQuery('#spacing-small').click(function () { 108 SpacingSmall(); 109 }); 110 jQuery('#spacing-medium').click(function () { 111 SpacingMedium(); 112 }); 113 jQuery('#spacing-big').click(function () { 114 SpacingBig(); 115 }); 116 117 118 jQuery('#kerning-small').click(function () { 119 KerningSmall(); 120 }); 121 jQuery('#kerning-medium').click(function () { 122 KerningMedium(); 123 }); 124 jQuery('#kerning-big').click(function () { 125 KerningBig(); 126 }); 127 128 129 jQuery('#img-color-mono').click(function () { 130 ColorMono(); 131 }); 132 jQuery('#img-color-all').click(function () { 133 ColorAll(); 134 }); 135 136 /*Style*/ 137 function CecutientOn() { 138 jQuery("body").addClass("accessibility-style"); 139 jQuery('body, html,h1,h2,h3,h4, a, li').css("font-family", "Arial"); 140 jQuery("body").addClass("spacingSmall"); 141 jQuery("body").addClass("kerningSmall"); 142 143 jQuery('#CecutientOn, .breadcrumb').css("display", "none"); 144 jQuery('body, html').css("background", "#fff"); 145 jQuery('#content *, #center *, #banner-bottom *, #footer *, #footer, #debug').css({ 146 "background": "#fff", 147 "color": "#000" 148 }); 149 jQuery('#CecutientOff').css("display", "inline-block"); 150 jQuery('#header1, #AbsoluteTop').css("display", "none"); 151 jQuery('#CecutientTop').css("display", "block"); 152 153 jQuery('img').each(function () { 154 jQuery(this).after(jQuery('<image-caption>').html(jQuery(this).attr('alt'))); }); 155 156 jQuery('.TopMenu').css({ 157 "borderTop": "2px solid", 158 "borderBottom": "2px solid", 159 "paddingTop": "10px", 160 "paddingBottom": "10px", 161 "marginTop": "10px" 162 }); 163 jQuery('image-caption').css("display", "none"); 164 jQuery('#CecutientWrapper, #topPanel, .userSearch').css("background", "#000"); 165 jQuery('#content a, #center a, #banner-bottom a, #footer a').css("line-height", "40px"); 166 jQuery('#banner-bottom, li').css("border", "none") 167 jQuery('.moduletable-image h3').css("position", "inherit") 168 jQuery('.one-blog, .myData, .readmore-button, .button, .TopMenu ul ul, .blog-homepage, #custom li, .st-nav-menu ul, .sigFreeImg, .parallax-btn').css("border", "2px solid"); 169 170 jQuery('.blog-homepage').css({ 171 172 "margin-bottom": "30px" 173 }); 174 jQuery('.post_block').css("height", "200px"); 175 jQuery('.moduletable h3').css("padding", "10px"); 176 jQuery('.moduletable, .moduletable-mod, .moduletable-red, .moduletable-dark').css("border", "none"); 177
178 179 180 jQuery.cookie("CecutientCookie", "on", { 181 expires: 365, 182 path: '/' 183 }); 184 return false; 185 } 186 /*Fonts*/ 187 function SmallFonts() { 188 if (jQuery.cookie("CecutientCookie") == "on") { 189 jQuery('#center, #content, #banner-bottom, #footer, #CecutientTop, h1, h2, h3, ul, h4, .st-nav-menu ul a').removeClass("MediumFonts BigFonts").addClass("SmallFonts"); 190 jQuery.cookie("fonts", "small", { 191 expires: 365, 192 path: '/' 193 }); 194 return false; 195 } 196 } 197 198 function MediumFonts() { 199 if (jQuery.cookie("CecutientCookie") == "on") { 200 jQuery('#center, #content, #banner-bottom, #footer, #CecutientTop, h1, h2, h3, ul, h4, .st-nav-menu ul a').removeClass("SmallFonts BigFonts").addClass("MediumFonts"); 201 jQuery.cookie("fonts", "medium", { 202 expires: 365, 203 path: '/' 204 }); 205 return false; 206 } 207 } 208 209 function BigFonts() { 210 if (jQuery.cookie("CecutientCookie") == "on") { 211 jQuery('#center, #content, #banner-bottom, #footer, #CecutientTop, h1, h2, h3, ul, h4, .st-nav-menu ul a').removeClass("SmallFonts MediumFonts").addClass("BigFonts"); 212 jQuery.cookie("fonts", "big", { 213 expires: 365, 214 path: '/' 215 }); 216 return false; 217 } 218 } 219 /*Image*/ 220 function ImageOn() { 221 if (jQuery.cookie("CecutientCookie") == "on") { 222 jQuery('img').css("display", "inline-block"); 223 jQuery('image-caption').css("display", "none"); 224 jQuery('#ImageOff').css("display", "inline-block"); 225 jQuery('#ImageOn').css("display", "none"); 226 jQuery.cookie("image", "on", { 227 expires: 365, 228 path: '/' 229 }); 230 return false; 231 } 232 } 233 234 function ImageOff() { 235 if (jQuery.cookie("CecutientCookie") == "on") { 236 jQuery('img').css("display", "none"); 237 jQuery('#ImageOff').css("display", "none"); 238 jQuery('#ImageOn').css("display", "inline-block"); 239 jQuery('#CecutientBtn img').css("display", "inline-block"); 240 jQuery('image-caption').css("display", "block"); 241 jQuery.cookie("image", "off", { 242 expires: 365, 243 path: '/' 244 }); 245 return false; 246 } 247 } 248 /*Color*/ 249 function WhiteStyle() { 250 if (jQuery.cookie("CecutientCookie") == "on") { 251 jQuery('body, html').css("background", "#fff"); 252 253 jQuery('#content *, #center *, #banner-bottom *, #footer *, #footer, #debug').css({ 254 "background": "#fff", 255 "color": "#000" 256 }); 257 jQuery('#CecutientWrapper, #topPanel, .userSearch').css("background", "#000"); 258 jQuery.cookie("style", "white", { 259 expires: 365, 260 path: '/' 261 }); 262 return false; 263 } 264 } 265 266 function BlackStyle() { 267 if (jQuery.cookie("CecutientCookie") == "on") { 268 jQuery('body, html').css("background", "#000"); 269 270 jQuery('#content *, #center *, #banner-bottom *, #footer *, #footer, #debug').css({ 271 "background": "#000", 272 "color": "#fff" 273 }); 274 jQuery('#CecutientWrapper, #topPanel, .userSearch').css("background", "#000"); 275 276 jQuery.cookie("style", "black", { 277 expires: 365, 278 path: '/' 279 }); 280 return false; 281 } 282 } 283 284 function BlueStyle() { 285 if (jQuery.cookie("CecutientCookie") == "on") { 286 jQuery('body, html').css("background", "#9DD1FF"); 287 288 jQuery('#content *, #center *, #banner-bottom *, #footer *, #footer, #debug').css({ 289 "background": "#9DD1FF", 290 "color": "#063462" 291 }); 292 jQuery('#CecutientTop').css("color", "#063462"); 293 jQuery('#CecutientWrapper, #topPanel, .userSearch').css("background", "#063462"); 294 jQuery.cookie("style", "blue", { 295 expires: 365, 296 path: '/' 297 }); 298 return false; 299 } 300 } 301 302 function GreenStyle() { 303 if (jQuery.cookie("CecutientCookie") == "on") { 304 jQuery('body, html').css("background", "#3B2716"); 305 306 jQuery('#content *, #center *, #banner-bottom *, #footer *, #footer, #debug').css({ 307 "background": "#3B2716", 308 "color": "#A9E44D" 309 }); 310 311 jQuery('#CecutientWrapper, #topPanel, .userSearch').css("background", "#331C06"); 312 jQuery.cookie("style", "green", { 313 expires: 365, 314 path: '/' 315 }); 316 return false; 317 } 318 } 319 /*ФÑнкÑÐ¸Ñ ÐÑÐ±Ð¾Ñ ÑÑиÑÑа */ 320 function FontArial() { 321 322 jQuery('body, html,h1,h2,h3,h4, a, li').css("font-family", "Arial"); 323 jQuery.cookie("volume", "on", { 324 expires: 365, 325 path: '/' 326 }); 327 return false;
328 } 329 function FontRoman() { 330 331 jQuery('body, html,h1,h2,h3,h4, a,li').css("font-family", "Times New Roman"); 332 jQuery.cookie("volume", "off", { 333 expires: 365, 334 path: '/' 335 }); 336 return false; 337 } 338 /*ФÑнкÑÐ¸Ñ Ð§Ð */ 339 function ColorMono() { 340 341 jQuery('img').css({ 342 "filter": "grayscale(100%)" 343 }); 344 345 jQuery.cookie("colormono", "on", { 346 expires: 365, 347 path: '/' 348 }); 349 return false; 350 } 351 function ColorAll() { 352 353 jQuery('img').css({ 354 "filter": "grayscale(0%)" 355 }); 356 jQuery.cookie("colormono", "off", { 357 expires: 365, 358 path: '/' 359 }); 360 return false; 361 } 362 /*ÐнÑеÑвал*/ 363 function SpacingSmall(){ 364 jQuery("body").addClass("spacingSmall"); 365 jQuery("body").removeClass("spacingMedium spacingBig"); 366 367 jQuery.cookie("spacing", "sm", { 368 expires: 365, 369 path: '/' 370 }); 371 return false; 372 373 } 374 function SpacingMedium(){ 375 jQuery("body").addClass("spacingMedium"); 376 jQuery("body").removeClass("spacingSmall spacingBig"); 377 jQuery.cookie("spacing", "md", { 378 expires: 365, 379 path: '/' 380 }); 381 return false; 382 383 384 } 385 function SpacingBig(){ 386 jQuery("body").addClass("spacingBig"); 387 jQuery("body").removeClass("spacingSmall spacingMedium"); 388 jQuery.cookie("spacing", "big", { 389 expires: 365, 390 path: '/' 391 }); 392 return false; 393 394 } 395 396 /*ÐеÑнинг*/ 397 function KerningSmall(){ 398 jQuery("body").addClass("kerningSmall"); 399 jQuery("body").removeClass("kerningMedium kerningBig"); 400 401 jQuery.cookie("kerning", "sm", { 402 expires: 365, 403 path: '/' 404 }); 405 return false; 406 407 } 408 function KerningMedium(){ 409 jQuery("body").addClass("kerningMedium"); 410 jQuery("body").removeClass("kerningSmall kerningBig"); 411 jQuery.cookie("kerning", "md", { 412 expires: 365, 413 path: '/' 414 }); 415 return false; 416 417 418 } 419 function KerningBig(){ 420 jQuery("body").addClass("kerningBig"); 421 jQuery("body").removeClass("kerningSmall kerningMedium"); 422 jQuery.cookie("kerning", "big", { 423 expires: 365, 424 path: '/' 425 }); 426 return false; 427 428 } 429 430 431 /*Panel*/ 432 433 434 jQuery(function () { 435 jQuery('#CecutientBtn').on('click', function () { 436 jQuery('#CecutientWrapper').slideToggle(); 437 438 }); 439 }); 440 441 jQuery(function () { 442 jQuery('#SettingBtn').on('click', function () { 443 jQuery('#SettingBlock').slideToggle(); 444 445 }); 446 }); 447 448 /*Search*/ 449 jQuery(function () { 450 jQuery('.userSerchBtn').on('click', function () { 451 jQuery('.userSearch').slideToggle(); 452 453 }); 454 455 }); 456 /*Menu*/ 457 jQuery(function () { 458 jQuery('.TopMenuBtn .fa').on('click', function () { 459 jQuery('.TopMenu').slideToggle(); 460 461 }); 462 463 }); 464 465 jQuery(function () { 466 jQuery('a.noactive').on('click', function () { 467 return false; 468 }); 469 }); 470 471 jQuery('#CecutientOff').click(function () { 472 jQuery.cookie('CecutientCookie', null, { 473 expires: -365, 474 path: '/' 475 }); 476 jQuery.cookie("style", null, { 477 expires: -365, 478 path: '/' 479 }); 480 jQuery.cookie("image", null, { 481 expires: -365, 482 path: '/' 483 }); 484 jQuery.cookie("fonts", null, { 485 expires: -365, 486 path: '/' 487 }); 488 489 jQuery.cookie("volume", null, { 490 expires: -365, 491 path: '/' 492 }); 493 494 jQuery.cookie("spacing", null, { 495 expires: -365, 496 path: '/' 497 }); 498 499 jQuery.cookie("kerning", null, { 500 expires: -365, 501 path: '/' 502 }); 503 504 jQuery.cookie("colormono", null, { 505 expires: -365, 506 path: '/' 507 }); 508 509 window.location.reload(); 510 return false; 511 512 }); 513});
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.