var _IsHomePage = false;

window.onload = function() {
	try {
		var domain = document.location.hostname;
		with(document.body.appendChild(document.createElement("iframe"))) {
			addBehavior("#default#homepage");
			style.display = "none";
			if(isHomePage("http://" + domain) || isHomePage("http://" + domain + "/") || isHomePage("http://" + domain + "/default.aspx")) {
				_IsHomePage = true;
				src = "/common/ishomepage.aspx?domain=" + domain;
			}
		}
	}
	catch(ex) {
	}
}
