1 function setCookie (name, value, expires, path, domain, secure) { 2 document.cookie = name + "=" + escape(value) + 3 ((expires) ? "; expires=" + expires : "") + 4 ((path) ? "; path=" + path : "") + 5 ((domain) ? "; domain=" + domain : "") + 6 ((secure) ? "; secure" : ""); 7 } 8 function get_cookie ( cookie_name ) 9 { 10 var results = document.cookie.match ( '(^|;) ?' + cookie_name + '=([^;]*)(;|$)' ); 11 12 if ( results ) 13 return ( unescape ( results[2] ) ); 14 else 15 return null; 16 } 17 function delete_cookie (cookie_name) 18 { 19 var cookie_date = new Date (); 20 cookie_date.setTime (cookie_date.getTime() - 1); 21 document.cookie = cookie_name += "=; expires=" + cookie_date.toGMTString(); 22 } 23 //новое в веÑÑии 1.2 24function dmuGostSettings() { 25setCookie("uGostSettings", "enable", "Mon, 01-Jan-2030 00:00:00 GMT", "/"); 26setCookie("uGostfontfordk", "fontsize2", "Mon, 01-Jan-2030 00:00:00 GMT", "/"); 27setCookie("uGostcolorfordk", "color1", "Mon, 01-Jan-2030 00:00:00 GMT", "/"); 28location.reload(); 29 } 30var dmchecksettings = get_cookie("uGostSettings"); 31 32if (dmchecksettings == '' || dmchecksettings == null) { 33jQuery('#infobardm').css({ 34 display: 'none' 35 }); 36} else { 37 jQuery('#enableuGost').css({ 38 display: 'none' 39 }); 40} 41if (dmchecksettings == null) { 42jQuery('#infobardm').css({ 43 display: 'none' 44 }); 45} 46 47//новое в веÑÑии 1.2 48 var dmcookiesimg = get_cookie ("uGostimgfordk"); 49 if (dmcookiesimg=='imgnone') { 50 jQuery(document).ready(function(){ 51 jQuery("img").addClass("none"); 52 jQuery("a.dmdisableimage").addClass("dmimageActive"); 53 jQuery("a.dmenableimage").removeClass("dmimageActive"); 54 jQuery('div').css({ 55 background: 'none' 56 }); 57 jQuery('span').css({ 58 background: 'none' 59 }); 60 jQuery('body').css({ 61 background: 'none' 62 }); 63 jQuery('table').css({ 64 background: 'none' 65 }); 66 jQuery('td').css({ 67 background: 'none' 68 }); 69 jQuery('tr').css({ 70 background: 'none' 71 }); 72 jQuery('a').css({ 73 background: 'none' 74 }); 75 jQuery('li').css({ 76 background: 'none' 77 }); 78 jQuery('ul').css({ 79 background: 'none' 80 }); 81 }); 82 83 } else { 84 jQuery(document).ready(function(){ 85 jQuery("img").addClass(""); 86 jQuery("a.dmenableimage").addClass("dmimageActive"); 87 jQuery("a.dmdisableimage").removeClass("dmimageActive"); 88 }); 89 } 90 function dmfunctsizeone(){ 91 jQuery('#allEntries').css({ 92 fontSize:'14px', 93 fontWeight: 'normal' 94 }); 95 jQuery('.eTitle a ').css({ 96 fontSize:'14px', 97 fontWeight: 'normal' 98 }); 99 jQuery('.eTitle').css({ 100 fontSize:'14px', 101 fontWeight: 'normal' 102 }); 103 jQuery('.eBlock').css({ 104 fontSize:'14px', 105 fontWeight: 'normal' 106 }); 107 jQuery('.dmchangea1').css({ 108 color:'#ffffff', 109 fontSize:'14px', 110 background:'#000000' 111 }); 112 113 jQuery('.dmchangea3').css({ 114 color:'', 115 fontSize:'23px', 116 background:'normal' 117 }); 118 119 jQuery('.dmchangea2').css({ 120 color:'', 121 fontSize:'18px', 122 background:'normal' 123 }); 124 jQuery(document).ready(function(){ 125 jQuery("a.dmchangea1").addClass("dmchangeaActive"); 126 jQuery("a.dmchangea2").removeClass("dmchangeaActive"); 127 jQuery("a.dmchangea3").removeClass("dmchangeaActive"); 128 }); 129 setCookie("uGostfontfordk", "fontsize1", "Mon, 01-Jan-2030 00:00:00 GMT", "/"); 130location.reload(); 131 } 132 function dmfunctsizetwo(){ 133 jQuery('#allEntries').css({ 134 fontSize:'18px', 135 fontWeight: 'bold' 136 }); 137 jQuery('.eTitle a ').css({ 138 fontSize:'18px', 139 fontWeight: 'bold' 140 }); 141 jQuery('.eTitle').css({ 142 fontSize:'18px', 143 fontWeight: 'bold' 144 }); 145 jQuery('.eBlock').css({ 146 fontSize:'18px', 147 fontWeight: 'bold' 148 }); 149 jQuery('.dmchangea3').css({ 150 color:'', 151 fontSize:'23px', 152 background:'' 153 }); 154 jQuery('.dmchangea1').css({ 155 color:'', 156 fontSize:'14px', 157 background:'' 158 }); 159 jQuery('.dmchangea2').css({ 160 color:'#ffffff', 161 fontSize:'18px', 162 background:'#000000' 163 }); 164 jQuery(document).ready(function(){ 165 jQuery("a.dmchangea2").addClass("dmchangeaActive"); 166 jQuery("a.dmchangea1").removeClass("dmchangeaActive"); 167 jQuery("a.dmchangea3").removeClass("dmchangeaActive"); 168 }); 169 setCookie("uGostfontfordk", "fontsize2", "Mon, 01-Jan-2030 00:00:00 GMT", "/"); 170location.reload(); 171 } 172 function dmfunctsizethree(){ 173 jQuery('#allEntries').css({ 174 fontSize:'23px', 175 fontWeight: 'bold' 176 }); 177 jQuery('.eTitle a ').css({ 178 fontSize:'23px', 179 fontWeight: 'bold' 180 }); 181 jQuery('.eTitle').css({ 182 fontSize:'23px', 183 fontWeight: 'bold' 184 }); 185 jQuery('.eBlock').css({ 186 fontSize:'23px', 187 fontWeight: 'bold' 188 }); 189 jQuery('.dmchangea3').css({ 190 color:'#ffffff', 191 fontSize:'23px', 192 background:'#000000' 193 }); 194 jQuery('.dmchangea2').css({ 195 color:'', 196 fontSize:'18px', 197 background:'' 198 }); 199 jQuery('.dmchangea1').css({ 200 color:'', 201 fontSize:'14px', 202 background:'' 203 }); 204 jQuery(document).ready(function(){ 205 jQuery("a.dmchangea3").addClass("dmchangeaActive"); 206 jQuery("a.dmchangea1").removeClass("dmchangeaActive"); 207 jQuery("a.dmchangea2").removeClass("dmchangeaActive"); 208 }); 209 setCookie("uGostfontfordk", "fontsize3", "Mon, 01-Jan-2030 00:00:00 GMT", "/"); 210location.reload(); 211 } 212 213 function dmdisableimage(){ 214 jQuery('img').css({ 215 display: 'none' 216 }); 217 jQuery('div').css({ 218 background: 'none' 219 }); 220 jQuery('span').css({ 221 background: 'none' 222 }); 223 jQuery('body').css({ 224 background: 'none' 225 }); 226 setCookie("uGostimgfordk", "imgnone", "Mon, 01-Jan-2030 00:00:00 GMT", "/"); 227location.reload(); 228 } 229 230 function dmenableimage(){ 231 jQuery('img').css({ 232 display: 'inherit' 233 }); 234 jQuery("img").addClass(""); 235 setCookie("uGostimgfordk", "imgyes", "Mon, 01-Jan-2030 00:00:00 GMT", "/"); 236 location.reload(); 237 } 238 239 var dmcookiesfont = get_cookie ("uGostfontfordk"); 240 241 242 if(dmcookiesfont=='fontsize1' || dmcookiesfont=='fontsize0') { //fontsize1 имееÑÑÑ Ð² Ð²Ð¸Ð´Ñ 14px 243//делаем вÑе в 14 пикÑелÑÑ 244 jQuery("body, div, p, span, h3, a, table, td, tr, tbody, thead, header, footer, section, li, ul").css("fontSize", "14px"); 245 jQuery("h1").css("fontSize", "16px"); 246 jQuery("h2").css("fontSize", "15px"); 247 jQuery("#infobardm, .dmchangea1, .dmchangea2, .dmchangea3, .dmdisableimage, .dmenableimage, .dmcolor1, .dmcolor2, .dmcolor3, .dmcolor4").css("fontSize", "14px"); 248 249//делаем оÑÑÑÑÐ¿Ñ Ð² 30px 250 jQuery("body, div, p, span, h3, a, table, td, tr, tbody, thead, header, footer, section, li, ul").css("line-height", "30px"); 251 jQuery("h1").css("line-height", "30px"); 252 jQuery("h2").css("line-height", "30px"); 253 jQuery("#infobardm, .dmchangea1, .dmchangea2, .dmchangea3, .dmdisableimage, .dmenableimage, .dmcolor1, .dmcolor2, .dmcolor3, .dmcolor4").css("line-height", "30px"); 254 255//вÑделÑем ÑекÑÑий пÑÐ½ÐºÑ 256 jQuery(document).ready(function(){ 257 jQuery("a.dmchangea2").removeClass("dmchangeaActive"); 258 jQuery("a.dmchangea1").addClass("dmchangeaActive"); 259 jQuery("a.dmchangea3").removeClass("dmchangeaActive"); 260 }); 261 } else { 262 if (dmcookiesfont=='fontsize2') { //fontsize2 имееÑÑÑ Ð² Ð²Ð¸Ð´Ñ 18px 263 //делаем вÑе в 27 пикÑелÑÑ 264 jQuery("body, div, p, span, h3, a, table, td, tr, tbody, thead, header, footer, section, li, ul").css("fontSize", "18px"); 265 jQuery("h1").css("fontSize", "20px"); 266 jQuery("h2").css("fontSize", "19px"); 267 jQuery("#infobardm, .dmchangea1, .dmchangea2, .dmchangea3, .dmdisableimage, .dmenableimage, .dmcolor1, .dmcolor2, .dmcolor3, .dmcolor4").css("fontSize", "18px"); 268 269//делаем оÑÑÑÑÐ¿Ñ Ð² 35px 270 jQuery("body, div, p, span, h3, a, table, td, tr, tbody, thead, header, footer, section, li, ul").css("line-height", "35px"); 271 jQuery("h1").css("line-height", "35px"); 272 jQuery("h2").css("line-height", "35px"); 273 jQuery("#infobardm, .dmchangea1, .dmchangea2, .dmchangea3, .dmdisableimage, .dmenableimage, .dmcolor1, .dmcolor2, .dmcolor3, .dmcolor4").css("line-height", "35px"); 274 275//вÑделÑем ÑекÑÑий пÑÐ½ÐºÑ 276 jQuery(document).ready(function(){ 277 jQuery("a.dmchangea2").addClass("dmchangeaActive"); 278 jQuery("a.dmchangea1").removeClass("dmchangeaActive"); 279 jQuery("a.dmchangea3").removeClass("dmchangeaActive"); 280 }); 281 } else { 282 if (dmcookiesfont=='fontsize3') { //fontsize3 имееÑÑÑ Ð² Ð²Ð¸Ð´Ñ 23px 283 //делаем вÑе в 27 пикÑелÑÑ 284 jQuery("body, div, p, span, h3, a, table, td, tr, tbody, thead, header, footer, section, li, ul").css("fontSize", "23px"); 285 jQuery("h1").css("fontSize", "25px"); 286 jQuery("h2").css("fontSize", "24px"); 287 jQuery("#infobardm, .dmchangea1, .dmchangea2, .dmchangea3, .dmdisableimage, .dmenableimage, .dmcolor1, .dmcolor2, .dmcolor3, .dmcolor4").css("fontSize", "18px"); 288 289//делаем оÑÑÑÑÐ¿Ñ Ð² 40px 290 jQuery("body, div, p, span, h3, a, table, td, tr, tbody, thead, header, footer, section, li, ul").css("line-height", "40px"); 291 jQuery("h1").css("line-height", "40px"); 292 jQuery("h2").css("line-height", "40px"); 293 jQuery("#infobardm, .dmchangea1, .dmchangea2, .dmchangea3, .dmdisableimage, .dmenableimage, .dmcolor1, .dmcolor2, .dmcolor3, .dmcolor4").css("line-height", "40px"); 294 295//вÑделÑем ÑекÑÑий пÑÐ½ÐºÑ 296 jQuery(document).ready(function(){ 297 jQuery("a.dmchangea2").removeClass("dmchangeaActive"); 298 jQuery("a.dmchangea1").removeClass("dmchangeaActive"); 299 jQuery("a.dmchangea3").addClass("dmchangeaActive"); 300 }); 301 302 303 } 304 } 305 } 306 307 //аÐаÐаÐб?аÐаРб?аÐаРаРб?аÐаÐб? аÐаРб?аÐаÐб?аР308 function dmcolor1(){ 309 setCookie("uGostcolorfordk", "color1", "Mon, 01-Jan-2018 00:00:00 GMT", "/"); 310location.reload(); 311 } 312 function dmcolor2(){ 313 setCookie("uGostcolorfordk", "color2", "Mon, 01-Jan-2018 00:00:00 GMT", "/"); 314location.reload(); 315 } 316 function dmcolor3(){ 317 setCookie("uGostcolorfordk", "color3", "Mon, 01-Jan-2018 00:00:00 GMT", "/"); 318location.reload(); 319 320 } 321 var dmcookiescolor = get_cookie ("uGostcolorfordk"); 322 323 if(dmcookiescolor=='color1') {
324 document.write('<link type="text/css" rel="Stylesheet" href="/templates/bizrule/css/style2.css" />'); 325 326 } 327 if(dmcookiescolor=='color2') { 328document.write('<link type="text/css" rel="Stylesheet" href="/templates/bizrule/css/style1.css" />'); 329 } 330 if(dmcookiescolor=='color3') { 331 document.write('<link type="text/css" rel="Stylesheet" href="/templates/bizrule/css/style3.css" />'); 332 } 333 function dmreset(){ 334 setCookie("uGostcolorfordk", "color3", "Mon, 01-Jan-2010 00:00:00 GMT", "/"); 335 setCookie("uGostfontfordk", "color3", "Mon, 01-Jan-2010 00:00:00 GMT", "/"); 336 setCookie("uGostimgfordk", "color3", "Mon, 01-Jan-2010 00:00:00 GMT", "/"); 337 //новое в веÑÑии 1.2 338setCookie("uGostSettings", "", "Mon, 01-Jan-2030 00:00:00 GMT", "/"); 339 //новое в веÑÑии 1.2 340 location.reload(); 341 } 342document.write('<link type="text/css" rel="Stylesheet" href="/templates/bizrule/css/allstyles.css" />');
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.