
		var RotationTabCount = 0;
		var RotationCurrentTab = 0;

jQuery(document).ready(function() {
  
  
	jQuery('.RSSFeed li.RSSTab a.RSSTabButton')
	.click(function(e) {
	    jQuery('.RSSFeed li')
	        .removeClass('active');
	
	    jQuery(this)
	        .parent()
	        .addClass('active');
	
	    var currentTab = jQuery(this).attr('href');
	    MoveContent(jQuery(currentTab), jQuery('#RSSDisplay'));
	    return false;
	});
	
	 RotationTabCount = jQuery('.RSSFeed li.RSSTab a.RSSTabButton').length - 1;
	 RotationCurrentTab = 0;
		
    updateTabs();
    // clean up to avoid memory leaks in certain versions of IE 6
    jQuery(window).bind('unload', function() {
        jQuery('.RSSFeed li.RSSTab a.RSSTabButton').unbind('click');
    });
});


   function MoveContent(content, destination)
    {
        destination.html(content.html());
    }
    
function updateTabs()
    {
	    if (RotationCurrentTab < RotationTabCount) {
	    	RotationCurrentTab += 1;
		} else {
			RotationCurrentTab = 0;
	    }
	    
    jQuery('.RSSFeed li:eq(' + RotationCurrentTab + ') a.RSSTabButton').click();	
		setTimeout("updateTabs()", 12000);	

   	}
  


var RotationTabCount2 = 0;
var RotationCurrentTab2 = 0;

jQuery(document).ready(function() {
  
  
	jQuery('.RSSFeed2 li.RSSTab a.RSSTabButton')
	.click(function(e) {
	    jQuery('.RSSFeed2 li')
	        .removeClass('active');
	
	    jQuery(this)
	        .parent()
	        .addClass('active');
	
	    var currentTab = jQuery(this).attr('href');
	    MoveContent(jQuery(currentTab), jQuery('#RSSDisplay2'));
	    return false;
	});
	
	 RotationTabCount2 = jQuery('.RSSFeed2 li.RSSTab a.RSSTabButton').length - 1;
	 RotationCurrentTab2 = 0;
		
	updateTabs2();
    // clean up to avoid memory leaks in certain versions of IE 6
    jQuery(window).bind('unload', function() {
        jQuery('.RSSFeed2 li.RSSTab a.RSSTabButton').unbind('click');
    });
});


   function MoveContent2(content, destination)
    {
        destination.html(content.html());
    }
    
function updateTabs2()
    {
	    if (RotationCurrentTab2 < RotationTabCount2) {
	    	RotationCurrentTab2 += 1;
		} else {
			RotationCurrentTab2 = 0;
	    }
	    
    jQuery('.RSSFeed2 li:eq(' + RotationCurrentTab2 + ') a.RSSTabButton').click();	
		setTimeout("updateTabs2()", 18000);	

   	}
  


