
// get current year
now = new Date;

thisYr = now.getYear();

if (thisYr < 1900) {
thisYr = thisYr + 1900;
}	

function turnOnHome(ths) { 
	if (document.images){
		document.getElementById(ths).src = "assets/structure/home/" + ths + "on.jpg";
	}
}

function turnOffHome(ths) { 
	if (document.images){
		document.getElementById(ths).src = "assets/structure/home/" + ths + "off.jpg";
	}
}
function turnOn(ths) { 
	if (document.images){
		document.getElementById(ths).src = "assets/structure/" + ths + "on.jpg";
	}
}

function turnOff(ths) { 
	if (document.images){
		document.getElementById(ths).src = "assets/structure/" + ths + "off.jpg";
	}
}