var b = "/encyclopedie.nsf";var bDossiers = "/mot.nsf";var bDocs = "/reftext.nsf";var bCourrier = "/encyclopedie/courrier.nsf/Message";var bWB = "/wb/espace.nsf";var bInaptitude = "/thematiques/inaptitude.nsf";var bRousseau = "/thematiques/rousseau.nsf";var bFranco = "/francophonie.nsf";function Dossier(doc) {var u = bDossiers + "/Dossiers/" + doc;window.location = u;}function DossierFrancophonie(doc) {var u = bFranco + "/Dossiers/" + doc;window.location = u;}function DossierWB(doc) {var u = bWB + "/Dossiers/" + doc;window.location = u;}function DossierInaptitude(doc) {var u = bInaptitude + "/Dossiers/" + doc;var w = window.open(u,'',"width=800,height=600,toolbar=1, addressbar=1, location=1, menubar=1, resizable=1,scrollbars=1,status=1,left=1,top=1");w.window.focus();}function DossierRousseau(doc) {var u = bRousseau + "/Dossiers/" + doc;window.location = u;}function PopDossier(doc) {var u = bDossiers + "/Dossiers/" + doc;window.location(u);}function Document(doc) {var u = bDocs + "/Documents/" + doc;window.location = u ;}function DocumentWB(doc) {var u = bWB + "/Documents/" + doc;window.location = u;}function DocumentFrancophonie(doc) {var u = bFrancophonie + "/Documents/" + doc;window.location = u;}function DocumentInaptitude(doc) {var u = bInaptitude + "/Documents/" + doc;var w = window.open(u,'',"width=800,height=600,toolbar=1, addressbar=1, location=1, menubar=1, resizable=1,scrollbars=1,status=1,left=1,top=1");w.window.focus();}function DocumentRousseau(doc) {var u = bRousseau + "/Documents/" + doc;window.location = u;}function Extrait(doc, id) {var u = '/rd.nsf/(extraits)?OpenAgent&id=' + id + '&url=' + bDocs + '/Documents/' + doc;window.location = u;}function Editeur(doc, id, pc) {var u = '/rd.nsf/(editeurs)?OpenAgent&pc=' + pc + '&id=' + id + '&url=' + doc;var w = window.open(u,'',"width=900,height=600,toolbar=1, addressbar=1, location=1, menubar=1, resizable=1,scrollbars=1,status=1,left=1,top=1");w.window.focus();}function Ouvrage(doc, id, pc) {var u = '/rd.nsf/(ouvrages)?OpenAgent&pc=' + pc + '&id=' + id + '&url=' + doc;var w = window.open(u,'',"width=900,height=600,toolbar=1, addressbar=1, location=1, menubar=1, resizable=1,scrollbars=1,status=1,left=1,top=1");w.window.focus();}function Categorie(doc) {var u = b + "/Categories/" + doc;window.location = u;}function Partenaire(doc) {var u = b + "/Partenaires/" + doc;window.location = u;}function Communique(doc) {var u = b + "/Communiques/" + doc;window.location = u;}function Page(doc) {var u = b + "/Page/" + doc;window.location = u;}function Colloque(doc) {var w = window.open(doc,'',"width=950,height=600,toolbar=1, addressbar=1, location=1, menubar=1, resizable=1,scrollbars=1,status=1,left=1,top=1");w.window.focus();}function Conference(doc) {var w = window.open(doc,'',"width=950,height=600,toolbar=1, addressbar=1, location=1, menubar=1, resizable=1,scrollbars=1,status=1,left=1,top=1");w.window.focus();}function Encyclopedie(doc) {var w = window.open(doc,'',"width=900,height=600,toolbar=1, addressbar=1, location=1, menubar=1, resizable=1,scrollbars=1,status=1,left=1,top=1");w.window.focus();}function Courrier() {var w = window.open(bCourrier,'',"width=600,height=600,toolbar=1, addressbar=1, location=1, menubar=1, resizable=1,scrollbars=1,status=1,left=1,top=1");w.window.focus();}function Impression(doc){var w = window.open(doc,'Impression',"width=750,height=540, menubar=yes, resizable=yes,scrollbars=yes,status=yes,left=1,top=1");w.window.focus();}function Popup(doc){var w = window.open(doc,'',"width=800,height=600,toolbar=1, addressbar=1, location=1, menubar=1, resizable=1,scrollbars=1,status=1,left=1,top=1");w.window.focus();}function Images(doc, l,h){var doc1 = "/encyclopedie/references/images.nsf/Images/" + doc;var w = window.open(doc1,'Image',"width=500,height=640,toolbar=no, location=no, menubar=no, resizable=yes,scrollbars=yes,status=no,left=1,top=1");w.window.focus();}function References(doc){var urldoc = "/encyclopedie/references.nsf/vue/" + doc;var w = window.open(urldoc,'Reference',"width=320,height=400,toolbar=no, location=no, menubar=no, resizable=yes,scrollbars=yes,status=no,left=1,top=1");w.window.focus();}function Recommander(iddoc, u, t){var url = location.pathname;windowVar = window.open("http://agora.qc.ca/public/messages.nsf/Memo?OpenForm&iddoc=" + iddoc + "&url=" + u + "&type=" + t, "Recommander", 'height=580,width=480,scrollbars=0,toolbar=0,directories=no,menubar=0,resizable=yes,left=1,top=1');windowVar.focus();}function Recherche(){var u = document.forms[0].SaisieRecherche.value;u = changerAccents(u);var c = document.forms[0].Critere.value;if (c == '') {url = '/encyclopedie/recherche.nsf/Resultats?OpenForm&requete=' + u;}if (c != '') {url = '/encyclopedie/recherche.nsf/ResultatsPC?OpenForm&requete=' + c + u;}window.location = url;}function RechercheDA(u,champ){u = changerAccents(u);var u1 = 'FIELD+' + champ + '+CONTAINS+' + u;url = '/encyclopedie/recherche.nsf/ResultatsPC?OpenForm&requete=' + u1;window.location = url;}function RechercheParSujet(u){u = changerAccents(u);url = '/encyclopedie/recherche.nsf/Thematique?OpenForm&requete=' + u;window.location = url;}function changerAccents(c) {while(c.indexOf(" ") != -1) c = c.replace(" ","+");while(c.indexOf("\u00E0") != -1) c = c.replace("\u00E0","%a1;");while(c.indexOf("\u00E2") != -1) c = c.replace("\u00E2","%a2");while(c.indexOf("\u00E4") != -1) c = c.replace("\u00E4","%a3");while(c.indexOf("\u00C0") != -1) c = c.replace("\u00C0","%A11");while(c.indexOf("\u00C2") != -1) c = c.replace("\u00C2","%A12");while(c.indexOf("\u00C4") != -1) c = c.replace("\u00C4","%A13");while(c.indexOf("\u00E7") != -1) c = c.replace("\u00E7","%c1");while(c.indexOf("\u00C7") != -1) c = c.replace("\u00C7","%C11");while(c.indexOf("\u00E9") != -1) c = c.replace("\u00E9","%e1");while(c.indexOf("\u00E8") != -1) c = c.replace("\u00E8","%e2");while(c.indexOf("\u00EA") != -1) c = c.replace("\u00EA","%e3");while(c.indexOf("\u00EB") != -1) c = c.replace("\u00EB","%e4");while(c.indexOf("\u00C9") != -1) c = c.replace("\u00C9","%E11");while(c.indexOf("\u00CA") != -1) c = c.replace("\u00CA","%E12");while(c.indexOf("\u00CB") != -1) c = c.replace("\u00CB","%E13");while(c.indexOf("\u00C8") != -1) c = c.replace("\u00C8","%E14");while(c.indexOf("\u00EE") != -1) c = c.replace("\u00EE","%i1");while(c.indexOf("\u00EF") != -1) c = c.replace("\u00EF","%i2");while(c.indexOf("\u00CE") != -1) c = c.replace("\u00CE","%I11");while(c.indexOf("\u00CF") != -1) c = c.replace("\u00CF","%I12");while(c.indexOf("\u00F4") != -1) c = c.replace("\u00F4","%o1");while(c.indexOf("\u00F6") != -1) c = c.replace("\u00F6","%o2");while(c.indexOf("\u00D4") != -1) c = c.replace("\u00D4","%O11");while(c.indexOf("\u00D6") != -1) c = c.replace("\u00D6","%O12");while(c.indexOf("\u00F9") != -1) c = c.replace("\u00F9","%u1");while(c.indexOf("\u00FC") != -1) c = c.replace("\u00FC","%u2");while(c.indexOf("\u00FB") != -1) c = c.replace("\u00FB","%u3");while(c.indexOf("\u00D9") != -1) c = c.replace("\u00D9","%U11");while(c.indexOf("\u00DC") != -1) c = c.replace("\u00DC","%U12");while(c.indexOf("\u00DB") != -1) c = c.replace("\u00DB","%U13");while(c.indexOf("'") != -1) c = c.replace("'","%");while(c.indexOf("(") != -1) c = c.replace("(","%");return c;}
