jQuery core tabs script - multiple instances?
I have the following jQuery script on my site to switch tabs without reloading the page. I'm using jQuery core v1.3.2 (NOT jQuery UI)

    <script type="text/javascript">
    	$(function() {
    		var tabify = function () {
    			var id = $('#content > div').hide().attr('aria-hidden', 'true').filter(window.location.hash || ':first').show().attr('aria-hidden', 'false').attr('id');
    			$('#content > ul > li').removeClass('selected').find('a[href=#' + id + ']').parent().addClass('selected');
    		}
    		setInterval(tabify, 100);
    		tabify();
    	});
    </script>

I want to add another instance of this script on the same page, but just copy/pasting this with different variable names doesn't work. Any ideas?
jQuery core tabs script - multiple instances?
===

I have the following jQuery script on my site to switch tabs without reloading the page. I'm using jQuery core v1.3.2 (NOT jQuery UI)

    <script type="text/javascript">
    	$(function() {
    		var tabify = function () {
    			var id = $('#content > div').hide().attr('aria-hidden', 'true').filter(window.location.hash || ':first').show().attr('aria-hidden', 'false').attr('id');
    			$('#content > ul > li').removeClass('selected').find('a[href=#' + id + ']').parent().addClass('selected');
    		}
    		setInterval(tabify, 100);
    		tabify();
    	});
    </script>

I want to add another instance of this script on the same page, but just copy/pasting this with different variable names doesn't work. Any ideas?