/**********************************************************************************************************************/
/* tinyJStools version 1.1                                                                                            */
/* March 2004                                                                                                         */
/*                                                                                                                    */
/* (c) SCalc 2004                                                                                                     */
/* You can be used freely for personal purposes or installed on personal or commercial websites provided it is        */
/* installed without any modifications (apart from the settings which can be modified according to the install.txt    */
/* file).                                                                                                             */
/* It is not allowed:                                                                                                 */
/* - to modify the code, in particular - but not only - to remove the link(s) to tinyJStools                          */
/* - to redistribute the code without a prior agreement with tinyJStools                                              */
/**********************************************************************************************************************/

// You can modify the following settings
//
var _language = 'francais';   // choose between 'english' or 'francais'
var _modes = new Array('clock','calendar','calculator','puzzle');   // list of panels to display
var _mode = 0;              // which panel to start with  -1=random, 0=first in the list, 1= second in the list... 
var _tjst_path = '../tjst';   // path to the tjst folder from the page calling tinyJStools
var _tjst_pid = 0;           // don't change this variable 
var _tjst_aid = 0;           // don't change this variable


// do not modify the following variables
//
var _tjstmessage = new Array();
var _clock_days = new Array(7);
var _clock_months = new Array(12);

// to add another language support, translate the following lines
//
if(_language == 'francais')
{
	var _calendar_months=new Array("Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Sept.","Octobre","Novembre","Décembre");
	var _cal_days = new Array("L","M","M","J","V","S","D");

	_tjstmessage[0] = 'tinyJStools version 1.1';
	_tjstmessage[1] = 'Aide';
	_tjstmessage[2] = 'Basé sur ';
	_tjstmessage[3] = 'effacer';
	_tjstmessage[4] = 'préc.';
	_tjstmessage[5] = 'entrée';
	_tjstmessage[6] = 'Pas de message';
	_tjstmessage[7] = 'Problème avec la valeur absolue';
	_tjstmessage[8] = 'Mémoire vide';
	_tjstmessage[9] = 'Mémoire vidée';
	_tjstmessage[10] = 'Des paramètres ont le même nom';
	_tjstmessage[11] = 'OK';
	_tjstmessage[12] = 'Impossible de redéfinir les fonctions par défaut';
	_tjstmessage[13] = 'Il manque une parenthèse ligne ';
	_tjstmessage[14] = 'Erreur de syntaxe ligne ';
	_tjstmessage[15] = 'Nom inconnu ';
	_tjstmessage[16] = 'Récursion probable, ';
	_tjstmessage[17] = ' appelé ';
	_tjstmessage[18] = ' fois';
	_tjstmessage[19] = 'Unité inconnue ';
	_tjstmessage[20] = 'Unité sans dimension';
	_tjstmessage[21] = 'Erreur de syntaxe';
	_tjstmessage[22] = 'Unités incompatible';
	_tjstmessage[23] = 'Suiv...';
	_tjstmessage[24] = 'Préc...';
	_tjstmessage[25] = 'Félicitations !';
	_tjstmessage[26] = 'Aide de la calculatrice';

	_tjstmessage[35] = 'Nouvelle partie';
	_tjstmessage[36] = 'Aide';
	_tjstmessage[37] = 'Mélanger';
	_tjstmessage[38] = 'Jeu de Taquin';
	_tjstmessage[39] = 'Cliquez sur Mélanger pour commencer. Essayez de retrier les chiffres en les bougeant';
	_tjstmessage[40] = 'Retour';

	_clock_days[0] = 'Dimanche';
    _clock_days[1] = 'Lundi';
	_clock_days[2] = 'Mardi';
	_clock_days[3] = 'Mercredi';
	_clock_days[4] = 'Jeudi';
	_clock_days[5] = 'Vendredi';
	_clock_days[6] = 'Samedi';

	_clock_months[0] = 'Janvier';
	_clock_months[1] = 'Février';
	_clock_months[2] = 'Mars';
	_clock_months[3] = 'Avril';
	_clock_months[4] = 'Mai';
	_clock_months[5] = 'Juin';
	_clock_months[6] = 'Juillet';
	_clock_months[7] = 'Août';
	_clock_months[8] = 'Septembre';
	_clock_months[9] = 'Octobre';
	_clock_months[10] = 'Novembre';
	_clock_months[11] = 'Décembre';

}
else
{
	_tjstmessage[0] = 'tinyJStools version 1.1';
	_tjstmessage[1] = 'Help';
	_tjstmessage[2] = 'Based on ';
	_tjstmessage[3] = 'clear';
	_tjstmessage[4] = 'prev.';
	_tjstmessage[5] = 'enter';
	_tjstmessage[6] = 'No message';
	_tjstmessage[7] = 'Problem with the absolute value';
	_tjstmessage[8] = 'Memory is empty';
	_tjstmessage[9] = 'Memory cleared';
	_tjstmessage[10] = 'Some parameters have the same name';
	_tjstmessage[11] = 'OK';
	_tjstmessage[12] = 'You cannot redefine the default functions';
	_tjstmessage[13] = 'Missing parenthesis line ';
	_tjstmessage[14] = 'Syntax error line ';
	_tjstmessage[15] = 'Unknown name ';
	_tjstmessage[16] = 'Probable recursion, ';
	_tjstmessage[17] = ' called ';
	_tjstmessage[18] = ' times';
	_tjstmessage[19] = 'Unknown unit ';
	_tjstmessage[20] = 'Dimensionless units';
	_tjstmessage[21] = 'Syntax error';
	_tjstmessage[22] = 'Incompatibles units';
	_tjstmessage[23] = 'Next...';
	_tjstmessage[24] = 'Previous...';
	_tjstmessage[25] = 'Congratulations !';
	_tjstmessage[26] = 'Calculator help';

	_tjstmessage[35] = 'Start a new game';
	_tjstmessage[36] = 'Help';
	_tjstmessage[37] = 'Start';
	_tjstmessage[38] = 'Taquin puzzle';
	_tjstmessage[39] = 'Click on Start to shuffle the tiles. Try to re-order them by clicking on a tile near the empty slot';
	_tjstmessage[40] = 'Back';

	_clock_days[0] = 'Sunday';
    _clock_days[1] = 'Monday';
	_clock_days[2] = 'Tuesday';
	_clock_days[3] = 'Wednesday';
	_clock_days[4] = 'Thursday';
	_clock_days[5] = 'Friday';
	_clock_days[6] = 'Saturday';

	_clock_months[0] = 'January';
	_clock_months[1] = 'February';
	_clock_months[2] = 'March';
	_clock_months[3] = 'April';
	_clock_months[4] = 'May';
	_clock_months[5] = 'June';
	_clock_months[6] = 'July';
	_clock_months[7] = 'August';
	_clock_months[8] = 'September';
	_clock_months[9] = 'October';
	_clock_months[10] = 'November';
	_clock_months[11] = 'December';

	var _calendar_months=new Array("Jan.","Feb.","Mar.","Apr.","May","June","July","Aug?","Sept.","Oct.","Nov.","Dec.");

	var _cal_days = new Array("M","T","W","T","F","S","S");

}
