/**
 * Set "target" attribute as "_blank" for the set of matched elements,
 */
jQuery(document).ready(function($) {
	/**
	 * Set "target" attribute as "_blank" for the set of matched elements,
	 * if "rel" equals "external", and "href" does not start with the base URL.
	 */
	$('a[rel="external"]').each(function() {
		$(this).attr('target', '_blank');
	});
});

