jQuery.noConflict();
jQuery(document).ready(function() {
	// Tab Project id
	$project = jQuery('#project');
	
	// Tab Suedwestfalen id
	$suedwestfalen = jQuery('#suedwestfalen');
	
	// set id view Project and Südwestfalen
	$viewProject = jQuery('.viewNewsProject');
	$viewSuedwestfalen = jQuery('.viewNewsSuedwestfalen');
	
	// view all news link
	$viewAllTheProjects = jQuery('#viewAll-die-projekte');
	$viewAllSuedwestfalen = jQuery('#viewAll-suedwestfalen');
	
	// set current status to active
	$suedActive = $suedwestfalen.addClass('active');
	$project.show();
	
	// set current status to hidden
	$viewProject.hide();
	$viewAllTheProjects.hide();
	
	// change status to show
	$project.click(function(){
		jQuery(this).addClass('active');
		$suedwestfalen.removeClass('active');
		$viewProject.show();
		$viewAllTheProjects.show();
		$viewAllSuedwestfalen.hide();
		$viewSuedwestfalen.hide();
	});
	
	// change status to show
	$suedwestfalen.click(function(){
		jQuery(this).addClass('active');
		$project.removeClass('active');
		$viewAllTheProjects.hide();
		$viewAllSuedwestfalen.show();
		$viewSuedwestfalen.show();
		$viewProject.hide();
	});	
	
});
