function TemplateDateToDayAbbr(date)
{
	var l_SplittedDate = date.split(" ");
	var l_Day = "";
	var l_DayAbbr = "";
	if (l_SplittedDate.length >= 1)
		l_Day = l_SplittedDate[0];
	if (l_Day.length > 3)
		l_DayAbbr = l_Day.substring(0,3);
	document.write(l_DayAbbr);
}
///<summary>
/// Fonction javascript permettant de construire l'abbréviation du mois depuis la date générée par le template Canalblog
///</summary>
function TemplateDateToMonthAbbr(date)
{
	var l_SplittedDate = date.split(" ");
	var l_Month= "";
	var l_MonthAbbr = "";
	if (l_SplittedDate.length >= 3)
		l_Month = l_SplittedDate[2];
    
    l_MonthAbbr = l_Month;
    switch (l_Month)
    {
        case "janvier":
            l_MonthAbbr = "janv.";
            break;
        case "février":
            l_MonthAbbr = "févr.";
            break;
        case "mars":
            l_MonthAbbr = "mars";
            break;
        case "avril":
            l_MonthAbbr = "avr.";
            break;
        case "mai":
            l_MonthAbbr = "mai";
            break;
        case "juin":
            l_MonthAbbr = "juin";
            break;
        case "juillet":
            l_MonthAbbr = "juill.";
            break;
        case "août":
            l_MonthAbbr = "août";
            break;
        case "septembre":
            l_MonthAbbr = "sept.";
            break;
        case "octobre":
            l_MonthAbbr = "oct.";
            break;
        case "novembre":
            l_MonthAbbr = "nov.";
            break;
        case "décembre":
            l_MonthAbbr = "déc.";
            break;
    }
	document.write(l_MonthAbbr);
}
///<summary>
/// Fonction javascript permettant de récupérer le numéro du jour depuis la date générée par le template Canalblog
///</summary>
function TemplateDateToDayNum(date)
{
	var l_SplittedDate = date.split(" ");
	var l_DayNum = "";
	if (l_SplittedDate.length >= 2)
		l_DayNum = l_SplittedDate[1];
	document.write(l_DayNum);
}