var corrsMsgConfirmLangId=new Array;
corrsMsgConfirmLangId["-1"]=1;
corrsMsgConfirmLangId["-2"]=2;
corrsMsgConfirmLangId["-3"]=3;
corrsMsgConfirmLangId["-5"]=4;
corrsMsgConfirmLangId["-10"]=5;
corrsMsgConfirmLangId["-11"]=6;
corrsMsgConfirmLangId["-12"]=7;
corrsMsgConfirmLangId["-13"]=8;
corrsMsgConfirmLangId["-14"]=9;
corrsMsgConfirmLangId["-15"]=10;
corrsMsgConfirmLangId["-16"]=11;
corrsMsgConfirmLangId["-17"]=12;
corrsMsgConfirmLangId["-18"]=13;
corrsMsgConfirmLangId["-19"]=14;

var corrsStyleSpecificLangId = new Array();
for (i=0;i<15;i++){
  corrsStyleSpecificLangId[i]="";
}
corrsStyleSpecificLangId[5]="font-weight:normal";

var msgNewsConfirmationOne = new Array();
msgNewsConfirmationOne[1] = "Thank you. Your e-mail address has been added to our list.";
msgNewsConfirmationOne[2] = "Merci, votre adresse électronique a bien été enregistrée.";
msgNewsConfirmationOne[3] = "Sie sind für den Newsletter registriert.";
msgNewsConfirmationOne[4] = "Gracias, su correo electrónico ha sido registrado.";
msgNewsConfirmationOne[5] = "ご登録ありがとうございます。E ニュースレターの配信登録が完了いたしました。";
msgNewsConfirmationOne[6] = "Thank you. Your e-mail address has been added to our list.";
msgNewsConfirmationOne[7] = "Bedankt, uw e-mailadres werd goed geregistreerd.";
msgNewsConfirmationOne[8] = "Merci, votre adresse électronique a bien été enregistrée.";
msgNewsConfirmationOne[9] = "Merci, votre adresse électronique a bien été enregistrée.";
msgNewsConfirmationOne[10] = "Sie sind für den Newsletter registriert.";
msgNewsConfirmationOne[11] = "Bedankt, uw e-mailadres werd goed geregistreerd.";
msgNewsConfirmationOne[12] = "Merci, votre adresse électronique a bien été enregistrée.";
msgNewsConfirmationOne[13] = "Thank you. Your e-mail address has been added to our list.";
msgNewsConfirmationOne[14] = "Thank you. Your e-mail address has been added to our list.";

