var num_of_cats = 26; // This is the number of categories, including the first, blank, category.
var open_in_newwindow=0; //Set 1 to open links in new window, 0 for no.
var option_array = new Array(num_of_cats);

option_array[0] = new Array("------"); // This is the first (blank) category. Don't mess with it.

option_array[1] = new Array( "-- Liste --",
"Sect. Protection Sociale", "Recherche sur le site");

option_array[2] = new Array( "-- Liste --",
"Sect. Protection sociale",
"Montants des Allocations familliales");

option_array[3] = new Array( "-- Liste --",
"Sect. Protection sociale", "Recherche sur le site");

option_array[4] = new Array( "-- Liste --",
"Sect. Chômage", "Guide du salarié en chômage partiel");

option_array[5] = new Array( "-- Liste --","Conflits collectifs", "Contrat de travail", "Liberté fondamentale", "Droit disciplinaire", "Élections professionnelles", "Droit syndical", "Durée du travail", "Discriminations", "Convention collective");

option_array[6] = new Array( "-- Liste --","Comités d'entreprises", "Comité d'entreprise et aides publiques");

option_array[7] = new Array( "-- Liste --","Articles","AFOC","http://afoc.net" );

option_array[8] = new Array( "-- Liste --",
"Vos droits", "Sect. Conventions collectives");

option_array[9] = new Array( "-- Liste --",
"Sect. Economique", "Dossier");

option_array[10] = new Array( "-- Liste --",
"Sect. Juridique", "Vos droits");

option_array[11] = new Array( "-- Liste --",
"Sect. Organisation", "971 - Guadeloupe", "972 - Martinique", "973 - Guyane", "974 - La Réunion ", "975 - Saint-Pierre et Miquelon", "976 - Union FO de Mayotte", "NC - Union territoriale Nouvelle Calédonie ", "PF - Polynésie française USATP FO", "WF - Union locale FO de Wallis et Futuna" );

option_array[12] = new Array( "-- Liste --",
"Economie",
"Economie sociale", "Dossiers");

option_array[13] = new Array( "-- Liste --", "Sect. Conventions collectives ", "Recherche sur le site");

option_array[14] = new Array( "-- Liste --",
"Sect. Emploi", "Recherche sur le site");

option_array[15] = new Array( "-- Liste --", "Formation syndicale ", "Formation professionnelle");

option_array[16] = new Array( "-- Liste --", "Dossier", "Recherche sur le site");

option_array[17] = new Array( "-- Liste --", "Secteur Organisation", "Guide du salarié intérimaire");

option_array[18] = new Array( "-- Liste --",
"FJS-FO", "Recherche sur le site");

option_array[19] = new Array( "-- Liste --",
"Secteur Consommation", "Recherche sur le site");

option_array[20] = new Array( "-- Liste --",
"Vos droits", "Sect. Protection sociale");

option_array[21] = new Array( "-- Liste --",
"Secteur Protection sociale", "Recherche sur le site");

option_array[22] = new Array( "-- Liste --",
"Vos droits", "Secteur Juridique ");

option_array[23] = new Array( "-- Liste --",
"Sect. Conv. collectives",
"Pétition en ligne");

option_array[24] = new Array( "-- Liste --",
"Révision générale des politiques publiques", "Recherche sur le site");

option_array[25] = new Array( "-- Liste --",
"Sect. Economique", "Recherche sur le site");

option_array[26] = new Array( "-- Liste --",
"Sect. Organisation",
"Statuts de FO");

var text_array = new Array(num_of_cats);

text_array[0] = new Array("Sur le site www.force-ouvriere.fr"); // These are general instructions. Change them if you want, or keep them if you don't.

text_array[1] = new Array( "Choisissez dans la liste", 
"Contact: Jean-Marc Bilquez", "");

text_array[2] = new Array( "Choisissez dans la liste", 
"Contact: Jean-Marc Bilquez",
"");

text_array[3] = new Array( "Choisissez dans la liste", 
"Contact: Jean-Marc Bilquez", "");

text_array[4] = new Array( "Choisissez dans la liste", 
"Contact: Stéphane Lardy", "Dossiers");

text_array[5] = new Array( "Choisissez dans la liste", 
"Sect. Juridique", "Sect. Juridique", "Sect. Juridique", "Sect. Juridique", "Sect. Juridique", "Sect. Juridique", "Sect. Juridique", "Sect. Juridique", "Sect. Juridique");

