//-------------------------------------------------------------------+
// Animation of CMOD or WAM data
//
// The number of frames is:
//   CMOD: 1-61 corresp to ana+0 - ana+60
//   WAM:  1-61 corresp to ana+0 - ana+60
//
// JW DMI/COI 2004.04.30
//-------------------------------------------------------------------+

//------------------------------------
// Initialisation
//------------------------------------

var nplots=61;
var prefix="";

cookiename = "settings"
cookieexpire = new Date();
cookieexpire.setTime(cookieexpire.getTime() + 365*86400*1000);
settings = getCookie(cookiename)
if (settings == null) {
  /* Default settings */
  settings = new Object();
  settings.par = "cur.";
  settings.dom = "idf.";
  settings.timestep = 0;
  settings.delay = 400;
}

