Riding around the Ventoux

The Ventoux is a mythical climb that thousands of bike lovers come to add to their ‘hit list’ each year! Climbing it requires courage and humility if you are to contend successfully with its steep slopes and often rather capricious weather conditions. Don’t forget you can also rent bikes!

'; } var IFRAME = document.createElement("iframe"); IFRAME.src="javascript:parent.blank();"; //IFRAME.frameborder="0"; IFRAME.frameSpacing="0"; //IFRAME.allowTransparency="true"; IFRAME.frameBorder = "0"; IFRAME.scrolling ="no"; IFRAME.style.width="209px"; IFRAME.style.height="250px"; document.getElementById("ds_calclass").appendChild(IFRAME); // **************************************** // Ajout AM 30/10/2009 > fonctions utiles pour les dates // **************************************** function GetTodaySearchDate() { return GetDayFromTodaySearchDate(0); } function GetDayFromTodaySearchDate(numberOfDaysToAdd) { var resDate = new Date(); //resDate = resDate.dateAdd("d", numberOfDaysToAdd); resDate.setDate(resDate.getDate() + numberOfDaysToAdd); var resDay = resDate.getDate(); var resMonth = resDate.getMonth() + 1; var resYear = resDate.getFullYear(); var result = ds_format_date(resDay, resMonth, resYear); return result; } function GetMonthFromTodaySearchDate(numberOfMonthToAdd) { var resDate = new Date(); resDate.dateAdd("m", numberOfMonthToAdd); //resDate.setDate(resDate.getDate() + numberOfDaysToAdd); var resDay = resDate.getDate(); var resMonth = resDate.getMonth() + 1; var resYear = resDate.getFullYear(); var result = ds_format_date(resDay, resMonth, resYear); return result; } function dateAddExtention(p_Interval, p_Number) { var thing = new String(); //in the spirt of VB we'll make this function non-case sensitive //and convert the charcters for the coder. p_Interval = p_Interval.toLowerCase(); if (isNaN(p_Number)) { //Only accpets numbers //throws an error so that the coder can see why he effed up /* throw "The second parameter must be a number. \n You passed: " + p_Number; */ return false; } p_Number = new Number(p_Number); switch (p_Interval.toLowerCase()) { case "yyyy": {// year this.setFullYear(this.getFullYear() + p_Number); break; } case "q": { // quarter this.setMonth(this.getMonth() + (p_Number * 3)); break; } case "m": { // month this.setMonth(this.getMonth() + p_Number); break; } case "y": // day of year case "d": // day case "w": { // weekday this.setDate(this.getDate() + p_Number); break; } case "ww": { // week of year this.setDate(this.getDate() + (p_Number * 7)); break; } case "h": { // hour this.setHours(this.getHours() + p_Number); break; } case "n": { // minute this.setMinutes(this.getMinutes() + p_Number); break; } case "s": { // second this.setSeconds(this.getSeconds() + p_Number); break; } case "ms": { // second this.setMilliseconds(this.getMilliseconds() + p_Number); break; } default: { //throws an error so that the coder can see why he effed up and //a list of elegible letters. /* throw "The first parameter must be a string from this list: \n" + "yyyy, q, m, y, d, w, ww, h, n, s, or ms. You passed: " + p_Interval; */ return false; } } return this; } Date.prototype.dateAdd = dateAddExtention;

All Family Mountain biking
Do not miss