
var DaysList = new Array("Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday");
var MonthsList = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");

var LabelList = {"Hours" : "", "Location" : "Location:", "Style" : "customer-seasons", "ImgCSSURL" : "/COM/EN/US/Images/"};

var Content = new Array();
var Events = new Array();
var Attractions = new Array();
var Parks = new Array();
var Seasons = new Array();
var Default = {"Title" : "No"};

var Disneyland_Park_Content = {"Class" : "park", "Name" : "Disneyland Park" ,"01062009" : "10:00-21:00","02062009" : "10:00-19:00","03062009" : "10:00-19:00","04062009" : "10:00-19:00","05062009" : "10:00-19:00","06062009" : "10:00-22:00","07062009" : "10:00-22:00","08062009" : "10:00-19:00","09062009" : "10:00-19:00","10062009" : "10:00-19:00","11062009" : "10:00-19:00","12062009" : "10:00-19:00","13062009" : "10:00-22:00","14062009" : "10:00-22:00","15062009" : "10:00-19:00","16062009" : "10:00-19:00","17062009" : "10:00-19:00","18062009" : "10:00-19:00","19062009" : "10:00-19:00","20062009" : "10:00-22:00","21062009" : "10:00-22:00","22062009" : "10:00-20:00","23062009" : "10:00-20:00","24062009" : "10:00-20:00","25062009" : "10:00-20:00","26062009" : "10:00-20:00","27062009" : "10:00-22:00","28062009" : "10:00-22:00","29062009" : "10:00-20:00","30062009" : "10:00-20:00","01072009" : "10:00-20:00","02072009" : "10:00-20:00","03072009" : "10:00-20:00","04072009" : "10:00-23:00","05072009" : "10:00-23:00","06072009" : "10:00-23:00","07072009" : "10:00-23:00","08072009" : "10:00-23:00","09072009" : "10:00-23:00","10072009" : "10:00-23:00","11072009" : "10:00-23:00","12072009" : "10:00-23:00","13072009" : "10:00-23:00","14072009" : "10:00-23:00","15072009" : "10:00-23:00","16072009" : "10:00-23:00","17072009" : "10:00-23:00","18072009" : "10:00-23:00","19072009" : "10:00-23:00","20072009" : "10:00-23:00","21072009" : "10:00-23:00","22072009" : "10:00-23:00","23072009" : "10:00-23:00","24072009" : "10:00-23:00","25072009" : "10:00-23:00","26072009" : "10:00-23:00","27072009" : "10:00-23:00","28072009" : "10:00-23:00","29072009" : "10:00-23:00","30072009" : "10:00-23:00","31072009" : "10:00-23:00","01082009" : "10:00-23:00","02082009" : "10:00-23:00","03082009" : "10:00-23:00","04082009" : "10:00-23:00","05082009" : "10:00-23:00","06082009" : "10:00-23:00","07082009" : "10:00-23:00","08082009" : "10:00-23:00","09082009" : "10:00-23:00","10082009" : "10:00-23:00","11082009" : "10:00-23:00","12082009" : "10:00-23:00","13082009" : "10:00-23:00","14082009" : "10:00-23:00","15082009" : "10:00-23:00","16082009" : "10:00-23:00","17082009" : "10:00-23:00","18082009" : "10:00-23:00","19082009" : "10:00-23:00","20082009" : "10:00-23:00","21082009" : "10:00-23:00","22082009" : "10:00-23:00","23082009" : "10:00-23:00","24082009" : "10:00-22:00","25082009" : "10:00-22:00","26082009" : "10:00-22:00","27082009" : "10:00-22:00","28082009" : "10:00-22:00","29082009" : "10:00-22:00","30082009" : "10:00-22:00","31082009" : "10:00-19:00","01092009" : "10:00-19:00","02092009" : "10:00-19:00","03092009" : "10:00-19:00","04092009" : "10:00-19:00","05092009" : "10:00-22:00","06092009" : "10:00-21:00","07092009" : "10:00-19:00","08092009" : "10:00-19:00","09092009" : "10:00-19:00","10092009" : "10:00-19:00","11092009" : "10:00-19:00","12092009" : "10:00-22:00","13092009" : "10:00-21:00","14092009" : "10:00-19:00","15092009" : "10:00-19:00","16092009" : "10:00-19:00","17092009" : "10:00-19:00","18092009" : "10:00-19:00","19092009" : "10:00-22:00","20092009" : "10:00-21:00","21092009" : "10:00-19:00","22092009" : "10:00-19:00","23092009" : "10:00-19:00","24092009" : "10:00-19:00","25092009" : "10:00-19:00","26092009" : "10:00-22:00","27092009" : "10:00-21:00","28092009" : "10:00-19:00","29092009" : "10:00-19:00","30092009" : "10:00-19:00","01102009" : "10:00-19:00","02102009" : "10:00-19:00","03102009" : "10:00-22:00","04102009" : "10:00-21:00","05102009" : "10:00-19:00","06102009" : "10:00-19:00","07102009" : "10:00-19:00","08102009" : "10:00-19:00","09102009" : "10:00-19:00","10102009" : "10:00-22:00","11102009" : "10:00-21:00","12102009" : "10:00-19:00","13102009" : "10:00-19:00","14102009" : "10:00-19:00","15102009" : "10:00-19:00","16102009" : "10:00-19:00","17102009" : "10:00-22:00","18102009" : "10:00-21:00","19102009" : "10:00-19:00","20102009" : "10:00-19:00","21102009" : "10:00-19:00","22102009" : "10:00-19:00","23102009" : "10:00-19:00","24102009" : "10:00-22:00","25102009" : "10:00-22:00","26102009" : "10:00-22:00","27102009" : "10:00-19:00","28102009" : "10:00-22:00","29102009" : "10:00-22:00","30102009" : "10:00-22:00","31102009" : "10:00-20:00","01112009" : "10:00-21:00","02112009" : "10:00-19:00","03112009" : "10:00-19:00","04112009" : "10:00-19:00","05112009" : "10:00-19:00","06112009" : "10:00-19:00","07112009" : "10:00-21:00","08112009" : "10:00-21:00","09112009" : "10:00-19:00","10112009" : "10:00-19:00","11112009" : "10:00-20:00","12112009" : "10:00-19:00","13112009" : "10:00-19:00","14112009" : "10:00-22:00","15112009" : "10:00-21:00","16112009" : "10:00-19:00","17112009" : "10:00-19:00","18112009" : "10:00-19:00","19112009" : "10:00-19:00","20112009" : "10:00-19:00","21112009" : "10:00-22:00","22112009" : "10:00-22:00","23112009" : "10:00-19:00","24112009" : "10:00-19:00","25112009" : "10:00-19:00","26112009" : "10:00-19:00","27112009" : "10:00-19:00","28112009" : "09:00-22:00","29112009" : "09:00-22:00","30112009" : "10:00-19:00","01122009" : "10:00-19:00","02122009" : "10:00-19:00","03122009" : "10:00-19:00","04122009" : "10:00-19:00","05122009" : "09:00-22:00","06122009" : "09:00-22:00","07122009" : "10:00-19:00","08122009" : "10:00-19:00","09122009" : "10:00-19:00","10122009" : "10:00-19:00","11122009" : "10:00-19:00","12122009" : "09:00-22:00","13122009" : "09:00-22:00","14122009" : "10:00-19:00","15122009" : "10:00-19:00","16122009" : "10:00-19:00","17122009" : "10:00-19:00","18122009" : "10:00-19:00","19122009" : "09:30-22:00","20122009" : "09:30-22:00","21122009" : "09:30-22:00","22122009" : "09:30-22:00","23122009" : "09:30-22:00","24122009" : "09:30-22:00","25122009" : "09:30-22:00","26122009" : "09:30-22:00","27122009" : "09:30-22:00","28122009" : "09:30-22:00","29122009" : "09:30-22:00","30122009" : "09:30-22:00","31122009" : "09:30-01:00","01012010" : "10:00-22:00","02012010" : "10:00-22:00","03012010" : "10:00-21:00","04012010" : "10:00-19:00","05012010" : "10:00-19:00","06012010" : "10:00-19:00","07012010" : "10:00-18:00","08012010" : "10:00-18:00","09012010" : "10:00-20:00","10012010" : "10:00-20:00","11012010" : "10:00-18:00","12012010" : "10:00-18:00","13012010" : "10:00-18:00","14012010" : "10:00-18:00","15012010" : "10:00-18:00","16012010" : "10:00-20:00","17012010" : "10:00-20:00","18012010" : "10:00-18:00","19012010" : "10:00-18:00","20012010" : "10:00-18:00","21012010" : "10:00-18:00","22012010" : "10:00-18:00","23012010" : "10:00-20:00","24012010" : "10:00-20:00","25012010" : "10:00-18:00","26012010" : "10:00-18:00","27012010" : "10:00-18:00","28012010" : "10:00-18:00","29012010" : "10:00-18:00","30012010" : "10:00-20:00","31012010" : "10:00-20:00","01022010" : "10:00-18:00","02022010" : "10:00-18:00","03022010" : "10:00-18:00","04022010" : "10:00-18:00","05022010" : "10:00-18:00","06022010" : "10:00-21:00","07022010" : "10:00-20:00","08022010" : "10:00-19:00","09022010" : "10:00-19:00","10022010" : "10:00-19:00","11022010" : "10:00-19:00","12022010" : "10:00-19:00","13022010" : "10:00-22:00","14022010" : "10:00-21:00","15022010" : "10:00-20:00","16022010" : "10:00-20:00","17022010" : "10:00-20:00","18022010" : "10:00-20:00","19022010" : "10:00-20:00","20022010" : "10:00-22:00","21022010" : "10:00-21:00","22022010" : "10:00-20:00","23022010" : "10:00-20:00","24022010" : "10:00-20:00","25022010" : "10:00-20:00","26022010" : "10:00-20:00","27022010" : "10:00-22:00","28022010" : "10:00-21:00","01032010" : "10:00-19:00","02032010" : "10:00-19:00","03032010" : "10:00-19:00","04032010" : "10:00-19:00","05032010" : "10:00-19:00","06032010" : "10:00-22:00","07032010" : "10:00-21:00","08032010" : "10:00-19:00","09032010" : "10:00-19:00","10032010" : "10:00-19:00","11032010" : "10:00-19:00","12032010" : "10:00-19:00","13032010" : "10:00-22:00","14032010" : "10:00-22:00","15032010" : "10:00-19:00","16032010" : "10:00-19:00","17032010" : "10:00-20:00","18032010" : "10:00-19:00","19032010" : "10:00-19:00","20032010" : "9:30-22:00","21032010" : "9:30-22:00","22032010" : "10:00-19:00","23032010" : "10:00-19:00","24032010" : "10:00-19:00","25032010" : "10:00-19:00","26032010" : "10:00-19:00","27032010" : "9:30-22:00","28032010" : "9:30-22:00","29032010" : "10:00-20:00","30032010" : "10:00-20:00","31032010" : "10:00-20:00","01042010" : "10:00-20:00","02042010" : "10:00-20:00","03042010" : "10:00-22:00","04042010" : "10:00-22:00","05042010" : "10:00-21:00","06042010" : "10:00-20:00","07042010" : "10:00-20:00","08042010" : "10:00-20:00","09042010" : "10:00-20:00","10042010" : "10:00-22:00","11042010" : "10:00-21:00","12042010" : "10:00-20:00","13042010" : "10:00-20:00","14042010" : "10:00-20:00","15042010" : "10:00-20:00","16042010" : "10:00-20:00","17042010" : "10:00-22:00","18042010" : "10:00-21:00","19042010" : "10:00-20:00","20042010" : "10:00-20:00","21042010" : "10:00-20:00","22042010" : "10:00-20:00","23042010" : "10:00-20:00","24042010" : "10:00-22:00","25042010" : "10:00-21:00","26042010" : "10:00-20:00","27042010" : "10:00-20:00","28042010" : "10:00-20:00","29042010" : "10:00-20:00","30042010" : "10:00-20:00","01052010" : "10:00-22:00","02052010" : "10:00-21:00","03052010" : "10:00-19:00","04052010" : "10:00-19:00","05052010" : "10:00-19:00","06052010" : "10:00-19:00","07052010" : "10:00-19:00","08052010" : "10:00-22:00","09052010" : "10:00-21:00","10052010" : "10:00-19:00","11052010" : "10:00-19:00","12052010" : "10:00-19:00","13052010" : "10:00-22:00","14052010" : "10:00-22:00","15052010" : "10:00-22:00","16052010" : "10:00-21:00"};
Content.push(Disneyland_Park_Content);
var Walt_Disney_Studios_Content = {"Class" : "studios", "Name" : "Walt Disney Studios" ,"01062009" : "10:00-19:00","02062009" : "10:00-19:00","03062009" : "10:00-19:00","04062009" : "10:00-19:00","05062009" : "10:00-19:00","06062009" : "10:00-19:00","07062009" : "10:00-19:00","08062009" : "10:00-19:00","09062009" : "10:00-19:00","10062009" : "10:00-19:00","11062009" : "10:00-19:00","12062009" : "10:00-19:00","13062009" : "10:00-19:00","14062009" : "10:00-19:00","15062009" : "10:00-19:00","16062009" : "10:00-19:00","17062009" : "10:00-19:00","18062009" : "10:00-19:00","19062009" : "10:00-19:00","20062009" : "10:00-19:00","21062009" : "10:00-19:00","22062009" : "10:00-19:00","23062009" : "10:00-19:00","24062009" : "10:00-19:00","25062009" : "10:00-19:00","26062009" : "10:00-19:00","27062009" : "10:00-19:00","28062009" : "10:00-19:00","29062009" : "10:00-19:00","30062009" : "10:00-19:00","01072009" : "10:00-19:00","02072009" : "10:00-19:00","03072009" : "10:00-19:00","04072009" : "10:00-19:00","05072009" : "10:00-19:00","06072009" : "10:00-19:00","07072009" : "10:00-19:00","08072009" : "10:00-19:00","09072009" : "10:00-19:00","10072009" : "10:00-19:00","11072009" : "10:00-19:00","12072009" : "10:00-19:00","13072009" : "10:00-19:00","14072009" : "10:00-19:00","15072009" : "10:00-19:00","16072009" : "10:00-19:00","17072009" : "10:00-19:00","18072009" : "10:00-19:00","19072009" : "10:00-19:00","20072009" : "10:00-19:00","21072009" : "10:00-19:00","22072009" : "10:00-19:00","23072009" : "10:00-19:00","24072009" : "10:00-19:00","25072009" : "10:00-19:00","26072009" : "10:00-19:00","27072009" : "10:00-19:00","28072009" : "10:00-19:00","29072009" : "10:00-19:00","30072009" : "10:00-19:00","31072009" : "10:00-19:00","01082009" : "10:00-19:00","02082009" : "10:00-19:00","03082009" : "10:00-19:00","04082009" : "10:00-19:00","05082009" : "10:00-19:00","06082009" : "10:00-19:00","07082009" : "10:00-19:00","08082009" : "10:00-19:00","09082009" : "10:00-19:00","10082009" : "10:00-19:00","11082009" : "10:00-19:00","12082009" : "10:00-19:00","13082009" : "10:00-19:00","14082009" : "10:00-19:00","15082009" : "10:00-19:00","16082009" : "10:00-19:00","17082009" : "10:00-19:00","18082009" : "10:00-19:00","19082009" : "10:00-19:00","20082009" : "10:00-19:00","21082009" : "10:00-19:00","22082009" : "10:00-19:00","23082009" : "10:00-19:00","24082009" : "10:00-19:00","25082009" : "10:00-19:00","26082009" : "10:00-19:00","27082009" : "10:00-19:00","28082009" : "10:00-19:00","29082009" : "10:00-19:00","30082009" : "10:00-19:00","31082009" : "10:00-19:00","01092009" : "10:00-19:00","02092009" : "10:00-19:00","03092009" : "10:00-19:00","04092009" : "10:00-19:00","05092009" : "10:00-19:00","06092009" : "10:00-19:00","07092009" : "10:00-18:00","08092009" : "10:00-18:00","09092009" : "10:00-18:00","10092009" : "10:00-18:00","11092009" : "10:00-18:00","12092009" : "10:00-19:00","13092009" : "10:00-19:00","14092009" : "10:00-18:00","15092009" : "10:00-18:00","16092009" : "10:00-18:00","17092009" : "10:00-18:00","18092009" : "10:00-18:00","19092009" : "10:00-19:00","20092009" : "10:00-19:00","21092009" : "10:00-18:00","22092009" : "10:00-18:00","23092009" : "10:00-18:00","24092009" : "10:00-18:00","25092009" : "10:00-18:00","26092009" : "10:00-19:00","27092009" : "10:00-19:00","28092009" : "10:00-18:00","29092009" : "10:00-18:00","30092009" : "10:00-18:00","01102009" : "10:00-18:00","02102009" : "10:00-18:00","03102009" : "10:00-19:00","04102009" : "10:00-19:00","05102009" : "10:00-18:00","06102009" : "10:00-18:00","07102009" : "10:00-18:00","08102009" : "10:00-18:00","09102009" : "10:00-18:00","10102009" : "10:00-19:00","11102009" : "10:00-19:00","12102009" : "10:00-18:00","13102009" : "10:00-18:00","14102009" : "10:00-18:00","15102009" : "10:00-18:00","16102009" : "10:00-18:00","17102009" : "10:00-19:00","18102009" : "10:00-19:00","19102009" : "10:00-18:00","20102009" : "10:00-18:00","21102009" : "10:00-18:00","22102009" : "10:00-18:00","23102009" : "10:00-18:00","24102009" : "10:00-19:00","25102009" : "10:00-19:00","26102009" : "10:00-19:00","27102009" : "10:00-19:00","28102009" : "10:00-19:00","29102009" : "10:00-19:00","30102009" : "10:00-19:00","31102009" : "10:00-19:00","01112009" : "10:00-19:00","02112009" : "10:00-19:00","03112009" : "10:00-19:00","04112009" : "10:00-18:00","05112009" : "10:00-18:00","06112009" : "10:00-18:00","07112009" : "10:00-19:00","08112009" : "10:00-19:00","09112009" : "10:00-18:00","10112009" : "10:00-18:00","11112009" : "10:00-18:00","12112009" : "10:00-18:00","13112009" : "10:00-18:00","14112009" : "10:00-19:00","15112009" : "10:00-19:00","16112009" : "10:00-18:00","17112009" : "10:00-18:00","18112009" : "10:00-18:00","19112009" : "10:00-18:00","20112009" : "10:00-18:00","21112009" : "10:00-19:00","22112009" : "10:00-19:00","23112009" : "10:00-18:00","24112009" : "10:00-18:00","25112009" : "10:00-18:00","26112009" : "10:00-18:00","27112009" : "10:00-18:00","28112009" : "09:00-19:00","29112009" : "09:00-19:00","30112009" : "10:00-18:00","01122009" : "10:00-18:00","02122009" : "10:00-18:00","03122009" : "10:00-18:00","04122009" : "10:00-18:00","05122009" : "09:00-19:00","06122009" : "09:00-19:00","07122009" : "10:00-18:00","08122009" : "10:00-18:00","09122009" : "10:00-18:00","10122009" : "10:00-18:00","11122009" : "10:00-18:00","12122009" : "09:00-19:00","13122009" : "09:00-19:00","14122009" : "10:00-18:00","15122009" : "10:00-18:00","16122009" : "10:00-18:00","17122009" : "10:00-18:00","18122009" : "10:00-18:00","19122009" : "09:00-19:00","20122009" : "09:00-19:00","21122009" : "10:00-19:00","22122009" : "10:00-19:00","23122009" : "10:00-19:00","24122009" : "10:00-19:00","25122009" : "10:00-19:00","26122009" : "10:00-19:00","27122009" : "10:00-19:00","28122009" : "10:00-19:00","29122009" : "10:00-19:00","30122009" : "10:00-19:00","31122009" : "10:00-01:00","01012010" : "10:00-19:00","02012010" : "10:00-19:00","03012010" : "10:00-19:00","04012010" : "10:00-18:00","05012010" : "10:00-18:00","06012010" : "10:00-18:00","07012010" : "10:00-18:00","08012010" : "10:00-18:00","09012010" : "10:00-19:00","10012010" : "10:00-19:00","11012010" : "10:00-18:00","12012010" : "10:00-18:00","13012010" : "10:00-18:00","14012010" : "10:00-18:00","15012010" : "10:00-18:00","16012010" : "10:00-19:00","17012010" : "10:00-19:00","18012010" : "10:00-18:00","19012010" : "10:00-18:00","20012010" : "10:00-18:00","21012010" : "10:00-18:00","22012010" : "10:00-18:00","23012010" : "10:00-19:00","24012010" : "10:00-19:00","25012010" : "10:00-18:00","26012010" : "10:00-18:00","27012010" : "10:00-18:00","28012010" : "10:00-18:00","29012010" : "10:00-18:00","30012010" : "10:00-19:00","31012010" : "10:00-19:00","01022010" : "10:00-18:00","02022010" : "10:00-18:00","03022010" : "10:00-18:00","04022010" : "10:00-18:00","05022010" : "10:00-18:00","06022010" : "10:00-19:00","07022010" : "10:00-19:00","08022010" : "10:00-18:00","09022010" : "10:00-18:00","10022010" : "10:00-18:00","11022010" : "10:00-18:00","12022010" : "10:00-18:00","13022010" : "10:00-19:00","14022010" : "10:00-19:00","15022010" : "10:00-19:00","16022010" : "10:00-19:00","17022010" : "10:00-19:00","18022010" : "10:00-19:00","19022010" : "10:00-19:00","20022010" : "10:00-19:00","21022010" : "10:00-19:00","22022010" : "10:00-19:00","23022010" : "10:00-19:00","24022010" : "10:00-19:00","25022010" : "10:00-19:00","26022010" : "10:00-19:00","27022010" : "10:00-19:00","28022010" : "10:00-19:00","01032010" : "10:00-18:00","02032010" : "10:00-18:00","03032010" : "10:00-18:00","04032010" : "10:00-18:00","05032010" : "10:00-18:00","06032010" : "10:00-19:00","07032010" : "10:00-19:00","08032010" : "10:00-18:00","09032010" : "10:00-18:00","10032010" : "10:00-18:00","11032010" : "10:00-18:00","12032010" : "10:00-18:00","13032010" : "10:00-19:00","14032010" : "10:00-19:00","15032010" : "10:00-18:00","16032010" : "10:00-18:00","17032010" : "10:00-18:00","18032010" : "10:00-18:00","19032010" : "10:00-18:00","20032010" : "10:00-19:00","21032010" : "10:00-19:00","22032010" : "10:00-18:00","23032010" : "10:00-18:00","24032010" : "10:00-18:00","25032010" : "10:00-18:00","26032010" : "10:00-18:00","27032010" : "10:00-19:00","28032010" : "10:00-19:00","29032010" : "10:00-19:00","30032010" : "10:00-19:00","31032010" : "10:00-19:00","01042010" : "10:00-19:00","02042010" : "10:00-19:00","03042010" : "10:00-19:00","04042010" : "10:00-19:00","05042010" : "10:00-19:00","06042010" : "10:00-19:00","07042010" : "10:00-19:00","08042010" : "10:00-19:00","09042010" : "10:00-19:00","10042010" : "10:00-19:00","11042010" : "10:00-19:00","12042010" : "10:00-19:00","13042010" : "10:00-19:00","14042010" : "10:00-19:00","15042010" : "10:00-19:00","16042010" : "10:00-19:00","17042010" : "10:00-19:00","18042010" : "10:00-19:00","19042010" : "10:00-19:00","20042010" : "10:00-19:00","21042010" : "10:00-19:00","22042010" : "10:00-19:00","23042010" : "10:00-19:00","24042010" : "10:00-19:00","25042010" : "10:00-19:00","26042010" : "10:00-19:00","27042010" : "10:00-19:00","28042010" : "10:00-19:00","29042010" : "10:00-19:00","30042010" : "10:00-19:00","01052010" : "10:00-19:00","02052010" : "10:00-19:00","03052010" : "10:00-18:00","04052010" : "10:00-18:00","05052010" : "10:00-18:00","06052010" : "10:00-18:00","07052010" : "10:00-18:00","08052010" : "10:00-19:00","09052010" : "10:00-19:00","10052010" : "10:00-18:00","11052010" : "10:00-18:00","12052010" : "10:00-18:00","13052010" : "10:00-19:00","14052010" : "10:00-19:00","15052010" : "10:00-19:00","16052010" : "10:00-19:00"};
Content.push(Walt_Disney_Studios_Content);
Parks.push("Component Translation 'Disneyland Park' not found.");
Parks.push("Component Translation 'Walt Disney Studios' not found.");
Parks.push("");
var Disneys_Halloween_Party_Content = {"Class" : "party", "Name" : "Disney's Halloween Party" };
var Disneys_Halloween_Party_Events = {"Title" : "Disneys Halloween Party","Title_name" : "Disney&#39;s Halloween Party","Link" : "http://us.news.disneylandparis.com/events/disneys-halloween-party.xhtml","Image" : "","Park" : "","Location" : "","Hours" : Disneys_Halloween_Party_Content}
Events.push(Disneys_Halloween_Party_Events);
var St_Patricks_Day_Content = {"Class" : "day", "Name" : "St Patrick's Day" };
var The_Wonderful_World_of_Tinker_Bell_Dinner_Show_Content = {"Class" : "show", "Name" : "The Wonderful World of Tinker Bell Dinner Show" };
var Magical_World_of_Tinker_Bell_Dinner_Show_Events = {"Title" : "Magical World of Tinker Bell Dinner Show","Title_name" : "the wonderful world of Tinker Bell ","Link" : "http://us.news.disneylandparis.com/events/magical-world-of-tinker-bell-dinner-show.xhtml","Image" : "","Park" : "","Location" : "","Hours" : The_Wonderful_World_of_Tinker_Bell_Dinner_Show_Content}
Events.push(Magical_World_of_Tinker_Bell_Dinner_Show_Events);
var Welsh_Festival_Content = {"Class" : "festival", "Name" : "Welsh Festival" };

