oM = new makeCM("oM") 

if (document.all){

	windowWidth = document.body.clientWidth;
	elWidth = document.all['Mdiv'].offsetWidth;
	cx = Math.floor((windowWidth - elWidth) / 2);// bueno
	if (cx<0)cx = 0;
	
	
	if (navigator.appVersion.substring(22,25)=="4.0") {//ie4
		document.all.Mdiv.style.left = cx;
		oM.fromLeft = document.all.Mdiv.offsetLeft;
		oM.fromTop = document.all.Mdiv.offsetTop + 130;
		document.all.Mdiv.style.visibility ="visible";
	}
	else{
		document.getElementById("Mdiv").style.left = cx;
		oM.fromLeft = document.getElementById("Mdiv").offsetLeft;
		oM.fromTop = document.getElementById("Mdiv").offsetTop + 130;
		document.getElementById("Mdiv").style.visibility ="visible";
	}
	
}
else{
	if (navigator.appVersion.substring(0,3)>="5.0")	{		
		windowWidth = window.innerWidth;
		elWidth = document.getElementById("Mdiv").offsetWidth;
		cx = Math.floor((windowWidth - elWidth)/2);
		if (cx<0)cx = 0;	
		oM.fromLeft =cx;
		document.getElementById("Mdiv").style.left = cx;
		//oM.fromLeft = document.getElementById("Mdiv").offsetLeft;
		oM.fromTop = document.getElementById("Mdiv").offsetTop + 130;
		document.getElementById("Mdiv").style.visibility ="visible";
	}
	else
	{	
		windowWidth = window.innerWidth;
		elWidth = document.layers['Mdiv'].document.width;
		cx = Math.floor((windowWidth - elWidth) / 2);
		if (cx<0)cx = 0;
		oM.fromLeft = cx;
		document.layers['Mdiv'].left = cx;
		oM.fromTop = document.layers['Mdiv'].top + 130;
		document.layers['Mdiv'].visibility ="show";
	
	}
}	

oM.pxBetween=0
oM.rows=0 
oM.menuPlacement="left"
                                                             
oM.offlineRoot="" 
oM.onlineRoot="" 
oM.resizeCheck=0 
oM.wait=2000      
oM.fillImg=""
oM.zIndex=0

oM.useBar=0
oM.barWidth="menu"
oM.barHeight="menu" 
oM.barClass="clBar"
oM.barX="menu"
oM.barY="menu"
oM.barBorderX=0
oM.barBorderY=0
oM.barBorderClass=""

//Level properties 
oM.lv[0]=new cm_makeLevel()
oM.lv[0].width=145
oM.lv[0].height=30 
oM.lv[0].regClass="clLevel0"
oM.lv[0].overClass="clLevel0over"
oM.lv[0].borderX=1
oM.lv[0].borderY=1
oM.lv[0].borderClass="clLevel0border"
oM.lv[0].offsetX=0
oM.lv[0].offsetY=0
oM.lv[0].rows=0
oM.lv[0].arrow=0
oM.lv[0].arrowWidth=0
oM.lv[0].arrowHeight=0
oM.lv[0].align="right"

//EXAMPLE SUB LEVEL[1] PROPERTIES 
oM.lv[1]=new cm_makeLevel()
oM.lv[1].width=oM.lv[0].width+30 // Estaba a +30 
oM.lv[1].height=30//Altura de cada celda
oM.lv[1].regClass="clLevel1"
oM.lv[1].overClass="clLevel1over"
oM.lv[1].borderX=1
oM.lv[1].borderY=1
oM.lv[1].align="right" 
oM.lv[1].offsetX=-(oM.lv[0].width-2)/2+248   //LM
oM.lv[1].offsetY=-(oM.lv[0].height-30)		//MIJ
//oM.lv[1].offsetY=22	//anterior

oM.lv[1].borderClass="clLevel1border"
oM.lv[1].align="top" 


//EXAMPLE SUB LEVEL[2] PROPERTIES 
oM.lv[2]=new cm_makeLevel() 
oM.lv[2].width=oM.lv[0].width
oM.lv[2].height=70
oM.lv[2].offsetX=0
oM.lv[2].offsetY=0
oM.lv[2].regClass="clLevel2over"
oM.lv[2].overClass="clLevel2over"
oM.lv[2].borderClass="clLevel2border"

