
function ponFlor(s,m) {
  s.src = "/img/" + m; 
  //s.src = m.src;
}

function dame() {
	
	// Must launched on the body onload event handler for IE
	// Use document.documentElement if you are in Compat mode
	i = parent.document.getElementById(window.name)
	
	iHeight = top.document.body.scrollHeight
	//alert(iHeight)
	i.style.height = iHeight - 148 + "px"
	
	//top.onResize=alert("a")
}

function abreRecorte(s,w,h) {
  varWidth = w + 40;
  varHeight = h + 40;
  recorte = window.open('files/' + s ,'recorte','width=' + varWidth + ',height=' + varHeight + ',scrollbars=yes,resizable=yes') 
  recorte.focus();
}


function dsp(loc){
   if(document.getElementById){
   	//var foc=loc.firstChild;
      var foc;
      //descomento la 35 36 37 38
      //foc=loc.firstChild.innerHTML?
      // loc.firstChild:
      // loc.firstChild.nextSibling;
      //foc.innerHTML=foc.innerHTML=='+'?'-':'+';
      //alert(foc.toString());
      //alert(loc.parentNode.nextSibling.style.toString());
      //alert('loc.parentNode'+loc.parentNode.id);
      //alert('loc.parentNode.nextSibling'+loc.parentNode.nextSibling.id);
      //alert('loc.parentNode.nextSibling.nextSibling'+loc.parentNode.nextSibling.nextSibling.id);
      //alert('loc.parentNode..nextSibling.nextSiblingnextSibling'+loc.parentNode.nextSibling.nextSibling.nextSibling.id);
      //foc=loc.parentNode.parentNode.nextSibling.id?
      //   loc.parentNode.parentNode.nextSibling:
      //   loc.parentNode.nextSibling.nextSibling;
      foc = document.getElementById(loc);
      foc.style.display=foc.style.display=='block'?'none':'block';
    }
}  

if(!document.getElementById)
   document.write('<style type="text/css"><!--\n'+
      '.dspcont{display:block;}\n'+
      '//--></style>');
