<!--
var totalSections=0;
var lastOver=-1;
var currentOver=-1;
var activeSection=0;
var imagePrefix="/images/nav/";
var check=false;

if (document.images) 
check=true;

function sectionObj (name) {
        this.name        = name;
                if (check) {
                this.off         = new Image ();
                this.off.src     = imagePrefix + name + ".gif";
                this.on          = new Image ();
                this.on.src      = imagePrefix + name + "2.gif";
                this.pick        = new Image ();
                this.pick.src    = imagePrefix + name + "2.gif";
                }
}

function createSectionObj (name) {
        totalSections++;
        sectionObj [totalSections] = new sectionObj (name);
}

function sectionMouseOver(sectionNumber) {
        if (check){
        currentOver = sectionNumber;
                if (sectionNumber != lastOver) {
                if (sectionNumber != activeSection) {
                        document.images [sectionObj [sectionNumber].name].src = sectionObj [sectionNumber].on.src;
                        }
                        if (lastOver != -1 && lastOver != activeSection) {
                                document.images [sectionObj [lastOver].name].src = sectionObj[lastOver].off.src;
                        }
                        lastOver = currentOver;
                }
        }
}

function sectionMouseOut() {
        if (check) {
                if (currentOver != -1 && currentOver != activeSection) {
                        document.images [sectionObj [currentOver].name].src = sectionObj [currentOver].off.src;
                }
                lastOver = -1;
                currentOver = -1;
        }
}

function updatennavFrameImages (newActiveSection, oldActiveSection){
        if (check) {
                if (top.CurSection != null) {
                top.CurImage.src = top.CurSection.off.src
                if (top.CurWin != window) {
                        top.CurWin.activeSection = 0;
                }
        }
        top.CurSection = sectionObj [newActiveSection];
        top.CurImage = document.images [sectionObj [newActiveSection].name];
        top.CurWin = window;
     
        document.images [sectionObj [newActiveSection].name].src = sectionObj[newActiveSection].pick.src;
        if (oldActiveSection != 0) 
                        if (newActiveSection != oldActiveSection) 
                                document.images [sectionObj [oldActiveSection].name].src = sectionObj [oldActiveSection].off.src;
        }
}

function sectionClick(sectionNumber) {
  updatennavFrameImages (sectionNumber, activeSection);
  activeSection = sectionNumber;
}

function reloadframe(url1){
	top.toolbar.location=url1;
}

createSectionObj("location");
createSectionObj("editorial");
createSectionObj("honoraires");
createSectionObj("liste");
createSectionObj("contact");
createSectionObj("liens");
createSectionObj("accueil");

createSectionObj("organisation");
createSectionObj("historique");
createSectionObj("activites");
createSectionObj("ethique");
createSectionObj("avantages");
// -->
