var ol_followmouse=0;
var ol_mouseoff=1;var ol_fgclass="ol_fgclass";
var ol_delay=0;
function getElement(id)
{
if(document.getElementById)
return document.getElementById(id);
else
if(document.all)
return document.all[id];
else
if(document.layers)
return document.layers[id];
return null}
function setVisibility(m,s)
{
if(document.all)
{document.all[m].style.visibility=s}
if(document.layers)
{document.layers[m].visibility=s}
if(document.getElementById)
{document.getElementById(m).style.visibility=s}
}
function setDisplay(m,s)
{
if(document.all)
{document.all[m].style.display=s}
if(document.layers)
{document.layers[m].display=s}
if(document.getElementById)
{document.getElementById(m).style.display=s}
}
function getVisibility(m)
{
if(document.all)
{return document.all[m].style.visibility}
if(document.layers)
{return document.layers[m].visibility}
return document.getElementById(m).style.visibility}
function show(m)
{
setVisibility(m,'visible');
setDisplay(m,'inline')}
function hide(m)
{
setVisibility(m,'hidden');
setDisplay(m,'none')}
function showMainToc()
{
show('mainToc');
show('siteTocOn');
hide('siteTocOff');
hide('siteToc');
show('newsTocOn');
hide('newsTocOff');
hide('newsToc')}
function showSiteToc()
{
hide('mainToc');
hide('siteTocOn');
show('siteTocOff');
show('siteToc');
show('newsTocOn');
hide('newsTocOff');
hide('newsToc')}
function showNewsToc()
{
hide('mainToc');
show('siteTocOn');
hide('siteTocOff');
hide('siteToc');
hide('newsTocOn');
show('newsTocOff');
show('newsToc')}
function swap_couche(couche,rtl){
triangle=MM_findObj('triangle'+couche);
if(!(layer=MM_findObj('Layer'+couche)))return;
if(vis[couche]=='hide'){
if(triangle)triangle.src='img_pack/deplierbas'+rtl+'.gif';
layer.style.display='block';
vis[couche]='show'}else{
if(triangle)triangle.src='img_pack/deplierhaut'+rtl+'.gif';
layer.style.display='none';
vis[couche]='hide'}
}
function getInnerHTML(id)
{
var o=getElement(id);
if(o)
return o.innerHTML;
return''}
function text(id)
{
return getInnerHTML('block'+id)}
function caption(id)
{
return getInnerHTML('label'+id)}
function showMap()
{
return overlib(getInnerHTML('map'),STICKY,REF,'logo',REFX,20,REFY,50,FULLHTML,FILTER,FADEIN,49,FADEOUT,50,HIDEBYIDALL,'pub')}
function sMap(id)
{
return overlib2(getInnerHTML('map'+id))}
function showPopup(id)
{
var currentCaption=''+caption(id);
var noCaption=currentCaption=='&nbsp;'||currentCaption=='';
var currentText;
if(typeof id=='string')
{
currentText=getInnerHTML(id);
return overlib(currentText==''?id:currentText,WRAP)}
currentText=''+text(id);
var s=currentText.toLowerCase();
var o=getElement('player'+id);
if(o)
o.play();
ol_sticky=(s.indexOf('href')>-1)||(s.indexOf('<form')>-1);
var noText=currentText=='&nbsp;'||currentText=='';
if(noText)
return true;
return(noCaption?overlib(currentText):overlib(currentText,CAPTION,currentCaption))}
function hidePopup(id)
{
var o=getElement('player'+id);
if(o)
o.stop();
ol_sticky=0;
return nd()}
