function rollOver(wImg) {
	if (wImg) {
		wImg.src = String(wImg.src).replace("off","over");
	}
}
function rollOut(wImg) {
	if (wImg) {
		wImg.src = String(wImg.src).replace("over","off");
	}
}

function writeYear() {
	RightNow = new Date();
	var TheYear = RightNow.getYear()
	
	if (TheYear >= 100 && TheYear <= 1999)
	{TheYear=TheYear + 1900}
	else
	{TheYear=TheYear}
	document.write(TheYear)
}

function selectState(state){
	if(IE6){
		// Handling the first ever "IE6 turns into Chrome" bug
		window.location=("#state_"+state);
		window.location.reload(true);
	}else{
		document.location=("#state_"+state);
	}
}
$(document).ready(function () {
	var myLocation = document.location.toString();
	var possibleState = myLocation.substring(myLocation.length-2);
	if(possibleState != "sp" && possibleState.charAt(1) != '/'){
		// it's a state
		document.location=("#state_"+possibleState);
	}
});

/*
function navOpen() {
	document.
}*/

