﻿var gLabels = new Object();
gLabels.ageError1 = "La date de naissance est supérieure à la date du jour !";
gLabels.ageError2 = "pas de date de naissance indiquée";
gLabels.ageLess = "moins de 1 mois";
gLabels.ageYear = " an";
gLabels.ageYears = " ans";
gLabels.confirmation = "Confirmation";
gLabels.error = "Erreur";
gLabels.saisi = "Veuillez saisir au moins un champ";
gLabels.noSelect = "Veuillez selectionner le(s) destinataire(s)";
gLabels.messageSent = "Le message a été envoyé.";
gLabels.requestAccepted = "L'invitation a été acceptée.";
gLabels.moodUploaded = "Votre profil a été mis à jour";
gLabels.favoriteAdded = "Vos favoris ont été mis à jour.";
gLabels.seeProfile = "Voir son profil";
gLabels.rewardBought = "Votre commande a bien été enregistrée. Un message de confirmation vous a été envoyé à votre adresse e-mail.";
gLabels.rewardError = "Votre commande ne peut pas être effectuée car vous n'avez pas assez de points. <br />Continuez à cumuler des points !";
gLabels.noEAN = "Désolé, ce code EAN n'est pas valide.";
gLabels.noFirstName = "Veuillez saisir le prénom de votre ami(e)";
gLabels.noMail = "Veuillez saisir l'adresse e-mail de votre ami(e)";
gLabels.incorrectMail = "L'adresse e-mail saisie n'est pas valide";
gLabels.registerError = "Désolé, ce champ est obligatoire.";
gLabels.requestAcceptedMessage = "XXXnomXXX a accepté votre invitation. Vous êtes maintenant amis.";
gLabels.noMoreRewards = "Désolé, le dernier cadeau a déjà été commandé."; 
gLabels.orderReward = "Commander";

var gServerURL = top.location.protocol + "//" + top.location.hostname;
if(gServerURL.indexOf("web04.e-loreal") >= 0 || gServerURL.indexOf("contentmanager3.e-loreal.com") >= 0) gServerURL += "/ContentManagerData/Sites/aspnet";
var gVIPpath = "/_fr/_fr/club-vip/";
var vipPath = gVIPpath;//.substring(1);
var phrase1 = "Nous vous invitons également à rejoindre à tout moment votre <strong>Communauté Beauté</strong> :";
var phrase2 = "Partagez vos privilèges avec vos amis";
var phrase3 = "Rejoignez le wall du Club VIP";
gLabels.sfdatastring = '<font face="Arial" size="1" color="#4f4f4f" style="font-family: Arial; font-size: 11px; color: #4f4f4f;">'+phrase1+'<br/></font><table border="0" cellspacing="0" cellpadding="0"><tr><td colspan="3"><img src="'+gServerURL+''+vipPath+'img/mails/spacer.gif" alt="" width="1" height="12" /></td></tr><tr><td valign="top"><img src="'+gServerURL+''+vipPath+'img/mails/spacer.gif" alt="" width="36" height="1" /></td><td valign="top"><img src="'+gServerURL+''+vipPath+'img/mails/puce-grey.gif" alt="" /></td><td valign="top"><font face="Arial" size="1" color="#4f4f4f" style="font-family: Arial; font-size: 11px; color: #4f4f4f;">'+phrase2+'</font></td></tr><tr><td valign="top"><img src="'+gServerURL+''+vipPath+'img/mails/spacer.gif" alt="" width="36" height="1" /></td><td valign="top"><img src="'+gServerURL+''+vipPath+'img/mails/puce-grey.gif" alt="" /></td><td valign="top"><font face="Arial" size="1" color="#4f4f4f" style="font-family: Arial; font-size: 11px; color: #4f4f4f;">'+phrase3+'</font></td></tr><tr><td colspan="3"><img src="'+gServerURL+''+vipPath+'img/mails/spacer.gif" alt="" width="1" height="16" /></td></tr></table>'

var gModeratorFirstName = "Clémence";
var gModeratorEmail = "monclubvip@lorealparis.fr ";

var gRewardXSL = "mailtemplate/reward.xsl";
var gOffensivePostXSL = "mailtemplate/offensivePost.xsl";
var gNewWallTopicXSL = "mailtemplate/newWallTopic.xsl";
var gInviteAFriendXSL = "mailtemplate/inviteAFriend.xsl";
var gSendALookXSL = "mailtemplate/style.xsl";

var vipStats = {
    registerUploadPhoto: 'type=tagPageView;category=Subscription;tag=1_Register_Mandatory_Upload_Photo_Subscription_VIP',
    myDatasUploadPhoto: 'type=tagPageView;category=My_Profile;tag=1_My_Datas_Mandatory_Upload_Photo',
    
    registerLegals: 'type=tagPopinPageView;category=Subscription;tag=3_Register_Legals_VIP',
    myDatasLegals: 'type=tagPopinPageView;category=My_Profile;tag=3_My_Datas_Legals_VIP',
    
    inviteAFriend: 'type=tagPageView;category=Sign_In;tag=1_Invite_Friend_VIP',
    joinCommunity: 'type=tagPageView;category=Sign_In;tag=2_Join_Community_VIP',
    
    sendALook: 'type=tagPageView;category=Get_The_Look;tag=1_Send_The_Look_VIP',
    
    wallReportOffensive: 'type=tagPageView;category=My_Beauty_Network;tag=1_Report_Post_VIP',
    wallSubmitTopic: 'type=tagPageView;category=My_Beauty_Network;tag=2_Submit_Topic_VIP',
    wallSubmitPost: 'type=tagPageView;category=My_Beauty_Network;tag=3_Submit_Post_VIP',
    answerPost: 'type=tagPageView;category=My_Beauty_Network;tag=6_Inbox_Answer_VIP',
    requestFriendship: 'type=tagPageView;category=My_Beauty_Network;tag=11_Request_Friendship_VIP',
    seeProfile: 'type=tagPageView;category=My_Beauty_Network;tag=12_Profile_VIP',
    
    purchaseConditions: 'type=tagPageView;category=My_VIP_Card;tag=4_Add_Purchase_Legal_VIP',
    purchaseHistory: 'type=tagPageView;category=My_VIP_Card;tag=6_My_History_VIP',
    howToEarnPoints: 'type=tagPageView;category=My_VIP_Card;tag=7_How_To_Earn_Points_VIP',
    confirmReward: 'type=tagPageView;category=My_VIP_Card;tag=9_My_Rewards_Confirm_VIP',
    
    signIn: 'type=tagPageView;category=Club_VIP;tag=1_Login_VIP'
};
