/*
if (window.location.hash.replace("#", "") != "") {
	window.location = "/" + window.location.hash.replace("#", "") + ".html";
}
var loading = false;
var flash;
var flash_interval;
var content;

function bind() {
	$("a").bind("click", load);
}
function load(e) {
	if ($(this).attr("href").indexOf("/blog") > -1 || $(this).attr("href").indexOf("http") > -1) return true;
	if (!$(this).parent().hasClass("selected") && !loading) {
		loading = true;
		$("#menu li").removeClass("selected");
		$(this).parent().addClass("selected");
		$("#load").fadeIn(500);
		flash = false;
		flash_interval = setInterval("if (flash) $(\"#load\").fadeIn(500);\
			else $(\"#load\").fadeOut(500);\
			flash = !flash;", 600);
		page = $(".selected a").attr("href").replace(".html", "").replace("/", "");
		window.location.hash = "#" + page;
		$.get("/ajax.php", {p: page}, function(data) {
			content = data;
			$("#container").fadeOut("medium", function () {
				$("#body").html(content);
				$("#load").css("display", "none");
				content = "";
				$("#container").fadeIn("medium");
				bind();
			});
			loading = false;
			clearInterval(flash_interval);
			flash = false;
			$("#load").fadeOut(500);
		});
	}
	return false;
}
$(document).ready(function() {
	bind();
	//$("body").css("overflow-y", "scroll");
});
*/
if (top.location != location) {
    top.location.href = document.location.href;
}