// JavaScript Document
//GENERER TOOLTIPS FR
function genererMenuFR()
{
	//tooltip_forfait
//	document.write ("<div id=\"tooltip_forfait\" style=\"width:450px\" class=\"xstooltip\"><p><strong>Nos forfaits</strong></p><p><img src=\"../img/forfait2007fr.jpg\" width=\"450\" height=\"250\" /><br/></p></div>");

//tooltip_chambre
	document.write ("<div id=\"tooltip_chambre\" style=\"width:300px\" class=\"xstooltip\"><strong>Nos chambres</strong><br/><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"2\"><tr><td valign=\"top\"><div align=\"center\"><img src=\"../img/mini_0004.jpg\" width=\"120\" height=\"90\" /></div></td><td valign=\"top\"><div align=\"center\"><img src=\"../img/mini_0002.jpg\" width=\"120\" height=\"90\" /></div></td></tr><tr><td valign=\"top\"><div align=\"center\">Grand confort </div></td><td valign=\"top\"><div align=\"center\">Loft ex&eacute;cutif </div></td>  </tr><tr><td valign=\"top\"><div align=\"center\"><img src=\"../img/mini_0003.jpg\" width=\"120\" height=\"90\" /></div></td><td valign=\"top\"><div align=\"center\"><img src=\"../img/mini_0001.jpg\" width=\"120\" height=\"90\" /></div></td></tr><tr><td valign=\"top\"><div align=\"center\">Suite prestige </div></td><td valign=\"top\"><div align=\"center\">Suite pr&eacute;sidentielle </div></td></tr></table></div>" );

//tooltip_reunion
	document.write ("<div id=\"tooltip_reunion\" style=\"width:300px\" class=\"xstooltip\"><strong>Salles de r&eacute;union</strong><br/><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"2\"><tr><td valign=\"top\"><div align=\"center\"><img src=\"../img/mini_0006.jpg\" width=\"120\" height=\"90\" /></div></td><td valign=\"top\"><div align=\"center\"><img src=\"../img/mini_0005.jpg\" width=\"120\" height=\"90\" /></div></td></tr><tr><td valign=\"top\"><div align=\"center\">Brooklyn </div></td><td valign=\"top\"><div align=\"center\">Soho</div></td></tr><tr><td colspan=\"2\" valign=\"top\"><div align=\"center\"><img src=\"../img/mini_0007.jpg\" width=\"120\" height=\"90\" /></div>      <div align=\"center\"></div></td> </tr> <tr>   <td colspan=\"2\" valign=\"top\"><div align=\"center\">Centre d'affaire </div>   <div align=\"center\"></div></td> </tr></table></div>");

//tooltip_sante
document.write ("<div id=\"tooltip_sante\" style=\"width:450px\" class=\"xstooltip\"><strong>&Agrave; votre sant&eacute;</strong><br/><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"2\">  <tr>    <td valign=\"top\"><div align=\"center\"><img src=\"../img/mini_0010.jpg\" width=\"120\" height=\"90\" /></div></td> <td valign=\"top\"><div align=\"center\"><img src=\"../img/mini_0011.jpg\" width=\"120\" height=\"90\" /></div></td>	<td><img src=\"../img/mini_0008.jpg\" width=\"120\" height=\"90\" /></td>  </tr>  <tr>    <td valign=\"top\"><div align=\"center\">Petit d&eacute;jeuner continental sant&eacute; style buffet </div></td>    <td><div align=\"center\">Massoth&eacute;rapie</div></td>	<td><div align=\"center\">Piscine int&eacute;rieure </div></td>  </tr>  <tr>    <td valign=\"bottom\"><div align=\"center\"><img src=\"../img/mini_0012.jpg\" width=\"90\" height=\"120\" /></div></td>    <td valign=\"top\"><div align=\"center\"><img src=\"../img/mini_0009.jpg\" width=\"90\" height=\"120\" /></div></td>	<td></td>  </tr>  <tr>    <td valign=\"top\"><div align=\"center\">Service de bar disponible au comptoir </div></td> <td valign=\"top\"><div align=\"center\">Salle de conditionnement physique </div></td>	<td></td>  </tr></table></div>");

//tooltip_news
//	document.write ("<div id=\"tooltip_news\" style=\"width:300px\" class=\"xstooltip\"><h5>Pour l&rsquo;ouverture du Grand H&ocirc;tel TIMES:</h5><div id=\"news\">Inscrivez-vous dès maintenant au Grand Concours **Une nuit de rêve** afin d’être parmi les chanceux qui séjourneront gratuitement au Grand Hôtel Times (voisin des Galeries de la Capitale) à l’ouverture officielle. Vous n’avez qu’à cliquer sur  (Participez au concours) et restez branché pour plus de détails concernant la grande ouverture.</div></div>");

}





