
function clearF (obj){
  if(obj){
  	obj.value="";
  }
}

function pwof(fpw, pwid){
	fpw.style.display = 'none';
	var pw = (document.getElementById) ? document.getElementById(pwid) : document.all[pwid];
	pw.style.display = 'inline';
	pw.focus();

	return true;
}

function pwob(pw, fpwid){
	if(pw.value == ''){
		pw.style.display = 'none';
		var fpw = (document.getElementById) ? document.getElementById(fpwid) : document.all[fpwid];
		fpw.style.display = 'inline';
	}
	return true;
}


function tfof(tf){
 if(tf){
  	tf.value="";
  }
}

function tfob(tf){
  if(tf.value=='') {
		tf.value = tf.defaultValue;
	}
}