function setActiveStyleSheet(title) {
return true;
  var i, a, main;
  for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
    if(a.getAttribute("rel").indexOf("style") != -1 && a.getAttribute("title")) {
      a.disabled = true;
      if(a.getAttribute("title") == title) a.disabled = false;
    }
  }
}

function getActiveStyleSheet() {
  var i, a;
  for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
    if(a.getAttribute("rel").indexOf("style") != -1 && a.getAttribute("title") && !a.disabled) return a.getAttribute("title");
  }
  return null;
}

function getPreferredStyleSheet() {
  var i, a;
  for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
    if(a.getAttribute("rel").indexOf("style") != -1
       && a.getAttribute("rel").indexOf("alt") == -1
       && a.getAttribute("title")
       ) return a.getAttribute("title");
  }
  return null;
}

function createCookie(name,value,days) {
  if (days) {
    var date = new Date();
    date.setTime(date.getTime()+(days*24*60*60*1000));
    var expires = "; expires="+date.toGMTString();
  }
  else expires = "";
  document.cookie = name+"="+value+expires+"; path=/";
}

function readCookie(name) {
  var nameEQ = name + "=";
  var ca = document.cookie.split(';');
  for(var i=0;i < ca.length;i++) {
    var c = ca[i];
    while (c.charAt(0)==' ') c = c.substring(1,c.length);
    if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
  }
  return null;
}

window.onload = function(e) {
	gotab2();
	gotab();
	preloadImages();
	if(typeof forfaits_ready == 'function')
		forfaits_ready();
	if(typeof reserve_ready == 'function')
		reserve_ready();
}

function createDemos() {
//<![CDATA[
if (document.getElementById('colortip'))
	new Tip('colortip', 'Quelle est la couleur<br>de votre humeur?', { style: 'protogrey', borderColor: '#000000', border: '4', radius: '4', stem: 'bottomMiddle', hook: { tip: 'bottomLeft', mouse: true }, offset: { x: -50, y: -5 }});
if (document.getElementById('boutique'))
	new Tip('boutique', 'Adaptez-les &agrave; votre d&eacute;cor personnel<br>en visitant notre Boutique en ligne!', { title:'Vous craquez pour le coup<br>d&#39;&#x0153;il de nos accessoires?', style: 'protogrey', borderColor: '#000000', border: '4', radius: '4', stem: 'bottomMiddle', hook: { tip: 'bottomLeft', mouse: true }, offset: { x: -100, y: -5 }});
if (document.getElementById('buy'))
	new Tip('buy', 'Achetez-moi!', { style: 'protogrey', borderColor: '#000000', border: '4', radius: '4', stem: 'bottomMiddle', hook: { tip: 'bottomLeft', mouse: true }, offset: { x: -38, y: 0 }});
if (document.getElementById('buy2'))
	new Tip('buy2', 'Achetez-moi!', { style: 'protogrey', borderColor: '#000000', border: '4', radius: '4', stem: 'bottomMiddle', hook: { tip: 'bottomLeft', mouse: true }, offset: { x: -38, y: 0 }});
if (document.getElementById('buy3'))
	new Tip('buy3', 'Achetez-moi!', { style: 'protogrey', borderColor: '#000000', border: '4', radius: '4', stem: 'bottomMiddle', hook: { tip: 'bottomLeft', mouse: true }, offset: { x: -38, y: 0 }});
if (document.getElementById('buy4'))
	new Tip('buy4', 'Achetez-moi!', { style: 'protogrey', borderColor: '#000000', border: '4', radius: '4', stem: 'bottomMiddle', hook: { tip: 'bottomLeft', mouse: true }, offset: { x: -38, y: 0 }});
//]]>
}

function createDemos2() {
//<![CDATA[
if (document.getElementById('colortip_en'))
	new Tip('colortip_en', 'What color mood are<br>you in today?', { style: 'protogrey', borderColor: '#000000', border: '4', radius: '4', stem: 'bottomMiddle', hook: { tip: 'bottomLeft', mouse: true }, offset: { x: -50, y: -5 }});
if (document.getElementById('boutique_en'))
	new Tip('boutique_en', 'can now duplicate the experience<br>at home, by visiting our online Boutique.', { title:'Customers who love our<br>no-frills chic style,', style: 'protogrey', borderColor: '#000000', border: '4', radius: '4', stem: 'bottomMiddle', hook: { tip: 'bottomLeft', mouse: true }, offset: { x: -100, y: -5 }});
if (document.getElementById('buy_en'))
	new Tip('buy_en', 'Buy me!', { style: 'protogrey', borderColor: '#000000', border: '4', radius: '4', stem: 'bottomMiddle', hook: { tip: 'bottomLeft', mouse: true }, offset: { x: -28, y: 0 }});
if (document.getElementById('buy2_en'))
	new Tip('buy2_en', 'Buy me!', { style: 'protogrey', borderColor: '#000000', border: '4', radius: '4', stem: 'bottomMiddle', hook: { tip: 'bottomLeft', mouse: true }, offset: { x: -28, y: 0 }});
if (document.getElementById('buy3_en'))
	new Tip('buy3_en', 'Buy me!', { style: 'protogrey', borderColor: '#000000', border: '4', radius: '4', stem: 'bottomMiddle', hook: { tip: 'bottomLeft', mouse: true }, offset: { x: -28, y: 0 }});
if (document.getElementById('buy4_en'))
	new Tip('buy4_en', 'Buy me!', { style: 'protogrey', borderColor: '#000000', border: '4', radius: '4', stem: 'bottomMiddle', hook: { tip: 'bottomLeft', mouse: true }, offset: { x: -28, y: 0 }});
//]]>

}
