$(function() {

// Use rel="external" on links to open in a new window

    $('a[rel=external]').click(function(){
		window.open(this.href);
		return false;
	});


// Add a class of .hx to each heading

	$('h1,h2,h3,h4,h5,h6').addClass('hx');


// a quick & dirty <hr> fix for IE6

	if($.browser.msie && $.browser.version < 7) {
		$("hr").wrap('<div class="ieHrFix"></div>');				
	}


// Add cite to title attribute

$("q, blockquote").hover(function(){
	var getCite = $(this).attr("cite");
	var cite = ('Cite — ' + getCite);
	$(this).attr({ title: cite });
});


// Stip tables, don't use this if using the table sorter

	// $('table').find("tr:even").addClass("striped-tr");		


// Add a print this page link to the page, change body in .appendTo("body") the location

	// $('<a href="#print">Print this page</a>').click(function(){window.print();}).appendTo("body");

});