
function showObject(objID)  // Mostrar Tabla         http://www.multimundos.cl
{
	var obj = getObject(objID);
	var rtn = false;
	if (obj != null) {
     	obj.style.display = "inline";
        obj.style.position = "static";
        obj.style.width = "auto";
        obj.style.height = "auto";
        obj.style.overflow = "visible";
		rtn = true;
	}
	return rtn;
}
function hideObject(objID)  // Ocultar Tabla   http://www.multimundos.cl
{
	var obj = getObject(objID);
	var rtn = false;
	if (obj != null) {
     	obj.style.display = "none";
        obj.style.position = "static";
        obj.style.width = "auto";
        obj.style.height = "0";
		rtn = true;
	}
	return rtn;
}
function getObject(objID)  // funcion para ocultar y mostar Trabla    http://www.multimundos.cl
{
   if (document.all)
   {
      var obj = document.all[objID];
   }
   else if (document.getElementById)
   {
      var obj = document.getElementById(objID);
   }
	return obj;
}


///////////////////////////////////////////////////////////////////////////////////


	function showHideAnswer()
	{
		var numericID = this.id.replace(/[^\d]/g,'');
		var obj = document.getElementById('a' + numericID);
		var objfecla = document.getElementById('f' + numericID);
		if(obj.style.display=='block' || obj.style.display==''){
			obj.style.display='none';
			//document.images.objfecla.src="../images/ico_minus_9x9.gif"
			objfecla.src="../images/ico_plus_9x9.gif"
			
			
		}else{
			obj.style.display='block';
			objfecla.src="../images/ico_minus_9x9.gif"
			
			
		}		
	}
		
	function initShowHideContent()
	{
		var divs = document.getElementsByTagName('DIV');
		for(var no=0;no<divs.length;no++){
			if(divs[no].className=='question'){
				divs[no].onclick = showHideAnswer;
			}	
			
		}	
	}
	
	window.onload = initShowHideContent;



///////////////////////////////////////////////////////////////////////////////////



 function fundentry()
 {
		 showObject("tabla1")
 } 
  function fundentry2()
 {
		 hideObject("tabla1")
 } 

