function DisplayLogIn(pID) 
{
var Dta

//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
   if (pID < 100)
	{Dta = "<FONT Color='red' FACE='arial' SIZE=2>";}
   if (pID >= 100)
	{Dta = "<FONT Color='Blue' FACE='arial' SIZE=2>";}
	 
if (pID == 1)
{    
  Dta = Dta + "Required field, <B><EM> USER ID </EM></B>can not be blank";
}

if (pID == 2)
{    
  Dta = Dta + "Invalid <B><EM> PASSWORD </EM></B> must be more than 6 chart/digits-";
}

if (pID == 3)
{    
  Dta = Dta + "Invalid Login, <B><EM>User ID</EM></B> or <B><EM>Password</EM></B> NOT registered";
}

if (pID == 4)
{    
  Dta = Dta + "Password not the same as first Password";
}

if (pID == 5)
{    
  Dta = Dta + "Required field, <B><EM> FIRST NAME </EM></B> canot be blank";
}

if (pID == 6)
{    
  Dta = Dta + "Required field, <B><EM> LAST NAME </EM></B>canot be blank";
}

if (pID == 7)
{    
  Dta = Dta + "Required field, <B><EM> E-MAIL </EM></B>canot be blank";
}

if (pID == 8)
{    
  Dta = Dta + "<B><EM>User ID</EM></B> already registered, please enter a different User ID.";
}

if (pID == 9)
{    
  Dta = Dta + "Problem occured while trying to retrieve Member Profile, please try again";
}

if (pID == 10)
{    
  Dta = Dta + "<B><EM>User ID</EM></B> does not exist.";
}

if (pID == 100)
{    
  Dta = Dta + "Thank You for registering with <B><EM>Keyboarding1!</EM></B>. Please login to continue.";
}

if (pID == 101)
{    
  Dta = Dta + "Update to your profile was successful. Please login to continue.";
}

if (pID == 102)
{    
  Dta = Dta + "As requested, your password was sent to your registered e-mail address. <br>Please check your e-mail in a few seconds.";
}

  Dta = Dta + "</TD></TR></Table>";
 
 //http://www.dhtmlnirvana.com/alchemy/writto.htm
 p1 = "P1"
 if (document.layers) 
 {
 document.layers[p1].document.write(Dta)
 document.layers[p1].document.close()
 } 
 else if (document.all) 
 {
 eval("document.all."+p1+".innerHTML=Dta")
 } 
 else {document.getElementById(p1).innerHTML = Dta;}
 
 
//eval(pID).innerHTML = Dta;
// eval(P1).innerHTML = Dta;
//eval(P2).innerHTML = "-->";
  
 return false;
}

function RemoveDesc(pID) 
{
 var Dta;
 Dta = " "
 //eval(pID).innerHTML = Dta;
 eval(P1).innerHTML = Dta;
 return false;
}

