function SubmitHover (type,elm) {
	if (type == "on") {
		offset = 1 * 39;
		elm.style.backgroundPosition = "0px -"+offset+"px";
	}
	else {
		offset = 0 * 39;
		elm.style.backgroundPosition = "0px -"+offset+"px";
	}
}

function emptyField (elm, defaultvalue) {
	if (elm.value == defaultvalue) {
		elm.value = "";
	}
}

function Sprite (elm, offset) {
	offset = 1 * offset;
	elm.style.backgroundPosition = "0px -"+offset+"px";
}


