/*! This file has *//* NOT *//*! been minimized. */ /*In minimized files, *//*! credits of reused code can be found by removing '-min' from the url. */ var SOUPGIANT = SOUPGIANT || {}; SOUPGIANT.base = function() { var $ = jQuery, //covers noConflict Mode $body, //defined later $html, //defined later WIN = window, //for compression $WIN = $(WIN), DOC = document, NUL = null, TRU = true, FALS = false, SG = SOUPGIANT, i = 0, loginFormPlaced = FALS, URLS = SOUPGIANT_wpURLS; // $(function(){ $body = $('body'); $html = $('html'); $html.removeClass('no-js').addClass('js'); //need to trick CDN plugins into replacing assets directory w/ cdn version URLS.childAssets = URLS.childCSS.substring(0,URLS.childCSS.length - 10) + '/assets/child'; URLS.parentAssets = URLS.parentCSS.substring(0,URLS.parentCSS.length - 10) + '/assets/parent'; // }); $WIN.ready(function(){ $html.removeClass('no-jswin').addClass('jswin'); }); function skipLinks($links, focusClass){ if ($links == NUL) { $links = '#skipLinks a'; } $links = $($links); if (focusClass == NUL) { focusClass = 'focus'; } $links.each(function() { var $a = $(this); $a.focus(function() { $a.addClass(focusClass); }); $a.blur(function() { $a.removeClass(focusClass); }); }); } function nav($nav, hoverClass, focusClass){ if ($nav == NUL) { $nav = $('div.nav'); } $nav = $($nav); if (hoverClass == NUL) { hoverClass = 'hover'; } if (focusClass == NUL) { focusClass = hoverClass; } $nav.find('li').each(function(){ var $li = $(this); $li.hover( //mouse - in function() { $li.addClass(hoverClass); }, //mouse - out function() { $li.removeClass(hoverClass); } ); //keyboard in $li.find("a").each(function() { var $a = $(this); $a.focus(function() { $li.addClass(focusClass); }); $a.blur(function() { $li.removeClass(focusClass); }); }); }); } function equalHeight($columns, className, media, context){ /* **** DESCRIPTION Creates equal height columns for CSS layout Adds