function fixBackgroundShift(){
	var fix = ($(window).width() > 980) && document.documentElement && (document.documentElement.clientWidth % 2 == 1);
	if ($.browser.safari) {
		if (fix) window.resizeBy(-1,0);
	} else {
		if ($.browser.msie && parseInt($.browser.version) > 7) return;// IE 8 doesn't need fixing.
		$('#header, #page, #footer').css('paddingLeft', (fix ? 1 : 0));
	}
}
function handleExternalLinks(){
	$("a[href^='http']").attr('target','_blank');
}
$(document).ready(function(){
	fixBackgroundShift();
	handleExternalLinks();
});
$(window).resize(function(){
	fixBackgroundShift();
});

