function opendef(def) {
window.open('/Web/Cles/Content.nsf/LexiqueByTitleWeb/' +def + '?OpenDocument' , 'popup','scrollbars,resizable,width=500,height=260')
}
function tplFunctions(){
modifyContent();
}
function modifyContent(){
//modify hover list
var box_fiches = document.getElementById('fiches');
if(box_fiches){
var elm_li_box_fiches = box_fiches.getElementsByTagName('li');
for (var i =0; i < elm_li_box_fiches.length; i++){
var elm = elm_li_box_fiches[i].getElementsByTagName('ul');
for (var j =0; j < elm.length; j++){
var elm_ul = elm[j];
elm_ul.style.display = "none";
}
}
}
//modifiy actions article
var elm_action_favoris = document.getElementById('action_favoris');
var elm_action_imprimer = document.getElementById('action_imprimer');
if(elm_action_favoris){
elm_action_favoris.innerHTML = '
';
}
if(elm_action_imprimer){
elm_action_imprimer.innerHTML = '
';
}
//modify hover list nav gauche article
var nav_gauche = document.getElementById('gauche');
if(nav_gauche){
var elm_li_nav_gauche = nav_gauche.getElementsByTagName('li');
for (var i =0; i < elm_li_nav_gauche.length; i++){
var elm = elm_li_nav_gauche[i].getElementsByTagName('ul');
for (var j =0; j < elm.length; j++){
var elm_ul = elm[j];
elm_ul.style.display = "none";
}
}
}
}