//  VLib 1.0
// (c) 2001 S.A.D.E. sarl
// Author: Emmanuel Daunizeau
// ******* VARIABLES GENERALES 1 ********
// ******* Personnalisation ici ********
var highlightcolor="yellow"
// ******* ADDITIONS OPTIONNELLES ********
// ******* Personnalisation ici ********
// document.write("<script language='javascript' src='/sys/rainbow.js'></script>")
// document.write("<script language='javascript' src='/sys/ro.js'></script>")
// ******* VARIABLES GENERALES 2 ********
// ******* Ne pas éditer ********
today=new Date();
vyear=today.getFullYear();
var ns6=document.getElementById&&!document.all
var previous=''
var eventobj
var intended=/INPUT|TEXTAREA|SELECT|OPTION/
// ******* FONCTIONS APPELABLES 2 ********
// ******* Ne pas éditer ********
// *** F - highlight(event)
function checkel(which){
if (which.style&&intended.test(which.tagName)){
if (ns6&&eventobj.nodeType==3)
eventobj=eventobj.parentNode.parentNode
return true
}
else
return false
}
function highlight(e){
eventobj=ns6? e.target : event.srcElement
if (previous!=''){
if (checkel(previous))
previous.style.backgroundColor=''
previous=eventobj
if (checkel(eventobj))
eventobj.style.backgroundColor=highlightcolor
}
else{
if (checkel(eventobj))
eventobj.style.backgroundColor=highlightcolor
previous=eventobj
}
}
var WinNum=0;
function WindowOpen(Url){
var String;
String = "width=340,height=320,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,copyhistory=0";
WinPic=window.open('http://www.anjb.org/'+Url,WinNum++,String)
if (document.all){
}
WinPic.location=Url
}
// *** F - norclick()
function norclick(){
if (window.Event) 
document.captureEvents(Event.MOUSEUP); 
function nocontextmenu()  
{
event.cancelBubble = true
event.returnValue = false;
return false;
}
function norightclick(e)
{
if (window.Event)
{
if (e.which == 2 || e.which == 3)
return false;
}
else
if (event.button == 2 || event.button == 3)
{
event.cancelBubble = true
event.returnValue = false;
return false;
}
}
document.oncontextmenu = nocontextmenu;
document.onmousedown = norightclick;
}
function movein(which,html){
which.style.background='SILVER'
if (document.getElementById)
document.getElementById("boxdescription").innerHTML=html
else
boxdescription.innerHTML=html
}
function moveout(which){
which.style.background='GRAY'
if (document.getElementById)
document.getElementById("boxdescription").innerHTML='&nbsp;'
else
boxdescription.innerHTML='&nbsp;'
}