text_array[6] = new Array( "Choisissez dans la liste", "Contact: Marie-Alice Medeuf-Andrieu", "Chronique juridique");

text_array[7] = new Array( "Choisissez dans la liste", 
"Articles parus dans FO Hebdo",
"Association FO des consommateurs",
"Site de l'AFOC");

text_array[8] = new Array( "Choisissez dans la liste", 
"Chroniques juridiques", "Contact: Medeuf-Andrieu Marie-Alice");

text_array[9] = new Array( "Choisissez dans la liste", 
"Contact: Pascal Pavageau", "Grenelle de l’environnement");

text_array[10] = new Array( "Choisissez dans la liste", "Contact: Didier Porte", "Chroniques juridiques ");

text_array[11] = new Array( "Choisissez dans la liste", 
"Contact: Michelle Biaggi", "Contact: Max Évariste", "Contact: Éric Bellemare", "Contact: Dominique Bonadei", "Contact: Eric Marguerite", "Contact: Max Olaisola", "Contact: Hamidou Madi Mcolo", "Contact: Didier Kaddour", "Patrick Galenon", "Christian Vammei");

text_array[12] = new Array( "Choisissez dans la liste", "Contact: Pascal Pavageau",
"FO et l'économie sociale", "Secteur Économique");

text_array[13] = new Array( "Choisissez dans la liste", "Contact: Marie-Alice Medeuf-Andrieu", "");

text_array[14] = new Array( "Choisissez dans la liste", 
"Contact: Stéphane Lardy", "");

text_array[15] = new Array( "Choisissez dans la liste", "Centre de Formation de Militants Syndicalistes", "Contact: Stéphane Lardy" );

text_array[16] = new Array( "Choisissez dans la liste", 
"Analyses et notes du Sect. International", "");

text_array[17] = new Array( "Choisissez dans la liste", "Contact: Michelle Biaggi", "Document PDF");

text_array[18] = new Array( "Choisissez dans la liste", 
"Fédération des Jeunesses Syndicalistes FO", "");

text_array[19] = new Array( "Choisissez dans la liste", 
"Contact: Andrée Thomas", "");

text_array[20] = new Array( "Choisissez dans la liste", "Chroniques juridiques", "Contact: Jean-Marc Bilquez");

text_array[21] = new Array( "Choisissez dans la liste", 
"Contact: Jean-Marc Bilquez", "");

text_array[22] = new Array( "Choisissez dans la liste", "Chroniques juridiques", "Contact: Andrée Thomas");

text_array[23] = new Array( "Choisissez dans la liste", 
"Contact: Medeuf-Andrieu Marie-Alice",
"http://www.fecfo.fr");

text_array[24] = new Array( "", 
"", "");

text_array[25] = new Array( "Choisissez dans la liste", 
"Contact: Pascal Pavageau", "");

text_array[26] = new Array( "Choisissez dans la liste", 
"Contact: Michelle Biaggi",
"Modifiés lors du XXIe Congrès - Lille – en 2007");

var url_array = new Array(num_of_cats);

url_array[0] = new Array("#"); // The first category. This should have no items other than "#".

url_array[1] = new Array( "#", 
"http://www.force-ouvriere.fr/page_principal/interna/index.asp?theme_choisi=Protection%20sociale", "http://www.force-ouvriere.fr/page_principal/recherche/index.asp?p1=c&p2=Accidents%20du%20travail" );

url_array[2] = new Array( "#", 
"http://www.force-ouvriere.fr/page_principal/interna/index.asp?theme_choisi=Protection%20sociale",
"http://www.force-ouvriere.fr/page_principal/publica/chiffres.asp" );

url_array[3] = new Array( "#", 
"http://www.force-ouvriere.fr/page_principal/interna/index.asp?theme_choisi=Protection%20sociale", "http://www.force-ouvriere.fr/page_principal/recherche/index.asp?p1=c&p2=Assurance%20maladie" );

url_array[4] = new Array( "#", 
"http://www.force-ouvriere.fr/page_principal/interna/index.asp?theme_choisi=Emploi%20-%20ch%F4m.%20-%20Formation", "http://www.force-ouvriere.fr/page_principal/dossiers/index.asp?lk=hx&dossier=68&p1=h&p2=&offset=");

