function clearifdefault (input,defaultval) {
	if (input.value == defaultval){
		input.value = ''
	}
}

function defaultifclear (input,defaultval) {
	if (input.value == ''){
		input.value = defaultval
	}
}

sfHover = function() {
      var sfEls = document.body.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);

function justshow(id) {
document.getElementById(id).style.display="block";
}
          

function showhide(id) {
          if (document.getElementById(id).style.display=="none") {
          	document.getElementById(id).style.display="block";
          } else {
        	document.getElementById(id).style.display="none"; 
         }
            
}
