
//---------------- DropDown Top Menu Functions --------------------


/* -------------- Click on text near controls can be handled as a clcik on the control (if the control is a child of course).
                   Click on TD can be handled as a clcik on a link inside TD. -----  */


function changeColor(el) {
	if(el != null){
	    el.className = "leftMenuTDactive";
	}
}

function returnColor(el) {
	if(el != null){
	   el.className = "leftMenuTD";
	}
}

function clickOnParent(obj){
  if(obj != null){
    var coll=obj.children;
    if(coll != null){
      for(var i=0;i<coll.length;i++){
        coll.item(i).click();
      }
    }
  }
}

