// Label Hider v1.4 by Matt Ditter (Jan. 2008)
function inputFocus() {
 if (this.value == this.title) {
  this.value = '';
  this.style.fontWeight = 'normal';
}}
function inputBlur() {
 if (!this.value) {
  this.value = this.title;
  if (this.parentNode.getElementsByTagName('label')[0].getElementsByTagName('strong').length) this.style.fontWeight = 'bold';
}}
function toggleLabel(a) {
 var d = document;
 if (!d.getElementById) return;
 var f = d.getElementById(a), labels = f.getElementsByTagName('label');
 f.className += ' ieJS';
 for (var i=0, label; label = labels[i]; i++) {
  var inpID = label.getAttribute('for');
  if (!inpID) inpID = label.attributes['for'].value; // IE Fix
  var inp = d.getElementById(inpID), kind = inp.type.toLowerCase();
  if (kind != 'checkbox' && kind != 'radio') label.className += ' formLabelHide';
  if (label.getElementsByTagName('strong').length) inp.style.fontWeight = 'bold';
  if (!inp.value && inp.title) inp.value = inp.title;
  inp.onfocus = inputFocus;
  inp.onblur = inputBlur
}}