var msgNewsConfirmationTwo = new Array();
msgNewsConfirmationTwo[1] = "Hermès International does not rent or sell customer e-mail addresses to third parties.<br />For more information, you may view our <a style='margin-right:0px;padding-left:0px;padding-top:0px;vertical-align:top;' target='_BLANK' href='http://usa.hermes.com/webapp/wcs/stores/servlet/CustomerServiceView?storeId=10202&catalogId=10052&langId=-1&privacypolicy=true&nbItem=0&page=privacy&id=s7&isFooter=true'>privacy policy</a>.";
msgNewsConfirmationTwo[2] = "Vous disposez d'un droit d'accès, de modification, de rectification et de suppression des données vous concernant (loi « Informatique et Libertés » du 6 janvier 1978).<br />Pour toute demande, adressez-vous au <a style='margin-right:0px;padding-left:0px;padding-top:0px;vertical-align:top;' target='_BLANK' href='http://france.hermes.com/webapp/wcs/stores/servlet/CustomerServiceView?storeId=10201&catalogId=10051&langId=-2&privacypolicy=true&nbItem=0&page=privacy&id=s7&isFooter=true'>Service Clients</a>.";
msgNewsConfirmationTwo[3] = "Hermès International verleiht oder verkauft E-Mail-Adressen nicht an Dritte.<br />Weitere Informationen finden Sie in unserer Datenschutzerklärung auf <a style='margin-right:0px;padding-left:0px;padding-top:0px;vertical-align:top;' target='_BLANK' href='http://germany.hermes.com/webapp/wcs/stores/servlet/CustomerServiceView?storeId=10201&catalogId=10051&langId=-3&privacypolicy=true&nbItem=0&page=privacy&id=s7&isFooter=true'>Hermes.com</a>.";
msgNewsConfirmationTwo[4] = "De conformidad con las disposicones de la Ley de Informática y Libertad del 6 de enero de 1978, todo usuario tiene un derecho de acceso, de rectificación o de cancelación de sus datos personales.<br />Para cualquier pregunta, contacte con nuestro <a style='margin-right:0px;padding-left:0px;padding-top:0px;vertical-align:top;' target='_BLANK' href='http://spain.hermes.com/webapp/wcs/stores/servlet/CustomerServiceView?storeId=10201&catalogId=10051&langId=-5&privacypolicy=true&nbItem=0&page=privacy&id=s7&isFooter=true'>Servicio de Atención al Cliente</a>.";
msgNewsConfirmationTwo[5] = "エルメス インターナショナルはお客様の個人情報を第三者に提供、開示することはありません。<br />詳しい情報については、www.Hermes.com の<a style='margin-right:0px;padding-left:0px;padding-top:0px;vertical-align:top;' target='_BLANK' href='http://japan.hermes.com/webapp/wcs/stores/servlet/CustomerServiceView?storeId=10701&catalogId=10052&langId=-10&privacypolicy=true&nbItem=0&page=privacy&id=s7&isFooter=true'>プライバシーポリシー</a>をご参照ください。";
msgNewsConfirmationTwo[6] = "Hermès International does not disclose customer e-mail addresses to third parties.<br />For more information, you may view our privacy policy on <a style='margin-right:0px;padding-left:0px;padding-top:0px;vertical-align:top;' target='_BLANK' href='http://uk.hermes.com/webapp/wcs/stores/servlet/CustomerServiceView?storeId=10201&catalogId=10051&langId=-11&privacypolicy=true&nbItem=0&page=privacy&id=s7&isFooter=true'>www.Hermes.com</a>.";
msgNewsConfirmationTwo[7] = "U beschikt over het recht tot toegang, wijziging, rechtzetting en verwijdering van uw persoonlijke gegevens.<br />Voor elke vraag kunt u zich richten tot onze <a style='margin-right:0px;padding-left:0px;padding-top:0px;vertical-align:top;' target='_BLANK' href='http://benelux.hermes.com/webapp/wcs/stores/servlet/CustomerServiceView?storeId=10201&catalogId=10051&langId=-12&privacypolicy=true&nbItem=0&page=privacy&id=s7&isFooter=true'>Klantendienst</a>.";
msgNewsConfirmationTwo[8] = "Vous disposez d'un droit d'accès, de modification, de rectification et de suppression des données vous concernant (loi « Informatique et Libertés » du 6 janvier 1978).<br />Pour toute demande, adressez-vous au <a style='margin-right:0px;padding-left:0px;padding-top:0px;vertical-align:top;' target='_BLANK' href='http://benelux.hermes.com/webapp/wcs/stores/servlet/CustomerServiceView?storeId=10201&catalogId=10051&langId=-13&privacypolicy=true&nbItem=0&page=privacy&id=s7&isFooter=true'>Service Clients</a>.";
msgNewsConfirmationTwo[9] = "Vous disposez d'un droit d'accès, de modification, de rectification et de suppression des données vous concernant (loi « Informatique et Libertés » du 6 janvier 1978).<br />Pour toute demande, adressez-vous au <a style='margin-right:0px;padding-left:0px;padding-top:0px;vertical-align:top;' target='_BLANK' href='http://switzerland.hermes.com/webapp/wcs/stores/servlet/CustomerServiceView?storeId=10201&catalogId=10051&langId=-14&privacypolicy=true&nbItem=0&page=privacy&id=s7&isFooter=true'>Service Clients</a>.";
msgNewsConfirmationTwo[10] = "Hermès International verleiht oder verkauft E-Mail-Adressen nicht an Dritte.<br />Weitere Informationen finden Sie in unserer Datenschutzerklärung auf <a style='margin-right:0px;padding-left:0px;padding-top:0px;vertical-align:top;' target='_BLANK' href='http://switzerland.hermes.com/webapp/wcs/stores/servlet/CustomerServiceView?storeId=10201&catalogId=10051&langId=-15&privacypolicy=true&nbItem=0&page=privacy&id=s7&isFooter=true'>Hermes.com</a>.";
msgNewsConfirmationTwo[11] = "U beschikt over het recht tot toegang, wijziging, rechtzetting en verwijdering van uw persoonlijke gegevens.<br />Voor elke vraag kunt u zich richten tot onze <a style='margin-right:0px;padding-left:0px;padding-top:0px;vertical-align:top;' target='_BLANK' href='http://benelux.hermes.com/webapp/wcs/stores/servlet/CustomerServiceView?storeId=10201&catalogId=10051&langId=-16&privacypolicy=true&nbItem=0&page=privacy&id=s7&isFooter=true'>Klantendienst</a>.";
msgNewsConfirmationTwo[12] = "Vous disposez d'un droit d'accès, de modification, de rectification et de suppression des données vous concernant (loi « Informatique et Libertés » du 6 janvier 1978).<br />Pour toute demande, adressez-vous au <a style='margin-right:0px;padding-left:0px;padding-top:0px;vertical-align:top;' target='_BLANK' href='http://benelux.hermes.com/webapp/wcs/stores/servlet/CustomerServiceView?storeId=10201&catalogId=10051&langId=-17&privacypolicy=true&nbItem=0&page=privacy&id=s7&isFooter=true'>Service Clients</a>.";
msgNewsConfirmationTwo[13] = "Hermès International does not rent or sell customer e-mail addresses to third parties.<br />For more information, you may view our <a style='margin-right:0px;padding-left:0px;padding-top:0px;vertical-align:top;' target='_BLANK' href='http://usa.hermes.com/webapp/wcs/stores/servlet/CustomerServiceView?storeId=10202&catalogId=10052&langId=-1&privacypolicy=true&nbItem=0&page=privacy&id=s7&isFooter=true'>privacy policy</a>.";
msgNewsConfirmationTwo[14] = "Hermès International does not disclose customer e-mail addresses to third parties.<br />For more information, you may view our privacy policy on <a style='margin-right:0px;padding-left:0px;padding-top:0px;vertical-align:top;' target='_BLANK' href='http://au.hermes.com/webapp/wcs/stores/servlet/CustomerServiceView?storeId=11201&catalogId=11051&langId=-19&privacypolicy=true&nbItem=0&page=privacy&id=s7&isFooter=true'>www.Hermes.com</a>.";