var Disneys_Halloween_Party_Content = {"Class" : "party", "Name" : "Disney's Halloween Party" };
var Disneys_Halloween_Party_Events = {"Title" : "Disneys Halloween Party","Title_name" : "Disney&#39;s Halloween Party","Link" : "http://us.news.disneylandparis.com/events/disneys-halloween-party.xhtml","Image" : "","Park" : "","Location" : "","Hours" : Disneys_Halloween_Party_Content}
Events.push(Disneys_Halloween_Party_Events);
var St_Patricks_Day_Content = {"Class" : "day", "Name" : "St Patrick's Day" };
var The_Wonderful_World_of_Tinker_Bell_Dinner_Show_Content = {"Class" : "show", "Name" : "The Wonderful World of Tinker Bell Dinner Show" };
var Magical_World_of_Tinker_Bell_Dinner_Show_Events = {"Title" : "Magical World of Tinker Bell Dinner Show","Title_name" : "the wonderful world of Tinker Bell ","Link" : "http://us.news.disneylandparis.com/events/magical-world-of-tinker-bell-dinner-show.xhtml","Image" : "","Park" : "","Location" : "","Hours" : The_Wonderful_World_of_Tinker_Bell_Dinner_Show_Content}
Events.push(Magical_World_of_Tinker_Bell_Dinner_Show_Events);
var Welsh_Festival_Content = {"Class" : "festival", "Name" : "Welsh Festival" };

