textfont = "Verdana"
textcolor= "#03105F";
textcolor2= "#FF0000";
textcolor3= "#2F2FBB";
bgcolor2 = "#FFFFFF";
bgcolor = "#FFFFFF";
lastmv3 = "debut";
bgcolor = "#FFFFFF";
bgcolor2 = "#FFFFFF";
mv3_menu = new Array;
mv3_lien = new Array;
fsize = new Array;
fopac = new Array;
mv3tempo = new Array;
mv3tempo2 = new Array;
mv3_menu[0] = '<A HREF="BotoxIntro.html" CLASS=nounderline ><b>Inleiding</b></A>';
fsize[0] = 0;
fopac[0] = 0;
mv3_menu[1] = '<A HREF="BotoxIntro.html?1#gesch" CLASS=nounderline ><b>Geschiedenis</b></A>';
fsize[1] = 0;
fopac[1] = 0;
mv3_menu[2] = '<A HREF="#" CLASS=nounderline ><b>Techniek</b></A>';
fsize[2] = 0;
fopac[2] = 0;
mv3_menu[3] = '<A HREF="#" CLASS=nounderline ><b>Neveneffkten</b></A>';
fsize[3] = 0;
fopac[3] = 0;
mv3_menu[4] = '<A HREF="#" CLASS=nounderline ><b>Indicaties</b></A>';
fsize[4] = 0;
fopac[4] = 0;
mv3_menu[5] = '<A HREF="BotoxIntro.html?5#photo" CLASS=nounderline ><b>Fotos</b></A>';
fsize[5] = 0;
fopac[5] = 0;

mv3_lien[0] = ''
mv3_lien[1] = ''
mv3_lien[2] = ''
mv3_lien[3] = ''
mv3_lien[4] = ''
mv3_lien[5] = ''
mv3_lien[2] += '<A HREF="BotoxIntro.html?2#tech" CLASS=mv3style > &nbsp;&nbsp; . Uitdrukkingsrimpel?</A><BR>';
mv3_lien[2] += '<A HREF="BotoxIntro.html?2#BoBottox" CLASS=mv3style > &nbsp;&nbsp; . Botox?</A><BR>';
mv3_lien[2] += '<A HREF="BotoxIntro.html?2#BoAgit" CLASS=mv3style > &nbsp;&nbsp; . Actie?</A><BR>';
mv3_lien[2] += '<A HREF="BotoxIntro.html?2#BoResul" CLASS=mv3style > &nbsp;&nbsp; . Resultaten?</A><BR>';
mv3_lien[2] += '<A HREF="BotoxIntro.html?2#BoPot" CLASS=mv3style > &nbsp;&nbsp; . Potentialisatie?</A><BR>';
mv3_lien[2] += '<A HREF="BotoxIntro.html?2#BoSecu" CLASS=mv3style > &nbsp;&nbsp; . Veiligheid?</A><BR>';
mv3_lien[3] += '<A HREF="BotoxIntro.html?3#effect" CLASS=mv3style > &nbsp;&nbsp; . Risico\'s?</A><BR>';
mv3_lien[3] += '<A HREF="BotoxIntro.html?3#BoComp" CLASS=mv3style > &nbsp;&nbsp; . Bijwerkingen?</A><BR>';
mv3_lien[3] += '<A HREF="BotoxIntro.html?3#BoContreindi" CLASS=mv3style > &nbsp;&nbsp; . Tegenindicaties?</A><BR>';
mv3_lien[4] += '<A HREF="BotoxIntro.html?4#indic" CLASS=mv3style > &nbsp;&nbsp; . Glabella</A><BR>';
mv3_lien[4] += '<A HREF="BotoxIntro.html?4#BoYeux" CLASS=mv3style > &nbsp;&nbsp; . Oogen</A><BR>';
mv3_lien[4] += '<A HREF="BotoxIntro.html?4#BoGlab" CLASS=mv3style > &nbsp;&nbsp; . Voorhoofd</A><BR>';
mv3_lien[4] += '<A HREF="BotoxIntro.html?4#BoCou" CLASS=mv3style > &nbsp;&nbsp; . Hals</A><BR>';
function d(texte)
	{
	document.write(texte);
	}

