jQuery(document).ready(function()
{
	// Switch the case on click of a logo
	jQuery("#logos li a").click(function() {
		// Retrieve the content from another file, using <id>.html, this will be replaced by a custom 
		// call to a WordPress page-template.
		jQuery("#case").load(jQuery(this).attr("href"));
		// Change the name of the link and the link to reflect the current case.
		jQuery("#casename").text(jQuery(this).text());
		jQuery("#casename").attr("href",jQuery(this).attr("href"));
		return false;
	});
	// Load a default case
	jQuery("#case").load("cases/nikon.html");
	jQuery("#casename").text("Nikon");
		
	$('.header .supporting .language').hover(function() {
		$(this).find("a").show();
	}, function() {
		$(this).find("a").hide();
		$(this).find("a.activelink").show();
	});
	
});
