//////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Drop-down Menu //
// Author : Deaconescu Christophe //
// christophe@be.euro.net //
// Version : 01 //
// Browser : Ie4 & Ns4 //
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Basic browser detection //
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
ns = (document.layers) ? 1:0;
ie = (document.all) ? 1:0;
if (ns) {
//window.captureEvents(Event.RESIZE);
//window.onResize = reSet;
}
function reSet(){
initialize()
}
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Variable initialisation //
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
var subsection;
vis = "visible";
snum = -1;
col = "";
function initialize(toshow){
if (ns) {
if (document.layers.marquee0) scrollnews()
}
if (ie) {
if (document.all.marquee0) scrollnews()
}
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Menu general style //
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
vleft = 6;
vstop = 140;
vtop = vstop;
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Style of the big menu items //
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
vbspace = 0;
vbwidth = 140;
vbheight = 18;
vbstylestart = "
";
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Style of the litle menu items //
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
vwidth = 140;
vheight = 18;
vbgColor = "";
vbgColor2 = "";
vbgColor3 = "";
vstylestart = "";
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Functions who create layers //
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
for (i=0;i" + menu[i][1] + "" + vbstyleend,vbwidth,vbheight,vbgColor3);
if(ns) lay = document.layers["menu" + i + 0];
if(ie) lay = document.all["menu" + i + 0];
vtop = vtop + vbheight + vbspace;
}
else {
for (j=0;j