function clearText(thefield) {
  if (thefield.defaultValue==thefield.value) { thefield.value = "" }
} 
function replaceText(thefield) {
  if (thefield.value=="") { thefield.value = thefield.defaultValue }
}

function sub_link_show(d,a)
{
	 document.getElementById(d).style.display='block';
	 document.getElementById(a).className='sel';
}
function sub_link_hide(d,a)
{
	 document.getElementById(d).style.display='none';
	 document.getElementById(a).className='';
}
