<!--
function blockError(){return true;}
window.onerror = blockError;
// -->

function getRandom() {   return (Math.round(Math.random()*10))}

redirTime = "1000";
redirURL = "Login.aspx";
function redirTimer() { self.setTimeout("self.location.href = redirURL;",redirTime); }

function SearchProgress(paraURL) { location.replace(paraURL); }

//Get cookie routine by Shelley Powers 
function get_cookie(Name) {
var search = Name + "="
var returnvalue = "";

	if (document.cookie.length > 0) {
		offset = document.cookie.indexOf(search)
		if (offset != -1) { 
			offset += search.length
			end = document.cookie.indexOf(";", offset);
			if (end == -1) end = document.cookie.length;
				returnvalue=unescape(document.cookie.substring(offset, end))
		}
	}
return returnvalue;
}


