<!--
function MFXinitMenu(){
	IE = navigator.userAgent.indexOf("MSIE")>0 ? 1:0;
	NN = navigator.userAgent.indexOf("Firefox")>0 ? 1:0;
	HIDDEN = (NN) ? 'hidden' : 'hidden';
	VISIBLE = (NN) ? 'visible' : 'visible';
	myLayer=new Array();
	mySpeed=25;
	subLeft=0;
	closes=true;
myLayer[0]=document.all.MFX0.style;
myLayer[1]=document.all.MFX1.style;
myLayer[2]=document.all.MFX2.style;
myLayer[3]=document.all.MFX3.style;
myLayer[4]=document.all.MFX4.style;
myLayer[5]=document.all.MFX5.style;
myLayer[6]=document.all.MFX6.style;
myLayer[7]=document.all.MFX7.style;
myLayer[8]=document.all.MFX8.style;
myLayer[9]=document.all.MFX9.style;
myLayer[10]=document.all.MFX10.style;
myLayer[11]=document.all.MFX11.style;
myLayer[12]=document.all.MFX12.style;
myLayer[13]=document.all.MFX13.style;
myLayer[14]=document.all.MFX14.style;
myLayer[15]=document.all.MFX15.style;
myLayer[16]=document.all.MFX16.style;
myLayer[17]=document.all.MFX17.style;
myLayer[18]=document.all.MFX18.style;
myLayer[19]=document.all.MFX19.style;
myLayer[20]=document.all.MFX20.style;
myLayer[21]=document.all.MFX21.style;
myLayer[22]=document.all.MFX22.style;
myLayer[23]=document.all.MFX23.style;
myLayer[24]=document.all.MFX24.style;
myLayer[25]=document.all.MFX25.style;
myLayer[26]=document.all.MFX26.style;
myLayer[27]=document.all.MFX27.style;
myLayer[28]=document.all.MFX28.style;
myLayer[29]=document.all.MFX29.style;
myLayer[30]=document.all.MFX30.style;
myLayer[31]=document.all.MFX31.style;
myLayer[32]=document.all.MFX32.style;
myLayer[33]=document.all.MFX33.style;
myLayer[34]=document.all.MFX34.style;
myLayer[35]=document.all.MFX35.style;
myLayer[36]=document.all.MFX36.style;
myLayer[37]=document.all.MFX37.style;
myLayer[38]=document.all.MFX38.style;
myLayer[39]=document.all.MFX39.style;
myLayer[40]=document.all.MFX40.style;
myLayer[41]=document.all.MFX41.style;
//myLayer[42]=(NN) ? document.MFX42 : document.all.MFX42.style;
//myLayer[43]=(NN) ? document.MFX43 : document.all.MFX43.style;
//myLayer[44]=(NN) ? document.MFX44 : document.all.MFX44.style;
//myLayer[45]=(NN) ? document.MFX45 : document.all.MFX45.style;
//myLayer[46]=(NN) ? document.MFX46 : document.all.MFX46.style;
//myLayer[47]=(NN) ? document.MFX47 : document.all.MFX47.style;

running=false;
whichOpen=-1;
lastMain=myLayer.length-2;
MFXmain=new Array();
for(i=0; i<myLayer.length; i++){
mainORsub= i % 2;
MFXmain[i] = mainORsub ? 0:1;
}
myTop=new Array();
myLeft=new Array();
myHeight=new Array();
myWidth=new Array();
mySlide=new Array();
for(i=0; i<myLayer.length; i++){

		if(navigator.userAgent.indexOf("Firefox")>0&&MFXmain[i]){
			if(i==0){
				myTop[i]=myLayer[i].top;
				valor=myTop[i].split('px');
				myTop[i]=valor[0];
				myLeft[i]=myLayer[i].left;
				
				valor=myLeft[i].split('px');
				myLeft[i]=valor[0];
				
			}
			else {
				myLeft[i]=myLeft[i-2];
				myTop[i]=parseInt(myTop[i-2])+parseInt(myHeight[i-2]);
			}
			
				myHeight[i]=myLayer[i].height;
				valor=myHeight[i].split('px');
				myHeight[i]=valor[0];
				
				
				myWidth[i]=myLayer[i].width;
				
				myLayer[i].left=myLeft[i];
				myLayer[i].top=myTop[i];
				myLayer[i].visibility="visible";
}
			
			if(navigator.userAgent.indexOf("Firefox")>0&&!MFXmain[i]){
				
				myTop[i]=parseInt(myTop[i-1])+parseInt(myHeight[i-1]);
				myLeft[i]=myLeft[i-1];
				
				myLeft[i]=myLeft[i-1];
				myHeight[i]=myLayer[i].height;
				myWidth[i]=myLayer[i].width;
				mySlide[i]=myTop[i]+myHeight[i];
				myLayer[i].left=myLeft[i]+subLeft;
				myLayer[i].top=myTop[i];
			}
			if(navigator.userAgent.indexOf("MSIE")>0&&MFXmain[i]){
				if(i==0){
					myLeft[i]=myLayer[i].pixelLeft;
					myTop[i]=myLayer[i].pixelTop;
				} else {
					
					myLeft[i]=myLeft[i-2];
					
					myTop[i]=myTop[i-2]+myHeight[i-2];}
					
					myHeight[i]=myLayer[i].pixelHeight;
					myWidth[i]=myLayer[i].pixelWidth;
					myLayer[i].left=myLeft[i];
					myLayer[i].top=myTop[i];
					myLayer[i].visibility="visible";
				}
				if(navigator.userAgent.indexOf("MSIE")>0&&!MFXmain[i]){
				
					myTop[i]=myTop[i-1]+myHeight[i-1];
					myLeft[i]=myLeft[i-1];
					myHeight[i]=myLayer[i].pixelHeight;
					
					myWidth[i]=myLayer[i].pixelWidth;
					
					myLayer[i].pixelLeft=myLeft[i]+subLeft;
					myLayer[i].pixelTop=myTop[i];
					
					mySlide[i]=myTop[i]+myHeight[i];
				}
			}
			
}

