//Scripts for demo

//tabbed Interface
function tabbedInterface(){
	//Begin Demo Scripts
	$('#demoMenu li:first').addClass('current');
	$('.contentArea:first').show();
	$('#demoMenu li').click(function(){									 
		var tabIndex = $('#demoMenu li').index(this);
		var contentIndex = '.contentArea:eq('+tabIndex+')';
		var contentNotIndex = '.contentArea:not(:eq('+tabIndex+'))';
		$(this).blur();
		$('#demoMenu li.current').removeClass('current');
		$(this).addClass('current');
		$(contentNotIndex).hide();
		$(contentIndex).show();
		return false;
	});
	//End Demo Scripts
	};
