function blurCheck(val, def){
return (val == "")? def : val;
}
function focusCheck(val, def){
return (val == def)? "" : val;
}

function checkIt(evt) {
    evt = (evt) ? evt : window.event
    var charCode = (evt.which) ? evt.which : evt.keyCode
    if (charCode > 32 && (charCode < 48 || charCode > 57)) {
        document.getElementById("warning").style.display = "block";
        return false
    }
    document.getElementById("warning").style.display = "none";
    return true
}

sfHover = function() {
	var sfEls = document.getElementById("left").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

