// Identity Product Page scripting - adapted from AC JKanost 26 August 2010

$(document).ready(function(){

	// Pricing Data Grid - adds hooks for CSS styling not provided by .net
	$(".pricingGrid tr td:first-child").addClass("first-col");
	$(".pricingGrid tr td:last-child").addClass("last-col");
	$(".pricingItem:last-child").addClass("last-row");
	
	// Tabs functionality (not implemented yet - still uses tabber.js but leave this here for future use )
	
	$("#tabs .hidden dd").hide();
	
	$("#tabs dl dt a").click
		(function(event){
			event.preventDefault();
				  });
		
	$("#tabs dl dt a").click
		(function(){
			$(this).parents(".hidden").find("dd")
				.fadeIn("fast");
			$(this).parents(".hidden").siblings(".shown").find("dd")
				.fadeOut("fast");
			$(this).parents(".hidden").siblings(".shown")
				.toggleClass("shown hidden");
			$(this).parents(".hidden")
				.toggleClass("shown hidden");
			});

});
