function initializeCarTab(){
	$(".tab_content").hide(); //Hide all content
	$("ul.tabs li:first").addClass("active").show(); //Activate first tab
	$(".tab_content:first").show(); //Show first tab content
	
	//On Click Event
	$("ul.tabs li").click(function() {
		$("ul.tabs li").removeClass("active"); //Remove any "active" class
		$(this).addClass("active"); //Add "active" class to selected tab
		$(".tab_content").hide(); //Hide all tab content
		var activeTab = $(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
		$(activeTab).fadeIn(); //Fade in the active content
		return false;
	});
}
function initializeCenterCarTab(){
	$(".tab_content01").hide(); //Hide all content
	$("ul.tabs_hot_car li:first").addClass("active").show(); //Activate first tab
	$(".tab_content01:first").show(); //Show first tab content
	
	//On Click Event
	$("ul.tabs_hot_car li").click(function() {
		$("ul.tabs_hot_car li").removeClass("active"); //Remove any "active" class
		$(this).addClass("active"); //Add "active" class to selected tab
		$(".tab_content01").hide(); //Hide all tab content
		var activeTab = $(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
		$(activeTab).fadeIn(); //Fade in the active content
		return false;
	});
	}
function initializetabsFacility(){
	$(".tab_content03").hide(); //Hide all content
	$("ul.tabs_facility li:first").addClass("active").show(); //Activate first tab
	$(".tab_content03:first").show(); //Show first tab content
	
	//On Click Event
	$("ul.tabs_facility li").click(function() {
		$("ul.tabs_facility li").removeClass("active"); //Remove any "active" class
		$(this).addClass("active"); //Add "active" class to selected tab
		$(".tab_content03").hide(); //Hide all tab content
		var activeTab = $(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
		$(activeTab).fadeIn(); //Fade in the active content
		return false;
	});
}

function initializetabsCarDetail(){
	$(".tab_content").hide(); //Hide all content
	$("ul.car_details_tabs li:first").addClass("active").show(); //Activate first tab
	$(".tab_content:first").show(); //Show first tab content
	
	//On Click Event
	$("ul.car_details_tabs li").click(function() {
		$("ul.car_details_tabs li").removeClass("active"); //Remove any "active" class
		$(this).addClass("active"); //Add "active" class to selected tab
		$(".tab_content").hide(); //Hide all tab content
		var activeTab = $(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
		$(activeTab).fadeIn(); //Fade in the active content
		return false;
	});
}

//Tab su dung trong chi tiet Salon
function initializetabsSalon(){
	$(".tab_Salon").hide(); //Hide all content
	$("ul.tabs_salon li:first").addClass("active").show(); //Activate first tab
	$(".tab_Salon:first").show(); //Show first tab content
	
	//On Click Event
	$("ul.tabs_salon li").click(function() {
		$("ul.tabs_salon li").removeClass("active"); //Remove any "active" class
		$(this).addClass("active"); //Add "active" class to selected tab
		$(".tab_Salon").hide(); //Hide all tab content
		var activeTab = $(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
		$(activeTab).fadeIn(); //Fade in the active content
		return false;
	});
}

//Tab su dung trong chi tiet Salon
function initializetabsSalonCars(){
	$(".tab_Salon_Car").hide(); //Hide all content
	$("ul.tabs_salon li:first").addClass("active").show(); //Activate first tab
	$(".tab_Salon_Car:first").show(); //Show first tab content
	
	//On Click Event
	$("ul.tabs_salon li").click(function() {
		$("ul.tabs_salon li").removeClass("active"); //Remove any "active" class
		$(this).addClass("active"); //Add "active" class to selected tab
		$(".tab_Salon_Car").hide(); //Hide all tab content
		var activeTab = $(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
		$(activeTab).fadeIn(); //Fade in the active content
		return false;
	});
}

//Tab su dung trong chi tiet Salon
function initializetabsSalonCar(){
	$(".tab_Salon_car_infor").hide(); //Hide all content
	$("ul.tabs_salon li:first").addClass("active").show(); //Activate first tab
	$(".tab_Salon_car_infor:first").show(); //Show first tab content
	
	//On Click Event
	$("ul.tabs_salon li").click(function() {
		$("ul.tabs_salon li").removeClass("active"); //Remove any "active" class
		$(this).addClass("active"); //Add "active" class to selected tab
		$(".tab_Salon_car_infor").hide(); //Hide all tab content
		var activeTab = $(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
		$(activeTab).fadeIn(); //Fade in the active content
		return false;
	});
}


