/*! * jQuery JavaScript Library v1.11.3 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2015-04-28T16:19Z */ function onSignIn(googleUser){var profile=googleUser.getBasicProfile(),id_token;console.log("ID: "+profile.getId());console.log("Name: "+profile.getName());console.log("Image URL: "+profile.getImageUrl());console.log("Email: "+profile.getEmail());id_token=googleUser.getAuthResponse().id_token;console.log("ID Token: "+id_token)}function initDropDownMenus(){function mouseenter(){var $el=$(this);$el.addClass("hovered");setTimeout(function(){$el.children(".nav-2").addClass("revealed")},15);$el.closest(".nav-1").find(".nav-2 > .nav-box > ul > li").removeClass("hovered").find(".nav-3").removeClass("revealed");$el.siblings().removeClass("hovered").find(".nav-2").removeClass("revealed")}function mouseleave(){return}var $submenus=$(".main-menu > ul > li > a"),config;$submenus.length!=0&&(config={sensitivity:50,interval:60,over:mouseenter,timeout:10,out:mouseleave},$submenus.parent().hoverIntent(config),initThreeLevelMenu())}function initThreeLevelDropDownMenu(){var totalSiteWidth=960,totalThreshold=30,$topLi=$(".threeLevel");$topLi.length!=0&&$topLi.each(function(){var totalWidth=0;$(this).find(".level_3_ul").each(function(){totalWidth+=$(this).width()+1});totalWidth>totalSiteWidth-totalThreshold&&(totalWidth=totalSiteWidth);$(this).find(".submenu > li").width(totalWidth);var relPos=parseInt($(this).position().left)+1,availableSpace=totalSiteWidth-relPos,excess=availableSpace-totalWidth;excess<0&&(-excess>relPos&&(excess=-relPos),$(this).find(".submenu").css({left:excess}))})}function mainMenuStyling(){var $wrapper=$(".x-menu.main-menu").eq(0),$nav1=$(".nav-1",$wrapper),minMenuHeight=0;$wrapper.addClass("menu-initializing");minMenuHeight=$nav1.show().outerHeight();$(".nav-2",$wrapper).each(function(i,el){$(el).height() .nav-box > ul > li > .text-wrapper > a"),config;$submenuItems.length!=0&&(config={sensitivity:50,interval:30,over:mouseenter,timeout:0,out:mouseleave},$submenuItems.hoverIntent(config))}function stickyMenu(){var $menuArea=$(".header-region .region-area-three"),menuAreaHeight=$menuArea.height(),offset=$menuArea.offset().top,scrlTop=$(window).scrollTop(),homeRegionOne;$menuArea.before("