  function Expand(obj) {
  if (!obj) return;
  while(obj && obj.className.indexOf("expandbox" )==-1) obj = obj.parentNode;
  if (!obj) return;
  var x=obj.className;
  x = (x.match(/\bexpandbox\b/)) ? x.replace("expandbox","expandbox_opened" ) :  x.replace("expandbox_opened","expandbox" );
  obj.className=x;
 }