
function load_function(page){
}

function nostatus(){
	window.status = company_name;
	return true
}

document.onmouseover = nostatus
document.onmouseout = nostatus
document.onmousedown = nostatus


function textCounter(area,maxlength){
	if(area.value.length >= maxlength){
		alert("You've reached the " + maxlength + " character limit.");
		area.value = area.value.substring(0, maxlength);
		event.returnValue = false;
	}
}

function promptLogin(){
	var x = confirm("This is a password protected area.\nWould you like to continue?");
	if(x){
		document.location.href = "admin/index.php";
	} else {
		return;
	}
}
