$(function(){
	$('a').each(function(){
		if (typeof $(this).attr("title")=="undefined") {
			$(this).attr("title",(typeof $(this).text()!="undefined") ? $(this).text() : "");
		}
	});
	$('a[rel=external]').click(function(){window.open($(this).attr('href'));return false;}).each(function(){
		$at=$(this).attr('title');
		$linktext = /Link opens in new window/.test($at);
		if (!$linktext) $(this).attr('title',((typeof $at!="undefined") ? $at : $(this).text()) +' - Link opens in new window');
	});
});
window.onload=doHeight;
function doHeight(){
	setTimeout("$height=Math.max($('#nav').height(),$('#cnt').height());$('#cnt').height($height);$('#nav').height($height);$('#sideLinks').height('100%');",500);
};
