function goToPage(E,B,C,A){$.createCookie("linkClickedID",(E+"!"+$("input[name='idArk']").val()),1);
if(A=="SinglePageWithImage"){var D=$("a[title="+C+"]").attr("href");
top.location.href=D.replace(".item",".tableDesMatieres")
}else{top.location.href="/ark:/12148/"+B+"/f"+C+".tableDesMatieres"
}}function tdmDivisionClick(A){var E="#"+A;
var D=$(E).attr("id").replace("img","content");
if($(E).attr("src")=="/images/tdm/flecheBasse.jpg"){$(E).attr("src","/images/tdm/flecheDroite.gif");
$("#"+D).css("display","none")
}else{if(jQuery.trim($("#"+D).html()+"S")=="S"){$.get("/ajaxTDM",{arkID:$("#ajaxTDMArkID").val(),sectionID:D},function(F){$("#ajaxTDMContent").empty().html(F);
updateScrollbar()
},"html")
}else{$(E).attr("src","/images/tdm/flecheBasse.jpg");
$("#"+D).css("display","block")
}}if($("#tablematierescroll").size()>0){var B=$(window).width()/2;
var C=$("#tablematierescroll").height();
if(C>B){$("#tablematierescroll").css("height",(B-50)+"px")
}else{$("#tablematierescroll").css("height",C+"px")
}$("#tablematierescroll").jScrollPane({showArrows:true,scrollbarWidth:15,dragMinHeight:6,dragMaxHeight:6});
$("#tablepagecontenu").hide()
}}function tdmDivClick(A){var E="#"+A;
var D=$(E).attr("id").replace("img","content");
if($(E).attr("src")=="/images/tdm/flecheBasse.jpg"){$(E).attr("src","/images/tdm/flecheDroite.gif");
$("#"+D).css("display","none")
}else{$(E).attr("src","/images/tdm/flecheBasse.jpg");
$("#"+D).css("display","block")
}if($("#tablematierescroll").size()>0){var B=$(window).width()/2;
var C=$("#tablematierescroll").height();
if(C>B){$("#tablematierescroll").css("height",(B-50)+"px")
}else{$("#tablematierescroll").css("height",C+"px")
}$("#tablematierescroll").jScrollPane({showArrows:true,scrollbarWidth:15,dragMinHeight:6,dragMaxHeight:6});
$("#tablepagecontenu").hide()
}};
