/*-----------------   PARAMETRES DE CONFIGURATION A RENSEIGNER   ------------------*/// images du bandeau de la popup d'impression // ex. sur BPCvar hRefSite="";var imgGauche=hRefSite+"z-outils/kit-impression/images/imggauche.gif";var espaceur=hRefSite+"z-outils/kit-impression/images/imgcentre.gif";var imgDroite=hRefSite+"z-outils/kit-impression/images/imgdroite.gif";var urlStyles=hRefSite+"styles/";/*-------------   FIN DES PARAMETRES DE CONFIGURATION A RENSEIGNER   --------------*//*-----------------------------------------------------------------------------------------fonction JS qui ouvre une popup et y ecrit un bandeau d'images puis le contenu de la page HTML qui l'appelle situe dans la balise DIV dont l'id est "ZonePrint"------------------------------------------------------------------------------------------*/function impression(){/*----- ouverture de la popup -----*/stats="toolbar=no,location=no,scrollbars=yes,directories=no,status=no,menubar=yes,resizable=yes,width=671,height=800,left=0,top=0";win=window.open("about:blank", "print", stats);win.document.open();win.document.write('<html><head><title>' + nomLabo + '</title>' + '\r\n');win.document.write('<link rel="stylesheet" type="text/css" href="' + urlStyles + 'xcharte.css">' + '\r\n');win.document.write('<link rel="stylesheet" type="text/css" href="' + urlStyles + 'styles.css">' + '\r\n');win.document.write('<script Language="JavaScript">' + '\r\n');win.document.write('<!--' + '\r\n');win.document.write('function moveLayers(popUpName,evt){}' + '\r\n');win.document.write('function popUp(popUpName,evt) {}' + '\r\n');win.document.write('function HideLastLayer() {}' + '\r\n');win.document.write('// -->' + '\r\n');win.document.write('</script>' + '\r\n');win.document.write('</head>' + '\r\n');win.document.write('<body marginheight="0" marginwidth="0">' + '\r\n');/*----- affichage du bandeau d'images -----*/win.document.write('<table width="650" border="0" cellspacing="0" cellpadding="0">' + '\r\n');win.document.write('<tr>' + '\r\n');win.document.write('<td width="145" height="66">' + '\r\n');win.document.write('<img src="' + imgGauche + '" width="145" height="66" border="0"></td>' + '\r\n');win.document.write('<td width="55" height="66">' + '\r\n');win.document.write('<img src="' + espaceur + '" width="55" height="66" border="0"></td>' + '\r\n');win.document.write('<td width="450" height="66">' + '\r\n');win.document.write('<img src="' + imgDroite + '" width="450" height="66" border="0" usemap="#map1"></td>' + '\r\n');win.document.write('</tr>' + '\r\n');win.document.write('<tr>' + '\r\n');/* affichage du contenu a imprimer dans une cellule de tableau */win.document.write('<td colspan="3" class="Xtextcourant">' + '\r\n');win.document.write('<table width="650" border="0" cellspacing="0" cellpadding="10" bgcolor="white">' + '\r\n');win.document.write('<tr>' + '\r\n');win.document.write('<td>' + '\r\n');/*----- cas particulier : squelette article-seconde (pages perso) -----*/if (typeof(titreRubrique)!="undefined" && typeof(titreArticle)!="undefined")  win.document.write('<p class="titre">' + titreRubrique + ' - ' + titreArticle + '</p>' + '\r\n');/*-----    affichage de la zone contenue dans le layer "ZonePrint"     -----*//*----- (code dependant de la compatibilite du navigateur avec le DOM) -----*/if (document.getElementById)  /* IE >= 5 / Netscape >= 6 / Mozilla >= 1.6 / Opera >= 7 */  win.document.write(document.getElementById("ZonePrint").innerHTML + '\r\n');	else  /* navigateur incompatible avec la methode "getElementById : code specifique */  if (document.all && !window.print)   /* IE 4 */    win.document.write(document.all["ZonePrint"].innerHTML + '\r\n');	  else	/* Netscape 4 ou autre navigateur obsolete */     {      win.close();      alert("Cette fonctionnalité n'est pas opérationnelle avec cette version de navigateur.");    }  win.document.write('</td></tr></table>' + '\r\n');win.document.write('</td></tr></table>' + '\r\n');/* mapping pour la partie "Fermer la fenetre" de imgDroite */win.document.write('<map name="map1">' + '\r\n');win.document.write('  <area shape="rect" coords="330,5,445,25" href="javascript:window.close()">' + '\r\n');win.document.write('</map>' + '\r\n');win.document.write('<div id="divnavhaut-nom-labo">' + '\r\n'); win.document.write('  <table width="350" border="0" cellspacing="0" cellpadding="0">' + '\r\n');win.document.write('    <tr>' + '\r\n'); win.document.write('      <td class="Xnavhaut">' + '\r\n'); // win.document.write('          <img src="images/charte/bandeau-haut/TitreLPS.gif" width="350" height="40">' + '\r\n');win.document.write('          <div class="print_titre">' + nomLabo + '</div>' + '\r\n');win.document.write('      </td>' + '\r\n');win.document.write('    </tr>' + '\r\n');win.document.write('  </table>' + '\r\n');win.document.write('</div>' + '\r\n');win.document.write('</body></html>' + '\r\n');win.document.close();}// couples fr, en, fr, envar rub = new Array(1, 95, 100, 2, 99, 87, 101, 7, 102, 8, 103, 24, 112, 113, 16, 110, 86, 124, 123, 126, 127, 128,                     3, 129, 140, 141, 15, 109, 206, 208, 220, 221,                     40, 146, 39, 148, 23, 153, 47, 158, 41, 150, 169, 170, 42, 157, 43, 152, 44, 149, 51, 155,   // equipes                     48, 151, 49, 154, 50, 159, 9, 161, 52, 147, 53, 162, 54, 163, 142, 164, 55, 165, 196, 197, // equipes                     78, 171, 79, 172, 80, 173, 166, 174, 82, 175, 81, 176, 167, 177, 168, 178, // support technique                     201, 202, 198, 203, 200, 204, // Faits marquants par axe					 289, 297, 294, 329, 295, 328, 290, 325, 291, 326, 292, 327, // ODMC					 3, 129, 41, 150, 265, 339, 270, 340, //Int Liq                     243, 247, 244, 248, 224, 254,					 253, 255, // Patrick davison					 299, 348, 322, 349, // Pascale Launois					 342, 345, 343, 346, // Francois Pesty					 287, 309, 308, 310 // Doru Constantin					 );                     // 201, 202, 198, 203, 200, 204); // Faits marquants par axevar art = new Array(108, 170, 125, 172, 13, 169, 18, 168, 132, 176, 111, 171, 112, 175, 15, 174, 110, 177, 195, 196,        197, 194, 184, 103, 134, 226, 135, 227, 136, 228, 137, 229, 138, 230, 139, 231, 140, 232, 141, 233, 142, 234,        143, 235, 144, 236, 145, 237, 146, 238, 147, 239, 240, 241, 184, 103, 186, 4, 183, 72, 222, 244, 223, 245, 224, 246,        109, 173, 249, 250, 251, 252, 253, 254, 255, 256, 314, 315, 316, 317, 319, 320, 444, 448, 445, 449, 446, 450, 447, 451,        75, 288, 74, 289, 73, 290, 82, 291, 76, 292, 287, 293, 77, 294, 78, 295, 79, 296, 86, 297, // equipes        80, 298, 182, 283, 83, 299, 84, 300, 85, 301, 5, 324, 87, 302, 88, 303, 243, 304, 282, 305, 90, 306, 403, 404, // equipes        257, 329, 278, 333, 276, 332, 198, 321, 280, 334, 203, 326, 210, 327, 218, 328, 257, 329, 260, 330, 263, 331, 322, 325, // adn        126, 307, 127, 308, 284, 309, 129, 310, 128, 311, 285, 312, 286, 313, 604, 606, //  support technique        364, 365, 369, 370, 379, 381, 385, 386, 383, 387, 389, 390, 401, 402, 406, 407,        424, 452, 425, 455 , 426, 457, 427, 458, 428, 459, 429, 460, 430, 461, 431, 462, 432, 463, // Faits marquants axe 1        410, 467, 412, 468, 413, 469, 414, 470, 415, 471, 416, 472, // Faits marquants axe 2        417, 473, 419, 482, 420, 483, 421, 484, 422, 485, 418, 481, 1369, 1372, 1370, 1371, 1373, 1374,// Faits marquants axe 3        474, 475, 476, 477, 478, 480, 479, 486, 498, 499, 503, 504, 505, 506, 509, 510, 516, 517, 520, 521, 667, 668, 806, 807, 779, 829,        691, 704, 716, 720, 717, 721, 718, 722, 719, 723, 712, 724, 695, 705, 697, 706, 731, 733, //Bibliotheque        736, 756, 737, 757, 738, 758, 739, 759, 740, 760, // Pages personnelles		876, 714, 730, 782, 762, 879, 754, 880, 768, 881, 764, 882, 875, 884, 761, 885, // Colloque EEC-DR		844, 851, 845, 852, 846, 853, 847, 854, 850, 857, // Equipe Physique Mesoscopique 		947, 1074, 950, 1098, 948, 1099, 949, 1100, 952, 1102, 953, 1103, 959, 1104, 960, 1105,		961, 1106, 962, 1107, 963, 1108, 964, 1109, 965, 1110, 966, 1111, 967, 1112, 966, 1113,		969, 1114, 954, 1127, 955, 1128, 956, 1129, 957, 1130, 958, 1131, 977, 1132, 985, 1116,		986, 1115, 987, 1117, 988, 1119, 989, 1120, 990, 1121, 979, 1118, 980, 1122, 981, 1123,		982, 1124, 983, 1125, 984, 1126, // ODMC		726, 1185, 734, 1200, 789, 1186, 787, 1201, 735, 1202, 727, 1203, 788, 1204, 1193, 1205,		796, 1208, 802, 1209, 798, 1210, 799, 1211, 800, 1212, 801, 1213, 		822, 1215, 1187, 1216, 1188, 1217, 1189, 1218, 1190, 1219, 1191, 1220, 1192, 1221, //Int Liq		891, 892, 999, 1000, 1009, 1010, 1077, 1078, 1226, 1227, 1281, 1282, 1296, 1297, 1358, 1359,		1506, 1507, 1478, 1493, 1446, 1447, 1373, 1374, 1519, 1520, 1531, 1532, 1536, 1537, // Bascule pages actualité		736, 756, 737, 757, 738, 758, 739, 759, 740, 760, // Patrick Davidson		1011, 1273, 1016, 1274, 1012, 1406, 1013, 1407, 1014, 1408, 1015, 1409, 1080, 1410,		1082, 1411, 1087, 1414, 1083, 1412, 1084, 1415, 1085, 1416, 1086, 1417, 1088, 1418, // Pascale Launois		1233, 1251, 1234, 1252, 1235, 1253, 1236, 1254, 1237, 1255, 1238, 1256, 1239, 1257, 1240, 1258, 1241, 1259, 1242, 1260, //  Francois Pesty		932, 1040, 933, 944, 934, 940, 935, 939 // Doru Constantin		);function languefr(){ var cible = window.location.href; if (cible.indexOf("lang=en")!=-1) return; var length = cible.length; var pos = cible.indexOf("lang=fr"); if (pos!=-1)   cible = cible.substring(0,pos) + "lang=en" + cible.substring(pos+7, length); else { if (cible.indexOf("?")==-1)     cible = cible + "?lang=en";   else     cible = cible + "&lang=en"; } cible = commute_rubrique(cible); cible = commute_id_article(cible);cible = commute_article(cible); window.location.href = cible;}function langueen(){ var cible = window.location.href; if (cible.indexOf("lang=fr")!=-1) return; var length = cible.length; var pos = cible.indexOf("lang=en"); if (pos!=-1)   cible = cible.substring(0,pos) + "lang=fr" + cible.substring(pos+7, length); else { if (cible.indexOf("?")==-1)     cible = cible + "?lang=fr";   else     cible = cible + "&lang=fr"; } cible = commute_rubrique(cible); cible = commute_id_article(cible); cible = commute_article(cible);  window.location.href = cible;}function commute_article (cible){ var s1 = "article"; var p1 = cible.indexOf(s1); var p2 = cible.indexOf("lang=en"); var p3 = cible.indexOf("lang=fr");  if (p1!=-1 && (p2!=-1 ||p3!=-1)) { var s2 = cible.substring(p1+s1.length, cible.length);   var p4 = s2.indexOf("&");   var article = parseInt(s2.substring(0, p4));   if (p2!=-1)   { for (var i=0; i<art.length; i+=2)       if (article==art[i]) cible = remplace_article(cible, art[i], art[i+1]);   }   else if (p3!=-1)   { for (var i=1; i<art.length; i+=2)       if (article==art[i]) cible = remplace_article(cible, art[i], art[i-1]);   } } return cible;}function remplace_article (cible, rech, rempl){  var lgcible = cible.length;    var s1 = "article" + String(rech);  var pos = cible.indexOf(s1);  if (pos != -1)  { var s2 = "article" + String(rempl);    return cible.substring(0,pos) + s2 + cible.substring(pos+s1.length, lgcible);  }  return cible;}function commute_id_article (cible){ var s1 = "id_article="; var p1 = cible.indexOf(s1); var p2 = cible.indexOf("lang=en"); var p3 = cible.indexOf("lang=fr");  if (p1!=-1 && (p2!=-1 ||p3!=-1)) { var s2 = cible.substring(p1+s1.length, cible.length);   var p4 = s2.indexOf("&");   var article = parseInt(s2.substring(0, p4));   if (p2!=-1)   { for (var i=0; i<art.length; i+=2)       if (article==art[i]) cible = remplace_id_article(cible, art[i], art[i+1]);   }   else if (p3!=-1)   { for (var i=1; i<art.length; i+=2)       if (article==art[i]) cible = remplace_id_article(cible, art[i], art[i-1]);   } } return cible;}function remplace_id_article (cible, rech, rempl){  var lgcible = cible.length;    var s1 = "id_article=" + String(rech);  var pos = cible.indexOf(s1);  if (pos != -1)  { var s2 = "id_article=" + String(rempl);    return cible.substring(0,pos) + s2 + cible.substring(pos+s1.length, lgcible);  }  return cible;}function commute_rubrique (cible){ var s1 = "rubrique"; var p1 = cible.indexOf(s1); var p2 = cible.indexOf("lang=en"); var p3 = cible.indexOf("lang=fr");  if (p1!=-1 && (p2!=-1 ||p3!=-1)) { var s2 = cible.substring(p1+s1.length, cible.length);   var p4 = s2.indexOf("&");   var rubrique = parseInt(s2.substring(0, p4));   if (p2!=-1)   { for (var i=0; i<rub.length; i+=2)       if (rubrique==rub[i]) cible = remplace_rubrique(cible, rub[i], rub[i+1]);   }   else if (p3!=-1)   { for (var i=1; i<rub.length; i+=2)       if (rubrique==rub[i]) cible = remplace_rubrique(cible, rub[i], rub[i-1]);   } } return cible;}function remplace_rubrique (cible, rech, rempl){  var lgcible = cible.length;  var s1 = "rubrique" + String(rech);  var pos = cible.indexOf(s1);  if (pos != -1)  { var s2 = "rubrique" + String(rempl);    return cible.substring(0,pos) + s2 + cible.substring(pos+s1.length, lgcible);  }  return cible;}