//I know this looks very odd. Immediacy doesn't let me use IDs through the editor so I have no choice.
$('.tab-1').attr('id', 'tab-1');
$('.tab-2').attr('id', 'tab-2');






$(document).ready(function(){
$('.tabs div').hide();
$('.tabs div:first').show();
$('.tabs ul li:first').addClass('active');

$('.tabs ul li a').click(function(){
$('.tabs ul li').removeClass('active');
$(this).parent().addClass('active');
var currentTab = $(this).attr('href');
$('.tabs div').hide();
$(currentTab).show();
return false;
});
});



$("#Template_ctl08_ctl00_country39").click(function() {
  $('.ukdealer').addClass('hidden');
  $('.roidealer').removeClass('hidden');
});

$("#Template_ctl08_ctl00_country36").click(function() {
  $('.ukdealer').removeClass('hidden');
  $('.roidealer').addClass('hidden');
});





$(function(){
	$('#top-nav').hide();				
	$('#top-nav').fadeIn(1000)
});
	
	
$(".col-options li:last").addClass("no-right");

$("#related div:last").addClass("no-right-related");

$("#top-nav li:last a").addClass("last-tn");

$(".style-opt img:last").removeClass("style-opt-img");


$('#0 #head-nav li:first').addClass('hidden');
