//*************************************************************************************
// File     : bram_functions.js
// Version  : 0.3.2
// Requires : jquery.js (version 1.3.2+), braingnat.js (version 0.3.2+)
// Author   : Janae Wiedmaier (jlw), Kyle Weems (ksw)
// Origin   : mindfly.com
// Created  : July 29, 2008
// Modified : June 19, 2009
// Purpose  : A collection of functions specific to the Bramble Berry site.
//*************************************************************************************


$(document).ready(function() {
    removeEmptyList();
    loadBackground();
});

function removeEmptyList() {
   for (i = 0; i < $('.stickyList ul').length; i++) {
        if ($('.stickyList ul:eq(' + i + ') li').length < 1) {
            $('.stickyList ul:eq(' + i + ')').remove(); 
        }    
    }
}

function loadBackground() {
    $('html').css('background', '#FCF3D6 url(/App_Themes/BRAM/images/htmlBG.jpg) repeat fixed left top');
}