// GENERER TOOLTIPS EN
function genererMenuEN()
{
//tooltip_forfait	
//	document.write ("<div id=\"tooltip_forfait\" style=\"width:470px\" class=\"xstooltip\"><p><strong>Our packages</strong></p><p><img src=\"../img/forfait2007en.jpg\" width=\"450\" height=\"250\" /><br/></p></div>");

//tooltip_chambre	
	document.write ("<div id=\"tooltip_chambre\" style=\"width:300px\" class=\"xstooltip\"><strong>Our rooms</strong><br/><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"2\">  <tr>    <td valign=\"top\"><div align=\"center\"><img src=\"../img/mini_0004.jpg\" width=\"120\" height=\"90\" /></div></td> <td valign=\"top\"><div align=\"center\"><img src=\"../img/mini_0002.jpg\" width=\"120\" height=\"90\" /></div></td>  </tr>  <tr>    <td valign=\"top\"><div align=\"center\">Grand Comfort </div></td>    <td valign=\"top\"><div align=\"center\">Excutive Loft </div></td>  </tr>  <tr>    <td valign=\"top\"><div align=\"center\"><img src=\"../img/mini_0003.jpg\" width=\"120\" height=\"90\" /></div></td>    <td valign=\"top\"><div align=\"center\"><img src=\"../img/mini_0001.jpg\" width=\"120\" height=\"90\" /></div></td>  </tr>  <tr> <td valign=\"top\"><div align=\"center\">Prestige Suite </div></td>    <td valign=\"top\"><div align=\"center\">Presidential Suite </div></td>  </tr></table></div>");

//tooltip_reunion	
	document.write ("<div id=\"tooltip_reunion\" style=\"width:300px\" class=\"xstooltip\"><strong>Meeting rooms</strong><br/><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"2\">  <tr>    <td valign=\"top\"><div align=\"center\"><img src=\"../img/mini_0006.jpg\" width=\"120\" height=\"90\" /></div></td> <td valign=\"top\"><div align=\"center\"><img src=\"../img/mini_0005.jpg\" width=\"120\" height=\"90\" /></div></td>  </tr>  <tr>    <td valign=\"top\"><div align=\"center\">Brooklyn </div></td>    <td valign=\"top\"><div align=\"center\">Soho</div></td>  </tr>  <tr>    <td colspan=\"2\" valign=\"top\"><div align=\"center\"><img src=\"../img/mini_0007.jpg\" width=\"120\" height=\"90\" /></div>      <div align=\"center\"></div></td>    </tr>  <tr>    <td colspan=\"2\" valign=\"top\"><div align=\"center\">Business center </div><div align=\"center\"></div></td> </tr></table></div>");

//tooltip_sante	
	document.write ("<div id=\"tooltip_sante\" style=\"width:450px\" class=\"xstooltip\"><strong>Health and Wellness</strong><br/><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"2\">  <tr>    <td valign=\"top\"><div align=\"center\"><img src=\"../img/mini_0010.jpg\" width=\"120\" height=\"90\" /></div></td>  <td valign=\"top\"><div align=\"center\"><img src=\"../img/mini_0011.jpg\" width=\"120\" height=\"90\" /></div></td>	<td><img src=\"../img/mini_0008.jpg\" width=\"120\" height=\"90\" /></td>  </tr>  <tr>    <td valign=\"top\"><div align=\"center\">Buffet style healthy breakfast</div></td>    <td><div align=\"center\">Masssage therapist</div></td>	<td><div align=\"center\">Indoor Pool</div></td>  </tr>  <tr>    <td valign=\"bottom\"><div align=\"center\"><img src=\"../img/mini_0012.jpg\" width=\"90\" height=\"120\" /></div></td>    <td valign=\"top\"><div align=\"center\"><img src=\"../img/mini_0009.jpg\" width=\"90\" height=\"120\" /></div></td>	<td></td>  </tr>  <tr>  <td valign=\"top\"><div align=\"center\">Bar service</div></td>    <td valign=\"top\"><div align=\"center\">Health Gym</div></td>	<td></td>  </tr></table></div>");

//tooltip_news	
//	document.write ("<div id=\"tooltip_news\" style=\"width:300px\" class=\"xstooltip\"><h5>For the opening of the Grand TIMES Hotel  &nbsp;</h5><div id=\"news\">It is now TIME for you to enter our **Grand Sweet Dreams** contest and be among the lucky ones to win a free night stay at the Grand Times Hotel (neighbours of Galeries de la Capitale) on the official opening night.  Simply click on (Enter our contest) and stay tuned for more details regarding our grand opening.</div></div>");
	
}



