1 2jQuery( document ).ready(function() { 3 try{ 4 jQuery('.colorbox-link').colorbox({width:"950",height:"700",iframe:true, 5 onClosed:function(){window.location.href = window.location.href;} 6 }); 7 8 } catch (e){ 9 } 10}); 11 jQuery(document).ready(myfunction_common); 12 jQuery(window).resize(myfunction_common); 13 function myfunction_common() { 14 jQuery('#home-main-banner .table-wrapper').css('height', jQuery(window).height()+'px'); 15 jQuery('#subpage-banner .inner-banner-wrap').css('height', jQuery(window).height()+'px'); 16 jQuery('#intro-video').css('width', jQuery(window).width()+'px'); 17 } 18 19 jQuery(document).ready(function(){ 20 jQuery('#intro-video').on('ended',function(){ 21 jQuery('.initial-overlay').fadeOut('slow'); 22 jQuery('body').css({'overflow':'visible'}); 23 }); 24 }); 25 jQuery( document ).ready(function() { 26 jQuery('#toggle').click(function() { 27 jQuery(this).addClass('active') 28 jQuery('#sidebar_slide').addClass('open'); 29 }); 30 jQuery('#toggle-close').click(function() { 31 jQuery('#sidebar_slide').removeClass('open'); 32 jQuery('#toggle').removeClass('active'); 33 }); 34 }); 35 jQuery(document).ready(function () { 36 // console.log(document.cookie); 37 var visit = getCookie("cookie"); 38 if (visit == null) { 39 jQuery("#video-modal").modal("show"); 40 var expire = new Date(); 41 expire = new Date(expire.getTime() + 72 * 3600 * 1000); 42 document.cookie = "cookie=here; expires=" + expire; 43 } 44}); 45function del_cookie(name) 46{ 47 document.cookie = name + '=; expires=Thu, 01 Jan 1970 00:00:01 GMT;'; 48} 49function getCookie(c_name) { 50 var c_value = document.cookie; 51 var c_start = c_value.indexOf(" " + c_name + "="); 52 if (c_start == -1) { 53 c_start = c_value.indexOf(c_name + "="); 54 } 55 if (c_start == -1) { 56 c_value = null; 57 } else { 58 c_start = c_value.indexOf("=", c_start) + 1; 59 var c_end = c_value.indexOf(";", c_start); 60 if (c_end == -1) { 61 c_end = c_value.length; 62 } 63 c_value = unescape(c_value.substring(c_start, c_end)); 64 } 65 return c_value; 66} 67 68jQuery(function(){jQuery('a.button_down[href*=#]:not([href=#])').click(function(){if(location.pathname.replace(/^\//,'')==this.pathname.replace(/^\//,'')&&location.hostname==this.hostname){var target=jQuery(this.hash);target=target.length?target:jQuery('[name='+this.hash.slice(1)+']');if(target.length){jQuery('html,body').animate({scrollTop:target.offset().top},1000);return false;}}});});jQuery(function(){jQuery("#main-footer .footer-form input").on("click",function(e){jQuery("#main-footer .footer-form").toggleClass("focused");});jQuery(document).on("click",function(e){if(jQuery(e.target).is("#main-footer .footer-form, #main-footer .footer-form input")===false){jQuery("#main-footer .footer-form").removeClass("focused");}});});jQuery(document).ready(function(){videoResize();});jQuery(window).resize(function(){videoResize();});function videoResize(){var w=(jQuery(window).width());var h=(jQuery(window).height());leaveHeight=jQuery('#sidebar_slide .sidebar-heading-box').innerHeight();jQuery("#home-main-banner .table-wrapper").height(h);jQuery("#sidebar_slide .sidebar-nav .menu_nav").height(h-leaveHeight);}function playIntroVideo(){document.getElementById("the-video").play();document.getElementById("the-video").style.display="block";}jQuery(document).ready(function(){function checkWidth(){var windowSize=jQuery(window).width();if(windowSize>=768){jQuery(window).scroll(function(){var scroll=jQuery(window).scrollTop();if(scroll>=1){jQuery("#main-header").addClass('scroll');}else{jQuery("#main-header").removeClass("scroll");}});}else{jQuery(window).scroll(function(){var scroll=jQuery(window).scrollTop();if(scroll>=6000){jQuery("#main-header").addClass('scroll');}else{jQuery("#main-header").removeClass("scroll");}});}}checkWidth();jQuery(window).resize(checkWidth)});function playIntroVideo(){document.getElementById("the-video").play();document.getElementById("the-video").style.display="block";} 69 70 71 72 73 jQuery(document).ready(function(){ 74 75 jQuery('.menu_nav li > .sub-menu').parent().click(function() { 76 jQuery(this).toggleClass("expand"); 77 var submenu = $(this).children('.sub-menu'); 78 if ( $(submenu).is(':hidden') ) { 79 $(submenu).slideDown(600); 80 } else { 81 $(submenu).slideUp(600); 82 } 83}); 84jQuery('li').has('.sub-menu').addClass('has-submenu'); 85}); 86 87var vids = $("video"); 88$.each(vids, function(){ 89 this.controls = false; 90}); 91jQuery(document).ready(function(){ 92 93jQuery(".body-network-heroes").addClass("intro"); 94 95});
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.