function getStyleSpecific(eleForKey){
  style="";
    try {
      if (document.getElementById(eleForKey)!= 'undefined' && document.getElementById(eleForKey)!= null){
        try {
          langdesc=corrsMsgConfirmLangId[document.getElementById(eleForKey).value];
          style=corrsStyleSpecificLangId[langdesc];
          if (style!='undefined' && style!=null && style !=""){
            style=" style='"+style+"' ";
          }
        }
        catch (err){
          style="";
        }
      }
    }
    catch(err){
      style="";
    }      
  return style;
}


function getFirstMessageConfirmationNewsLetter(eleForKey){
  chaine="";
  chaine=msgNewsConfirmationOne[1];
  try {
    if (document.getElementById(eleForKey)!= 'undefined' && document.getElementById(eleForKey)!= null){
      try {
        langdesc=corrsMsgConfirmLangId[document.getElementById(eleForKey).value];
        if(!(langdesc>=1 && langdesc<=14)){
            langdesc=1;
        }
      }
      catch (err){}
      chaine=msgNewsConfirmationOne[langdesc];
    }
  }
  catch(err){
  }
  return chaine;
}

function getSecondMessageConfirmationNewsLetter(eleForKey){
  chaine="";
  chaine=msgNewsConfirmationTwo[1];
  try {
    if (document.getElementById(eleForKey)!= 'undefined' && document.getElementById(eleForKey)!= null){
      try {
        langdesc=corrsMsgConfirmLangId[document.getElementById(eleForKey).value];
        if(!(langdesc>=1 && langdesc<=14)){
            langdesc=1;
        }
      }
      catch (err){}    

      chaine=msgNewsConfirmationTwo[langdesc];
    }
  }
  catch(err){
  }
  return chaine;
}
