/*$(document).ready(function() {
  $('a').click(function() { 
   var linkid = $(this).attr('href');
   $(linkid).slideDown('slow').addClass('shown');
	 return false; 
  });	
});*/


$(document).ready(function() {
  $("#togglecontent > div:not(:first)").hide();
  $('.toggle').click(function() { 
   var id = $(this).attr('name');
   $('.thisis' + id).slideDown('slow').addClass('shown').siblings('div:visible').slideUp('slow').removeClass('shown');
	 return false; 
  });	
});

$(document).ready(function(){
	$(".about_content").hide(); //Hide all content
	$("ul.togglestates li:first").addClass("shown").show(); //Activate first tab
	$(".about_content:first").show(); //Show first tab content
	//On Click Event
	$("ul.togglestates li").click(function() {
		$("ul.togglestates li").removeClass("shown"); //Remove any "active" class
		$(this).addClass("shown"); //Add "active" class to selected tab
		$(".about_content").hide(); //Hide all tab content

		var activeTab = $(this).find("a").attr("href"); //Find the href attribute value to identify the active tab + content
		$(activeTab).fadeIn(); //Fade in the active ID content
		return false;
	});
});

$(document).ready(function(){
	$(".service_content").hide(); //Hide all content
	$("ul.servicetabs li:first").addClass("shown").show(); //Activate first tab
	$(".service_content:first").show(); //Show first tab content
	//On Click Event
	$("ul.servicetabs li").click(function() {
		$("ul.servicetabs li").removeClass("shown"); //Remove any "active" class
		$(this).addClass("shown"); //Add "active" class to selected tab
		$(".service_content").hide(); //Hide all tab content

		var activeTab = $(this).find("a").attr("href"); //Find the href attribute value to identify the active tab + content
		$(activeTab).fadeIn(); //Fade in the active ID content
		return false;
	});
});

		$().ready(function() {
		$('#coda-slider-1').codaSlider({
		dynamicArrows: false,
		dynamicTabs: false
		});
});