function LanceAction(mode,sousmenu,id)
	{
	clearTimeout(mv3tempo[id]);
	clearTimeout(mv3tempo2[id]);
	if(mode == 1)
		{
// ajouter les 2 règles ci-dessous
// corrige le fait que le menu se rétracte quand ce n'est pas voulu
		if(lastmv3 != id && lastmv3 != 'debut')
			LanceAction(0,'mv3sm'+lastmv3,lastmv3)
// ajouter jusqu'ici
			
// effacer les deux règles ci-dessous
/*
		if(lastmv3 != "debut")
			LanceAction(0,"mv3sm"+lastmv3,lastmv3)
*/
// effacer jusqu'ici

		drawmv3(sousmenu,id)
		}
		
	if(mode == 0)
		killmv3(sousmenu,id)
	}

function drawmv3(sousmenu,id)
	{
	lastmv3 = id;
// ajouter la règle suivante pour faire apparaitre le menu
// nécessaire puisqu'on le fait disparaitre dans la fonction killmv()
	document.getElementById(sousmenu).style.display = 'inline'
// ajouter jusqu'ici
	document.getElementById(sousmenu).innerHTML = "<TABLE ALIGN=left BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=150 STYLE=\"filter:alpha(opacity="+fopac[id]+")\"><TR><TD><DIV STYLE=\"font-size:"+fsize[id]+";font-family:Verdana\">"+mv3_lien[id]+"</DIV></TD></TR></TABLE>";
	if(fsize[id] < 10)
		{
		fsize[id]++;
		mv3tempo[id] = setTimeout("drawmv3('"+sousmenu+"',"+id+")",10)
		}
	else
		{
		if(fopac[id] < 100)
			{
			fopac[id] += 5
			mv3tempo[id] = setTimeout("drawmv3('"+sousmenu+"',"+id+")",10)
			}
		}
	}

function killmv3(sousmenu,id)
	{
	document.getElementById(sousmenu).innerHTML = "<TABLE ALIGN=left BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=150 STYLE=\"filter:alpha(opacity="+fopac[id]+")\"><TR><TD><SPAN STYLE=\"font-size:"+fsize[id]+"\"><FONT FACE="+textfont+">"+mv3_lien[id]+"</FONT></DIV></TD></TR></TABLE>";

	if(fopac[id] > 0)
		{
		fopac[id] -= 10
		mv3tempo2[id] = setTimeout("killmv3('"+sousmenu+"',"+id+")",5)
		}
	else
		{
		if(fsize[id] > 0)
			{
			fsize[id] -= 2;
			mv3tempo2[id] = setTimeout("killmv3('"+sousmenu+"',"+id+")",5)
			}
			// ajouter les règles suivantes
// pour se débarasser de la règle blanche qui reste quand le menu se rétracte
			else
			{
				document.getElementById(sousmenu).style.display = 'none'
			}
// ajouter jusqu'ici
		}
	}

mv3_pos = -1;

d('<STYLE TYPE="text/css">\na.mv3style {color:'+textcolor+';text-decoration:none;}\na:hover.mv3style {color:'+textcolor2+';text-decoration:none;}\na.nounderline {text-decoration:none;color:'+textcolor+'}\na:visited.nounderline {text-decoration:none;color:'+textcolor+'}\na:hover.nounderline {color:'+textcolor2+'; text-decoration: none; font-family: Verdana, Arial, Helvetica, sans-serif}\n</STYLE>');

d('<table bgcolor=#FFFFFF cellspacing=0 cellpadding=3 border=0 WIDTH=160 >');

for(a=0;a<mv3_menu.length;a++)
	{
	if(document.getElementById && document.all)
		d("<TR><TD BGCOLOR="+bgcolor+" onMouseOver=\"this.style.background='"+bgcolor2+"'\" onClick=\"LanceAction('1','mv3sm"+a+"',"+a+")\" onMouseOut=\"this.style.background='"+bgcolor+"'\" STYLE=\"cursor:hand\"><FONT FACE=\""+textfont+"\" SIZE=2 COLOR="+textcolor+"><B><left>"+mv3_menu[a]+"</left></B></FONT><DIV ID=mv3sm"+a+"></DIV></TD></TR>");
	else
		d("<TR><TD BGCOLOR="+bgcolor+"><FONT FACE=\""+textfont+"\" SIZE=2 COLOR="+textcolor+"><B>"+mv3_menu[a]+"</B></FONT></TD></TR>");

	if(!(document.getElementById && document.all))
		d("<TR><TD BGCOLOR="+bgcolor+"><FONT FACE=\""+textfont+"\" SIZE=2><B>"+mv3_lien[a]+"</B></FONT></TD></TR>")
	}

d("</TABLE>");
var s = location.search.substr(1);
if( s )	{
	 drawmv3( 'mv3sm'+s, s );
}