var Disney_Princesses_Content = {"Class" : "princesses", "Name" : "Disney Princesses" };
var Disney_Villains_Content = {"Class" : "villains", "Name" : "Disney Villains" };
var Disney_Witches_Content = {"Class" : "witches", "Name" : "Disney Witches" };
var Mickey_Mouse_Content = {"Class" : "mouse", "Name" : "Mickey Mouse" };
var Minnie_Mouse_Content = {"Class" : "mouse", "Name" : "Minnie Mouse" };
var Pumpkin_Men_Content = {"Class" : "men", "Name" : "Pumpkin Men" };
var Winnie_the_Pooh_Content = {"Class" : "pooh", "Name" : "Winnie the Pooh" };

var Disney_Princesses_Content = {"Class" : "princesses", "Name" : "Disney Princesses" };
var Disney_Villains_Content = {"Class" : "villains", "Name" : "Disney Villains" };
var Disney_Witches_Content = {"Class" : "witches", "Name" : "Disney Witches" };
var Mickey_Mouse_Content = {"Class" : "mouse", "Name" : "Mickey Mouse" };
var Minnie_Mouse_Content = {"Class" : "mouse", "Name" : "Minnie Mouse" };
var Pumpkin_Men_Content = {"Class" : "men", "Name" : "Pumpkin Men" };
var Winnie_the_Pooh_Content = {"Class" : "pooh", "Name" : "Winnie the Pooh" };

