// JavaScript Document
function writeCookie(value)
{
  var expire = "";
  expire = new Date((new Date()).getTime() + 24 * 3600000);
  expire = "; expires=" + expire.toGMTString();
  document.cookie = "tourisme_fontsize" + "=" + escape(value) + expire;
}
function readCookie(name)
{
  var cookieValue = "";
  var search = name + "=";
  if(document.cookie.length > 0)
  { 
    offset = document.cookie.indexOf(search);
    if (offset != -1)
    { 
      offset += search.length;
      end = document.cookie.indexOf(";", offset);
      if (end == -1) end = document.cookie.length;
      cookieValue = unescape(document.cookie.substring(offset, end))
    }
  }
  return cookieValue;
}
function MM_effectGrowShrink(targetElement, duration, from, to, toggle, referHeight, growFromCenter)
{
	Spry.Effect.DoGrow(targetElement, {duration: duration, from: from, to: to, toggle: toggle, referHeight: referHeight, growCenter: growFromCenter});
}
function MM_changeProp(objId,x,theProp,theValue) { //v9.0
  var obj = null; with (document){ if (getElementById)
  obj = getElementById(objId); }
  if (obj){
    if (theValue == true || theValue == false)
      eval("obj.style."+theProp+"="+theValue);
    else eval("obj.style."+theProp+"='"+theValue+"'");
  }
}
function envoi_em(add){
                domaine = 'tourismebm.qc.ca';
	str = 'ma';
	str += 'il';
	str += 'to';
	str += ':'+add;
	str += '@';
	str += domaine;
	str += '?subject=Informations';
	window.open(str,'','');
}
