$(document).ready(function(){
	//OLD BROWSER NOTIFICATION
	var notification = '<div id="browser-upgrade"><div class="upgrade-container"><p>Your browser is <strong>out of date</strong>. It has known security flaws and may not display all features of this and other websites. <strong>It is highly recommended to upgrade to a new version or other browser!</strong></p><div class="browsers"><a href="http://www.google.com/chrome" title="Google Chrome" id="chrome" rel="blank"></a><a href="http://windows.microsoft.com/en-US/internet-explorer/products/ie/home" title="Internet Explorer" id="ie9" rel="blank"></a><a href="http://www.mozilla.org/en-US/firefox/new/" title="Mozilla Firefox" id="firefox" rel="blank"></a><a href="http://www.opera.com/download/" title="Opera" id="opera" rel="blank"></a><a href="http://www.apple.com/safari/download/" title="Safari" id="safari" rel="blank"></a></div><div class="clear">&nbsp;</div></div></div>';
	var b = $.browser;
	var body = $('body');
	if((b.msie && b.version < '8.0')){
		body.prepend(notification);
		$('#top-link').remove();
	}
	if((b.opera) && (b.version < '10.1')){
		body.prepend(notification);
	}
	if((b.safari) && (b.version < '3.2')){
		body.prepend(notification);
	}
	if((b.mozilla) && (b.version.slice(0,2) == '1.9')){
		body.prepend(notification);
	}
	//open a link in a blank window
	$('a[rel="blank"]').click(function(){
		window.open(this.href);
		return false;
	});
});
function tBlank(A){
	window.open(A.href, '_blank');
	
	return false;
}