var Alices_Curious_Labyrinth_Content = {"Class" : "none","082009" : "Closed the 31<sup>st</sup> August.","092009" : "Closed from 1<sup>st</sup> September to 11<sup>th</sup> September."}
var Alice_Curious_Labyrinth_Attractions = {"Title" : "Alice Curious Labyrinth","Title_name" : "Alice&#39;s Curious Labyrinth","Link" : "http://us.parks.disneylandparis.com/disneyland-park/lands/fantasyland/attractions/alices-curious-labyrinth.xhtml","Park" : "Disneyland park","Location" : "Fantasyland","Hours" : Alices_Curious_Labyrinth_Content}
Attractions.push(Alice_Curious_Labyrinth_Attractions);
var Autopia_Content = {"Class" : "none","092008" : "Closed from 8<sup>th</sup> September to 12<sup>th</sup> September."}
var Autopia_Attractions = {"Title" : "Autopia","Title_name" : "Autopia","Link" : "http://us.parks.disneylandparis.com/disneyland-park/lands/discoveryland/attractions/autopia.xhtml","Park" : "Disneyland park","Location" : "Discoveryland","Hours" : Autopia_Content}
Attractions.push(Autopia_Attractions);
var Big_Thunder_Mountain_Content = {"Class" : "none","042010" : "Closed from 26<sup>th</sup> April to 30<sup>th</sup> April.","052010" : "Closed from 1<sup>st</sup> May to 7<sup>th</sup> May."}
var Big_Thunder_Mountain_Attractions = {"Title" : "Big Thunder Mountain","Title_name" : "Big Thunder Mountain","Link" : "http://us.parks.disneylandparis.com/disneyland-park/lands/frontierland/attractions/big-thunder-mountain.xhtml","Park" : "Disneyland park","Location" : "Frontierland","Hours" : Big_Thunder_Mountain_Content}
Attractions.push(Big_Thunder_Mountain_Attractions);
var Blanche_Neige_et_les_Sept_Nains_Content = {"Class" : "none"}
var Buzz_Lightyear_Laser_Blast_Content = {"Class" : "none","122009" : "Closed from 14<sup>th</sup> December to 18<sup>th</sup> December."}
var Buzz_Lightyear_Laser_Blast_Attractions = {"Title" : "Buzz Lightyear Laser Blast","Title_name" : "Buzz Lightyear Laser Blast","Link" : "http://us.parks.disneylandparis.com/disneyland-park/lands/discoveryland/attractions/buzz-lightyear-laser-blast.xhtml","Park" : "Disneyland park","Location" : "Discoveryland","Hours" : Buzz_Lightyear_Laser_Blast_Content}
Attractions.push(Buzz_Lightyear_Laser_Blast_Attractions);
var Casey_Jr_Le_Petit_Train_du_Cirque_Content = {"Class" : "none","022010" : "Closed all the month.","032010" : "Closed all the month.","042010" : "Closed all the month.","052010" : "Closed all the month."}
var Casey_Junior_Attractions = {"Title" : "Casey Junior","Title_name" : "Casey Jr&#46; &#45; le Petit Train du Cirque","Link" : "http://us.parks.disneylandparis.com/disneyland-park/lands/fantasyland/attractions/casey-jr-the-little-circus-train.xhtml","Park" : "Disneyland park","Location" : "Fantasyland","Hours" : Casey_Jr_Le_Petit_Train_du_Cirque_Content}
Attractions.push(Casey_Junior_Attractions);
var Disneyland_Railroad_Content = {"Class" : "none","112009" : "Closed from 16<sup>th</sup> November to 26<sup>th</sup> November."}
var Disneyland_Railroad__Main_Street_Station_Attractions = {"Title" : "Disneyland Railroad &#45; Main Street Station","Title_name" : "Disneyland Railroad &#45; Main Street Station","Link" : "http://us.parks.disneylandparis.com/disneyland-park/lands/main-street-usa/attractions/disneyland-railroad.xhtml","Park" : "Disneyland park","Location" : "Main Street USA","Hours" : Disneyland_Railroad_Content}
Attractions.push(Disneyland_Railroad__Main_Street_Station_Attractions);
var Dumbo_the_Flying_Elephant_Content = {"Class" : "none","052010" : "Closed from 10<sup>th</sup> May to 31<sup>st</sup> May."}
var Dumbo_the_Flying_Elephant_Attractions = {"Title" : "Dumbo the Flying Elephant","Title_name" : "Dumbo the Flying Elephant","Link" : "http://us.parks.disneylandparis.com/disneyland-park/lands/fantasyland/attractions/dumbo-the-flying-elephant.xhtml","Park" : "Disneyland park","Location" : "Fantasyland","Hours" : Dumbo_the_Flying_Elephant_Content}
Attractions.push(Dumbo_the_Flying_Elephant_Attractions);
var Honey_I_Shrunk_the_Audience_Content = {"Class" : "none","032009" : "Closed from 16<sup>th</sup> March to 20<sup>th</sup> March."}
var Honey_I_Shrunk_the_Audience_Attractions = {"Title" : "Honey I Shrunk the Audience","Title_name" : "Honey&#44; I Shrunk the Audience","Link" : "http://us.parks.disneylandparis.com/disneyland-park/lands/discoveryland/attractions/honey-i-shrunk-the-audience.xhtml","Park" : "Disneyland park","Location" : "Discoveryland","Hours" : Honey_I_Shrunk_the_Audience_Content}
Attractions.push(Honey_I_Shrunk_the_Audience_Attractions);
var Indiana_Jones_and_the_Temple_of_Peril_Content = {"Class" : "none","082009" : "Closed the 31<sup>st</sup> August.","092009" : "Closed from 1<sup>st</sup> September to 11<sup>th</sup> September."}
var Indiana_Jones_Attractions = {"Title" : "Indiana Jones","Title_name" : "Indiana Jones&#153; and the Temple of Peril","Link" : "http://us.parks.disneylandparis.com/disneyland-park/lands/adventureland/attractions/indiana-jones-and-the-temple-of-peril.xhtml","Park" : "Disneyland park","Location" : "Adventureland","Hours" : Indiana_Jones_and_the_Temple_of_Peril_Content}
Attractions.push(Indiana_Jones_Attractions);
var its_a_small_world_Content = {"Class" : "none","112009" : "Closed from 9<sup>th</sup> November to 20<sup>th</sup> November."}
var its_a_small_world_Attractions = {"Title" : "it&#39;s a small world","Title_name" : "&#39;it&#39;s a small world&#39;","Link" : "http://us.parks.disneylandparis.com/disneyland-park/lands/fantasyland/attractions/it-s-a-small-world.xhtml","Park" : "Disneyland park","Location" : "Fantasyland","Hours" : its_a_small_world_Content}
Attractions.push(its_a_small_world_Attractions);
var La_Cabane_des_Robinsons_Content = {"Class" : "none","062009" : "Closed from 17<sup>th</sup> June to 30<sup>th</sup> June.","072009" : "Closed from 1<sup>st</sup> July to 3<sup>rd</sup> July."}
var La_Cabane_des_Robinson_Attractions = {"Title" : "La Cabane des Robinson","Title_name" : "La Cabane des Robinson","Link" : "http://us.parks.disneylandparis.com/disneyland-park/lands/adventureland/attractions/la-cabane-des-robinson.xhtml","Park" : "Disneyland park","Location" : "Adventureland","Hours" : La_Cabane_des_Robinsons_Content}
Attractions.push(La_Cabane_des_Robinson_Attractions);
var La_Taniere_du_Dragon_Content = {"Class" : "none","122009" : "Closed from 7<sup>th</sup> December to 18<sup>th</sup> December."}
var La_Taniere_du_Dragon_Attractions = {"Title" : "La Taniere du Dragon","Title_name" : "La Tani&#232;re du Dragon","Link" : "http://us.parks.disneylandparis.com/disneyland-park/lands/fantasyland/attractions/la-taniere-du-dragon.xhtml","Park" : "Disneyland park","Location" : "Fantasyland","Hours" : La_Taniere_du_Dragon_Content}
Attractions.push(La_Taniere_du_Dragon_Attractions);
var Le_Carrousel_de_Lancelot_Content = {"Class" : "none"}
var Le_Mystere_du_Nautilus_Content = {"Class" : "none","032010" : "Closed from 22<sup>nd</sup> March to 31<sup>st</sup> March.","042010" : "Closed from 1<sup>st</sup> April to 2<sup>nd</sup> April."}
var Les_Mysteres_du_Nautilus_Attractions = {"Title" : "Les Mysteres du Nautilus","Title_name" : "Les Myst&#232;res du Nautilus","Link" : "http://us.parks.disneylandparis.com/disneyland-park/lands/discoveryland/attractions/les-mysteres-du-nautilus.xhtml","Park" : "Disneyland park","Location" : "Discoveryland","Hours" : Le_Mystere_du_Nautilus_Content}
Attractions.push(Les_Mysteres_du_Nautilus_Attractions);
var Le_Passage_Enchante_dAladdin_Content = {"Class" : "none","032009" : "Closed from 23<sup>rd</sup> March to 31<sup>st</sup> March.","042009" : "Closed from 1<sup>st</sup> April to 3<sup>rd</sup> April."}
var Le_Passage_dAladdin_Attractions = {"Title" : "Le Passage d&#39;Aladdin","Title_name" : "le Passage Enchant&#233; d&#39;Aladdin","Link" : "http://us.parks.disneylandparis.com/disneyland-park/lands/adventureland/attractions/le-passage-enchante-d-aladdin.xhtml","Park" : "Disneyland park","Location" : "Adventureland","Hours" : Le_Passage_Enchante_dAladdin_Content}
Attractions.push(Le_Passage_dAladdin_Attractions);
var Le_Pays_des_Contes_de_Fees_Content = {"Class" : "none","022010" : "Closed all the month.","032010" : "Closed all the month.","042010" : "Closed all the month.","052010" : "Closed all the month."}
var Le_Pays_des_Contes_de_Fees_Attractions = {"Title" : "Le Pays des Contes de F&#233;es","Title_name" : "Le Pays des Contes de F&#233;es","Link" : "http://us.parks.disneylandparis.com/disneyland-park/lands/fantasyland/attractions/le-pays-des-contes-de-fees.xhtml","Park" : "Disneyland park","Location" : "Fantasyland","Hours" : Le_Pays_des_Contes_de_Fees_Content}
Attractions.push(Le_Pays_des_Contes_de_Fees_Attractions);
var Les_Voyages_de_Pinocchio_Content = {"Class" : "none","052010" : "Closed from 3<sup>rd</sup> May to 7<sup>th</sup> May."}
var Les_Voyages_de_Pinocchio_Attractions = {"Title" : "Les Voyages de Pinocchio","Title_name" : "Les Voyages de Pinocchio","Link" : "http://us.parks.disneylandparis.com/disneyland-park/lands/fantasyland/attractions/les-voyages-de-pinocchio.xhtml","Park" : "Disneyland park","Location" : "Fantasyland","Hours" : Les_Voyages_de_Pinocchio_Content}
Attractions.push(Les_Voyages_de_Pinocchio_Attractions);
var Mad_Hatters_Tea_Cups_Content = {"Class" : "none","042010" : "Closed from 6<sup>th</sup> April to 23<sup>rd</sup> April."}
var Mad_Hatter_Tea_Cups_Attractions = {"Title" : "Mad Hatter Tea Cups","Title_name" : "Mad Hatter&#39;s Tea Cups","Link" : "http://us.parks.disneylandparis.com/disneyland-park/lands/fantasyland/attractions/mad-hatters-tea-cups.xhtml","Park" : "Disneyland park","Location" : "Fantasyland","Hours" : Mad_Hatters_Tea_Cups_Content}
Attractions.push(Mad_Hatter_Tea_Cups_Attractions);
var Orbitron_Content = {"Class" : "none","102009" : "Closed from 19<sup>th</sup> October to 23<sup>rd</sup> October."}
var Orbitron_Attractions = {"Title" : "Orbitron","Title_name" : "Orbitron&#174;","Link" : "http://us.parks.disneylandparis.com/disneyland-park/lands/discoveryland/attractions/orbitron.xhtml","Park" : "Disneyland park","Location" : "Discoveryland","Hours" : Orbitron_Content}
Attractions.push(Orbitron_Attractions);
var Peter_Pans_Flight_Content = {"Class" : "none","012010" : "Closed from 25<sup>th</sup> January to 31<sup>st</sup> January.","022010" : "Closed from 1<sup>st</sup> February to 5<sup>th</sup> February."}
var Peter_Pan_Flight_Attractions = {"Title" : "Peter Pan Flight","Title_name" : "Peter Pan&#39;s Flight","Link" : "http://us.parks.disneylandparis.com/disneyland-park/lands/fantasyland/attractions/peter-pans-flight.xhtml","Park" : "Disneyland park","Location" : "Fantasyland","Hours" : Peter_Pans_Flight_Content}
Attractions.push(Peter_Pan_Flight_Attractions);
var Phantom_Manor_Content = {"Class" : "none","012009" : "Closed from 19<sup>th</sup> January to 31<sup>st</sup> January.","022009" : "Closed from 1<sup>st</sup> February to 13<sup>th</sup> February."}
var Phantom_Manor_Attractions = {"Title" : "Phantom Manor","Title_name" : "Phantom Manor","Link" : "http://us.parks.disneylandparis.com/disneyland-park/lands/frontierland/attractions/phantom-manor.xhtml","Park" : "Disneyland park","Location" : "Frontierland","Hours" : Phantom_Manor_Content}
Attractions.push(Phantom_Manor_Attractions);
var Pirates_Beach_Content = {"Class" : "none","062009" : "Closed from 8<sup>th</sup> June to 19<sup>th</sup> June."}
var Pirate_Beach_Attractions = {"Title" : "Pirate Beach","Title_name" : "Pirates&#39; Beach","Link" : "http://us.parks.disneylandparis.com/disneyland-park/lands/adventureland/attractions/pirates-beach.xhtml","Park" : "Disneyland park","Location" : "Adventureland","Hours" : Pirates_Beach_Content}
Attractions.push(Pirate_Beach_Attractions);
var Pirates_of_the_Caribbean_Content = {"Class" : "none","032010" : "Closed from 8<sup>th</sup> March to 19<sup>th</sup> March."}
var Pirates_of_the_Caribbean_Attractions = {"Title" : "Pirates of the Caribbean","Title_name" : "Pirates of the Caribbean","Link" : "http://us.parks.disneylandparis.com/disneyland-park/lands/adventureland/attractions/pirates-of-the-caribbean.xhtml","Park" : "Disneyland park","Location" : "Adventureland","Hours" : Pirates_of_the_Caribbean_Content}
Attractions.push(Pirates_of_the_Caribbean_Attractions);
var Pocahontas_Indian_Village_Content = {"Class" : "none","052009" : "Closed from 25<sup>th</sup> May to 31<sup>st</sup> May.","062009" : "Closed from 1<sup>st</sup> June to 5<sup>th</sup> June."}
var Pocahontas_Indian_Village_Attractions = {"Title" : "Pocahontas Indian Village","Title_name" : "Pocahontas Indian Village","Link" : "http://us.parks.disneylandparis.com/disneyland-park/lands/frontierland/attractions/pocahontas-indian-village.xhtml","Park" : "Disneyland park","Location" : "Frontierland","Hours" : Pocahontas_Indian_Village_Content}
Attractions.push(Pocahontas_Indian_Village_Attractions);
var Space_Mountain_Mission_2_Content = {"Class" : "none","122009" : "Closed from 9<sup>th</sup> December to 10<sup>th</sup> December."}
var Space_Mountain_Mission_2_Attractions = {"Title" : "Space Mountain Mission 2","Title_name" : "Space Mountain: Mission 2","Link" : "http://us.parks.disneylandparis.com/disneyland-park/lands/discoveryland/attractions/space-mountain-mission2.xhtml","Park" : "Disneyland park","Location" : "Discoveryland","Hours" : Space_Mountain_Mission_2_Content}
Attractions.push(Space_Mountain_Mission_2_Attractions);

