<!--

/*
pickerVariables.js

the cariables to be used in the picker calendar

kept separate from the functions in order to prevent overwriting when moving from arrive to depart choice

loaded into 'parent' page
*/

// for month that calendar will open with
//var exploreYear="";
//var exploreMonth="";
// however better is
 // ie current date - the arrows in the calendar will change this 1 month at a time
 // and allways use full date in passing requests
//viewCalendarDate = new Date();

//from the onclick in calendar
var chosenArriveDate = new Date();
var chosenDepartDate = new Date();

var tempTest = "xzc";
// get current month and year to seed first time opening calendar
// ie will force no dates that have passed
// XXX REMEMBER javascript month count starts at 0 so jan = 0
//var currentDate = new Date();
//var currentMonth = currentDate.getMonth();
//var currentYear  = currentDate.getFullYear()
// set initial condition ie current date
//exploreYear = currentYear;
//exploreMonth = currentMonth;
//alert(currentMonth + " " + currentYear);

// seed calendar and change with arrows
whichDate = new Date();
// for testing if thge calendar is already active
var pickerActive = "no";

// holds the type of pick date arrive/depart
// type page div room
var whichType = "";
var whichPage = ""; 
var whichDiv = "";
var whichRoom = "";


