// JavaScript Document
// jquery code for faq templates
// used for licensing and download FAQ (11.1 release)

$(document).ready(function(){    

$('h1').css('color','red');

// Scroll initially if there's a hash (#something) in the url 
$.localScroll.hash({ 
		target: '#faqs', // Could be a selector or a jQuery object too.
		queue:true,
		duration:1500
	});

// table of content links - causes column on right to scroll to target
$('#faq-nav').localScroll({
   target:'#faqs'
});
$('#cat-nav').localScroll({
	target:'#faqs'
});

var numBlocks = $('.block').length;


for (i=0; i < numBlocks; i++)
{
	$('.block:eq(' + i + ') .ec:last').addClass('ecBorderBot');

}

$('.table1').each(function () {
		$(this).addClass('stripeMe').find('tr:odd').addClass('stripe');

	});
	 	
  });
