		var hiddenContentShown = false;
		var currentContentTypeId = -1;
		var currentContentId = -1;
		
		var TESTIMONALS = 1;
	
		
		
		function updateContent(id, url) {
            	jQuery(id).fadeOut('slow').load(url, function() {
            	jQuery(id).fadeIn('slow'); 
            });
		}
		
		function updateAllContent() {
			updateContent("#testimonialsContainer", "/local/RandomTestimonial.html");
		}
		setInterval("updateAllContent()", 1000*10);
		
		function setupOpenEvent(id, contentTypeId) {
			jQuery(id).click(function() {
				showHiddenContent(contentTypeId);
			});
		}
		
		jQuery(document).ready(function () {
			setupOpenEvent('#testimonialsContainer', TESTIMONALS);
		});


