function doClear(theText) {
  if (theText.value == theText.defaultValue) {
    theText.value = ""
    }
}


if (document.images) {
	button_a = new Image
	button_a_roll = new Image
	button_b = new Image
	button_b_roll = new Image
	button_c = new Image
	button_c_roll = new Image
	button_d = new Image
	button_d_roll = new Image
	button_e = new Image
	button_e_roll = new Image
	button_f = new Image
	button_f_roll = new Image
	button_g = new Image
	button_g_roll = new Image
	button_h = new Image
	button_h_roll = new Image
	button_i = new Image
	button_i_roll = new Image
	button_j = new Image
	button_j_roll = new Image
	button_k = new Image
	button_k_roll = new Image
	button_l = new Image
	button_l_roll = new Image
	button_m = new Image
	button_m_roll = new Image

	button_a.src = "images/button_a.gif"
	button_a_roll.src = "images/button_a_roll.gif"
	button_b.src = "images/button_b.gif"
	button_b_roll.src = "images/button_b_roll.gif"
	button_c.src = "images/button_c.gif"
	button_c_roll.src = "images/button_c_roll.gif"
	button_d.src = "images/button_d.gif"
	button_d_roll.src = "images/button_d_roll.gif"
	button_e.src = "images/button_e.gif"
	button_e_roll.src = "images/button_e_roll.gif"
	button_f.src = "images/button_f.gif"
	button_f_roll.src = "images/button_f_roll.gif"
	button_g.src = "images/button_g.gif"
	button_g_roll.src = "images/button_g_roll.gif"
	button_h.src = "images/button_h.jpg"
	button_h_roll.src = "images/button_h_roll.jpg"
	button_i.src = "images/button_i.jpg"
	button_i_roll.src = "images/button_i_roll.jpg"
	button_j.src = "images/button_j.jpg"
	button_j_roll.src = "images/button_j_roll.jpg"
	button_k.src = "images/button_k.jpg"
	button_k_roll.src = "images/button_k_roll.jpg"
	button_l.src = "images/button_l.jpg"
	button_l_roll.src = "images/button_l_roll.jpg"
	button_m.src = "images/button_m.jpg"
	button_m_roll.src = "images/button_m_roll.jpg"
	}
	
else {
	button_a = ""
	button_a_roll = ""
	button_b = ""
	button_b_roll = ""
	button_c = ""
	button_c_roll = ""
	button_d = ""
	button_d_roll = ""
	button_e = ""
	button_e_roll = ""
	button_f = ""
	button_f_roll = ""
	button_g = ""
	button_g_roll = ""
	button_h = ""
	button_h_roll = ""
	button_i = ""
	button_i_roll = ""
	button_j = ""
	button_j_roll = ""
	button_k = ""
	button_k_roll = ""
	button_l = ""
	button_l_roll = ""
	button_m = ""
	button_m_roll = ""
	}
	
	
sfHover = function() {
	var sfEls = document.getElementById("nav").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);

