// jQuery Compatibility Method
var $j = jQuery.noConflict();





$j("document").ready(function(){





	//	hash to tag based on 'id' attribute (creates scrolling animation)
	try
	{
		$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'), '', 'width=650, height=450, scrollbars=yes, toolbar=no');
		});
	}
	catch(e)
	{
		// Just in case
	}





}); // Ends Ready Function
