/* Source and licensing information for the line(s) below can be found at https://healthprofessions.science.oregonstate.edu/sites/all/modules/contrib/nice_menus/js/jquery.bgiframe.js. */
/*!
* Copyright (c) 2006 Brandon Aaron (http://brandonaaron.net)
* Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php).
* and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
*
* $LastChangedDate: 2007-06-19 20:25:28 -0500 (Tue, 19 Jun 2007) $
* $Rev: 2111 $
*
* Version 2.1
*/
(function($){$.fn.bgIframe=$.fn.bgiframe=function(s){if($.browser.msie&&parseInt($.browser.version)<=6){s=$.extend({top:'auto',left:'auto',width:'auto',height:'auto',opacity:true,src:'javascript:false;'},s||{});var prop=function(n){return n&&n.constructor==Number?n+'px':n;},html='';return this.each(function(){if($('> iframe.bgiframe',this).length==0)this.insertBefore(document.createElement(html),this.firstChild);});}return this;};if(!$.browser.version)$.browser.version=navigator.userAgent.toLowerCase().match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)[1];})(jQuery);
;/*})'"*/
;
/* Source and licensing information for the above line(s) can be found at https://healthprofessions.science.oregonstate.edu/sites/all/modules/contrib/nice_menus/js/jquery.bgiframe.js. */
;/*})'"*/
/* Source and licensing information for the line(s) below can be found at https://healthprofessions.science.oregonstate.edu/sites/all/modules/contrib/nice_menus/js/jquery.hoverIntent.js. */
/*!
* hoverIntent r5 // 2007.03.27 // jQuery 1.1.2+
*
*
* @param f onMouseOver function || An object with configuration options
* @param g onMouseOut function || Nothing (use configuration options object)
* @author Brian Cherne
*/
(function($){$.fn.hoverIntent=function(f,g){var cfg={sensitivity:7,interval:100,timeout:0};cfg=$.extend(cfg,g?{over:f,out:g}:f);var cX,cY,pX,pY;var track=function(ev){cX=ev.pageX;cY=ev.pageY;};var compare=function(ev,ob){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);if((Math.abs(pX-cX)+Math.abs(pY-cY)) »'].join('')),e=function(){var a=s(this),i=t(a);clearTimeout(i.sfTimer);a.showSuperfishUl().siblings().hideSuperfishUl()},o=function(){var n=s(this),o=t(n),i=a.op;clearTimeout(o.sfTimer);o.sfTimer=setTimeout(function(){i.retainPath=(s.inArray(n[0],i.$path)>-1);n.hideSuperfishUl();if(i.$path.length&&n.parents(['li.',i.hoverClass].join('')).length<1){e.call(i.$path)}},i.delay)},t=function(s){var n=s.parents(['ul.',i.menuClass,':first'].join(''))[0];a.op=a.o[n.serial];return n},r=function(s){s.addClass(i.anchorClass).append(l.clone())};return this.each(function(){var h=this.serial=a.o.length,t=s.extend({},a.defaults,n);t.$path=s('li.'+t.pathClass,this).slice(0,t.pathLevels).each(function(){s(this).addClass([t.hoverClass,i.bcClass].join(' ')).filter('li:has(ul)').removeClass(t.pathClass)});a.o[h]=a.op=t;s('li:has(ul)',this)[(s.fn.hoverIntent&&!t.disableHI)?'hoverIntent':'hover'](e,o).each(function(){if(t.autoArrows){r(s('>a:first-child',this))}}).not('.'+i.bcClass).hideSuperfishUl();var l=s('a',this);l.each(function(s){var a=l.eq(s).parents('li');l.eq(s).focus(function(){e.call(a)}).blur(function(){o.call(a)})});t.onInit.call(this)}).each(function(){var n=[i.menuClass];if(a.op.dropShadows&&!(s.browser.msie&&s.browser.version<7)){n.push(i.shadowClass)};s(this).addClass(n.join(' '))})};var a=s.fn.superfish;a.o=[];a.op={};a.IE7fix=function(){var i=a.op;if(s.browser.msie&&s.browser.version>6&&i.dropShadows&&i.animation.opacity!=undefined){this.toggleClass(a.c.shadowClass+'-off')}};a.c={bcClass:'sf-breadcrumb',menuClass:'sf-js-enabled',anchorClass:'sf-with-ul',arrowClass:'sf-sub-indicator',shadowClass:'sf-shadow'};a.defaults={hoverClass:'sfHover',pathClass:'overideThisToUse',pathLevels:1,delay:800,animation:{opacity:'show'},speed:'normal',autoArrows:!0,dropShadows:!0,disableHI:!1,onInit:function(){},onBeforeShow:function(){},onShow:function(){},onHide:function(){}};s.fn.extend({hideSuperfishUl:function(){var i=a.op,e=(i.retainPath===!0)?i.$path:'';i.retainPath=!1;var n=s(['li.',i.hoverClass].join(''),this).add(this).not(e).removeClass(i.hoverClass).find('>ul').hide().css('visibility','hidden');i.onHide.call(n);return this},showSuperfishUl:function(){var s=a.op,n=a.c.shadowClass+'-off',i=this.addClass(s.hoverClass).find('>ul:hidden').css('visibility','visible');a.IE7fix.call(i);s.onBeforeShow.call(i);i.animate(s.animation,s.speed,function(){a.IE7fix.call(i);s.onShow.call(i)});return this}})})(jQuery);;
/* Source and licensing information for the above line(s) can be found at https://healthprofessions.science.oregonstate.edu/sites/all/modules/contrib/nice_menus/js/superfish.js. */
;/*})'"*/
/* Source and licensing information for the line(s) below can be found at https://healthprofessions.science.oregonstate.edu/sites/all/modules/contrib/nice_menus/js/nice_menus.js. */
(function(e){Drupal.behaviors.niceMenus={attach:function(s,n){e('ul.nice-menu:not(.nice-menus-processed)').addClass('nice-menus-processed').each(function(){e(this).superfish({hoverClass:'over',autoArrows:!1,dropShadows:!1,delay:Drupal.settings.nice_menus_options.delay,speed:Drupal.settings.nice_menus_options.speed});e(this).find('ul').bgIframe({opacity:!1});e('ul.nice-menu ul').css('display','none')})}}})(jQuery);;
/* Source and licensing information for the above line(s) can be found at https://healthprofessions.science.oregonstate.edu/sites/all/modules/contrib/nice_menus/js/nice_menus.js. */
;/*})'"*/
/* Source and licensing information for the line(s) below can be found at https://healthprofessions.science.oregonstate.edu/misc/form-single-submit.js. */
(function(t){Drupal.behaviors.formSingleSubmit={attach:function(){function a(a){var e=t(a.currentTarget),r=e.serialize(),i=e.attr('data-drupal-form-submit-last');if(i===r){a.preventDefault()}
else{e.attr('data-drupal-form-submit-last',r)}};t('body').once('form-single-submit').delegate('form:not([method~="GET"])','submit.singleSubmit',a)}}})(jQuery);;
/* Source and licensing information for the above line(s) can be found at https://healthprofessions.science.oregonstate.edu/misc/form-single-submit.js. */
;/*})'"*/