 $(document).ready(function() {           try {           var el = $("#s_news .s_byline .s_date");        el.each(function() {            var date = $(this).text();              var bits = date.split("/");            var lastTwoChars = bits[0].substring(bits[0].length-2);            var month = convertMonth(lastTwoChars);            var day = bits[1];            var year = bits[2];            var chunk = '<span class="s_month">' + month + '</span>' + '<span class="s_day">' + day + '</span>' + '<span class="s_year">' + year + '</span>';            $(this).html(chunk);        }); //end:each       }        catch (e) {            return false;        }               var randomnumber=Math.floor(Math.random()*5)+1; // between 1 and 16			 //var randomnumber=16;             $('body').addClass('bg'+randomnumber);});  // end:DOM ready$(document).ready(function() {    try {        var el = $('#tv_events #s_events > h4');        el.length >= 1 ? $('#tv_events').show() : $('#tv_events').hide();    }    catch (e) {        return false;    }       }); //end:DOM readyfunction convertMonth(arg){        var x = parseInt(arg,10);        switch (x) {             case 01: return "JAN";             case 02: return "FEB";             case 03: return "MAR";             case 04: return "APR";             case 05: return "MAY";             case 06: return "JUN";             case 07: return "JUL";             case 08: return "AUG";             case 09: return "SEP";             case 10: return "OCT";             case 11: return "NOV";             case 12: return "DEC"             default: return false;        }       } $(document).ready(function() {        try {            $("#tabs").tabs();            $("#tabs").tabs('select', 0);        }        catch (e) {            return false;        }    });  // end:DOM ready