// Il testo in rosso deve essere scritto solo quando si vuole avere la ricerca sul sito // La variable globale utilizzata per l'inserimento della form di ricerca é // SubformRicerca // che può assumere i valori: "Si", "no", nessuno (variabile non dichiarata) // la conversione in minuscolo è effettuata internamente // // Le immagini seguenti debbono essere presenti tra le risorse immagini del DB (ereditate da BIG) // cerca_p.gif // fra.gif // grigio.gif // invia_p.gif // ita.gif // logo.jpg // transparent.gif if ((typeof LinguaCorrente == "undefined") || (LinguaCorrente+"" == "null") || (LinguaCorrente+"" == "")) LinguaCorrente='_i'; function replacesubstringLN(inputstring, badstring,goodstring, casesensitive) { fixedreplace = ""; ui = inputstring; ub = badstring; if ((casesensitive != 1) && (casesensitive != true)) { ui = inputstring.toUpperCase(); ub = badstring.toUpperCase(); } badend = -1; badloc = ui.indexOf(ub); if (badloc != -1) { for (x=1; (badloc != -1); x++) { fixedreplace = fixedreplace + inputstring.substring((badend + 1), badloc) + goodstring; badend = badloc + ub.length - 1; badloc = ui.indexOf(ub, (badloc + 1)); } fixedreplace = fixedreplace + inputstring.substring((badend + 1),inputstring.length); } else { fixedreplace = inputstring; } return fixedreplace; } function linguaIta() { location.href=replacesubstringLN(location.href, '_f','_i'); location.href=replacesubstringLN(location.href, '_e','_i'); return; } function linguaFra() { location.href=replacesubstringLN(location.href, '_i','_f'); location.href=replacesubstringLN(location.href, '_e','_f'); return; } function linguaEng() { location.href=replacesubstringLN(location.href, '_f','_e'); location.href=replacesubstringLN(location.href, '_i','_e'); return; } // controllo sulla casella di ricerca function checkrequired(which){ var pass=true if (which.txtKeyString.value=='') { pass=false } if (!pass){ if (LinguaCorrente.toLowerCase() =='_f') alert("Insérer les termes à rechercher") else alert("Inserire i termini da ricercare") return false } else { return true } } // routine di browser detection function bName() { // return 1 for Internet Explorer if (navigator.appName == "Microsoft Internet Explorer") return 1; // return 2 for Navigator if (navigator.appName == "Netscape") return 2; // return 0 for other browsers return 0; } function bVer() { // return version number (e.g., 4.03) return parseFloat(navigator.appVersion) } function Testata() { if (SubformRicerca.toLowerCase() =='si') { document.writeln(''); } document.writeln(''); document.writeln(' '); document.writeln(' '); document.writeln(' '); document.writeln(' '); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); } function LingueVDA() { document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); if (LinguaCorrente.toLowerCase() =='_f') document.writeln(" "); else document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); else document.writeln("Link"); document.writeln(" "); document.writeln(" "); if (LinguaCorrente.toLowerCase() =='_f') document.writeln(" "); else document.writeln(" "); document.writeln(" "); document.writeln(" "); if (LinguaCorrente.toLowerCase() =='_f') document.writeln(" "); else document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); else document.writeln("Contatti"); document.writeln(" "); document.writeln(" "); if (LinguaCorrente.toLowerCase() =='_i') document.writeln(" "); else document.writeln(" "); document.writeln(" "); document.writeln(" "); if (LinguaCorrente.toLowerCase() =='_f') document.writeln(" "); else document.writeln(" "); document.writeln(" "); document.writeln(" "); if (LinguaCorrente.toLowerCase() =='_e') document.writeln(" "); else document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); } function TestataClose(){ document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln("
'); document.writeln(' '); document.writeln(' '); if (LinguaCorrente.toLowerCase() =='_f') document.writeln(" "); else document.writeln(" "); document.writeln(" "); document.writeln(' '); document.writeln('
Région Autonome Vallée d Aoste - Site officielRegione Autonoma Valle d Aosta - Sito ufficiale
'); document.writeln('
"); document.writeln(" "); document.writeln(" "); document.writeln(" "); else document.writeln(" Cerca nel sito  "); if (LinguaCorrente.toLowerCase() =='_f') document.writeln(" "); else document.writeln(" "); document.writeln(" "); if (LinguaCorrente.toLowerCase() =='_f') document.writeln(" "); document.writeln(" "); } else{ document.writeln(" "); document.writeln(""); document.writeln(""); document.writeln(" "); } if (LinguaCorrente.toLowerCase() =='_f') document.writeln(" "); else document.writeln(" "); document.writeln(" "); document.writeln("
") } function TestataRicerca() { if (SubformRicerca.toLowerCase() == 'si'){ if (LinguaCorrente.toLowerCase() =='_f') document.writeln(" Recherche  
"); document.writeln(" "); document.writeln(" "); else document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln(" "); document.writeln("   
"); document.writeln("
AccueilHome page"); if (LinguaCorrente.toLowerCase() =='_f') document.writeln("LiensNouveautésMappa del sitoPlanNovità"); if (LinguaCorrente.toLowerCase() =='_f') document.writeln("ContactsITAITAFRAFRAENGENG
"); } function PiedePagina(hrefCura, inizioCura, testoCura) { document.writeln('
') if (LinguaCorrente.toLowerCase() =='_f') { document.writeln(inizioCura); document.writeln(''); document.writeln(" "+testoCura+" © 2000-"+2010+" Région Autonome Vallée d' Aoste") document.writeln('
') document.writeln("Conditions d'utilisation") document.writeln(' | Crédits | Contacts |') document.writeln(" Mise à jour le "+UltimaModifica) } else { document.writeln(inizioCura); document.writeln(''+testoCura+' © 2000-'+2010+' Regione Autonoma ') document.writeln(" Valle d' Aosta") document.writeln('
Condizioni di utilizzo | Crediti | Contatti |') document.writeln(" Aggiornata il "+UltimaModifica) } document.writeln('
') }; function PiedeVDA() { if (LinguaCorrente.toLowerCase() =='_f') { PiedePagina("http://www.regione.vda.it/amministrazione/struttura/infomappa_f.asp?codmap=201&", "Page rédigée par le ", "Département des politiques du travail et de la formation"); } else { PiedePagina("http://www.regione.vda.it/amministrazione/struttura/infomappa_i.asp?codmap=201&", "Pagina a cura del ", "Dipartimento Politiche del Lavoro e della Formazione"); } }; function PiedeVDA2() { if (LinguaCorrente.toLowerCase() =='_f') { PiedePagina("http://www.regione.vda.it/amministrazione/struttura/infomappa_f.asp?codmap=201&","Page rédigée par la ", "Département des politiques du travail et de la formation"); } else { PiedePagina("http://www.regione.vda.it/amministrazione/struttura/infomappa_i.asp?codmap=201&", "Pagina a cura del ", "Dipartimento Politiche del Lavoro e della Formazione"); } }; function PiedeADL() { if (LinguaCorrente.toLowerCase() =='_f') { PiedePagina("http://www.regione.vda.it/amministrazione/struttura/infomappa_f.asp?codmap=201&","Département des politiques du travail et de la formation"); } else { PiedePagina("http://www.regione.vda.it/amministrazione/struttura/infomappa_i.asp?codmap=201&","Dipartimento Politiche del Lavoro e della Formazione"); } }; function PiedeDSI() { if (LinguaCorrente.toLowerCase() =='_f') { PiedePagina("http://www.regione.vda.it/amministrazione/struttura/struttura_f.asp?cod=201","Dèpartement du système d'information"); } else { PiedePagina("http://www.regione.vda.it/amministrazione/struttura/struttura_i.asp?cod=201","Dipartimento Politiche del Lavoro e della Formazione"); } }; function PiedeOperePubbliche() { if (LinguaCorrente.toLowerCase() =='_f') { PiedePagina("http://www.regione.vda.it/amministrazione/struttura/struttura_f.asp?cod=201","Dèpartement du système d'information") } else { PiedePagina("http://www.regione.vda.it/amministrazione/struttura/struttura_i.asp?cod=201","Dipartimento Opere pubbliche"); } };