1var Controcampus_advice_text = '<div style="width: 90%; margin: 0 auto; text-align: left;"><p>INFORMATIVA<br />Questo sito utilizza cookie terze parti per inviarti pubblicità in linea con le tue prefernze. Se vuoi saperne di più o negare il consenso a tutti o ad alcuni cookie, <a href="http://www.controcampus.it/policies/informativa-estesa-sui-cookie/">clicca qui</a>. Chiudendo questo banner, scorrendo questa pagina, cliccando su un link o proseguendo la navigazione in altra maniera , acconsenti all\'uso dei cookie. <a href="javascript:;" class="Controcampus_agreement">Ho capito.</a></p></div>'; 2if (Controcampus_stop_jquery === undefined){ 3 var Controcampus_stop_jquery = 0; 4} 5if (cookie_policy_url === undefined){ 6 var cookie_policy_url = 'https://Controcampus.com/cookies/policy/?url='+window.location.hostname; 7} 8if (Controcampus_advice_text === undefined){ 9 var Controcampus_advice_text = window.location.hostname +" utilizza i cookies per offrirti un'esperienza di navigazione migliore. Usando il nostro servizio accetti l'impiego di cookie in accordo con la nostra cookie policy. <a target=\"_blank\" href=\""+cookie_policy_url+"\">Scoprine di più</a>. <a class=\"Controcampus_agreement\" href=\"javascript:;\">Ho capito.</a>"; 10} 11function ControcampusgetCookie(name){ 12 var value = "; " + document.cookie; 13 var parts = value.split("; " + name + "="); 14 if (parts.length == 2) return parts.pop().split(";").shift(); 15} 16function ControcampusCookieAccept(){ 17 var now = new Date(); 18 now.setMonth( now.getMonth() + 3 ); 19 var parts = location.hostname.split('.'); 20 var subdomain = parts.shift(); 21 var upperleveldomain = parts.join('.'); 22 var sndleveldomain = parts.slice(-2).join('.');
23 document.cookie = 'Controcampus_cookie_advice=1; expires='+now.toUTCString()+'; path=/;'; 24 //document.cookie = 'Controcampus_cookie_advice=1; expires='+now.toUTCString()+'; path=/; domain='+sndleveldomain; 25} 26 27function reload_criteo(){ 28 var win = $(window).width(); 29 var sito = 1200; 30 var banner = 120; 31 var mm = 50; 32 var offset_left = ( ((win - sito)/2) - banner); 33 $('#top_sx').css('left', offset_left + mm).show(); 34 $('#top_dx').css('left', offset_left + sito + mm - 20).show(); 35 } 36 $( window ).resize(function() { 37 reload_criteo() 38 }); 39 reload_criteo() 40 41 /*jQuery('.modal-download').on('click', function(e){ 42 e.preventDefault(); 43 var download_link = jQuery(this).attr('data-url'); 44 45 if ( $(window).width() > 1024){ 46 47 css_width = 550; 48 css_height = 240; 49 css_width_plus = 560; 50 css_height_plus = 250; 51 52 } else { 53 54 css_width = 290; 55 css_height = 500; 56 css_width_plus = 300; 57 css_height_plus = 510; 58 59 } 60 61 62 if (download_link !== undefined) 63 { 64 jQuery.modal('<iframe src="http://www.controcampus.it/download/?data_url='+download_link+'&set_layout=iframe" width="'+css_width+'" height="'+css_height+'" border="0" scrolling="no" style="border: 0;"></iframe>', { 65 containerCss:{ 66 backgroundColor:"transparent", 67 borderColor:"transparent", 68 width:css_width_plus, 69 height:css_height_plus, 70 padding:0 71 }, 72 overlayClose:true, 73 onShow: function (dlg) { 74 jQuery(dlg.container).css('width', css_width_plus); 75 jQuery(dlg.container).css('height', css_height_plus); 76 }, 77 opacity: 85 78 }); 79 80 } 81 }) 82 83 84 jQuery('.modal-voto').on('click', function(e){ 85 e.preventDefault(); 86 var download_link = jQuery(this).attr('data-url'); 87 88 if ( $(window).width() > 1024){ 89 90 css_width = 550; 91 css_height = 240; 92 css_width_plus = 560; 93 css_height_plus = 250; 94 95 } else { 96 97 css_width = 290; 98 css_height = 500; 99 css_width_plus = 300; 100 css_height_plus = 510; 101 102 } 103 104 105 if (download_link !== undefined) 106 { 107 jQuery.modal('<iframe src="http://ioleggo.controcampus.it/voto/?data_url='+download_link+'&set_layout=iframe" width="'+css_width+'" height="'+css_height+'" border="0" scrolling="no" style="border: 0;"></iframe>', { 108 containerCss:{ 109 backgroundColor:"transparent", 110 borderColor:"transparent", 111 width:css_width_plus, 112 height:css_height_plus, 113 padding:0 114 }, 115 overlayClose:true, 116 onShow: function (dlg) { 117 jQuery(dlg.container).css('width', css_width_plus); 118 jQuery(dlg.container).css('height', css_height_plus); 119 }, 120 opacity: 85 121 }); 122 123 } 124 }) 125 126*/ 127function get_controcampus_box_slide(css_id, item) { 128 if (document.getElementById(css_id + '_0')) { 129 document.getElementById(css_id + '_0').className = 'disabled'; 130 document.getElementById(css_id + '_item_0').style.display = 'none'; 131 } 132 if (document.getElementById(css_id + '_1')) { 133 document.getElementById(css_id + '_1').className = 'disabled'; 134 document.getElementById(css_id + '_item_1').style.display = 'none'; 135 } 136 if (document.getElementById(css_id + '_2')) { 137 document.getElementById(css_id + '_2').className = 'disabled'; 138 document.getElementById(css_id + '_item_2').style.display = 'none'; 139 } 140 if (document.getElementById(css_id + '_3')) { 141 document.getElementById(css_id + '_3').className = 'disabled'; 142 document.getElementById(css_id + '_item_3').style.display = 'none'; 143 } 144 if (document.getElementById(css_id + '_4')) { 145 document.getElementById(css_id + '_4').className = 'disabled'; 146 document.getElementById(css_id + '_item_4').style.display = 'none'; 147 } 148 document.getElementById(css_id + '_' + item).className = 'selected'; 149 document.getElementById(css_id + '_item_' + item).style.display = 150 'block'; 151 if (typeof bj_lazy_load_init == 'function') { 152 bj_lazy_load_init(); 153 } 154} 155 156function show_controcampus_box_slide(item) { 157 if (document.getElementById('controcampusBox' + '_0')) { 158 document.getElementById('controcampusBox' + '_0').className = 'hidden'; 159 } 160 if (document.getElementById('controcampusBox' + '_1')) { 161 document.getElementById('controcampusBox' + '_1').className = 'hidden'; 162 } 163 if (document.getElementById('controcampusBox' + '_2')) { 164 document.getElementById('controcampusBox' + '_2').className = 'hidden'; 165 } 166 if (document.getElementById('controcampusBox' + '_3')) { 167 document.getElementById('controcampusBox' + '_3').className = 'hidden'; 168 } 169 if (document.getElementById('controcampusBox' + '_4')) { 170 document.getElementById('controcampusBox' + '_4').className = 'hidden'; 171 } 172 if (document.getElementById('controcampusBox' + '_5')) { 173 document.getElementById('controcampusBox' + '_5').className = 'hidden'; 174 } 175 document.getElementById(item).className = 'fullwidth'; 176} 177 178function store_banner() { 179 document.getElementById('banner_magico').style.display = 'none'; 180} 181 182function ch(id) { 183 document.getElementById(id).style.backgroundColor = '#e1e1e1'; 184} 185var win = null; 186 187function podcast() { 188 LeftPosition = (screen.width) ? (screen.width - w) / 2 : 0; 189 TopPosition = (screen.height) ? (screen.height - h) / 2 : 0; 190 var w = '800'; 191 var h = '480'; 192 var myname = 'podcast'; 193 var scroll = 'no'; 194 var mypage = 'http://www.controcampus.it/podcast/'; 195 settings = 'height=' + h + ',width=' + w + ',top=' + TopPosition + 196 ',left=' + LeftPosition + ',scrollbars=' + scroll + ',resizable' 197 win = window.open(mypage, myname, settings) 198} 199 200function podcast(uri) { 201 LeftPosition = (screen.width) ? (screen.width - w) / 2 : 0; 202 TopPosition = (screen.height) ? (screen.height - h) / 2 : 0; 203 var w = '800'; 204 var h = '480'; 205 var myname = 'podcast'; 206 var scroll = 'no'; 207 if (uri == '') { 208 var mypage = 'http://www.controcampus.it/podcast/'; 209 } else { 210 var mypage = uri; 211 } 212 settings = 'height=' + h + ',width=' + w + ',top=' + TopPosition + 213 ',left=' + LeftPosition + ',scrollbars=' + scroll + ',resizable' 214 win = window.open(mypage, myname, settings) 215} 216 217function genera_social(){ 218} 219 220function nascondi_elementi(classe_da_leggere) { 221 jQuery(classe_da_leggere).each(function() { 222 jQuery(this).html(''); 223 }); 224} 225if (jQuery(window).width() > 990) {
226 nascondi_elementi('.hide_on_desktop ins'); 227} else { 228 nascondi_elementi('.hide_on_mobile ins'); 229} 230jQuery(window).resize(function() { 231 if (jQuery(window).width() > 990) { 232 nascondi_elementi('.hide_on_desktop ins'); 233 } else { 234 nascondi_elementi('.hide_on_mobile ins'); 235 } 236}); 237if (jQuery(window).width() > 990 || jQuery(window).width() < 1100) { 238 jQuery('#banner_assoluto').css('display', 'block !important'); 239} 240jQuery(function() { 241 var width = jQuery(window).width(); 242 var screen = ""; 243 if (width < 990) { 244 screen = "small"; 245 } else { 246 screen = "big"; 247 } 248 jQuery(window).resize(function() { 249 var cur_width = jQuery(window).width(); 250 //console.log(cur_width + ' ' + screen); 251 if (cur_width < 900 && screen == "big") { 252 window.location.href = window.location.href 253 } else if (cur_width > 990 && screen == "small") { 254 window.location.href = window.location.href 255 } 256 }); 257}); 258 259function setta_dimensione_billboard(){ 260 var scroll = jQuery('#selector').offset().top; 261 var altezza_billboard = jQuery('#billboard_container').height(); 262 jQuery('#altezza_billboard').val(altezza_billboard); 263} 264 265jQuery(window).scroll(function() { 266 var scroll = jQuery('#selector').offset().top; 267 var altezza_billboard = parseInt(jQuery('#altezza_billboard').val()); 268 269 altezza_billboard = altezza_billboard + 15; 270 271 if (scroll > altezza_billboard) { 272 jQuery('#navigazione').css('width', '100%'); 273 jQuery('#navigazione').css('position', 'fixed'); 274 jQuery('#navigazione').css('left', 0); 275 jQuery('#navigazione').css('top', 43); 276 } else { 277 jQuery('#navigazione').css('position', 'absolute'); 278 jQuery('#navigazione').css('left', ''); 279 jQuery('#navigazione').css('top', ''); 280 } 281 var opacity_logo = calcola_res(100, 0, scroll, 100, 500) / 100; 282 var opacity_h2 = calcola_res(0, 100, scroll, 100, 300) / 100; 283 var opacity_social = calcola_res(100, 0, scroll, 120, 320) / 100; 284 //jQuery('#opacity_logo').css('opacity', opacity_logo); 285 //jQuery('#header_mobile h2').css('opacity', opacity_h2); 286 //jQuery('#header_mobile .social').css('opacity', opacity_social); 287 /* 288 if (opacity_h2 == 0) { 289 jQuery('#header_mobile h2').hide(); 290 } else { 291 jQuery('#header_mobile h2').show(); 292 } 293 if (opacity_social == 0) { 294 jQuery('#header_mobile .social').hide(); 295 } else { 296 jQuery('#header_mobile .social').show(); 297 } 298 */ 299}) 300$.fn.scrollTo = function(target, options, callback) { 301 if (typeof options == 'function' && arguments.length == 2) { 302 callback = options; 303 options = target; 304 } 305 var settings = $.extend({ 306 scrollTarget: target, 307 offsetTop: 50, 308 duration: 500, 309 easing: 'swing' 310 }, options); 311 return this.each(function() { 312 var scrollPane = jQuery(this); 313 var scrollTarget = (typeof settings.scrollTarget == 314 "number") ? settings.scrollTarget : jQuery(settings.scrollTarget); 315 var scrollY = (typeof scrollTarget == "number") ? 316 scrollTarget : scrollTarget.offset().top + scrollPane.scrollTop() - 317 parseInt(settings.offsetTop); 318 scrollPane.animate({ 319 scrollTop: scrollY 320 }, parseInt(settings.duration), settings.easing, 321 function() { 322 if (typeof callback == 'function') { 323 callback.call(this); 324 } 325 }); 326 }); 327} 328 329function fbs_click() { 330 u = location.href; 331 t = document.title; 332 window.open('http://www.facebook.com/sharer.php?u=' + 333 encodeURIComponent(u) + '&t=' + encodeURIComponent(t), 'sharer', 334 'toolbar=0,status=0,width=626,height=436'); 335 return false; 336} 337 338function twitter_click() { 339 u = location.href; 340 t = document.title; 341 window.open('https://twitter.com/home?status=' + encodeURIComponent(u) + 342 ' ' + encodeURIComponent(t), 'sharer', 343 'toolbar=0,status=0,width=626,height=436'); 344 return false; 345} 346 347function google_click() { 348 u = location.href; 349 t = document.title; 350 window.open('https://plus.google.com/share?url=' + encodeURIComponent(u) + 351 ' ' + encodeURIComponent(t), 'sharer', 352 'toolbar=0,status=0,width=626,height=436'); 353 return false;
354} 355 356function linkedin_click() { 357 u = location.href; 358 t = document.title; 359 window.open('https://www.linkedin.com/shareArticle?mini=true&url=' + 360 encodeURIComponent(u) + '&title=' + encodeURIComponent(t), 361 'sharer', 'toolbar=0,status=0,width=626,height=436'); 362 return false; 363} 364 365function whatapp_click() { 366 u = location.href; 367 t = document.title; 368 window.open( 369 'whatsapp://send?text=Ciao, ho trovato un articolo interessante su Controcampus.it - Leggi qui: ' + 370 encodeURIComponent(t) + ' su ' + encodeURIComponent(u), 371 'sharer', 'toolbar=0,status=0,width=626,height=436'); 372 return false; 373} 374jQuery('body').append( 375 "<div id=\"selector\" style=\"position: fixed; top: 0; height: 10px\"> </div>" 376); 377 378function show_menu() { 379 if (jQuery('#navmobile').hasClass("closed")) { 380 jQuery('#navmobile').show(); 381 jQuery('#main').css('height', 800); 382 jQuery('#main').css('overflow', 'hidden'); 383 jQuery('#mobile_header').addClass("opened"); 384 // jQuery('.navmenu').attr('src', 'http://www.controcampus.it/wp-content/themes/controcampus-responsive/images/navmenu_selected.png'); 385 jQuery('.navmenu').attr('class', 'sprnavmenu_selected navmenu'); 386 jQuery('#navmobile').removeClass("closed"); 387 jQuery('#main').css('position', 'relative'); 388 jQuery('.navmenu_container').addClass('opened'); 389 } else { 390 hide_menu(); 391 } 392} 393 394function hide_menu() { 395 jQuery('#navmobile').hide(); 396 jQuery('.navmenu_container').removeClass('opened'); 397 jQuery('.navmenu').attr('src', 'http://www.controcampus.it/wp-content/themes/controcampus-responsive/images/navmenu.png'); 398 jQuery('#mobile_header').removeClass("opened"); 399 jQuery('#navmobile').addClass("closed"); 400 jQuery('#main').css('height', ''); 401 jQuery('#main').css('position', 'relative'); 402} 403 404function open_submenu(id) { 405 jQuery(id).slideToggle(); 406} 407 408function calcola_res(min, max, scroll, min_scroll, max_scroll) { 409 if (scroll > (min_scroll - 1)) { 410 if (scroll > max_scroll) { 411 scroll = max_scroll; 412 } 413 var scarto = max - min 414 var res = (max - (scroll / max_scroll * scarto)); 415 return res; 416 } else { 417 return max; 418 } 419} 420 421/* '<iframe src="http://www.controcampus.it/down/' + 422 download_link + '&set_layout=iframe" width="' + 423 css_width + '" height="' + css_height + 424*/ 425 426 427 428 429 function setCookie(cname, cvalue, exdays) { 430 var d = new Date(); 431 d.setTime(d.getTime() + (exdays*24*60*60*1000)); 432 var expires = "expires="+ d.toUTCString(); 433 document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/"; 434} 435function getCookie(cname) { 436 var name = cname + "="; 437 var decodedCookie = decodeURIComponent(document.cookie); 438 var ca = decodedCookie.split(';'); 439 for(var i = 0; i <ca.length; i++) { 440 var c = ca[i]; 441 while (c.charAt(0) == ' ') { 442 c = c.substring(1); 443 } 444 if (c.indexOf(name) == 0) { 445 return c.substring(name.length, c.length); 446 } 447 } 448 return ""; 449} 450 451function contaclick() { 452var isliked = getCookie("isliked"); 453 454 455if (isliked != "1") { 456setCookie("isliked", "1", 1); 457 458setInterval(function(){ 459 460 461jQuery("#downlike").hide(); 462jQuery("#contentlike").show(); 463 464}, 15000); 465 466} else { 467 468jQuery("#downlike").hide(); 469jQuery("#contentlike").show(); 470 471} 472 473} 474 475 476 477jQuery('.modal-download').on('click', function(e) { 478 479 480 481 var download_link = jQuery(this).attr('data-url'); 482 var data_raw = jQuery(this).attr('data-raw'); 483//alert(download_link); 484//alert(data_raw); 485 if (download_link !== undefined) { 486 e.preventDefault(); 487 if (jQuery(window).width() > 1024) { 488 css_width = 550; 489 css_height = 300; 490 css_width_plus = 560; 491 css_height_plus = 300; 492 } else { 493 css_width = 290; 494 css_height = 280; 495 css_width_plus = 300; 496 css_height_plus = 270; 497 } 498 $.modal( 499 '<div class="row gutters"> <div class="col col-12"><div id="tinymce" style="background: #f7f7f7; border: 1px solid #E6E6E6; display: block; padding: 30px 0; text-decoration: none; text-align: center; font-size: 20px;padding-left:10px; padding-right:10px;color:#000000;height:254px;"> <div style="display:block;" id="downlike">Per scaricare il contenuto ti chiediamo di cliccare sul pulsante Facebook e mettere un Like alla nostra pagina<br/><a target="_blank" onclick="contaclick();" href="https://www.facebook.com/Controcampus.it"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAKTklEQVR4nO3dW2gc1x3H8WlzsYlbJxZJHOPYEVRQ3JUl7c6cmdVGDyomNiqJ7dSd7GUuO7srKU8uhQZDiU310oda9Upod86ZwYRALn1wDDGBQIqhJJD2oUkpuCaBhoAhhri1H1rbIS61NX3QSrZkydbu/M+cM7PnB+fVrObzlfYqS5LExMTExMTExMTExMTExMTEGK93dGpj//7ZrejAiR1DB2d6QU4h2tNfOLGjf//s1t7RqY2srye3G9g7vUnTm89lC/ioViSntSI+n83jq7mSFyw7Rudn2PCCYTPkse5/svc4qomvItM9pxnkHdVwX0VGc4886T/C+vozWWpfvUfNuy8P5/HZ4SL+713YCcPP2qsfZJIbqkU+QIY7MXRw5jHWLtSnHmoouSJ5K1skN+6LnnD8lUc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wP5Cq5DGEvSZIkIdM9l1R86gEwwFfG/SBT8z6BsJckSZI0g7yTVHyqATDCbwUA9zcQVMN9Nan41AJgiL/wGMB7BcJekiRJQkZzT1LxqQTAGF+Z8IOhipuDsJckSZLkSf8RZJIbScQHD4ADfLnmXZP0Uw9D2C9NtcgHScQHDYADfGXCD+Rx7wyE+bIhw51IIj5YANWQAQDhKxN+kK4RsD+Bs7SREt6imvjbpOFzEQAgvjyOr/9w/2+/D2F+1zSLvJE0fLXKOABA/IX7f3wSwnr1L7Iwl04aPtMAoPHHyXy6MvcjCOs1p1nk/SThMwsAGF+Z8IN0lZyGML7nUMkd0ixyKyn4TAKggJ+pef+j/t2/OGTjk0nBjzwACvitp35zELbrWkqv9yCb/DMJ+JEGQAk/U/Uu9hlTmyFs1/8Fl5oHkoCvVv0gFUUA1L7zyfxgheyDMG17qk0accdHUQRACX/hvh9PQ1h2NHnSf0i13Y/ijE89AIr46So+C/apn06X0us9yHI/jys+1QAo4stVck6e9B+FMAy9Qb2+XTXJl3HEpxYAzR/7Ve8fKef4UxB2YBvU69sVm3wWN3wqAVD+zucOf3EjJbwF2fjDOOGDB0D5Pp+bH/trbnT0Qdkms3HBBw2A4lO9zLh3nPkDvnaWscnzatn7mnd8yABo4Geq3kVmz/PDrvfgzGPIxhiVyU1e8aECyIQJYI3X9uVxby7yV/hoTDYau1XbO8MjPqoxDmC1t3Sr5HRkb+xEOdlo7FYs8hqyyTe84DMNYMUneeQaPplI+JXrG5vaLNu4jBzvPeTg6yzxmQXQ+vSuPO6dSdeIRe1jXNxv7PAG2fZHlDI5ghz8tuyQT5HjXUEOmY8CP4oA5BqZl6vkcqbmfZKpeW/KNe+VoYqbA//odpKm66ceSOn1nl3mzLYBY+5pmgfi6VXf2NTmlf/uLnNmW0qv98Tq6ZuYmJiYmJiYmJiYmJiYmFhi93+B386J8MrYkAAAAABJRU5ErkJggg==" /></a></div><div style="display:none;color:black;" id="contentlike" ><a style="color: #000000;text-decoration:none;" href="'+data_raw+'" target="_blank">Grazie, ora puoi accedere al tuo download gratuito.<br/><span style="padding-top: 15px; font-weight: bold; color: green;">SCARICA IL DOCUMENTO</span></a><br /></div> </div> </div> </div> ', { 500 containerCss: { 501 backgroundColor: "transparent", 502 borderColor: "transparent", 503 width: css_width_plus, 504 height: css_height_plus, 505 padding: 0 506 }, 507 overlayClose: true, 508 onShow: function(dlg) { 509 jQuery(dlg.container).css('width', 510 css_width_plus); 511 jQuery(dlg.container).css('height', 512 css_height_plus); 513 }, 514 opacity: 85 515 }); 516var isliked = getCookie("isliked"); 517if (isliked == "1") { 518jQuery("#downlike").hide(); 519jQuery("#contentlike").show(); 520} 521 } 522}) 523 524 525function getSelectionText() { 526 var text = ""; 527 if (window.getSelection) { 528 text = window.getSelection().toString(); 529 } else if (document.selection && document.selection.type != "Control") { 530 text = document.selection.createRange().text; 531 } 532 return text; 533} 534 535 536jQuery('.tinymce_content P, .tinymce_content LI, .tinymce_content TABLE').on('copy', function(e) { 537 538download_link = getSelectionText(); 539 540 541 542var Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
542+/=",encode:function(e){var t="";var n,r,i,s,o,u,a;var f=0;e=Base64._utf8_encode(e);while(f<e.length){n=e.charCodeAt(f++);r=e.charCodeAt(f++);i=e.charCodeAt(f++);s=n>>2;o=(n&3)<<4|r>>4;u=(r&15)<<2|i>>6;a=i&63;if(isNaN(r)){u=a=64}else if(isNaN(i)){a=64}t=t+this._keyStr.charAt(s)+this._keyStr.charAt(o)+this._keyStr.charAt(u)+this._keyStr.charAt(a)}return t},decode:function(e){var t="";var n,r,i;var s,o,u,a;var f=0;e=e.replace(/[^A-Za-z0-9+/=]/g,"");while(f<e.length){s=this._keyStr.indexOf(e.charAt(f++));o=this._keyStr.indexOf(e.charAt(f++));u=this._keyStr.indexOf(e.charAt(f++));a=this._keyStr.indexOf(e.charAt(f++));n=s<<2|o>>4;r=(o&15)<<4|u>>2;i=(u&3)<<6|a;t=t+String.fromCharCode(n);if(u!=64){t=t+String.fromCharCode(r)}if(a!=64){t=t+String.fromCharCode(i)}}t=Base64._utf8_decode(t);return t},_utf8_encode:function(e){e=e.replace(/rn/g,"n");var t="";for(var n=0;n<e.length;n++){var r=e.charCodeAt(n);if(r<128){t+=String.fromCharCode(r)}else if(r>127&&r<2048){t+=String.fromCharCode(r>>6|192);t+=String.fromCharCode(r&63|128)}else{t+=String.fromCharCode(r>>12|224);t+=String.fromCharCode(r>>6&63|128);t+=String.fromCharCode(r&63|128)}}return t},_utf8_decode:function(e){var t="";var n=0;var r=c1=c2=0;while(n<e.length){r=e.charCodeAt(n);if(r<128){t+=String.fromCharCode(r);n++}else if(r>191&&r<224){c2=e.charCodeAt(n+1);t+=String.fromCharCode((r&31)<<6|c2&63);n+=2}else{c2=e.charCodeAt(n+1);c3=e.charCodeAt(n+2);t+=String.fromCharCode((r&15)<<12|(c2&63)<<6|c3&63);n+=3}}return t}} 543 544 545 546 547var encodedString = Base64.encode(download_link); 548 549download_link = encodedString; 550 551if (download_link!='') { 552 553 554e.preventDefault(); 555 556 557 if (jQuery(window).width() > 1024) { 558 css_width = 550; 559 css_height = 240; 560 css_width_plus = 560; 561 css_height_plus = 250; 562 } else { 563 css_width = 290; 564 css_height = 260; 565 css_width_plus = 300; 566 css_height_plus = 270; 567 } 568 569 570 571$.modal( 572 '<iframe src="http://www.controcampus.it/downcopy/' + 573 download_link + '" width="' + 574 css_width + '" height="' + css_height + 575 '" scrolling="no"></iframe>', { 576 containerCss: { 577 backgroundColor: "transparent", 578 borderColor: "transparent", 579 width: css_width_plus, 580 height: css_height_plus, 581 padding: 0 582 }, 583 overlayClose: true, 584 onShow: function(dlg) { 585 jQuery(dlg.container).css('width', 586 css_width_plus); 587 jQuery(dlg.container).css('height', 588 css_height_plus); 589 }, 590 opacity: 85 591 }); 592 593 594} 595 596}); 597 598$(window).scroll(function(){ 599 if( $(window).scrollTop() > 1){ 600 ControcampusCookieAccept(); 601 $('#Controcampus_cookie_advice').hide(); 602}}) 603$('body').on('click', function(){ 604 ControcampusCookieAccept(); 605 $('#Controcampus_cookie_advice').hide(); 606}) 607setInterval(setta_dimensione_billboard, 1000); 608 609var mn = $(".ban-sid"); 610 mns = "ban-scroll"; 611 hdr = $('header').height(); 612 613$(window).scroll(function() { 614 if( $(this).scrollTop() > hdr ) { 615 mn.addClass(mns); 616 } else { 617 mn.removeClass(mns); 618 } 619}); 620 621var modalMenuMostrata = "no"; 622function mostraHamburgerMenu() { 623 if(modalMenuMostrata=="no") { 624 document.getElementById("modalMenu").className = ""; 625 modalMenuMostrata = "si"; 626 } 627 else { 628 document.getElementById("modalMenu").className = "hidden"; 629 modalMenuMostrata = "no"; 630 } 631} 632 633var barraRicercaMostrata = "no"; 634function mostraBarraRicerca() { 635 if(barraRicercaMostrata=="no") { 636 document.getElementById("modalRicerca").className = ""; 637 barraRicercaMostrata = "si"; 638 } 639 else { 640 document.getElementById("modalRicerca").className = "hidden"; 641 barraRicercaMostrata = "no"; 642 } 643} 644 645function ingrandisciLeggiAltro(dispositivo) { 646 if(dispositivo=="desktop") { 647 var pulsanteIngrandisciLeggiAltro = document.getElementById("pulsanteIngrandisciLeggiAltro"); 648 var pulsanteRiduciLeggiAltro = document.getElementById("pulsanteRiduciLeggiAltro"); 649 650 var divLeggiAltro = document.getElementById("leggialtro"); 651 } 652 else { 653 var pulsanteIngrandisciLeggiAltro = document.getElementById("pulsanteIngrandisciLeggiAltroMobile"); 654 var pulsanteRiduciLeggiAltro = document.getElementById("pulsanteRiduciLeggiAltroMobile"); 655 656 var divLeggiAltro = document.getElementById("leggialtroMobile"); 657 } 658 659 pulsanteIngrandisciLeggiAltro.className = "hidden"; 660 pulsanteRiduciLeggiAltro.className = ""; 661 divLeggiAltro.className = "esteso"; 662 return false;
663} 664 665function riduciLeggiAltro(dispositivo) { 666 if(dispositivo=="desktop") { 667 var pulsanteIngrandisciLeggiAltro = document.getElementById("pulsanteIngrandisciLeggiAltro"); 668 var pulsanteRiduciLeggiAltro = document.getElementById("pulsanteRiduciLeggiAltro"); 669 var divLeggiAltro = document.getElementById("leggialtro"); 670 } 671 else { 672 var pulsanteIngrandisciLeggiAltro = document.getElementById("pulsanteIngrandisciLeggiAltroMobile"); 673 var pulsanteRiduciLeggiAltro = document.getElementById("pulsanteRiduciLeggiAltroMobile"); 674 var divLeggiAltro = document.getElementById("leggialtroMobile"); 675 } 676 677 pulsanteIngrandisciLeggiAltro.className = ""; 678 pulsanteRiduciLeggiAltro.className = "hidden"; 679 680 divLeggiAltro.className = "ridotto"; 681} 682 683/* 684 * questa funzione è necessaria per il sito 685 */ 686function scrollSegno(segno) { 687 location.hash = segno; 688 window.scrollTo(0,window.scrollY-50); 689 return false; 690}
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.