url_array[5] = new Array( "#", 
"http://www.force-ouvriere.fr/page_principal/vos_droits/index.asp?th=Conflits%20collectifs", "http://www.force-ouvriere.fr/page_principal/vos_droits/index.asp?th=Contrat%20de%20travail", "http://www.force-ouvriere.fr/page_principal/vos_droits/index.asp?th=Libert%E9%20fondamentale", "http://www.force-ouvriere.fr/page_principal/vos_droits/index.asp?th=Droit%20disciplinaire", "http://www.force-ouvriere.fr/page_principal/vos_droits/index.asp?th=Droit%20syndical", "http://www.force-ouvriere.fr/page_principal/vos_droits/index.asp?th=Dur%E9e%20du%20travail", "http://www.force-ouvriere.fr/page_principal/vos_droits/index.asp?th=Discriminations", "http://www.force-ouvriere.fr/page_principal/vos_droits/index.asp?th=Conv.%20collective", "http://www.force-ouvriere.fr/page_principal/vos_droits/index.asp?th=%C9lections%20profess." );

url_array[6] = new Array( "#", 
"http://www.force-ouvriere.fr/page_principal/interna/index.asp?theme_choisi=Conventions+collectives&genre=CE&offset=-1", "http://www.force-ouvriere.fr/page_principal/vos_droits/index.asp?an=2009&rec=o&id=303&p2=COMIT%C9%20D'ENTREPRISE&p1=d&offset=" );

url_array[7] = new Array( "#", 
"http://www.force-ouvriere.fr/page_principal/consom/imdex.asp",
"http://www.force-ouvriere.fr/page_principal/interna/index.asp?genre=AFOC&theme_choisi=International%20-%20Europe",
"http://afoc.net/" );

url_array[8] = new Array( "#", 
"http://www.force-ouvriere.fr/page_principal/vos_droits/index.asp?th=Conv.%20collective", "http://www.force-ouvriere.fr/page_principal/interna/index.asp?id=1258&theme_choisi=Conventions%20collectives" );

url_array[9] = new Array( "#", 
"http://www.force-ouvriere.fr/page_principal/interna/index.asp?theme_choisi=Economique&genre=Developpement%20durable", "http://www.force-ouvriere.fr/page_principal/dossiers/index.asp?p2=doseco");

url_array[10] = new Array( "#",
"http://www.force-ouvriere.fr/page_principal/interna/index.asp?genre=discriminations&fl=2009&theme_choisi=Juridique", "http://www.force-ouvriere.fr/page_principal/vos_droits/index.asp?th=Discriminations" );

url_array[11] = new Array( "#", 
"http://www.force-ouvriere.fr/page_principal/interna/index.asp?theme_choisi=Organisation&id=1259", "http://www.force-ouvriere.fr/page_principal/ud/index.asp?jv=98", "http://www.force-ouvriere.fr/page_principal/ud/index.asp?jv=99", "http://www.force-ouvriere.fr/page_principal/ud/index.asp?jv=100", "http://www.force-ouvriere.fr/page_principal/ud/index.asp?jv=101", "http://www.force-ouvriere.fr/page_principal/ud/index.asp?jv=102", "http://www.force-ouvriere.fr/page_principal/ud/index.asp?jv=103", "http://www.force-ouvriere.fr/page_principal/ud/index.asp?jv=104", "http://www.force-ouvriere.fr/page_principal/ud/index.asp?jv=105", "http://www.force-ouvriere.fr/page_principal/ud/index.asp?jv=106");

url_array[12] = new Array( "#", 
"http://www.force-ouvriere.fr/page_principal/interna/index.asp?theme_choisi=Economique&genre=Economie",
"http://www.force-ouvriere.fr/page_principal/interna/index.asp?theme_choisi=Formation%20syndicale&genre=Economie%20sociale", "http://www.force-ouvriere.fr/page_principal/dossiers/index.asp?p2=doseco");

url_array[13] = new Array( "#", 
"http://www.force-ouvriere.fr/page_principal/interna/index.asp?theme_choisi=Conventions%20collectives", "http://www.force-ouvriere.fr/page_principal/recherche/index.asp?p1=c&p2=%C9galit%E9%20professionnelle" );

url_array[14] = new Array( "#", 
"http://www.force-ouvriere.fr/page_principal/interna/index.asp?theme_choisi=Emploi%20-%20ch%F4m.%20-%20Formation", "http://www.force-ouvriere.fr/page_principal/recherche/index.asp?p1=c&p2=emploi");

url_array[15] = new Array( "Choisissez dans la liste", "http://www.force-ouvriere.fr/page_principal/interna/findex.asp#", "http://www.force-ouvriere.fr/page_principal/interna/index.asp?theme_choisi=Emploi%20-%20ch%F4m.%20-%20Formation" );

