//----------------------------------
// Animation of Satellite SST data
//
// The number of frames is:
//   nplots=31
// defined in "index.html"
//
// Plots are numbered 00-30.
//
// JW/JLH DMI/COI      2004.04.30
// Modulised      jw   2005.08.25
// NATL included  pnn  2006.08.01
//----------------------------------

// Variables

var par		= "";
var dom		= "arc.";
var prefix	= "";
var j		= 0; 

// End

//------------------------------------
//	specific for this application
//------------------------------------

function SetPar()
{
 par = document.input.param.value;
}

function SetDom()
{
 dom = "arc.";
}

function SetTimestep()
{
 j = eval(document.input.timestep.value);
}

function SetPrefix()
{
 SetPar();
 SetDom();
 prefix = "plots/" + par + dom + "d-";
}

function SetNumber(i)
{
  if (i<10) {figno="0"+i;}
  else {figno = i;}
}

//------------------------------------
//	Help functions
//------------------------------------

function help()
{
 open("help.html", "displayWindow", "width=700,height=800,status=no,toolbar=no,menubar=no,scrollbars=yes");
}

function help_uk()
{
 open("help.uk.html", "displayWindow", "width=700,height=800,status=no,toolbar=no,menubar=no,scrollbars=yes");
}


function info()
{
 open("info.html", "displayWindow", "width=700,height=840,status=no,toolbar=no,menubar=no,scrollbars=yes");
}

function info_uk()
{
 open("info.uk.html", "displayWindow", "width=700,height=840,status=no,toolbar=no,menubar=no,scrollbars=yes");
}

function comments()
{
 open("comments.html", "displayWindow", "width=400,height=270,status=no,toolbar=no,menubar=no");
}