if(document.all){
	if (navigator.appVersion.substring(22,25)=="4.0") {//ie4
		//alert(hed);																																											
		hed = "<div style='background-color:#AFBACB; layer-background-color:#AFBACB; top:" + (oM.fromTop-25) +"px ; left : "+cx+"px; position : absolute;'><table border='0' cellpadding='0' cellspacing='0' width='"+ (oM.lv[0].width+3) +"'><tr><td align='left'><img src='"+path+"images/site/spacer.gif' width='"+(oM.lv[0].width-23)+"' height=1></td><td align='right'><img src='"+path+"images/site/esq_alta_der.gif' width='24'></td></tr></table></div>"
		hed += "<div style='background-color:#AFBACB; layer-background-color:#AFBACB; top:" + (oM.fromTop) +"px ; left : "+cx+"px; position : absolute;'><table border='0' cellpadding='0' cellspacing='0' width='"+ (oM.lv[0].width+3) +"'><tr><td height="+((n * 30)+13)+" align='center'><img src='"+path+"images/site/spacer.gif' width='1' border='0'></td></tr></table></div>" 
		hed += "<div style='background-color:#AFBACB; layer-background-color:#AFBACB; top:" + ((n * 30)+ oM.fromTop+13) +"px ; left : "+cx+"px; position : absolute;'><table border='0' cellpadding='-1' cellspacing='-1' width='"+ (oM.lv[0].width+3) +"'><tr><td><img src='"+path+"images/site/spacer.gif' width='"+(oM.lv[0].width-23)+"' height=1></td><td align='right'><img align='absbottom' src='"+path+"images/site/esq_baja_der.gif' width='23' border='0' alt=''></td></tr></table></div>"
		//document.write(hed);
		//alert(hed);
	}
	else{
		hed = "<div style='background-color:#AFBACB; layer-background-color:#AFBACB; top:" + (oM.fromTop-25) +"px ; left : "+cx+"px; position : absolute;'><table border='0' cellpadding='0' cellspacing='0' width='"+ (oM.lv[0].width+3) +"'><tr><td align='left'><img src='"+path+"images/site/spacer.gif' width='"+(oM.lv[0].width-23)+"' height=1></td><td align='right'><img src='"+path+"images/site/esq_alta_der.gif' width='24'></td></tr></table></div>"
		hed += "<div style='background-color:#AFBACB; layer-background-color:#AFBACB; top:" + (oM.fromTop) +"px ; left : "+cx+"px; position : absolute;'><table border='0' cellpadding='0' cellspacing='0' width='"+ (oM.lv[0].width+3) +"'><tr><td height="+((n * 30)+13)+" align='center'><img src='"+path+"images/site/spacer.gif' width='1' border='0'></td></tr></table></div>" 
		hed += "<div style='background-color:#AFBACB; layer-background-color:#AFBACB; top:" + ((n * 30)+ oM.fromTop+13) +"px ; left : "+cx+"px; position : absolute;'><table border='0' cellpadding='-1' cellspacing='-1' width='"+ (oM.lv[0].width+3) +"'><tr><td><img src='"+path+"images/site/spacer.gif' width='"+(oM.lv[0].width-23)+"' height=1></td><td align='right'><img align='absbottom' src='"+path+"images/site/esq_baja_der.gif' width='23' border='0' alt=''></td></tr></table></div>"
		document.write(hed);
	}
}
else{
	hed = "<div style='background-color:#AFBACB; layer-background-color:#AFBACB; top:" + (oM.fromTop-25) +"px ; left : "+cx+"px; position : absolute;'><table border='0' cellpadding='0' cellspacing='0' width='"+ (oM.lv[0].width+3) +"'><tr><td align='left'><img src='"+path+"images/site/spacer.gif' width='"+(oM.lv[0].width-23)+"' height=1></td><td align='right'><img src='"+path+"images/site/esq_alta_der.gif' width='24'></td></tr></table></div>"
	hed += "<div style='background-color:#AFBACB; layer-background-color:#AFBACB; top:" + (oM.fromTop) +"px ; left : "+cx+"px; position : absolute;'><table border='0' cellpadding='0' cellspacing='0' width='"+ (oM.lv[0].width+3) +"'><tr><td height="+((n * 30)+13)+" align='center'><img src='"+path+"images/site/spacer.gif' width='1' border='0'></td></tr></table></div>" 
	hed += "<div style='background-color:#AFBACB; layer-background-color:#AFBACB; top:" + ((n * 30)+ oM.fromTop+13) +"px ; left : "+cx+"px; position : absolute;'><table border='0' cellpadding='-1' cellspacing='-1' width='"+ (oM.lv[0].width+3) +"'><tr><td><img src='"+path+"images/site/spacer.gif' width='"+(oM.lv[0].width-23)+"' height=1></td><td align='right'><img align='absbottom' src='"+path+"images/site/esq_baja_der.gif' width='23' border='0' alt=''></td></tr></table></div>"
	document.write(hed);
	
}


datos();