var Animagique_Content = {"Class" : "none","012009" : "Closed from 12<sup>th</sup> January to 23<sup>rd</sup> January."}
var Animagique_Attractions = {"Title" : "Animagique","Title_name" : "Animagique","Link" : "http://us.parks.disneylandparis.com/walt-disney-studios-park/lots/toon-studio/attractions/animagique.xhtml","Park" : "Walt Disney Studios park","Location" : "Toon Studio","Hours" : Animagique_Content}
Attractions.push(Animagique_Attractions);
var Armageddon_Content = {"Class" : "none","112009" : "Closed from 16<sup>th</sup> November to 20<sup>th</sup> November."}
var Armageddon_Attractions = {"Title" : "Armageddon","Title_name" : "Armageddon Special Effects","Link" : "http://us.parks.disneylandparis.com/walt-disney-studios-park/lots/backlot/attractions/armageddon.xhtml","Park" : "Walt Disney Studios park","Location" : "Backlot","Hours" : Armageddon_Content}
Attractions.push(Armageddon_Attractions);
var Cinemagique_Content = {"Class" : "none","032010" : "Closed from 15<sup>th</sup> March to 17<sup>th</sup> March."}
var Cinemagique_Attractions = {"Title" : "Cinemagique","Title_name" : "Cin&#233;Magique","Link" : "http://us.parks.disneylandparis.com/walt-disney-studios-park/lots/production-courtyard/attractions/cinemagique.xhtml","Park" : "Walt Disney Studios park","Location" : "Production Courtyard","Hours" : Cinemagique_Content}
Attractions.push(Cinemagique_Attractions);
var Flying_Carpets_over_Agrabah_Content = {"Class" : "none","062009" : "Closed from 15<sup>th</sup> June to 26<sup>th</sup> June."}
var Les_Tapis_Volants_Attractions = {"Title" : "Les Tapis Volants","Title_name" : "Flying Carpets Over Agrabah","Link" : "http://us.parks.disneylandparis.com/walt-disney-studios-park/lots/toon-studio/attractions/les-tapis-volants.xhtml","Park" : "Walt Disney Studios park","Location" : "Toon Studio","Hours" : Flying_Carpets_over_Agrabah_Content}
Attractions.push(Les_Tapis_Volants_Attractions);
var Rockn_Roller_Coaster_Content = {"Class" : "none","092009" : "Closed from 14<sup>th</sup> September to 25<sup>th</sup> September."}
var Rock_n_Roller_Coaster_Attractions = {"Title" : "Rock n Roller Coaster","Title_name" : "Rock &#39;n&#39; Roller Coaster starring Aerosmith","Link" : "http://us.parks.disneylandparis.com/walt-disney-studios-park/lots/backlot/attractions/rocknroller.xhtml","Park" : "Walt Disney Studios park","Location" : "Backlot","Hours" : Rockn_Roller_Coaster_Content}
Attractions.push(Rock_n_Roller_Coaster_Attractions);
var Stitch_Live_Content = {"Class" : "none","012009" : "Closed from 26<sup>th</sup> January to 30<sup>th</sup> January."}
var OLD_Stitch_Live_Attractions = {"Title" : "OLD Stitch Live","Title_name" : "Stitch Live &#33;","Link" : "http://us.parks.disneylandparis.com/walt-disney-studios-park/lots/production-courtyard/attractions/old-stitch-live.xhtml","Park" : "Walt Disney Studios park","Location" : "Production Courtyard","Hours" : Stitch_Live_Content}
Attractions.push(OLD_Stitch_Live_Attractions);
var Studio_Tram_Tour_Content = {"Class" : "none","032010" : "Closed all the month.","042010" : "Closed all the month.","052010" : "Closed from 1<sup>st</sup> May to 29<sup>th</sup> May."}
var Studio_Tram_Tour_Attractions = {"Title" : "Studio Tram Tour","Title_name" : "Studio Tram Tour&#174;: Behind the Magic","Link" : "http://us.parks.disneylandparis.com/walt-disney-studios-park/lots/production-courtyard/attractions/studio-tram-tour.xhtml","Park" : "Walt Disney Studios park","Location" : "Production Courtyard","Hours" : Studio_Tram_Tour_Content}
Attractions.push(Studio_Tram_Tour_Attractions);
var Twilight_Zone_Tower_of_Terror_Content = {"Class" : "none"}

