/* Inititalization Functions Author: Matt Kircher Created: August 25, 2011 Modified: */ function init(){ // Prepare dropdown menus jQuery('#main-nav .main') .supersubs({ minWidth:6, maxWidth:20, extraWidth:1 }) .superfish({ delay: 300, pathClass: 'selected', autoArrows: true, dropShadows: false, onInit: superfishInit() }); jQuery('#main-nav .returning') .supersubs({ minWidth:25, maxWidth:30, extraWidth:1 }) .superfish({ delay: 300, pathClass: 'selected', autoArrows: false, dropShadows: false, onInit: superfishInit() }); //clearfix jQuery('.button').parent().addClass('clearfix'); //initial heights for areas jQuery('#masthead #seg-engine, #masthead #login-area').equalHeightColumns(); jQuery('#main-content, #sub-content').equalHeightColumns({ minHeight:300 }); } var superfishInit = function () { jQuery("#main-nav").css({ left:'0px' }); }