﻿// JavaScript Document
function toggle(myObj){
    obj = getNextSibling(myObj.parentNode);
    //alert("Toggle element => "+obj);
   
    if(obj.className != 'hidden'){
        obj.className = 'hidden';
		//if(myObj.className == ""){ myObj.innerHTML="more&gt;&gt;"; }
    } else {
        obj.className = '';
		//if(myObj.className == ""){ myObj.innerHTML="&lt;&lt;hide"; }		
    }
    return false;
}

function getNextSibling(startBrother){
  endBrother=startBrother.nextSibling;
  while(endBrother.nodeType!=1){
    endBrother = endBrother.nextSibling;
  }
  return endBrother;
}