// JavaScript Document

var g_ip;
var g_np;
function passit(ip){
  g_ip=ip.cloneNode(true);
	var np=ip.cloneNode(true);
	np.type='password';
	if(np.value!=ip.value)
	{
	  np.value=ip.value;
	}
	np.onfocus  = null;
	np.value = "";
	g_np=np;
	ip.parentNode.replaceChild(np,ip);
	setTimeout("document.login_form.customer_password.focus();", 10);
}

function passit2(ip){
  g_ip=ip.cloneNode(true);
	var np=ip.cloneNode(true);
	np.type='password';
	if(np.value!=ip.value)
	{
	  np.value=ip.value;
	}
	np.onfocus  = null;
	np.value = "";
	g_np=np;
	ip.parentNode.replaceChild(np,ip);
	setTimeout("document.login_form2.musician_password.focus();", 10);
}

function setText2(thefield){

	if (thefield.value=="")
	{
		thefield.parentNode.replaceChild(g_ip,thefield);
	}
}





function clearText(thefield){
	if (thefield.defaultValue==thefield.value)
	{
		thefield.value = "";
	}
}

function setText(thefield){
	if (thefield.value=="")
	{
		thefield.value = thefield.defaultValue;
	}
}
