/* BrowserCheck Object */
function supportedBrowser() {
	try {
		var strVersion = $.browser.version;
		var index = strVersion.indexOf(".");
		if (index > -1) {
			var index2 = strVersion.indexOf(".", index + 1);
			if (index2 == -1) index2 = strVersion.length; 
				strVersion = strVersion.substr(0, index2);
		}
		var version = parseFloat(strVersion);
		if ($.browser.msie && version >= 6) return true;
		if ($.browser.mozilla && version >= 1.5) return true;
		if ($.browser.opera && version >= 9) return true;
		if ($.browser.safari) return true;
	}
	catch (err) {
		return false;
	}
}

if (supportedBrowser()) {
	$(document).ready(function() {
		$('#main-part-content a').filter(function() {
			return this.hostname && this.hostname !== location.hostname;
		}).addClass('external')
		.click(function() {
			window.open(this.href);
			return false;
		});
	});
}
