/*
	FUNZIONI: variabili generiche utilizzate da più funzioni	
*/

// messaggio di "caricamento in corso" durante le transazioni Ajax
var gpt_messaggioCaricamento = "<p style='color: #888888;'>Loading...</p>";

// messaggio di errore nel caso di mancato supporto alla tecnologia Ajax
var gpt_messaggioNoSupportoAjax = "An error occurred. Your browser seems not to support the requested functions. Please upgrade your software or contact the administrator."


/*
	CALENDARIO: variabili utilizzate nella visualizzazione del calendario
*/

// etichetta per pulsante invio selettore periodo
var gpt_etichettaSelettore = "Show period";

// array per i giorni della settimana
var gpt_nomeGiorno = new Array();
gpt_nomeGiorno[1] = "monday";
gpt_nomeGiorno[2] = "tuesday";
gpt_nomeGiorno[3] = "wednesday";
gpt_nomeGiorno[4] = "thursday";
gpt_nomeGiorno[5] = "friday";
gpt_nomeGiorno[6] = "saturday";
gpt_nomeGiorno[0] = "sunday";

// array per i mesi dell'anno
var gpt_nomeMese = new Array();
gpt_nomeMese[1] = "january";
gpt_nomeMese[2] = "february";
gpt_nomeMese[3] = "march";
gpt_nomeMese[4] = "april";
gpt_nomeMese[5] = "may";
gpt_nomeMese[6] = "june";
gpt_nomeMese[7] = "july";
gpt_nomeMese[8] = "august";
gpt_nomeMese[9] = "september";
gpt_nomeMese[10] = "october";
gpt_nomeMese[11] = "november";
gpt_nomeMese[12] = "december";


/*
	MESSAGGI CONTROLLO CAMPI: definizione dei messaggi utilizzati dalla funzione di controllo campi
*/
var gpt_messaggioCampoVuoto = "<p><strong>Warning</strong>! The <strong>nomeCampo</strong> field must not remain empty.</p>";
var gpt_messaggioCampoTroppoCorto = "<p><strong>Warning</strong>! The <strong>nomeCampo</strong> field must contain at least <strong>minimoCaratteri</strong> characters.</p>";
var gpt_messaggioCampoTroppoLungo = "<p><strong>Warning</strong>! The <strong>nomeCampo</strong> field should contain no more than <strong>massimoCaratteri</strong> characters.</p>";
var gpt_messaggioCampoCaratteriProibiti = "<p><strong>Warning</strong>! The character you have typed is not allowed for the <strong>nomeCampo</strong> field. Following characters must not be used: <strong>caratteriProibiti</strong> .</p>";
var gpt_messaggioCampoCaratteriNecessari = "<p><strong>Warning</strong>! The <strong>nomeCampo</strong> field must contain the following characters: <strong>caratteriNecessari</strong> .</p>";
var gpt_stringaSostitutivaSpazio = "&lt;space&gt;";
var gpt_stringaSostitutivaInvio = "&lt;return&gt;";
var gpt_messaggioCampoSoloSpazi = "<p><strong>Warning</strong>! The <strong>nomeCampo</strong> field should not contain just the <strong>" + gpt_stringaSostitutivaSpazio + "</strong> character.</p>";