url_array[16] = new Array( "#", 
"http://www.force-ouvriere.fr/page_principal/dossiers/index.asp?lk=hx&dossier=52&p1=h&p2=dosint", "http://www.force-ouvriere.fr/page_principal/recherche/index.asp?p1=c&p2=Immigration");

url_array[17] = new Array( "#", 
"http://www.force-ouvriere.fr/page_principal/interna/index.asp?theme_choisi=Organisation", "http://www.force-ouvriere.fr/page_principal/interna/pdf/guide_interimaire_2010.pdf");

url_array[18] = new Array( "#", 
"http://www.force-ouvriere.fr/page_principal/interna/index.asp?theme_choisi=Formation%20syndicale&genre=FJS-FO", "http://www.force-ouvriere.fr/page_principal/recherche/index.asp?p1=c&p2=jeunes" );

url_array[19] = new Array( "#", 
"http://www.force-ouvriere.fr/page_principal/interna/index.asp?genre=Logement%20social&fl=2009&theme_choisi=International%20-%20Europe", "http://www.force-ouvriere.fr/page_principal/recherche/index.asp?p1=c&p2=LOGEMENT%20SOCIAL");

url_array[20] = new Array( "#",
"http://www.force-ouvriere.fr/page_principal/vos_droits/index.asp?th=Maladie%20-%20inaptitude", "http://www.force-ouvriere.fr/page_principal/interna/index.asp?theme_choisi=Protection%20sociale" );

url_array[21] = new Array( "#", 
"http://www.force-ouvriere.fr/page_principal/interna/index.asp?theme_choisi=Protection%20sociale", "http://www.force-ouvriere.fr/page_principal/recherche/index.asp?p1=c&p2=Protection%20sociale" );

url_array[22] = new Array( "#",
"http://www.force-ouvriere.fr/page_principal/vos_droits/index.asp?th=Prud%27hommes", "http://www.force-ouvriere.fr/page_principal/interna/imdex.asp?rec=o&p1=&theme_choisi=Juridique&genre=prudhommes" );

url_array[23] = new Array( "#",
"http://www.force-ouvriere.fr/page_principal/interna/index.asp?theme_choisi=Conventions%20collectives&genre=Repos%20dominical",
"http://www.fecfo.fr/spip.php?article77" );

url_array[24] = new Array( "#",
"http://www.force-ouvriere.fr/page_principal/interna/index.asp?lk=i&id=2684&theme_choisi=Economique", "http://www.force-ouvriere.fr/page_principal/recherche/index.asp?p1=c&p2=rgpp" );

url_array[25] = new Array( "#", 
"http://www.force-ouvriere.fr/page_principal/interna/index.asp?theme_choisi=Economique&genre=Service%20public", "http://www.force-ouvriere.fr/page_principal/recherche/index.asp?p1=c&p2=Service%20public");

url_array[26] = new Array( "#", 
"http://www.force-ouvriere.fr/page_principal/interna/index.asp?theme_choisi=Organisation&ar=1",
"http://www.force-ouvriere.fr/page_principal/fo_presente/index.asp?stat=1" );

function switch_select()

{
for (loop = window.document.form_1.select_2.options.length-1; loop > 0; loop--)
{
window.document.form_1.select_2.options[loop] = null;
}

for (loop = 0; loop < option_array[window.document.form_1.select_1.selectedIndex].length; loop++)
{
window.document.form_1.select_2.options[loop] = new Option(option_array[window.document.form_1.select_1.selectedIndex][loop]);
}

window.document.form_1.select_2.selectedIndex = 0;
}

function switch_text()

{
window.document.form_1.textarea_1.value = text_array[window.document.form_1.select_1.selectedIndex][window.document.form_1.select_2.selectedIndex];
}

function box()

{
if (window.document.form_1.select_2.selectedIndex == 0)
{
alert("Sélectionnez dans les listes déroulantes");
} else {
if (open_in_newwindow==1)
window.open(url_array[window.document.form_1.select_1.selectedIndex][window.document.form_1.select_2.selectedIndex],"_blank");
else
window.location=url_array[window.document.form_1.select_1.selectedIndex][window.document.form_1.select_2.selectedIndex]
}
}

function set_orig()

{
window.document.form_1.select_1.selectedIndex = 0;
window.document.form_1.select_2.selectedIndex = 0;
}

window.onload=set_orig

// -->