﻿// Anti-mail non prévu.
// Usage : NoMail( 'fin DNS', 'compte', 'début DNS', 'title du lien' );
function NoMail( s1, s2, s3, title )
{
	document.write( "<a title='" + title + "' href='mailto:" + s2 + "@" + s3 + s1 + "'>" + s2 + "@" + s3 + s1 + "</a>" );
}

// Dessine un flash (correctif pour IE, afin d'éviter le cadre clignotant désagréable)
function draw_flash( name, width, height )
{
	document.write( "<object type=\"application/x-shockwave-flash\" data=\"" + name + "\" style=\"width: " + width + "px; height: " + height + "px\">" );
	document.write( "<param name=\"movie\" value=\"" + name + "\">" );
	document.write( "<param name=\"quality\" value=\"high\">" );
	document.write( "<param name=\"menu\" value=\"false\">" );
	document.write( "</object>" );
}
var ladate = new Date();
var Dmonts	= ladate.getMonth();
var Dday		= ladate.getDate();
var Dyear	= ladate.getFullYear();
var Dyear1	= Dyear + 1
	
function Reserv(){
	var monthR = document.forms[0].elements["month"].value
	var dayR = document.forms[0].elements["day"].value
	var yearR = document.forms[0].elements["year"].value
	var nightR = document.forms[0].elements["night"].value
	var adulteR = document.forms[0].elements["adulte"].value

	window.open("http://hotel.reservit.com/reservit/reserhotel.php?lang=EN&hotelid=4216&fday="+dayR+"&fmonth="+monthR+"&fyear="+yearR+"&nbnights="+nightR+"&nbadt="+adulteR+"");
return false;
			
}