var A_Fairytale_Christmas_Content = {"Class" : "christmas", "Name" : "A Fairytale Christmas" };
var A_Fairytale_Christmas_Seasons = {"Title" : "Disney&#39;s Fairytale Christmas","Title_name" : "","Link" : "http://us.news.disneylandparis.com/seasons/a-fairytale-christmas.xhtml","Image" : "","Park" : "","Location" : "","Hours" : A_Fairytale_Christmas_Content}
Seasons.push(A_Fairytale_Christmas_Seasons);
var Disneys_Bonfire_Spectacular_Content = {"Class" : "spectacular", "Name" : "Disney's Bonfire Spectacular" };
var Disneys_Bonfire_Spectacular_Seasons = {"Title" : "Disney&#174;&#39;s bonfire spectacular","Title_name" : "","Link" : "http://us.news.disneylandparis.com/seasons/disneys-bonfire-spectacular.xhtml","Image" : "","Park" : "","Location" : "","Hours" : Disneys_Bonfire_Spectacular_Content}
Seasons.push(Disneys_Bonfire_Spectacular_Seasons);
var Disneys_Halloween_Festival_Content = {"Class" : "festival", "Name" : "Disney's Halloween Festival" };
var Disneys_Halloween_Festival_Seasons = {"Title" : "Disney&#174;&#39;s Halloween Festival","Title_name" : "","Link" : "http://us.news.disneylandparis.com/seasons/disneys-halloween-festival.xhtml","Image" : "","Park" : "","Location" : "","Hours" : Disneys_Halloween_Festival_Content}
Seasons.push(Disneys_Halloween_Festival_Seasons);
var Kids_Go_Free_Content = {"Class" : "free", "Name" : "Kids Go Free" };
var Always_Something_New_Seasons = {"Title" : "always something new","Title_name" : "","Link" : "http://us.news.disneylandparis.com/index.xhtml","Image" : "","Park" : "","Location" : "","Hours" : Kids_Go_Free_Content}
Seasons.push(Always_Something_New_Seasons);

