$(document).ready(function() {
// THE LABEL CALL
$(":text").labelify();
$("#PageContent ol li").add('').css('color','#3E96D5');
$("#PageContent ol li").wrapInner($("<span></span>"));
$("#PageContent table tbody tr:odd").css('background-color','#d2e1e8').addClass('odd');
$(".vticker").jCarouselLite({
        vertical: true,
        visible: 2,
        auto:500,
        speed:6000,
		pause:true,
        scroll:2,
    

		
initCallback: function(jc, state) {
      if (state == 'init') {
        // Insert a play/pause button between the prev/next buttons
        $('div.vticker').after('<div class="vticker" style="display:block;"></div>');

        /* Override the internal startAuto() method, which is called
after
         * animations complete, to prevent next/prev buttons from
reactivating
         * the timer while in the pause state.
         */
        jc.startAutoOrig = jc.startAuto;
        jc.startAuto = function() {
          if (!jc.paused) {
            jc.startAutoOrig();
          }
        }

        jc.pause = function() {
          $('div.vticker')
            .removeClass('jcarousel-play-vertical')
            .addClass('jcarousel-pause-vertical');
          jc.paused = true;
          jc.stopAuto();
        };

        jc.play = function() {
          $('div.vticker-toggle-vertical')
            .removeClass('vticker-pause-vertical')
            .addClass('vticker-play-vertical');
          jc.paused = false;
          jc.startAuto();
        };

        // Click event for playback toggle button, conditionally calls
play/pause
        $('div.vticker-toggle-vertical').click(function(){
          if (this.timer === null) {
            jc.play();
          } else {
            jc.pause();
          }
        });
      }

      jc.play();
    } 
    });

   
$('#aside ul, input#search, input#submit, #aside .grad-box').supersleight({shim: '../images/x.gif'});
$("#nav ul li:last-child,.login li:last, #bread li:last").addClass("last-child")
$("#FooterMeta ul li:first-child a").addClass("first-child")
/* Table alternating color for the tr element */
$("table.FullWidthTable tr:odd").addClass("OddTr");
$("table.ReportTable tr:odd").addClass("OddTr");
$("table.AccountingTable tr:odd").addClass("OddTr");
$("table.SubmissionTable tr:odd").addClass("OddTr"); 

 });