function MFXrunMenu(myName,newspeed){
ieStep=0;
thereS=false;
thereC=false;
if(newspeed>0){mySpeed=newspeed;}
first=myName;
if(whichOpen==-1&&!running&&MFXmain[myName]&&!(whichOpen==myName)){
running=true;
if(NN){
myLayer[myName+1].clip.height=0;
myLayer[myName+1].visibility=VISIBLE;
}
if(IE){
myLayer[myName+1].clip= "rect(" + ("auto") +" "+ ("auto") +" "+ (0) +" "+ ("auto") +")";
myLayer[myName+1].visibility=VISIBLE;
}
MFXopenMenuS(myName);
MFXopenMenuC(myName);
}
if(whichOpen>=0&&!running&&!(whichOpen==myName)){
running=true;
second=whichOpen;
ieStep1=myHeight[second+1];
thereCS=false;
thereCC=false;
MFXcloseMenuS(second);
MFXcloseMenuC(second);
}
if(whichOpen>=0&&!running&&whichOpen==myName&&closes){
running=true;
second=whichOpen;
ieStep1=myHeight[second+1];
thereCS=false;
thereCC=false;
MFXcloseMenuS(second);
MFXcloseMenuC(second);
	}
}
function MFXstopCloseS(myName){
running=false;
thereCS=true;
if(closes&&first==whichOpen){whichOpen=-1;}
else{whichOpen=-1;
MFXrunMenu(first);
}
}
function MFXstopOpenS(myName){
running=false;
thereS=true;
if(IE){myLayer[myName+1].clip= "rect(" + ("auto") +" "+ ("auto") +" "+ ("auto") +" "+ ("auto") +")";}
whichOpen=myName;
}
function MFXopenMenuS(myName){
myStep=mySpeed;
if(NN&&!thereS&&!(first==lastMain)){
if(myLayer[first+2].top+myStep>mySlide[first+1]){
myStep=mySlide[first+1]-myLayer[first+2].top;
}
for(i=first+2; i<myLayer.length; i+=2){
myLayer[i].top+=myStep;
}
if(myLayer[first+2].top==mySlide[first+1]){
MFXstopOpenS(first)
}
if(running)setTimeout('MFXopenMenuS(first)',10);
}
if(IE&&!thereS&&!(first==lastMain)){
if(myLayer[first+2].pixelTop+myStep>mySlide[first+1]){
myStep=mySlide[first+1]-myLayer[first+2].pixelTop;
}
for(i=first+2; i<myLayer.length; i+=2){
myLayer[i].pixelTop+=myStep;
}
if(myLayer[first+2].pixelTop==mySlide[first+1]){
MFXstopOpenS(first)
}
if(running)setTimeout('MFXopenMenuS(first)',10);
}
}
function MFXopenMenuC(myName){
myStep=mySpeed;
if(NN&&!thereC){
if ((myLayer[first+1].clip.height+myStep)>myHeight[first+1]){
myLayer[first+1].clip.height=myHeight[first+1]
}
if(myLayer[first+1].clip.height==myHeight[first+1]){
thereC=true;
whichOpen=first;
MFXstopOpenS(first)

}else{
myLayer[first+1].clip.height+=myStep;

}
if(running)setTimeout('MFXopenMenuC(first)',10);
}
if(IE&&!thereC){
ieStep+=myStep;
myLayer[myName+1].clip= "rect(" + ("auto") +" "+ ("auto") +" "+ (ieStep) +" "+ ("auto") +")";

if(ieStep>=myHeight[first+1]){
thereC=true;
whichOpen=first;
MFXstopOpenS(first)
}
if(running)setTimeout('MFXopenMenuC(first)',10);
}
}
function MFXcloseMenuS(myName){
myStep=mySpeed;
if(NN&&!thereCS&&!(second==lastMain)){
if(myLayer[second+2].top-myStep<myTop[second+2]){
myStep=myLayer[second+2].top-myTop[second+2];
}
for(i=second+2; i<myLayer.length; i+=2){
myLayer[i].top-=myStep;

}
if(myLayer[second+2].top==myTop[second+2]){
MFXstopCloseS(second);
}
if(running)setTimeout('MFXcloseMenuS(second)',10);
}
if(IE&&!thereCS&&!(second==lastMain)){
if(myLayer[second+2].pixelTop-myStep<myTop[second+2]){
myStep=myLayer[second+2].pixelTop-myTop[second+2];
}
for(i=second+2; i<myLayer.length; i+=2){
myLayer[i].pixelTop-=myStep;

}
if(myLayer[second+2].pixelTop==myTop[second+2]){
MFXstopCloseS(second);
}
if(running)setTimeout('MFXcloseMenuS(second)',10);
}
}
function MFXcloseMenuC(myName){
myStep=-mySpeed;
ieStep1-=mySpeed;
if(NN&&!thereCC){
if ((myLayer[second+1].clip.bottom+myStep)<0){
myLayer[second+1].clip.bottom=0;
}
if(myLayer[second+1].clip.bottom==0){
thereCC=true;

if(second==lastMain)MFXstopCloseS(second);
}else{
myLayer[second+1].clip.bottom+=myStep;

}
if(running)setTimeout('MFXcloseMenuC(second)',10);
}
if(IE&&!thereCC){
if(ieStep1<=0){
myLayer[myName+1].clip= "rect(" + ("auto") +" "+ ("auto") +" "+ (0) +" "+ ("auto") +")";
thereCC=true;
if(second==lastMain)MFXstopCloseS(second);
}else{
myLayer[myName+1].clip= "rect(" + ("auto") +" "+ ("auto") +" "+ (ieStep1) +" "+ ("auto") +")";

}
if(running)setTimeout('MFXcloseMenuC(second)',10);
}
}
//-->


