for(var imgs = [], urls = ["bg1.jpg", "bnc.gif", "logo.jpg", "icon.png", "atom.gif", "pdf.gif", "search.gif", "arrr.gif", "arrd.gif", "loader.gif", "menu/menu1_1.gif", "menu/menu1_2.gif", "menu/menu2_1.gif", "menu/menu2_2.gif", "menu/menu3_1.gif", "menu/menu3_2.gif", "menu/menu4_1.gif", "menu/menu4_2.gif", "az/a0.gif", "az/a1.gif", "az/a2.gif", "az/b0.gif", "az/b1.gif", "az/b2.gif", "az/c0.gif", "az/c1.gif", "az/c2.gif", "az/d0.gif", "az/d1.gif", "az/d2.gif", "az/e0.gif", "az/e1.gif", "az/e2.gif", 
"az/f0.gif", "az/f1.gif", "az/f2.gif", "az/g0.gif", "az/g1.gif", "az/g2.gif", "az/h0.gif", "az/h1.gif", "az/h2.gif", "az/i0.gif", "az/i1.gif", "az/i2.gif", "az/j0.gif", "az/j1.gif", "az/j2.gif", "az/k0.gif", "az/k1.gif", "az/k2.gif", "az/l0.gif", "az/l1.gif", "az/l2.gif", "az/m0.gif", "az/m1.gif", "az/m2.gif", "az/n0.gif", "az/n1.gif", "az/n2.gif", "az/o0.gif", "az/o1.gif", "az/o2.gif", "az/p0.gif", "az/p1.gif", "az/p2.gif", "az/q0.gif", "az/q1.gif", "az/q2.gif", "az/r0.gif", "az/r1.gif", "az/r2.gif", 
"az/s0.gif", "az/s1.gif", "az/s2.gif", "az/t0.gif", "az/t1.gif", "az/t2.gif", "az/u0.gif", "az/u1.gif", "az/u2.gif", "az/v0.gif", "az/v1.gif", "az/v2.gif", "az/w0.gif", "az/w1.gif", "az/w2.gif", "az/x0.gif", "az/x1.gif", "az/x2.gif", "az/y0.gif", "az/y1.gif", "az/y2.gif", "az/z0.gif", "az/z1.gif", "az/z2.gif"], i = 0;i < urls.length;i++) {
  imgs[i] = new Image;
  imgs[i].src = "../style/images/" + urls[i]
}self != top && top.location.replace(self.location.href);
$(document).ready(function() {
  $(".internal").attr({href:"#"}).click(function() {
    alert("Le visionnement des fichiers PDF de la Biblioth\u00c3\u00a8que num\u00c3\u00a9rique du cin\u00c3\u00a9ma n'est pas encore disponible depuis ce poste.\nEn attendant, deux postes d\u00c3\u00a9di\u00c3\u00a9s vous permettant de les consulter sont mis \u00c3\u00a0 votre disposition.\nMerci de vous adresser au personnel de la Biblioth\u00c3\u00a8que pour plus de renseignements.");
    return false
  });
  if(document.getElementsByTagName)for(var b = document.getElementsByTagName("a"), a = 0;a < b.length;a++)if(b[a].getAttribute("href") && b[a].getAttribute("rel") == "external")b[a].target = "_blank";
  $(".azon").hover(function() {
    $(this).attr("src", $(this).attr("src").replace(/1\.gif$/g, "2.gif"))
  }, function() {
    $(this).attr("src", $(this).attr("src").replace(/2\.gif$/g, "1.gif"))
  });
  $(".menuon").hover(function() {
    $(this).attr("src", $(this).attr("src").replace(/1\.gif$/g, "2.gif"))
  }, function() {
    $(this).attr("src", $(this).attr("src").replace(/2\.gif$/g, "1.gif"))
  });
  $("a.noteLink").click(function() {
    $(this).parent().next("div").toggle(1, function() {
      if($(this).css("display") == "block")$(this).prev().children("img.arr").get(0).src = "../style/images/arrd1.gif";
      else $(this).prev().children("img.arr").get(0).src = "../style/images/arrr1.gif"
    });
    return false
  });
  $("#noteToggleAll").html("<a id='noteShowAll' href=''>Afficher toutes les notices</a><a id='noteHideAll' href=''>Cacher toutes les notices</a>");
  $("#noteHideAll").hide();
  $("#noteShowAll").click(function() {
    $(".noteLink").parent().next("div").show().prev().children("img.arr").each(function() {
      $(this).get(0).src = "../style/images/arrd1.gif"
    });
    $("#noteShowAll").hide();
    $("#noteHideAll").show();
    return false
  });
  $("#noteHideAll").click(function() {
    $(".noteLink").parent().next("div").hide().prev().children("img.arr").each(function() {
      $(this).get(0).src = "../style/images/arrr1.gif"
    });
    $("#noteHideAll").hide();
    $("#noteShowAll").show();
    return false
  })
});