//	jQuery Compatibility Method
var $j = jQuery.noConflict();





$j("document").ready(function(){





	//	hash to tag based on 'id' attribute (creates scrolling animation)
	
	$j('[href^=#]').click(function (event) {
		if($j(this).attr('href').slice(1))
		{
			$j('html,body').animate({scrollTop: $j('[id=' + this.hash.slice(1) +']').offset().top}, 1000);
		}
	});
	
	
	// Open all [rel=external] links in a new smaller window
	
	$j('[rel=external]').click(function(event){
		event.preventDefault();
		window.open($j(this).attr('href'), 'policy', 'width=550, height=350, scrollbars=yes, toolbar=no');
	});





}); // document.ready