var Today = new Date();
// Get the year (YYYY)
var CurrentYear = Today.getFullYear();
//var TodaysYear = CurrentYear;
var TodaysYear =  getURLVariable('year')
// Get the month (0..11)
var CurrentMonth = Today.getMonth();
//var TodaysMonth = CurrentMonth;
var TodaysMonth = getURLVariable('month')
// Get the day in the month (1..31)
var CurrentDay = Today.getDate();
//var TodaysDate = CurrentDay;
var TodaysDate = getURLVariable('day')
// Get the day in the week for the current date (0..6, 0=>Sunday, ...)
var TodaysDay = GetDayNumber(Today.getDay());
// Get the day in the week for the first day of the month
Today = new Date(TodaysYear,TodaysMonth,1);
var TodaysFirstDay = GetDayNumber(Today.getDay());

// Get informations of the next month
if(parseInt(TodaysMonth)+1>11){
	Today = new Date(parseInt(TodaysYear)+1,0,1);
}
else{
	Today = new Date(parseInt(TodaysYear),parseInt(TodaysMonth)+1,1);
}
var NextYear = Today.getFullYear();
var NextMonth = Today.getMonth();
var NextFirstDay = GetDayNumber(Today.getDay());

var MonthLength = new Array(31,GetFebruaryNbDays(TodaysYear),31,30,31,30,31,31,30,31,30,31);

/*
 ** Construct the calendar for the previous month
 */
function GoToMonthPrevious(){
	NextYear = TodaysYear;
	NextMonth = TodaysMonth;
	NextFirstDay = TodaysFirstDay;
	
    TodaysMonth -= 1;
    if(TodaysMonth<0){
        TodaysMonth = 11;
        TodaysYear -= 1;
        // reCalculate the number of days for the month of february (in case of a bissextile year)
        MonthLength[1] = GetFebruaryNbDays(TodaysYear)
    }
    Today = new Date(TodaysYear,TodaysMonth,1);
    TodaysFirstDay = GetDayNumber(Today.getDay());

    ConstructCalendar();
}
/*
 ** Construct the calendar for the next month
 */
function GoToMonthNext(){
	TodaysYear = NextYear;
	TodaysMonth = NextMonth;
	TodaysFirstDay = NextFirstDay;
	
    NextMonth += 1;
    if(NextMonth>11){
        NextMonth = 0;
        NextYear += 1;
        // reCalculate the number of days for the month of february (in case of a bissextile year)
        MonthLength[1] = GetFebruaryNbDays(NextYear)
    }
    Today = new Date(NextYear,NextMonth,1);
    NextFirstDay = GetDayNumber(Today.getDay());

    ConstructCalendar();
}
/*
 ** Construct the calendar for the previous day
 */
function GoToDayPrevious(){
    TodaysDate -= 1;
    if(TodaysDate<1){
        GoToMonthPrevious();
		TodaysDate = MonthLength[TodaysMonth];
    }

	ConstructDayCalendar();
}
/*
 ** Construct the calendar for the next day
 */
function GoToDayNext(){
	TodaysDate += 1;
	if(TodaysDate>MonthLength[TodaysMonth]){
        GoToMonthNext();
		TodaysDate = 1;
	}

	ConstructDayCalendar();
}
/*
 ** Construct the calendar
 */
function ConstructCalendar(){
    // Change the label (Month + Year)
    document.getElementById("labelCurrentMonthYear").innerHTML = MonthsList[TodaysMonth] + " " + TodaysYear;
	document.getElementById("labelNextMonthYear").innerHTML = MonthsList[NextMonth] + " " + NextYear;
	
	// Change the calendar of the current month
	document.getElementById("calendarContent").innerHTML = ConstructMonthCalendar(TodaysFirstDay,TodaysMonth,TodaysYear);
	// Change the calendar of the next month
	document.getElementById("calendarContentNext").innerHTML = ConstructMonthCalendar(NextFirstDay,NextMonth,NextYear);
}
/*
 ** Construct the month calendar with a day, a month and a year
 */
function ConstructMonthCalendar(day,month,year){
    var calendarContent = "";
    var numDay;

    // Calculate the number of line in the calendar (possibility : 4, 5 or 6)
    var nbLine = 4;
    for(i=4 ; i<=6 ; i++){
        if( i*7 >= (day - 1 + GetMonthLength(month))){
            nbLine = i;
            break;
        }
    }
    for(i=0 ; i<nbLine ; i++){
        calendarContent += "<div class=\"CalendarR\">";
        for(j=1 ; j<=7 ; j++){
            if(((i * 7) + j) < day){
                // Day of the previous month
                calendarContent += "<div class=\"CalendarC\"></div>";
			}
			else if(((i * 7) + j - day + 1) > GetMonthLength(month)){
			    // Day of the next month
			    calendarContent += "<div class=\"CalendarC\"></div>";
			}
			else{
			    // Day of the current month
			    numDay = (i * 7) + j - day + 1
                if(numDay == CurrentDay && month == CurrentMonth && year == CurrentYear){
		            // Day of today
		            calendarContent += "<div class=\"CalendarToday\"><a href=\"javascript:DisplayDay("+numDay+","+month+","+year+");\">"+numDay+"</a></div>";
		        }
		        else{
		            // Other day of the current month
					
		            calendarContent += "<div class=\"CalendarC\"><a href=\"javascript:DisplayDay("+numDay+","+month+","+year+");\">"+numDay+"</a></div>";
		        }    
			}
        }
        calendarContent += "</div>";
		calendarContent += "<div class=\"clear\"></div>"
    }
  
    return calendarContent;
}

/*
 ** Construct the day calendar
 */
