
var DaysList = new Array("Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag", "Sonntag");
var MonthsList = new Array("Januar", "Februar", "M&#228;rz", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember");

var LabelList = {"Hours" : "", "Location" : "Ort:", "Style" : "customer-seasons", "ImgCSSURL" : "/DE/DE/Neutral/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" ,"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","17052010" : "10:00-19:00","18052010" : "10:00-19:00","19052010" : "10:00-19:00","20052010" : "10:00-19:00","21052010" : "10:00-19:00","22052010" : "10:00-22:00","23052010" : "10:00-22:00","24052010" : "10:00-21:00","25052010" : "10:00-19:00","26052010" : "10:00-19:00","27052010" : "10:00-19:00","28052010" : "10:00-19:00","29052010" : "09:30-22:00","30052010" : "09:30-22:00","31052010" : "10:00-19:00","01062010" : "10:00-19:00","02062010" : "10:00-19:00","03062010" : "10:00-19:00","04062010" : "10:00-19:00","05062010" : "09:30-22:00","06062010" : "09:30-22:00","07062010" : "10:00-19:00","08062010" : "10:00-19:00","09062010" : "10:00-19:00","10062010" : "10:00-19:00","11062010" : "10:00-19:00","12062010" : "09:30-22:00","13062010" : "09:30-22:00","14062010" : "10:00-19:00","15062010" : "10:00-19:00","16062010" : "10:00-19:00","17062010" : "10:00-19:00","18062010" : "10:00-19:00","19062010" : "09:30-22:00","20062010" : "09:30-22:00","21062010" : "10:00-20:00","22062010" : "10:00-20:00","23062010" : "10:00-20:00","24062010" : "10:00-20:00","25062010" : "10:00-20:00","26062010" : "09:30-22:00","27062010" : "09:30-22:00","28062010" : "10:00-21:00","29062010" : "10:00-21:00","30062010" : "10:00-21:00","01072010" : "10:00-21:00","02072010" : "10:00-21:00","03072010" : "10:00-23:00","04072010" : "10:00-23:00","05072010" : "10:00-23:00","06072010" : "10:00-23:00","07072010" : "10:00-23:00","08072010" : "10:00-23:00","09072010" : "10:00-23:00","10072010" : "10:00-23:00","11072010" : "10:00-23:00","12072010" : "10:00-23:00","13072010" : "10:00-23:00","14072010" : "10:00-23:00","15072010" : "10:00-23:00","16072010" : "10:00-23:00","17072010" : "10:00-23:00","18072010" : "10:00-23:00","19072010" : "10:00-23:00","20072010" : "10:00-23:00","21072010" : "10:00-23:00","22072010" : "10:00-23:00","23072010" : "10:00-23:00","24072010" : "10:00-23:00","25072010" : "10:00-23:00","26072010" : "10:00-23:00","27072010" : "10:00-23:00","28072010" : "10:00-23:00","29072010" : "10:00-23:00","30072010" : "10:00-23:00","31072010" : "10:00-23:00","01082010" : "10:00-23:00","02082010" : "10:00-23:00","03082010" : "10:00-23:00","04082010" : "10:00-23:00","05082010" : "10:00-23:00","06082010" : "10:00-23:00","07082010" : "10:00-23:00","08082010" : "10:00-23:00","09082010" : "10:00-23:00","10082010" : "10:00-23:00","11082010" : "10:00-23:00","12082010" : "10:00-23:00","13082010" : "10:00-23:00","14082010" : "10:00-23:00","15082010" : "10:00-23:00","16082010" : "10:00-23:00","17082010" : "10:00-23:00","18082010" : "10:00-23:00","19082010" : "10:00-23:00","20082010" : "10:00-23:00","21082010" : "10:00-23:00","22082010" : "10:00-23:00","23082010" : "10:00-23:00","24082010" : "10:00-23:00","25082010" : "10:00-23:00","26082010" : "10:00-23:00","27082010" : "10:00-23:00","28082010" : "10:00-23:00","29082010" : "10:00-23:00","30082010" : "10:00-19:00","31082010" : "10:00-19:00","01092010" : "10:00-19:00","02092010" : "10:00-19:00","03092010" : "10:00-19:00","04092010" : "10:00-21:00","05092010" : "10:00-21:00","06092010" : "10:00-18:00","07092010" : "10:00-18:00","08092010" : "10:00-18:00","09092010" : "10:00-18:00","10092010" : "10:00-18:00","11092010" : "10:00-22:00","12092010" : "10:00-21:00","13092010" : "10:00-18:00","14092010" : "10:00-18:00","15092010" : "10:00-18:00","16092010" : "10:00-18:00","17092010" : "10:00-18:00","18092010" : "10:00-22:00","19092010" : "10:00-21:00","20092010" : "10:00-18:00","21092010" : "10:00-18:00","22092010" : "10:00-18:00","23092010" : "10:00-18:00","24092010" : "10:00-18:00","25092010" : "10:00-22:00","26092010" : "10:00-21:00","27092010" : "10:00-18:00","28092010" : "10:00-18:00","29092010" : "10:00-18:00","30092010" : "10:00-18:00","01102010" : "10:00-18:00","02102010" : "10:00-20:00","03102010" : "10:00-20:00","04102010" : "10:00-18:00","05102010" : "10:00-18:00","06102010" : "10:00-18:00","07102010" : "10:00-18:00","08102010" : "10:00-18:00","09102010" : "10:00-22:00","10102010" : "10:00-21:00","11102010" : "10:00-19:00","12102010" : "10:00-19:00","13102010" : "10:00-19:00","14102010" : "10:00-19:00","15102010" : "10:00-19:00","16102010" : "10:00-22:00","17102010" : "10:00-21:00","18102010" : "10:00-19:00","19102010" : "10:00-19:00","20102010" : "10:00-19:00","21102010" : "10:00-19:00","22102010" : "10:00-19:00","23102010" : "10:00-22:00","24102010" : "10:00-22:00","25102010" : "10:00-22:00","26102010" : "09:30-19:00","27102010" : "10:00-22:00","28102010" : "10:00-22:00","29102010" : "10:00-22:00","30102010" : "10:00-22:00","31102010" : "09:30-20:00","01112010" : "10:00-20:00","02112010" : "10:00-19:00","03112010" : "10:00-19:00","04112010" : "10:00-19:00","05112010" : "10:00-19:00","06112010" : "09:00-19:00","07112010" : "10:00-20:00","08112010" : "10:00-19:00","09112010" : "10:00-19:00","10112010" : "10:00-19:00","11112010" : "10:00-21:00","12112010" : "10:00-21:00","13112010" : "09:00-21:00","14112010" : "10:00-21:00","15112010" : "10:00-19:00","16112010" : "10:00-19:00","17112010" : "10:00-19:00","18112010" : "10:00-19:00","19112010" : "10:00-19:00","20112010" : "09:00-22:00","21112010" : "09:00-22:00","22112010" : "10:00-19:00","23112010" : "10:00-19:00","24112010" : "10:00-19:00","25112010" : "10:00-19:00","26112010" : "10:00-19:00","27112010" : "09:00-22:00","28112010" : "09:00-22:00","29112010" : "10:00-19:00","30112010" : "10:00-19:00","01122010" : "10:00-19:00","02122010" : "10:00-19:00","03122010" : "10:00-19:00","04122010" : "09:00-22:00","05122010" : "09:00-22:00","06122010" : "10:00-19:00","07122010" : "10:00-19:00","08122010" : "10:00-19:00","09122010" : "10:00-19:00","10122010" : "10:00-19:00","11122010" : "09:00-22:00","12122010" : "09:00-22:00","13122010" : "10:00-19:00","14122010" : "10:00-19:00","15122010" : "10:00-19:00","16122010" : "10:00-19:00","17122010" : "10:00-19:00","18122010" : "09:30-22:00","19122010" : "09:30-22:00","20122010" : "09:30-22:00","21122010" : "09:30-22:00","22122010" : "09:30-22:00","23122010" : "09:30-22:00","24122010" : "09:30-22:00","25122010" : "09:30-22:00","26122010" : "09:30-22:00","27122010" : "09:30-22:00","28122010" : "09:30-22:00","29122010" : "09:30-22:00","30122010" : "09:30-22:00","31122010" : "10:00-01:00","01012011" : "10:00-22:00","02012011" : "10:00-21:00","03012011" : "10:00-19:00","04012011" : "10:00-19:00","05012011" : "10:00-19:00","06012011" : "10:00-19:00","07012011" : "10:00-19:00","08012011" : "10:00-21:00","09012011" : "10:00-20:00","10012011" : "10:00-18:00","11012011" : "10:00-18:00","12012011" : "10:00-18:00","13012011" : "10:00-18:00","14012011" : "10:00-18:00","15012011" : "10:00-21:00","16012011" : "10:00-20:00","17012011" : "10:00-18:00","18012011" : "10:00-18:00","19012011" : "10:00-18:00","20012011" : "10:00-18:00","21012011" : "10:00-18:00","22012011" : "10:00-21:00","23012011" : "10:00-20:00","24012011" : "10:00-18:00","25012011" : "10:00-18:00","26012011" : "10:00-18:00","27012011" : "10:00-18:00","28012011" : "10:00-18:00","29012011" : "10:00-21:00","30012011" : "10:00-20:00","31012011" : "10:00-18:00","01022011" : "10:00-18:00","02022011" : "10:00-18:00","03022011" : "10:00-18:00","04022011" : "10:00-18:00","05022011" : "10:00-21:00","06022011" : "10:00-20:00","07022011" : "10:00-18:00","08022011" : "10:00-18:00","09022011" : "10:00-18:00","10022011" : "10:00-18:00","11022011" : "10:00-18:00","12022011" : "10:00-21:00","13022011" : "10:00-20:00","14022011" : "10:00-19:00","15022011" : "10:00-19:00","16022011" : "10:00-19:00","17022011" : "10:00-19:00","18022011" : "10:00-19:00","19022011" : "10:00-21:00","20022011" : "10:00-20:00","21022011" : "10:00-20:00","22022011" : "10:00-20:00","23022011" : "10:00-20:00","24022011" : "10:00-20:00","25022011" : "10:00-20:00","26022011" : "10:00-21:00","27022011" : "10:00-20:00","28022011" : "10:00-20:00"};
Content.push(Disneyland_Park_Content);
var Walt_Disney_Studios_Content = {"Class" : "studios", "Name" : "Walt Disney Studios" ,"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","17052010" : "10:00-18:00","18052010" : "10:00-18:00","19052010" : "10:00-18:00","20052010" : "10:00-18:00","21052010" : "10:00-18:00","22052010" : "10:00-19:00","23052010" : "10:00-19:00","24052010" : "10:00-19:00","25052010" : "10:00-18:00","26052010" : "10:00-18:00","27052010" : "10:00-18:00","28052010" : "10:00-18:00","29052010" : "10:00-19:00","30052010" : "10:00-19:00","31052010" : "10:00-19:00","01062010" : "10:00-19:00","02062010" : "10:00-19:00","03062010" : "10:00-19:00","04062010" : "10:00-19:00","05062010" : "10:00-19:00","06062010" : "10:00-19:00","07062010" : "10:00-19:00","08062010" : "10:00-19:00","09062010" : "10:00-19:00","10062010" : "10:00-19:00","11062010" : "10:00-19:00","12062010" : "10:00-19:00","13062010" : "10:00-19:00","14062010" : "10:00-19:00","15062010" : "10:00-19:00","16062010" : "10:00-19:00","17062010" : "10:00-19:00","18062010" : "10:00-19:00","19062010" : "10:00-19:00","20062010" : "10:00-19:00","21062010" : "10:00-19:00","22062010" : "10:00-19:00","23062010" : "10:00-19:00","24062010" : "10:00-19:00","25062010" : "10:00-19:00","26062010" : "10:00-19:00","27062010" : "10:00-19:00","28062010" : "10:00-19:00","29062010" : "10:00-19:00","30062010" : "10:00-19:00","01072010" : "10:00-19:00","02072010" : "10:00-19:00","03072010" : "10:00-19:00","04072010" : "10:00-19:00","05072010" : "10:00-19:00","06072010" : "10:00-19:00","07072010" : "10:00-19:00","08072010" : "10:00-19:00","09072010" : "10:00-19:00","10072010" : "10:00-19:00","11072010" : "10:00-19:00","12072010" : "10:00-19:00","13072010" : "10:00-19:00","14072010" : "10:00-19:00","15072010" : "10:00-19:00","16072010" : "10:00-19:00","17072010" : "10:00-19:00","18072010" : "10:00-19:00","19072010" : "10:00-19:00","20072010" : "10:00-19:00","21072010" : "10:00-19:00","22072010" : "10:00-19:00","23072010" : "10:00-19:00","24072010" : "10:00-19:00","25072010" : "10:00-19:00","26072010" : "10:00-19:00","27072010" : "10:00-19:00","28072010" : "10:00-19:00","29072010" : "10:00-19:00","30072010" : "10:00-19:00","31072010" : "10:00-19:00","01082010" : "10:00-19:00","02082010" : "10:00-19:00","03082010" : "10:00-19:00","04082010" : "10:00-19:00","05082010" : "10:00-19:00","06082010" : "10:00-19:00","07082010" : "10:00-19:00","08082010" : "10:00-19:00","09082010" : "10:00-19:00","10082010" : "10:00-19:00","11082010" : "10:00-19:00","12082010" : "10:00-19:00","13082010" : "10:00-19:00","14082010" : "10:00-19:00","15082010" : "10:00-19:00","16082010" : "10:00-19:00","17082010" : "10:00-19:00","18082010" : "10:00-19:00","19082010" : "10:00-19:00","20082010" : "10:00-19:00","21082010" : "10:00-21:00","22082010" : "10:00-19:00","23082010" : "10:00-19:00","24082010" : "10:00-19:00","25082010" : "10:00-19:00","26082010" : "10:00-19:00","27082010" : "10:00-19:00","28082010" : "10:00-21:00","29082010" : "10:00-19:00","30082010" : "10:00-19:00","31082010" : "10:00-19:00","01092010" : "10:00-19:00","02092010" : "10:00-19:00","03092010" : "10:00-19:00","04092010" : "10:00-19:00","05092010" : "10:00-19:00","06092010" : "10:00-18:00","07092010" : "10:00-18:00","08092010" : "10:00-18:00","09092010" : "10:00-18:00","10092010" : "10:00-18:00","11092010" : "10:00-19:00","12092010" : "10:00-19:00","13092010" : "10:00-18:00","14092010" : "10:00-18:00","15092010" : "10:00-18:00","16092010" : "10:00-18:00","17092010" : "10:00-18:00","18092010" : "10:00-19:00","19092010" : "10:00-19:00","20092010" : "10:00-18:00","21092010" : "10:00-18:00","22092010" : "10:00-18:00","23092010" : "10:00-18:00","24092010" : "10:00-18:00","25092010" : "10:00-19:00","26092010" : "10:00-19:00","27092010" : "10:00-18:00","28092010" : "10:00-18:00","29092010" : "10:00-18:00","30092010" : "10:00-18:00","01102010" : "10:00-18:00","02102010" : "10:00-19:00","03102010" : "10:00-19:00","04102010" : "10:00-18:00","05102010" : "10:00-18:00","06102010" : "10:00-18:00","07102010" : "10:00-18:00","08102010" : "10:00-18:00","09102010" : "10:00-19:00","10102010" : "10:00-19:00","11102010" : "10:00-18:00","12102010" : "10:00-18:00","13102010" : "10:00-18:00","14102010" : "10:00-18:00","15102010" : "10:00-18:00","16102010" : "10:00-19:00","17102010" : "10:00-19:00","18102010" : "10:00-18:00","19102010" : "10:00-18:00","20102010" : "10:00-18:00","21102010" : "10:00-18:00","22102010" : "10:00-18:00","23102010" : "10:00-19:00","24102010" : "10:00-19:00","25102010" : "10:00-19:00","26102010" : "10:00-19:00","27102010" : "10:00-19:00","28102010" : "10:00-19:00","29102010" : "10:00-19:00","30102010" : "10:00-19:00","31102010" : "10:00-19:00","01112010" : "10:00-19:00","02112010" : "10:00-19:00","03112010" : "10:00-18:00","04112010" : "10:00-18:00","05112010" : "10:00-18:00","06112010" : "10:00-19:00","07112010" : "10:00-19:00","08112010" : "10:00-18:00","09112010" : "10:00-18:00","10112010" : "10:00-18:00","11112010" : "10:00-19:00","12112010" : "10:00-19:00","13112010" : "09:00-19:00","14112010" : "10:00-19:00","15112010" : "10:00-18:00","16112010" : "10:00-18:00","17112010" : "10:00-18:00","18112010" : "10:00-18:00","19112010" : "10:00-18:00","20112010" : "09:00-19:00","21112010" : "09:00-19:00","22112010" : "10:00-18:00","23112010" : "10:00-18:00","24112010" : "10:00-18:00","25112010" : "10:00-18:00","26112010" : "10:00-18:00","27112010" : "09:00-19:00","28112010" : "09:00-19:00","29112010" : "10:00-18:00","30112010" : "10:00-18:00","01122010" : "10:00-18:00","02122010" : "10:00-18:00","03122010" : "10:00-18:00","04122010" : "09:00-19:00","05122010" : "09:00-19:00","06122010" : "10:00-18:00","07122010" : "10:00-18:00","08122010" : "10:00-18:00","09122010" : "10:00-18:00","10122010" : "10:00-18:00","11122010" : "09:00-19:00","12122010" : "09:00-19:00","13122010" : "10:00-18:00","14122010" : "10:00-18:00","15122010" : "10:00-18:00","16122010" : "10:00-18:00","17122010" : "10:00-18:00","18122010" : "10:00-19:00","19122010" : "10:00-19:00","20122010" : "10:00-19:00","21122010" : "10:00-19:00","22122010" : "10:00-19:00","23122010" : "10:00-19:00","24122010" : "10:00-19:00","25122010" : "10:00-19:00","26122010" : "10:00-19:00","27122010" : "10:00-19:00","28122010" : "10:00-19:00","29122010" : "10:00-19:00","30122010" : "10:00-19:00","31122010" : "10:00-01:00","01012011" : "10:00-19:00","02012011" : "10:00-19:00","03012011" : "10:00-18:00","04012011" : "10:00-18:00","05012011" : "10:00-18:00","06012011" : "10:00-18:00","07012011" : "10:00-18:00","08012011" : "10:00-19:00","09012011" : "10:00-19:00","10012011" : "10:00-18:00","11012011" : "10:00-18:00","12012011" : "10:00-18:00","13012011" : "10:00-18:00","14012011" : "10:00-18:00","15012011" : "10:00-19:00","16012011" : "10:00-19:00","17012011" : "10:00-18:00","18012011" : "10:00-18:00","19012011" : "10:00-18:00","20012011" : "10:00-18:00","21012011" : "10:00-18:00","22012011" : "10:00-19:00","23012011" : "10:00-19:00","24012011" : "10:00-18:00","25012011" : "10:00-18:00","26012011" : "10:00-18:00","27012011" : "10:00-18:00","28012011" : "10:00-18:00","29012011" : "10:00-19:00","30012011" : "10:00-19:00","31012011" : "10:00-18:00","01022011" : "10:00-18:00","02022011" : "10:00-18:00","03022011" : "10:00-18:00","04022011" : "10:00-18:00","05022011" : "10:00-19:00","06022011" : "10:00-19:00","07022011" : "10:00-18:00","08022011" : "10:00-18:00","09022011" : "10:00-18:00","10022011" : "10:00-18:00","11022011" : "10:00-18:00","12022011" : "10:00-19:00","13022011" : "10:00-19:00","14022011" : "10:00-19:00","15022011" : "10:00-19:00","16022011" : "10:00-19:00","17022011" : "10:00-19:00","18022011" : "10:00-19:00","19022011" : "10:00-19:00","20022011" : "10:00-19:00","21022011" : "10:00-19:00","22022011" : "10:00-19:00","23022011" : "10:00-19:00","24022011" : "10:00-19:00","25022011" : "10:00-19:00","26022011" : "10:00-19:00","27022011" : "10:00-19:00","28022011" : "10:00-18: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://neuigkeiten.disneylandparis.de/saisonale-veranstaltungen/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://neuigkeiten.disneylandparis.de/saisonale-veranstaltungen/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://neuigkeiten.disneylandparis.de/saisonale-veranstaltungen/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://neuigkeiten.disneylandparis.de/saisonale-veranstaltungen/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" : "Geschlossen am 31. August.","092009" : "Geschlossen von 1. September bis 11. September."}
var Alice_Curious_Labyrinth_Attractions = {"Title" : "Alice Curious Labyrinth","Title_name" : "Alice&#39;s Curious Labyrinth","Link" : "http://parks.disneylandparis.de/disneyland-park/lander/fantasyland/attraktionen/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" : "Geschlossen von 8. September bis 12. September."}
var Autopia_Attractions = {"Title" : "Autopia","Title_name" : "Autopia","Link" : "http://parks.disneylandparis.de/disneyland-park/lander/discoveryland/attraktionen/autopia.xhtml","Park" : "Disneyland park","Location" : "Discoveryland","Hours" : Autopia_Content}
Attractions.push(Autopia_Attractions);
var Big_Thunder_Mountain_Content = {"Class" : "none","042010" : "Geschlossen von 26. April bis 30. April.","052010" : "Geschlossen von 1. Mai bis 7. Mai."}
var Big_Thunder_Mountain_Attractions = {"Title" : "Big Thunder Mountain","Title_name" : "Big Thunder Mountain","Link" : "http://parks.disneylandparis.de/disneyland-park/lander/frontierland/attraktionen/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","092010" : "Geschlossen Den ganzen Monat lang.","102010" : "Geschlossen von 1. Oktober bis 8. Oktober."}
var Blanche_Neige_Attractions = {"Title" : "Blanche Neige","Title_name" : "Blanche&#45;Neige et les Sept Nains","Link" : "http://parks.disneylandparis.de/disneyland-park/lander/fantasyland/attraktionen/blanche-neige-et-les-sept-nains.xhtml","Park" : "Disneyland park","Location" : "Fantasyland","Hours" : Blanche_Neige_et_les_Sept_Nains_Content}
Attractions.push(Blanche_Neige_Attractions);
var Buzz_Lightyear_Laser_Blast_Content = {"Class" : "none","102010" : "Geschlossen von 11. Oktober bis 22. Oktober."}
var Buzz_Lightyear_Laser_Blast_Attractions = {"Title" : "Buzz Lightyear Laser Blast","Title_name" : "Buzz Lightyear Laser Blast","Link" : "http://parks.disneylandparis.de/disneyland-park/lander/discoveryland/attraktionen/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","052010" : "Geschlossen Den ganzen Monat lang.","062010" : "Geschlossen von 1. Juni bis 11. Juni.","102010" : "Geschlossen von 4. Oktober bis 15. Oktober.","112010" : "Geschlossen von 4. November bis 5. November.","012011" : "Geschlossen von 10. Januar bis 21. Januar."}
var Casey_Junior_Attractions = {"Title" : "Casey Junior","Title_name" : "Casey Jr&#46; &#45; le Petit Train du Cirque","Link" : "http://parks.disneylandparis.de/disneyland-park/lander/fantasyland/attraktionen/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" : "Geschlossen von 16. November bis 26. 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://parks.disneylandparis.de/disneyland-park/lander/main-street-usa/attraktionen/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" : "Geschlossen von 10. Mai bis 31. Mai.","062010" : "Geschlossen Den ganzen Monat lang.","072010" : "Geschlossen von 1. Juli bis 2. Juli."}
var Dumbo_the_Flying_Elephant_Attractions = {"Title" : "Dumbo the Flying Elephant","Title_name" : "Dumbo the Flying Elephant","Link" : "http://parks.disneylandparis.de/disneyland-park/lander/fantasyland/attraktionen/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","052010" : "Geschlossen von 3. Mai bis 31. Mai.","062010" : "Geschlossen von 1. Juni bis 11. Juni."}
var Captain_EO_Attractions = {"Title" : "Captain EO","Title_name" : "Captain EO","Link" : "http://parks.disneylandparis.de/disneyland-park/lander/discoveryland/attraktionen/captain-eo.xhtml","Park" : "Disneyland park","Location" : "Discoveryland","Hours" : Honey_I_Shrunk_the_Audience_Content}
Attractions.push(Captain_EO_Attractions);
var Indiana_Jones_and_the_Temple_of_Peril_Content = {"Class" : "none","062010" : "Geschlossen von 7. Juni bis 18. Juni."}
var Indiana_Jones_Attractions = {"Title" : "Indiana Jones","Title_name" : "Indiana Jones<sup>TM<&#47;sup> and the Temple of Peril","Link" : "http://parks.disneylandparis.de/disneyland-park/lander/adventureland/attraktionen/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","012011" : "Geschlossen von 10. Januar bis 28. Januar."}
var its_a_small_world_Attractions = {"Title" : "it&#39;s a small world","Title_name" : "It&#39;s a Small World","Link" : "http://parks.disneylandparis.de/disneyland-park/lander/fantasyland/attraktionen/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","062010" : "Geschlossen von 21. Juni bis 30. Juni.","072010" : "Geschlossen von 1. Juli bis 2. Juli."}
var La_Cabane_des_Robinson_Attractions = {"Title" : "La Cabane des Robinson","Title_name" : "La Cabane des Robinson","Link" : "http://parks.disneylandparis.de/disneyland-park/lander/adventureland/attraktionen/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","022011" : "Geschlossen von 14. Februar bis 28. Februar.","032011" : "Geschlossen Den ganzen Monat lang."}
var La_Taniere_du_Dragon_Attractions = {"Title" : "La Taniere du Dragon","Title_name" : "La Tani&#232;re du Dragon","Link" : "http://parks.disneylandparis.de/disneyland-park/lander/fantasyland/attraktionen/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","092010" : "Geschlossen von 13. September bis 17. September."}
var Le_Carrousel_de_Lancelot_Attractions = {"Title" : "Le Carrousel de Lancelot","Title_name" : "Le Carrousel de Lancelot","Link" : "http://parks.disneylandparis.de/disneyland-park/lander/fantasyland/attraktionen/le-carrousel-de-lancelot.xhtml","Park" : "Disneyland park","Location" : "Fantasyland","Hours" : Le_Carrousel_de_Lancelot_Content}
Attractions.push(Le_Carrousel_de_Lancelot_Attractions);
var Le_Mystere_du_Nautilus_Content = {"Class" : "none","032010" : "Geschlossen von 22. März bis 31. März.","042010" : "Geschlossen von 1. April bis 2. April."}
var Les_Mysteres_du_Nautilus_Attractions = {"Title" : "Les Mysteres du Nautilus","Title_name" : "Les Myst&#232;res du Nautilus","Link" : "http://parks.disneylandparis.de/disneyland-park/lander/discoveryland/attraktionen/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" : "Geschlossen von 23. März bis 31. März.","042009" : "Geschlossen von 1. April bis 3. April."}
var Le_Passage_dAladdin_Attractions = {"Title" : "Le Passage d&#39;Aladdin","Title_name" : "Le Passage Enchant&#233; d&#39;Aladdin","Link" : "http://parks.disneylandparis.de/disneyland-park/lander/adventureland/attraktionen/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","052010" : "Geschlossen Den ganzen Monat lang.","062010" : "Geschlossen von 1. Juni bis 11. Juni.","102010" : "Geschlossen von 4. Oktober bis 15. Oktober.","112010" : "Geschlossen von 4. November bis 5. November.","012011" : "Geschlossen von 10. Januar bis 21. Januar."}
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://parks.disneylandparis.de/disneyland-park/lander/fantasyland/attraktionen/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" : "Geschlossen von 3. Mai bis 7. Mai."}
var Les_Voyages_de_Pinocchio_Attractions = {"Title" : "Les Voyages de Pinocchio","Title_name" : "Les Voyages de Pinocchio","Link" : "http://parks.disneylandparis.de/disneyland-park/lander/fantasyland/attraktionen/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" : "Geschlossen von 6. April bis 30. April."}
var Mad_Hatter_Tea_Cups_Attractions = {"Title" : "Mad Hatter Tea Cups","Title_name" : "Mad Hatter&#39;s Tea Cups","Link" : "http://parks.disneylandparis.de/disneyland-park/lander/fantasyland/attraktionen/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" : "Geschlossen von 19. Oktober bis 23. Oktober."}
var Orbitron_Attractions = {"Title" : "Orbitron","Title_name" : "Orbitron&#174;","Link" : "http://parks.disneylandparis.de/disneyland-park/lander/discoveryland/attraktionen/orbitron.xhtml","Park" : "Disneyland park","Location" : "Discoveryland","Hours" : Orbitron_Content}
Attractions.push(Orbitron_Attractions);
var Peter_Pans_Flight_Content = {"Class" : "none","012011" : "Geschlossen am 31. Januar.","022011" : "Geschlossen von 1. Februar bis 11. Februar."}
var Peter_Pan_Flight_Attractions = {"Title" : "Peter Pan Flight","Title_name" : "Peter Pan&#39;s Flight","Link" : "http://parks.disneylandparis.de/disneyland-park/lander/fantasyland/attraktionen/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","092010" : "Geschlossen von 1. September bis 24. September."}
var Phantom_Manor_Attractions = {"Title" : "Phantom Manor","Title_name" : "Phantom Manor","Link" : "http://parks.disneylandparis.de/disneyland-park/lander/frontierland/attraktionen/phantom-manor.xhtml","Park" : "Disneyland park","Location" : "Frontierland","Hours" : Phantom_Manor_Content}
Attractions.push(Phantom_Manor_Attractions);
var Pirates_Beach_Content = {"Class" : "none","062009" : "Geschlossen von 8. Juni bis 19. Juni."}
var Pirate_Beach_Attractions = {"Title" : "Pirate Beach","Title_name" : "Pirates&#39; Beach","Link" : "http://parks.disneylandparis.de/disneyland-park/lander/adventureland/attraktionen/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" : "Geschlossen von 8. März bis 19. März."}
var Pirates_of_the_Caribbean_Attractions = {"Title" : "Pirates of the Caribbean","Title_name" : "Pirates of the Caribbean","Link" : "http://parks.disneylandparis.de/disneyland-park/lander/adventureland/attraktionen/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" : "Geschlossen von 25. Mai bis 31. Mai.","062009" : "Geschlossen von 1. Juni bis 5. Juni."}
var Pocahontas_Indian_Village_Attractions = {"Title" : "Pocahontas Indian Village","Title_name" : "Pocahontas Indian Village","Link" : "http://parks.disneylandparis.de/disneyland-park/lander/frontierland/attraktionen/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","072010" : "Geschlossen von 20. Juli bis 21. Juli.","122010" : "Geschlossen von 6. Dezember bis 10. Dezember."}
var Space_Mountain_Mission_2_Attractions = {"Title" : "Space Mountain Mission 2","Title_name" : "Space Mountain: Mission 2","Link" : "http://parks.disneylandparis.de/disneyland-park/lander/discoveryland/attraktionen/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","012011" : "Geschlossen von 10. Januar bis 21. Januar."}
var Animagique_Attractions = {"Title" : "Animagique","Title_name" : "Animagique","Link" : "http://parks.disneylandparis.de/walt-disney-studios-park/produktionszonen/toon-studio/attraktionen/animagique.xhtml","Park" : "Walt Disney Studios park","Location" : "Toon Studio","Hours" : Animagique_Content}
Attractions.push(Animagique_Attractions);
var Armageddon_Content = {"Class" : "none","112010" : "Geschlossen von 29. November bis 30. November.","122010" : "Geschlossen von 1. Dezember bis 2. Dezember."}
var Armageddon_Attractions = {"Title" : "Armageddon","Title_name" : "Armageddon Special Effects","Link" : "http://parks.disneylandparis.de/walt-disney-studios-park/produktionszonen/backlot/attraktionen/armageddon.xhtml","Park" : "Walt Disney Studios park","Location" : "Backlot","Hours" : Armageddon_Content}
Attractions.push(Armageddon_Attractions);
var Cinemagique_Content = {"Class" : "none","062010" : "Geschlossen von 5. Juni bis 11. Juni."}
var Cinemagique_Attractions = {"Title" : "Cinemagique","Title_name" : "Cin&#233;Magique","Link" : "http://parks.disneylandparis.de/walt-disney-studios-park/produktionszonen/production-courtyard/attraktionen/cinemagique.xhtml","Park" : "Walt Disney Studios park","Location" : "Production Courtyard","Hours" : Cinemagique_Content}
Attractions.push(Cinemagique_Attractions);
var Crushs_Coaster_Content = {"Class" : "none","062010" : "Geschlossen von 16. Juni bis 17. Juni."}
var Crush_Coaster_Attractions = {"Title" : "Crush Coaster","Title_name" : "Crush&#39;s Coaster","Link" : "http://parks.disneylandparis.de/walt-disney-studios-park/produktionszonen/toon-studio/attraktionen/crush-coaster.xhtml","Park" : "Walt Disney Studios park","Location" : "Toon Studio","Hours" : Crushs_Coaster_Content}
Attractions.push(Crush_Coaster_Attractions);
var Flying_Carpets_over_Agrabah_Content = {"Class" : "none","092010" : "Geschlossen von 15. September bis 16. September."}
var Les_Tapis_Volants_Attractions = {"Title" : "Les Tapis Volants","Title_name" : "Flying Carpets Over Agrabah","Link" : "http://parks.disneylandparis.de/walt-disney-studios-park/produktionszonen/toon-studio/attraktionen/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" : "Geschlossen von 14. September bis 25. September."}
var Rock_n_Roller_Coaster_Attractions = {"Title" : "Rock n Roller Coaster","Title_name" : "Rock &#39;n&#39; Roller Coaster Starring Aerosmith","Link" : "http://parks.disneylandparis.de/walt-disney-studios-park/produktionszonen/backlot/attraktionen/rocknroller.xhtml","Park" : "Walt Disney Studios park","Location" : "Backlot","Hours" : Rockn_Roller_Coaster_Content}
Attractions.push(Rock_n_Roller_Coaster_Attractions);
var Slinky_Dog_Zigzag_Spin_Content = {"Class" : "none","022011" : "Geschlossen von 1. Februar bis 9. Februar."}
var Slinky_Dog_Zigzag_Spin_Attractions = {"Title" : "Slinky Dog Zigzag Spin","Title_name" : "Slinky Dog Zigzag Spin","Link" : "http://parks.disneylandparis.de/walt-disney-studios-park/produktionszonen/toon-studio/attraktionen/slinky-dog-zigzag-spin.xhtml","Park" : "Walt Disney Studios park","Location" : "Toon Studio","Hours" : Slinky_Dog_Zigzag_Spin_Content}
Attractions.push(Slinky_Dog_Zigzag_Spin_Attractions);
var Stitch_Live_Content = {"Class" : "none","012009" : "Geschlossen von 26. Januar bis 30. Januar."}
var Stitch_Live_Attractions = {"Title" : "Stitch Live","Title_name" : "Stitch Live &#33;","Link" : "http://parks.disneylandparis.de/walt-disney-studios-park/produktionszonen/production-courtyard/attraktionen/stitch-live.xhtml","Park" : "Walt Disney Studios park","Location" : "Production Courtyard","Hours" : Stitch_Live_Content}
Attractions.push(Stitch_Live_Attractions);
var Studio_Tram_Tour_Content = {"Class" : "none","052010" : "Geschlossen von 1. Mai bis 28. Mai.","012011" : "Geschlossen von 3. Januar bis 31. Januar.","022011" : "Geschlossen von 1. Februar bis 11. Februar."}
var Studio_Tram_Tour_Attractions = {"Title" : "Studio Tram Tour","Title_name" : "Studio Tram Tour&#174;: Behind the Magic","Link" : "http://parks.disneylandparis.de/walt-disney-studios-park/produktionszonen/production-courtyard/attraktionen/studio-tram-tour.xhtml","Park" : "Walt Disney Studios park","Location" : "Production Courtyard","Hours" : Studio_Tram_Tour_Content}
Attractions.push(Studio_Tram_Tour_Attractions);
var Toy_Soldiers_Parachute_Drop_Content = {"Class" : "none","012011" : "Geschlossen von 18. Januar bis 20. Januar."}
var Toy_Soldiers_Parachute_Drop_Attractions = {"Title" : "Toy Soldiers Parachute Drop","Title_name" : "Toy Soldiers Parachute Drop","Link" : "http://parks.disneylandparis.de/walt-disney-studios-park/produktionszonen/toon-studio/attraktionen/toy-soldiers-parachute-drop.xhtml","Park" : "Walt Disney Studios park","Location" : "Toon Studio","Hours" : Toy_Soldiers_Parachute_Drop_Content}
Attractions.push(Toy_Soldiers_Parachute_Drop_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" : "Zauberhafte Weihnachtszeit","Title_name" : "","Link" : "http://neuigkeiten.disneylandparis.de/saison/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 Feuerwerkssymphonie","Title_name" : "","Link" : "http://neuigkeiten.disneylandparis.de/saison/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" : "","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" : "immer etwas Neues","Title_name" : "","Link" : "http://neuigkeiten.disneylandparis.de/index.xhtml","Image" : "","Park" : "","Location" : "","Hours" : Kids_Go_Free_Content}
Seasons.push(Always_Something_New_Seasons);

// Global params for calendar translation 

var DaysList = new Array("Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag", "Sonntag");
var MonthsList = new Array("Januar", "Februar", "M&#228;rz", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember");
var previousNextMonth = new Array("vorheriger Tag","n&#228;chster Tag");
var dayToDisplay = new Array("M","D","M","D","F","S","S");
var closedParkHours = "&#214;ffnungszeiten der Parks:";
var closedRestaurantHours = "Travaux et fermetures des restaurants"
var closedAttractionsHours = "Vor&uuml;bergehende Schließung der Hauptattraktionen";
var paradsAndAttractions = "Bitte beachten Sie, dass die Paraden und Shows jederzeit und ohne Vorank&#252;ndigungen abgesagt oder verschoben werden k&#246;nnen";
var showHours = new Array("Shows and parades: ","shows-and-parades.xhtml","See");
var historyBack = "Zur&#252;ck zum Kalender";
var xmlLang = 'De';
var Default = {"Title" : "Information nicht verf&uuml;gbar."};
// end global params
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 = parseInt(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);

/*
 * boolean global private params applying specific state while the script's running
 *
 * @param boolean private global isClickNextDay - default state : false
 * @param boolean private global isClickPreviewDay - default state : false
 * @param boolean private global isClickDayOfMonth - default state : false
 * @param boolean private global isContentDisplayed - default state : false
 * @param boolean private global isAttractionsDisplayed - default state : false
 * @param boolean private global isClickNextMonth - default state : false
 * @param boolean private global isClickPreviewMonth - default state : false
 */


var isClickNextDay = false;
var isClickPreviewDay = false;
var isClickDayOfMonth = false;
var isContentDisplayed = false;
var isAttractionsDisplayed = false;

var isClickNextMonth = false;
var isClickPreviewMonth = false;


/* This part of code is about attractions and restaurants closures

        *
        */

function getMyXmlAttractionsFile() {
    var xml = "";
    var startFile = "closedAttractions_";

    if (isClickNextDay || isClickPreviewDay ) {
        if (isClickNextDay && !isClickPreviewDay) {
            if(TodaysDate>=MonthLength[TodaysMonth]){
                if (TodaysMonth == 10) {
                    xml = startFile+(TodaysMonth+2) + "-" + TodaysYear +".xml";
                } else if (TodaysMonth == 11) {
                    xml = startFile+"_01-" + (TodaysYear+1) +".xml";
                }
                else {
                    if (TodaysMonth<8) {
                        xml = startFile+"_"+"0"+(TodaysMonth+2) + "-" + TodaysYear +".xml";
                    } else {
                        xml = startFile+"_"+(TodaysMonth+2) + "-" + TodaysYear +".xml";
                    }
                }
            }else {
                if (TodaysMonth<9) {
                    xml = startFile+"0"+(TodaysMonth+1) + "-" + TodaysYear +".xml";
                } else {
                    xml = startFile+(TodaysMonth+1) + "-" + TodaysYear +".xml";
                }
            }
        } else if (isClickPreviewDay && !isClickNextDay) {
            if(TodaysDate<=1){
                if (TodaysMonth == 0) {
                    xml = startFile+"12-" + (TodaysYear-1) +".xml";
                }
                else {
                    if (TodaysMonth<10) {
                        xml = startFile+"0"+(TodaysMonth) + "-" + TodaysYear +".xml";
                    } else {
                        xml = startFile+(TodaysMonth) + "-" + TodaysYear +".xml";
                    }
                }

            } else {
                if (TodaysMonth<9) {
                    xml = startFile+"0"+(TodaysMonth+1) + "-" + TodaysYear +".xml";
                } else {
                    xml = startFile+(TodaysMonth+1) + "-" + TodaysYear +".xml";
                }
            }
        }
    }
    else if ((!isClickNextDay && !isClickPreviewDay) || isClickDayOfMonth) {

        if (TodaysMonth<9) {
            xml = startFile+"0"+(TodaysMonth+1) + "-" + TodaysYear +".xml";
        } else {
            xml = startFile+(parseInt(TodaysMonth)+1) + "-" + TodaysYear +".xml";
        }
    }
    return  "/UK/EN/Neutral/system/XML/calendar/"+xml;
}


var getXmlAttractionsRequest = function () {
    var myAjaxAttractions = new Ajax.Request(
        getMyXmlAttractionsFile(),
        {
            method: 'get',
            onSuccess : displayXmlAttractionsStandard,
            onFailure : displayXmlAttractionsEmpty,
            onComplete : displayXmlAttractions

        }
        );
};

displayXmlAttractionsEmpty = function(xhr)  {
    isAttractionsDisplayed = false;
}

displayXmlAttractionsStandard = function(xhr)  {
    isAttractionsDisplayed = true;
}



displayXmlAttractions = function(xhr)  {

    var response = xhr.responseXML;
    var Attractions = new Array();
    var Restaurants = new Array();
    var date = "";
    var xmlContent = {};
  
    var theMonth;
    if((TodaysMonth+1) < 10){
        theMonth = "0"+(TodaysMonth+1);
    }
    else{
        theMonth =  parseInt(TodaysMonth)+1;
    }

    theMonth = theMonth.toString();
    TodaysYear = TodaysYear.toString();
    date =  theMonth+TodaysYear;
    date= date.toString();

    if (isAttractionsDisplayed) {

        var nodeLang = response.getElementsByTagName("lang");       
        for (var j = 0; j<nodeLang.length; j++) {           
            if (nodeLang[j].getAttribute('id') == xmlLang) {
                var nodes = nodeLang[j].getElementsByTagName("name");
                for (var i = 0; i<nodes.length; i++) {
                    xmlContent[i] = {
                        "Title" :  nodeLang[j].getElementsByTagName("name").item(i).firstChild.nodeValue,
                        "Title_name" :  nodeLang[j].getElementsByTagName("name").item(i).firstChild.nodeValue,
                        "Link" : nodeLang[j].getElementsByTagName("url").item(i).firstChild.nodeValue,
                        "Park" : "Disneyland park",
                        "HoursOp" : nodeLang[j].getElementsByTagName("closeDate").item(i).firstChild.nodeValue,
                        "Hours" : {
                            "Class" : "none"
                        }               
                    }
                    xmlContent[i]["Hours"][date] = nodeLang[j].getElementsByTagName("closeDateOp").item(i).firstChild.nodeValue;
                    if (nodeLang[j].getElementsByTagName("type").item(i).firstChild.nodeValue == "ATTR") {
                        Attractions.push(xmlContent[i]);

                    } else if (nodeLang[j].getElementsByTagName("type").item(i).firstChild.nodeValue == "REST") {
                        Restaurants.push(xmlContent[i]);
                    }
                }

            }

        }
      

        ConstructDayCalendarAttractions(Attractions,Restaurants);

    }   
   else {
          ConstructDayCalendarAttractions("","");
     }
}


function ConstructDayCalendarAttractions(Attractions,Restaurants){
    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();
    var isUpdate = false;
    var result = "";
    key = theMonth+TodaysYear.toString();
    key = key.toString();
    for(var i=0 ; i<Attractions.length ; i++){
        if(Attractions[i]["Hours"][key]){
            result += "<dl>";
            if (Attractions[i]["Link"] == "noUrl") {
                result += "<dt>"+ Attractions[i]["Title_name"] + "</dt>";
            } else {
                result += "<dt><a href=\"" + Attractions[i]["Link"] + "\">" + Attractions[i]["Title_name"] + "</a></dt>";
            }
            if (Attractions[i]["HoursOp"] == "noDate") {
                result += "";
            } else {
                result += "<dd>" + Attractions[i]["HoursOp"] + "</dd>";
            }
            if (Attractions[i]["Hours"][key] == "noDate") {
                result += "";
            } else {
                result += "<dd>" + Attractions[i]["Hours"][key] + "</dd>";
            }
            result += "</dl>";
            isUpdate = true;
        }
    }
    if(!isUpdate){
       result += "<dl>";
       result += "<dt>"+ Default["Title"] + "</dt>";
       result += "<dd></dd>";  
    }
    $("AttractionsContent").innerHTML = result;
    result = "";
    for(i=0 ; i<Restaurants.length ; i++){
        if(Restaurants[i]["Hours"][key]){
            result += "<dl>";
            if (Restaurants[i]["Link"] == "noUrl") {
                result += "<dt>"+ Restaurants[i]["Title_name"] + "</dt>";
            } else {
                result += "<dt><a href=\"" + Restaurants[i]["Link"] + "\">" + Restaurants[i]["Title_name"] + "</a></dt>";
            }
            if (Restaurants[i]["HoursOp"] == "noDate") {
                result += "<dd></dd>";
            } else {
                result += "<dd>" + Restaurants[i]["HoursOp"] + "</dd>";
            }
            if (Restaurants[i]["Hours"][key] == "noDate") {
                result += "<dd></dd>";
            } else {
                result += "<dd>" + Restaurants[i]["Hours"][key] + "</dd>";
            }
            result += "</dl>";
            isUpdate = true;
        }
    }
    if(!isUpdate){
       result += "<dl>";
       result += "<dt>"+ Default["Title"] + "</dt>";
       result += "<dd></dd>";  
    }
    //$("RestaurantContent").innerHTML = result;
}


function setCookieMonth(nom,valeur) {
    document.cookie = nom + "=" + escape(valeur)
}

function getCookieMonth(name) {
    var deb = document.cookie.indexOf(name + "=")
    if (deb >= 0) {
        deb += name.length + 1
        var fin = document.cookie.indexOf(";",deb)
        if (fin < 0) fin = document.cookie.length
        return unescape(document.cookie.substring(deb,fin))
    }
    return ""
}



/*
 * set State to boolean params if nodeId is clicked
 *
 * @param event event  - check event type
 */



function IsClickedDay(event) {
    /*
 * @param node  nodeId - search only nodes if  = to the nodeId
 * @param boolean isClickNextDay
 * @param boolean isClickPreviewDay
 */

    if (Event.findElement(event,"DIV")) {
        node = Event.findElement(event,"DIV");
        var nodeId = node.id;
        if (nodeId.toString() == "nextDay") {
            isClickNextDay = true;
            isClickPreviewDay = false;
            isClickDayOfMonth = false;
        }else if (nodeId.toString() == "previousDay") {
            isClickPreviewDay = true;
            isClickNextDay = false;
            isClickDayOfMonth = false;
        } else  {
            isClickPreviewDay = false;
            isClickNextDay = false;
            isClickDayOfMonth = false;
        }
    }
}

/*
 * set State to boolean params if nodeId is clicked
 *
 * @param event event  - check event type
 */

function IsClickedDayOfMonth(event) {
    /*
 * @param node  node - search only nodes DOM DIV
 * @param node  nodeId - search only nodes if  = to the nodeId
 * @param boolean isClickDayOfMonth
 */
    if (Event.findElement(event,"DIV")) {
        node = Event.findElement(event,"DIV");
        var nodeId = ((node.firstChild).toString()).substring(0,10);
        if (nodeId == "javascript") {
            isClickDayOfMonth = true;
            isClickPreviewDay = false;
            isClickNextDay = false;
        } else  {
            isClickDayOfMonth = false;
        }
    }
}




function getMyXmlFile() {    
    var xml = "";   
    if (isClickNextDay || isClickPreviewDay && !isClickDayOfMonth) {
        if (isClickNextDay && !isClickPreviewDay) {
            if(TodaysDate>=MonthLength[TodaysMonth]){
                if (TodaysMonth == 10) {                     
                    xml = "parkHours_"+(TodaysMonth+2) + "-" + TodaysYear +".xml";
                } else if (TodaysMonth == 11) {                    
                    xml = "parkHours_01-" + (parseInt(TodaysYear)+1) +".xml";
                }
                else {
                    if (TodaysMonth<8) {                        
                        xml = "parkHours_"+"0"+(TodaysMonth+2) + "-" + TodaysYear +".xml";
                    } else {                         
                        xml = "parkHours_"+(TodaysMonth+2) + "-" + TodaysYear +".xml";
                    }
                }
            }else {
                if (TodaysMonth<9) {                     
                    xml = "parkHours_"+"0"+(TodaysMonth+1) + "-" + TodaysYear +".xml";
                } else {                    
                    xml = "parkHours_"+(TodaysMonth+1) + "-" + TodaysYear +".xml";
                }
            }
        } else if (isClickPreviewDay && !isClickNextDay) {
            if(TodaysDate<=1){
                if (TodaysMonth == 0) {                     
                    xml = "parkHours_12-" + (TodaysYear-1) +".xml";
                }
                else {
                    if (TodaysMonth<10) {                        
                        xml = "parkHours_"+"0"+(TodaysMonth) + "-" + TodaysYear +".xml";
                    } else {                         
                        xml = "parkHours_"+(TodaysMonth) + "-" + TodaysYear +".xml";
                    }
                }

            } else {
                if (TodaysMonth<9) {                     
                    xml = "parkHours_"+"0"+(TodaysMonth+1) + "-" + TodaysYear +".xml";
                } else {                    
                    xml = "parkHours_"+(TodaysMonth+1) + "-" + TodaysYear +".xml";
                }
            }
        }
    }
    else if ((!isClickNextDay && !isClickPreviewDay) || isClickDayOfMonth) {
        if (TodaysMonth<9) {            
            xml = "parkHours_"+"0"+(TodaysMonth+1) + "-" + TodaysYear +".xml";
        } else {             
            xml = "parkHours_"+(TodaysMonth+1) + "-" + TodaysYear +".xml";
        }
    }
   return "/UK/EN/Neutral/system/XML/calendar/"+xml;
}


var getXmlRequest = function () {
    var myAjax = new Ajax.Request(
        getMyXmlFile(),
        {
            parameters: {},
            method: 'get',
            onSuccess : displayXmlStandard,
            onFailure : displayXmlEmpty,
            onComplete : displayXml

        }
        );
};


displayXmlEmpty = function(xhr) {
    isContentDisplayed = false;
}

displayXmlStandard = function(xhr) {
    isContentDisplayed = true;
}

displayXml = function(xhr)  {
    var response = xhr.responseXML;
    var Content = new Array();
    var contentParkDisney = {
        Class : 'Park',
        Name : 'Disneyland Park'
    };
    var contentParkDisneyEmh = {
        Class : 'ParkEmh',
        Name : 'Disneyland Park Emh'
    };
    var contentStudioDisney = {
        Class : 'Studios',
        Name : 'Walt Disney Studios'
    };
    var contentStudioDisneyEmh = {
        Class : 'StudioEmh',
        Name : 'Walt Disney Studios Emh'
    };
    if (isContentDisplayed) {
        var nodeDate ;
        var nodeOpen ;
        var nodeOpenEmh ;
        var nodecloseEmh;
        var nodeClose ;
        var i = 0;
        var nodesPark = response.getElementsByTagName('park');
        if (nodesPark[0].getAttribute('id') == 1) {
            nodeDate = nodesPark[0].getElementsByTagName("date");
            nodeOpen = nodesPark[0].getElementsByTagName("open");
            nodeOpenEmh = nodesPark[0].getElementsByTagName("openEmh");
            nodeClose = nodesPark[0].getElementsByTagName("close");
            nodecloseEmh = nodesPark[0].getElementsByTagName("closeEmh");
            for (i=0 ; i<nodeDate.length ; i++) {
                contentParkDisney[nodeDate[i].firstChild.nodeValue]= nodeOpen[i].firstChild.nodeValue +'-'+ nodeClose[i].firstChild.nodeValue;
                contentParkDisneyEmh[nodeDate[i].firstChild.nodeValue]= nodeOpenEmh[i].firstChild.nodeValue +'-'+ nodecloseEmh[i].firstChild.nodeValue;
            }
        }
        if (nodesPark[1].getAttribute('id') == 2) {
            nodeDate = nodesPark[1].getElementsByTagName("date");
            nodeOpen = nodesPark[1].getElementsByTagName("open");
            nodeOpenEmh = nodesPark[1].getElementsByTagName("openEmh");
            nodeClose = nodesPark[1].getElementsByTagName("close");
            nodecloseEmh = nodesPark[1].getElementsByTagName("closeEmh");
            for (i=0 ; i<nodeDate.length ; i++) {
                contentStudioDisney[nodeDate[i].firstChild.nodeValue]= nodeOpen[i].firstChild.nodeValue +'-'+ nodeClose[i].firstChild.nodeValue;
                contentStudioDisneyEmh[nodeDate[i].firstChild.nodeValue]= nodeOpenEmh[i].firstChild.nodeValue +'-'+ nodecloseEmh[i].firstChild.nodeValue;
            }

        }


    }

    Content.push(contentParkDisney);
    Content.push(contentParkDisneyEmh);
    Content.push(contentStudioDisney);
    Content.push(contentStudioDisneyEmh);


   
    if (isClickDayOfMonth && !isClickNextDay && !isClickPreviewDay) {
        ConstructDayCalendarPark(Content);
    }
    if (!isClickNextDay && !isClickPreviewDay && !isClickDayOfMonth) {
        ConstructDayCalendarPark(Content);
        ConstructCalendar();
    } else if (isClickNextDay && !isClickPreviewDay) {
        GoToDayNext(Content);
        if (!isContentDisplayed) {
            $("nextDay").style.visibility = "hidden";
        }
        $("previousDay").style.visibility = "visible";
        isClickNextDay = false;
    } else if (isClickPreviewDay && !isClickNextDay) {
        GoToDayPrevious(Content);
        if (!isContentDisplayed) {
            $("previousDay").style.visibility = "hidden";
        }
        $("nextDay").style.visibility = "visible";
        isClickPreviewDay = false;
    } else if (isClickDayOfMonth && !isContentDisplayed) {
        $("previousDay").style.visibility = "hidden";
        $("nextDay").style.visibility = "hidden";
    } else if (isClickDayOfMonth && isContentDisplayed) {
        $("previousDay").style.visibility = "visible";
        $("nextDay").style.visibility = "visible";
    }
}




function ConstructDayCalendarPark(Content){

    var cookieValue = getCookieMonth("currentMonth");
    if (!cookieValue) {
        setCookieMonth("currentMonth", TodaysMonth);
    } else  if (cookieValue != TodaysMonth)   {
      
        setCookieMonth("currentMonth", cookieValue,-1);
        setCookieMonth("currentMonth", TodaysMonth);
        getXmlAttractionsRequest();
    }   
    $("labelDay").innerHTML = TodaysDate + " " +MonthsList[TodaysMonth] + " " + TodaysYear;
    $('previous').innerHTML = previousNextMonth[0];
    $('next').innerHTML = previousNextMonth[1];
    $('TitleC1Park').innerHTML = '<h3>'+closedParkHours+'</h3>';
    //$('TitleC1Restaurant').innerHTML = '<h3>'+closedRestaurantHours+'</h3>';
    $('TitleC1Attraction').innerHTML = '<h3>'+closedAttractionsHours+'</h3>';
    $('txtCalendarBottom').innerHTML = paradsAndAttractions;
    $('TitleC1Show').innerHTML ='<h3>'+showHours[0]+'</h3>';
    



    var contentHtml = "";
    var contentName = "";
    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();
    var result = "";
    var img = "";
    for(var i=0 ; i<Content.length ; i++){
        if(Content[i][key]){

            if (Content[i][key] == '00:00-00:00')  {
                contentName = '';
                contentHtml = '';
            } else {
                contentName = Content[i]["Name"]+ " &gt; ";
                contentHtml = Content[i][key];
            }
            if (contentName.startsWith('Walt')) {
                img = "<img src = 'http://actualite.disneylandparis.fr/FR/FR/Distant/Images/customer-seasons-icon-studios.gif' alt=\"\" />";
            } else if (contentName.startsWith('Disneyland')) {
                img = "<img src = 'http://actualite.disneylandparis.fr/FR/FR/Distant/Images/customer-seasons-icon-park.gif' alt=\"\" />";
            } else if (contentName == "") {
                img = '';
            }
            result += "<div class=\"ParcHoursR\">";
            result += "<div class=\"ParcHoursC1\">"+img+"</div>";
            result += "<div class=\"ParcHoursC2\">" + contentName + " " + contentHtml + "</div>";
            result += "<div class=\"clear\"></div>";
            result += "</div>";
        } else {
            result = "<dl><dt>"+ Default["Title"] +"</dt></dl>";
        }
    }

    $("ParksContent").innerHTML = result;
    $("ShowsContent").innerHTML = "<dl><dt><a href ='http://news.disneylandparis.co.uk/UK/EN/Neutral/Images/ShowsAndParades.pdf' target='_blank'>"+showHours[2]+"</a></dl></dt>";
    //$("ShowsContent").innerHTML = "<dl><dt><a href ='"+showHours[1]+"'>"+showHours[2]+"</a></dl></dt>";
}



/*
 ** 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(Content){
    TodaysDate -= 1;
    if(TodaysDate<1){
        GoToMonthPrevious(Content);
        TodaysDate = MonthLength[TodaysMonth];
    }

    ConstructDayCalendarPark(Content);
}
/*
 ** Construct the calendar for the next day
 */
function GoToDayNext(Content){   
    TodaysDate += 1;
    if(TodaysDate>MonthLength[TodaysMonth]){
        GoToMonthNext(Content);
        TodaysDate = 1;
    }
    ConstructDayCalendarPark(Content);
}
/*
 ** Construct the calendar
 */

function ConstructCalendar(){
    // Change the label (Month + Year)
    $("labelCurrentMonthYear").innerHTML = MonthsList[TodaysMonth] + " " + TodaysYear;
    $("labelNextMonthYear").innerHTML = MonthsList[NextMonth] + " " + NextYear;
    $("TxtPad").firstChild.innerHTML = historyBack;
    //$("TxtPadShows").firstChild.innerHTML = historyBackDetail;
    // Change the calendar of the current month
    $("calendarContent").innerHTML = ConstructMonthCalendar(TodaysFirstDay,TodaysMonth,TodaysYear);
    // Change the calendar of the next month
    $("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;
    var ch = $('CalendarHead');
    var divs = ch.getElementsByTagName("div");
    for (var i = 0; i<divs.length; i++) {
        divs[i].innerHTML = dayToDisplay[i];
    }
    var ch1 = $('CalendarHead1');
    var div1s = ch1.getElementsByTagName("div");
    for (i = 0; i<divs.length; i++) {
        div1s[i].innerHTML = dayToDisplay[i];
    }
    // 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;
}
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($("ParksHours") != null){
        $("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();
    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]
                }
            }
        }
    }
    $(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/>"
                }
            }
        }
    }
    $(paradName).innerHTML = result;
}


/*
 ** Construct the day calendar
 */


/*
 ** 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
        var tbVar = location.search.substring(1).split('&');
        for(var 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 ""
}



function writeXmlCalendar() {
    Event.observe(window, 'load', getXmlRequest);
}

function writeXmlAttractions() {
    Event.observe(window, 'load', getXmlAttractionsRequest);
}


function getNextDay() {
    Event.observe($("nextDay"), 'click', IsClickedDay);    
    Event.observe($("nextDay"), 'click', function () {
        setTimeout(getXmlRequest, 100);
    });    
}

function getPreviousDay() {
    Event.observe($("previousDay"), 'click', IsClickedDay);    
    Event.observe($("previousDay"), 'click', function () {
        setTimeout(getXmlRequest, 100);
    } );   
}

function getDayOfTheMonth1() {
    Event.observe($("calendarContent"), 'click', IsClickedDayOfMonth);    
    Event.observe($("calendarContent"), 'click', function () {
        setTimeout(getXmlRequest, 100);
    } );
}

function getDayOfTheMonth2() {
    Event.observe($("calendarContentNext"), 'click', IsClickedDayOfMonth);    
    Event.observe($("calendarContentNext"), 'click', function () {
        setTimeout(getXmlRequest, 100);
    } );
}

