// JavaScript Document

var Forest = {
	External_Links: function() {
		// tag external links
		$("a[href^='http']").attr('rel','external');
		
		// make all "file" and external links open in a new window
		$("a[rel='file'], a[rel='external']").attr('target','_blank');
		
		// change the title of new-window links
		// $("a[rel='external']").attr('title', 'This link opens in a new window');
		// $('body.eng a[rel="external"], body.eng a[rel="file"]').attr('title','This link opens in a new window');
		// $('body.fra a[rel="external"], body.fra a[rel="file"]').attr('title','Ce lien ouvre dans une nouvelle fenêtre');
		
	}
}

$(document).ready(function(){
	//Forest.External_Links();
});

