{

url = window.location.search;
posMsg = url.indexOf("msg");
msg="";
if (posMsg>0) {
   msg = url.substring(posMsg+4);
}
if (msg=="USERCREATED") {   
   alert("Your registration has been validated with success.\n\r To connect use your email and your password."); 
}
if (msg=="INVALIDUSER") {   
   alert("Your email or your password is invalid.\n\rTo become a member, submit a FREE registration on the link\n\r 'open a FREE account'. "); 
}
if (msg=="inscriptionNotValidated") {   
   alert("Your registration is not valid, after the registration you must click on the url in the email that you has received. "); 
   document.location='http://www.systeme-analyse-boursier.com/register.html';
}



}