All pastes #472608 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-05-05 18:37 UTC
rendered paste body
function _Activate(){bc=document.getElementById('CustomerName').value;

fe=document.getElementById('ActivationCode').value;if(ao()){var sName=bc,da=sName.indexOf(" ");

if(da>-)sName=sName.substr(0,da+2)+".";

dt(sName);

if(u){f('Customer',bc);f('Code',fe);
     };

document.getElementById('RegistrationStatus').innerHTML="<font color='white'><b>"+lz("Registration was Successful. Thanks, and enjoy!")+"</b></font>";document.getElementById('PotOdds').innerHTML="";setTimeout('_InitPaneRegister()',2000);

}
else document.getElementById('RegistrationStatus').innerHTML="<font color='yellow'><b>"+lz("Invalid Name/Code combination. Please check your email and try again.")+"</b></font>";
}
;