function DisplayDay(day,month,year){
	TodaysDate = day;
	TodaysMonth = month;
	TodaysYear = year;
	ConstructDayCalendar();
}
function getParksHours(){
	var theDay;
    if(CurrentDay < 10){
        theDay = "0"+CurrentDay;
    }
    else{
        theDay = CurrentDay;
    }
    var theMonth;
    if((CurrentMonth+1) < 10){
        theMonth = "0"+(CurrentMonth+1);
    }
    else{
        theMonth = CurrentMonth+1;
        
    }
    theMonth = theMonth.toString();
    var key = theDay+theMonth+CurrentYear;
    key = key.toString();
	var result = "";
	for(var i=0 ; i<Content.length ; i++){
        if(Content[i][key]){
			 result +=  Content[i]["Name"]+ ": "+ Content[i][key] +"<br/>";
		}
	}
                if(document.getElementById("ParksHours") != null){
	    document.getElementById("ParksHours").innerHTML = result;
                }
}

function getMeetNgreetHours(meetName,meetTitle){
    var theDay;
    if(CurrentDay < 10){
        theDay = "0"+CurrentDay;
    }
    else{
        theDay = CurrentDay;
    }
    var theMonth;
    if((CurrentMonth+1) < 10){
        theMonth = "0"+(CurrentMonth+1);
    }
    else{
        theMonth = CurrentMonth+1;
        
    }
    theMonth = theMonth.toString();
    var key = theDay+theMonth+CurrentYear;
    key = key.toString();
	theMonth = theMonth.toString();
    var key = theDay+theMonth+CurrentYear;
    key = key.toString();
	var result = "";
	for(i=0 ; i<Parks.length ; i++){
		cpt = 0;
		for(j=0 ; j<Events.length ; j++){
			if(Events[j]["Title"]== meetTitle){
				if(Events[j]["Hours"][key]){
					cpt++;
					result = Events[j]["Hours"][key]
				}
			}
		}
	}
	document.getElementById(meetName).innerHTML = result;
}

function getParadsHours(paradName,paradTitle){
    var theDay;
    if(CurrentDay < 10){
        theDay = "0"+CurrentDay;
    }
    else{
        theDay = CurrentDay;
    }
    var theMonth;
    if((CurrentMonth+1) < 10){
        theMonth = "0"+(CurrentMonth+1);
    }
    else{
        theMonth = CurrentMonth+1;
        
    }
    theMonth = theMonth.toString();
    var key = theDay+theMonth+CurrentYear;
    key = key.toString();
	var result = "";
	for(i=0 ; i<Parks.length ; i++){
		cpt = 0;
		for(j=0 ; j<Events.length ; j++){
		    if(Events[j]["Title"]== paradTitle){
				if(Events[j]["Hours"][key]){
					cpt++;
					result = "<h3>" + Events[j]["Location"]+ "<h3/>" + "<h3>" + Events[j]["Hours"][key] + "<h3/>"
				}
			}
		}
	}
	document.getElementById(paradName).innerHTML = result;
}


/*
 ** Construct the day calendar
 */
function ConstructDayCalendar(){
	document.getElementById("labelDay").innerHTML = TodaysDate + " " + MonthsList[TodaysMonth] + " " + TodaysYear;
	
	var theDay;
    if(TodaysDate < 10){
        theDay = "0"+TodaysDate.toString();
    }
    else{
        theDay = TodaysDate.toString();
    }
    var theMonth;
    if((TodaysMonth+1) < 10){
        theMonth = "0"+(TodaysMonth+1);
    }
    else{
        theMonth = TodaysMonth+1;
        
    }
    theMonth = theMonth.toString();
    var key = theDay+theMonth+TodaysYear.toString();
    key = key.toString();
	
	// Parks informations
    var result = "";
    for(var i=0 ; i<Content.length ; i++){
        if(Content[i][key]){
			result += "<div class=\"ParcHoursR\">";
			result += "<div class=\"ParcHoursC1\"><img src=\"" + LabelList["ImgCSSURL"] + LabelList["Style"].toLowerCase() + "-icon-" + Content[i]["Class"] + ".gif\" alt=\"\" /></div>";
			result += "<div class=\"ParcHoursC2\">" + Content[i]["Name"] + " &gt; " + Content[i][key] + "</div>";
			result += "<div class=\"clear\"></div>";
			result += "</div>";
        }
    }
    document.getElementById("ParksContent").innerHTML = result;

    // Season informations
	var result = "";
	var seasonTitle = "";
    for(var i=0 ; i<Seasons.length ; i++){
        if(Seasons[i]["Hours"][key]){
            result +="<img src=\""+Seasons[i]["Image"]+"\" class=\"ftLeft\" width=\"13\" heigth=\"14\" alt=\"\" />";
			seasonTitle = Seasons[i]["Title"];
			//alert(seasonTitle.length);
			if(seasonTitle.length > 17){
				//alert(seasonTitle.substr(0,14)+"...");
				seasonTitle = seasonTitle.substr(0,14)+"...";
			}
            result += "<div class=\"ftLeft\">" + seasonTitle + "</div>";
            break;
        }
    }
    	
	document.getElementById("SeasonContent").innerHTML = result;
	
	// Events informations
	result = "";
	var subResult;
	var cpt;
	for(i=0 ; i<Parks.length ; i++){
		cpt = 0;
		subResult = "<span class=\"Ttl1\">" + Parks[i] + "</span>";
		subResult += "<dl>";
		for(j=0 ; j<Events.length ; j++){
			if(Events[j]["Hours"][key] && Events[j]["Park"] == Parks[i]){
				cpt++;
				subResult += "<dt><a href=\"" + Events[j]["Link"] + "\">" + Events[j]["Title_name"] + "</a></dt>";
				subResult += "<dd>" + LabelList["Hours"] + " " + Events[j]["Hours"][key] + "<br />";
				subResult += LabelList["Location"] + " " + Events[j]["Location"] + "</dd>";
			}
		}
		subResult += "</dl>";
		if(cpt > 0){
			result += subResult;
		}
	}

	document.getElementById("EventsContent").innerHTML = result;
	
	// Attractions informations
	var isUpdate = false;
	result = "";
	key = theMonth+TodaysYear.toString();
    key = key.toString();
	for(i=0 ; i<Attractions.length ; i++){
		if(Attractions[i]["Hours"][key]){
			result += "<dl>";
			result += "<dt><a href=\"" + Attractions[i]["Link"] + "\">" + Attractions[i]["Title_name"] + "</a></dt>";
			result += "<dd>" + Attractions[i]["Hours"][key] + "</dd>";
			result += "</dl>";
			isUpdate = true;
		}
	}
	if(!isUpdate){
		result += "<dl>";
		result += "<dt>"+ Default["Title"] + "</dt>";
		result += "<dd></dd>";
	}

	
	document.getElementById("AttractionsContent").innerHTML = result;
}

/*
 ** Get the day number in a week (1=>Monday, ..., 7=>Sunday)
 */
function GetDayNumber(day){
    if(day == 0){
        return 7;
    }
    else{
        return day;
    }
}
/*
 ** Get the number of days in the month in parameter
 */
function GetMonthLength(month){
    if(month == -1){
        return MonthLength[11];
    }
    else if(month == 12){
        return MonthLength[0];
    }
    else{
        return MonthLength[month];
    }
}
/* 
 ** Get the number of days of the february month for the year in parameter
 */
function GetFebruaryNbDays(yy){
    if ((yy % 100 != 0 && yy % 4 == 0) || (yy % 400 == 0)){
        return 29;
    }
    else{
        return 28;
    }
}
/*
 ** Get the value of a variable in current page URL
 */
function getURLVariable(strVarNameToSearch){
    if(location.search.substring(1)){
        // Get all the argument in the URL in a table
        tbVar = location.search.substring(1).split('&');

	    for(i=0 ; i<tbVar.length ; i++){
		    // Look for equal character
		    intPosEgal = (tbVar[i].indexOf("=",0));
    		
		    // Get the name of the variable
		    strVarName = tbVar[i].substring(0,intPosEgal);
    		
    		if(strVarNameToSearch == strVarName){
		        // Return the variable value
		        return tbVar[i].substring(intPosEgal+1,tbVar[i].length);
		    }
	    }
    }
    // variable not found
    return ""
}
