function toggleHidden(h,f) 
{ 
  if(f==1) 
  { 
    h.nextSibling.style.display='inline'; 
    //h.style.height=h.nextSibling.scrollHeight; 
  } 
  else 
  { 
    h.nextSibling.style.display='none'; 
    h.style.height='auto'; 
  } 
} 
function toggleReplace(r,f) 
{ 
  r.style.display='none'; 
  if(f==1) 
  { 
    r.nextSibling.style.display='inline'; 
    //if(r.scrollHeight>r.nextSibling.scrollHeight)r.nextSibling.style.height=r.scrollHeight; 
    //if(r.scrollWidth>r.nextSibling.scrollWidth)r.nextSibling.style.width=r.scrollWidth; 
  } 
  else 
  { 
    r.previousSibling.style.display='inline'; 
  } 
}