  function moveElRight(){
    $('#markets-list-r li').each(function(i, el) {
      $(this).delay(4000).parent().children().hide();
      $(this).delay(i * 1000).fadeIn('slow');
    });      
  };
  function moveElLeft(){
    $('#markets-list-l li:not(:first)').each(function(i, el) {
      $(this).parent().children(":not(:first)").hide();
      $(this).delay(i * 1000).fadeIn('slow');
    });       
  };

//   once document has loaded
$(function() {        
    moveElLeft();      
    setInterval("moveElLeft()", 18000);          
    moveElRight();
    setInterval("moveElRight()", 18000);          
  
    // carousel for home page
    if($("#mycarousel").length > 0){
      jQuery("#mycarousel").jcarousel({ scroll: 1 });        
    }
  });                 

  




