jQuery.noConflict();
jQuery(document).ready(function() {
  //kleinwagen
	//When page loads...
	jQuery(".tab_content_k").hide(); //Hide all content
	jQuery("ul.kleinwagen li:first").addClass("active").show(); //Activate first tab
	jQuery(".tab_content_k:first").show(); //Show first tab content

	//On Click Event
	jQuery("ul.kleinwagen li").click(function() {

		jQuery("ul.kleinwagen li").removeClass("active"); //Remove any "active" class
		jQuery(this).addClass("active"); //Add "active" class to selected tab
		jQuery(".tab_content_k").hide(); //Hide all tab content

		var activeTab = jQuery("a",this).attr("href"); //Find the href attribute value to identify the active tab + content
		jQuery(activeTab).fadeIn(); //Fade in the active ID content
		return false;
	});
	
	//mittelklasse
	//When page loads...
	jQuery(".tab_content_m").hide(); //Hide all content

	jQuery("ul.mittelklassewagen li:first").addClass("active").show(); //Activate first tab
	jQuery(".tab_content_m:first").show(); //Show first tab content

	//On Click Event
	jQuery("ul.mittelklassewagen li").click(function() {

		jQuery("ul.mittelklassewagen li").removeClass("active"); //Remove any "active" class
		jQuery(this).addClass("active"); //Add "active" class to selected tab
		jQuery(".tab_content_m").hide(); //Hide all tab content

		var activeTab = jQuery("a",this).attr("href"); //Find the href attribute value to identify the active tab + content
		jQuery(activeTab).fadeIn(); //Fade in the active ID content
		return false;
	});	
	//obere mittelklasse
	//When page loads...
	jQuery(".tab_content_o").hide(); //Hide all content

	jQuery("ul.obere-mittelklasse li:first").addClass("active").show(); //Activate first tab
	jQuery(".tab_content_o:first").show(); //Show first tab content

	//On Click Event
	jQuery("ul.obere-mittelklasse li").click(function() {

		jQuery("ul.obere-mittelklasse li").removeClass("active"); //Remove any "active" class
		jQuery(this).addClass("active"); //Add "active" class to selected tab
		jQuery(".tab_content_o").hide(); //Hide all tab content

		var activeTab = jQuery("a",this).attr("href"); //Find the href attribute value to identify the active tab + content
		jQuery(activeTab).fadeIn(); //Fade in the active ID content
		return false;
	});	
	
	//vans
	//When page loads...
	jQuery(".tab_content_v").hide(); //Hide all content

	jQuery("ul.vans li:first").addClass("active").show(); //Activate first tab
	jQuery(".tab_content_v:first").show(); //Show first tab content

	//On Click Event
	jQuery("ul.vans li").click(function() {

		jQuery("ul.vans li").removeClass("active"); //Remove any "active" class
		jQuery(this).addClass("active"); //Add "active" class to selected tab
		jQuery(".tab_content_v").hide(); //Hide all tab content

		var activeTab = jQuery("a",this).attr("href"); //Find the href attribute value to identify the active tab + content
		jQuery(activeTab).fadeIn(); //Fade in the active ID content
		return false;
	});		
	
	//jeeps
	//When page loads...
	jQuery(".tab_content_j").hide(); //Hide all content

	jQuery("ul.jeeps li:first").addClass("active").show(); //Activate first tab
	jQuery(".tab_content_j:first").show(); //Show first tab content

	//On Click Event
	jQuery("ul.jeeps li").click(function() {

		jQuery("ul.vans li").removeClass("active"); //Remove any "active" class
		jQuery(this).addClass("active"); //Add "active" class to selected tab
		jQuery(".tab_content_j").hide(); //Hide all tab content

		var activeTab = jQuery("a",this).attr("href"); //Find the href attribute value to identify the active tab + content
		jQuery(activeTab).fadeIn(); //Fade in the active ID content
		return false;
	});		
	
	//standard
	//When page loads...
	jQuery(".tab_content_s").hide(); //Hide all content

	jQuery("ul.standard li:first").addClass("active").show(); //Activate first tab
	jQuery(".tab_content_s:first").show(); //Show first tab content

	//On Click Event
	jQuery("ul.standard li").click(function() {

		jQuery("ul.standard li").removeClass("active"); //Remove any "active" class
		jQuery(this).addClass("active"); //Add "active" class to selected tab
		jQuery(".tab_content_s").hide(); //Hide all tab content

		var activeTab = jQuery("a",this).attr("href"); //Find the href attribute value to identify the active tab + content
		jQuery(activeTab).fadeIn(); //Fade in the active ID content
		return false;
	});	
});

