// JavaScript Document
		$(function(){
		
		
            $("#presscontentright div.pressbutton").click(function(){
            	
            	$clicked = $(this);
            	
            	// if the pressbutton is not already "transformed" AND is not animated
            	if ($clicked.css("opacity") != "1" && $clicked.is(":not(animated)")) {
            		
            		$clicked.animate({
            			opacity: 1,
            		}, 600 );
            		
            		// each pressbutton div MUST have a "xx-pressbutton" and the target div must have an id "xx" 
            		var idToLoad = $clicked.attr("id").split('-');
            		
            		//we search trough the content for the visible div and we fade it out
            		$("#presscontentleft").find("div:visible").fadeOut("fast", function(){
            			//once the fade out is completed, we start to fade in the right div
            			$(this).parent().find("#"+idToLoad[0]).fadeIn();
            		})
            	}
            	
            	//we reset the other pressbuttons to default style
            	$clicked.siblings(".pressbutton").animate({
            		opacity: 0.5,
            	}, 600 );
            	
            });
		});