// JavaScript Document
// Afficher sous-menu
function afficherSousMenuFR() 
{
	return;
//	document.write("<div id=\"compteur\">Bient&ocirc;t le<br><span id=\"chiffre\">Grand H&ocirc;tel TIMES</span><br><a href=\"http://www.timeshotel.ca/grand/fr/concours.htm\">Participez au concours</a></div>");
	//}
}

function afficherSousMenuEN() 
{
  return;
  
//	   document.write( "<div id=\"compteur\">Coming soon<br><span id=\"chiffre\">Grand H&ocirc;tel TIMES</span><br><a href=\"http://www.timeshotel.ca/grand/en/concours.htm\">Enter our contest</a></div>");
	//}
}

function afficherNoelFR() 
{	
  dateNow = new Date();	
  dateDebut = new Date(dateNow.getFullYear(),9,10,0,0,1);
  dateFin = new Date(dateNow.getFullYear(),0,15,0,0,1);
  if ( ( dateNow>dateDebut ) || (dateNow<dateFin) ) 
  {
  document.write ("<li><a class=\"red\" href=\"../fr/promo1.htm\">No&euml;l au times</li>");
  }
}

function afficherNoelEN() 
{	
  dateNow = new Date();	
  dateDebut = new Date(dateNow.getFullYear(),9,10,0,0,1);
  dateFin = new Date(dateNow.getFullYear(),0,15,0,0,1);
  if ( ( dateNow>dateDebut ) || (dateNow<dateFin) ) 
  {
	document.write ("<li><a class=\"red\" href=\"../en/promo1.htm\">Christmas times</li>");
  }
}

function afficherMeteoEN() 
{	
  //document.write ("<div id=\"meteobt\" ><div id=\"meteotop\">&nbsp;</div><iframe marginheight=\"0\" marginwidth=\"0\" name=\"wxButtonFrame\" id=\"wxButtonFrame\" height=\"66\" src=\"http://btn.meteomedia.ca/weatherbuttons/template2.php?placeCode=CAQC0441&category0=Cities&containerWidth=100&	btnNo=7721&backgroundColor=grey&multipleCity=0&citySearch=0&celsiusF=C\" align=\"top\" frameborder=\"0\" width=\"100\" scrolling=\"no\"></iframe></div>"	);
document.write ("<div id=\"meteobt\" ><iframe marginheight=\"0\" marginwidth=\"0\" name=\"wxButtonFrame\" id=\"wxButtonFrame\" height=\"50\" src=\"http://btn.meteomedia.ca/weatherbuttons/template8.php?placeCode=CAQC0441&category0=Cities&containerWidth=150&btnNo=&backgroundColor=blue&multipleCity=&citySearch=0&celsiusF=C\" align=\"top\" frameborder=\"0\" width=\"150\" scrolling=\"no\"></iframe></div>");
}

function afficherMeteoFR() 
{	
 // document.write ("<div id=\"meteobt\" ><div id=\"meteotop\">&nbsp;</div><iframe marginheight=\"0\" marginwidth=\"0\" name=\"wxButtonFrame\" id=\"wxButtonFrame\" height=\"66\" src=\"http://btn.meteomedia.ca/weatherbuttons/template2.php?placeCode=CAQC0441&category0=Cities&containerWidth=100&	btnNo=7721&backgroundColor=grey&multipleCity=0&citySearch=0&celsiusF=C\" align=\"top\" frameborder=\"0\" width=\"100\" scrolling=\"no\"></iframe></div>"	);
document.write ("<div id=\"meteobt\" ><iframe marginheight=\"0\" marginwidth=\"0\" name=\"wxButtonFrame\" id=\"wxButtonFrame\" height=\"50\" src=\"http://btn.meteomedia.ca/weatherbuttons/template8.php?placeCode=CAQC0441&category0=Cities&containerWidth=150&btnNo=&backgroundColor=blue&multipleCity=&citySearch=0&celsiusF=C\" align=\"top\" frameborder=\"0\" width=\"150\" scrolling=\"no\"></iframe></div>");
}

function openRes(hotelID,lang)
{
	window.open('https://www.luxuryres.com/BookingEngines/V12/be.asp?hotelid='+hotelID+'&adults=2&children=0&lang='+lang,'reservation', 'dependent, height=470, width=815, location=yes,menubar=no, resizable=yes, scrollbars=no, status=yes, toolbar=no');
}
