jQuery(document).ready(function() {
	$("#nav-main-top").idTabs("!mouseover");
	
	// hack to remove # from url
	$("#nav-main-bottom a, #nav-main-top a").bind('click', function() {
		var url = this.href.split('#')[0]
		window.location = url;
		return false;
	});
	
	jQuery("*").fixIE6();
});

jQuery.fn.fixIE6 = function() {
	if (jQuery.browser.msie && jQuery.browser.version < 7) {
		return this.each(function() {
			if (jQuery(this).css("float") === "left" || jQuery(this).css("float") === "right") {
				if (jQuery(this).css("display") !== "none") {
					jQuery(this).css("display", "inline");
				}
			}
		});
	} else {
		return this.each(function() {});
	}
};