$(document).ready(function() {

	// Fix the a/img problem
	$(".content img").each(function() {
		var parentTag = $(this).parent().get(0).tagName;
		if (parentTag == 'A') {
			$(this).parent().addClass('linkedImage');
		};
	});
	
	// external links open in a new window (HTML Strict)
    $("a[@rel='external']").click(function() { 
    	window.open(this.href); return false; 
    });

});
