/*
* Copyright 2006 Bjorn Wijers
* This file is part of Skycatcher.
* Skycatcher is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
* Skycatcher is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
* You should have received a copy of the GNU General Public License along with Skycatcher; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
* The latest source code is available at http://www.burobjorn.nl
* Contact burobjorn [at] burobjorn [dot] nl
* 
* Description: Skycatcher is a webapp which shows the skyline of Amsterdam on a certain time and date
*/

function getMonth(v) {
	months = new Array(12);
	months[1] = 'Jan';
	months[2] = 'Feb';
	months[3] = 'Mar';
	months[4] = 'Apr';
	months[5] = 'May';
	months[6] = 'Jun';
	months[7] = 'Jul';
	months[8] = 'Aug';
	months[9] = 'Sep';
	months[10] = 'Oct';
	months[11] = 'Nov';
	months[12] = 'Dec';
	return months[v];
}
		
function getSizeLabel(v) {
	sizes 	  = new Array(4)
	sizes[1]  = 'tiny';
	sizes[2]  = 'small';
	sizes[3]  = 'medium';
	sizes[4]  = 'big';
	return sizes[v]; 
}
		
function getIntervalLabel(v) {
	interval 	  = new Array(4)
	interval[1]  = '5 min';
	interval[2]  = '1 hour';
	interval[3]  = '1 day';
	interval[4]  = '1 month';
	return interval[v];
}					  
