function _Activate(){ bc=document.getElementById('CustomerName').value; fe=document.getElementById('ActivationCode').value; if(ao()){ var sName=bc,da=sName.indexOf(" "); if(da>-1){ sName=sName.substr(0,da+2)+"."; dt(sName); } if(u){ f('Customer',bc); f('Code',fe); }; document.getElementById('RegistrationStatus').innerHTML=""+lz("Registration was successful. Thanks, and enjoy!")+""; document.getElementById('PotOdds').innerHTML="";setTimeout('_InitPaneRegister()',2000); }else document.getElementById('RegistrationStatus').innerHTML=""+lz("Invalid Name/Code combination. Please check your email and try again.")+""; };