﻿// return "id" object on all browsers
function getLoginObject(id) {
	if(document.getElementById) {
		obj = document.getElementById(id);
	}
	else if(document.all) {
		obj = document.all.item(id);
	}
	else {
		obj = null;
	}
	return obj;
}

function checkUrl() {
	var currentUrl = location.href;
	if(currentUrl.substr(0,25) == "http://www.nacuboprep.org") {
		getLoginObject("signIn").style.display = "none";
		getLoginObject("signIn").innerHTML = "";
	}
}