/**
* Expands node\'s children, if any
*/
function faq_expandChildren(obj, root_faq_tree_id, redirect) {
  var expanded = false; 
  /* Expand the tree node */
  var children = $(obj).parent().children().filter('.hiddeable');
  /* if it has children */
  if (children.length) {
    /* if they are hidden it shows them */
    var children_hidden = $(obj).parent().children().filter('.hiddeable').filter(":hidden");
    if (children_hidden.length) children_hidden.show("fast");
    /* else it hides them */
    else children.hide("fast");
  } else {
    /*---------------------------
     if it hasnt children,
     go to this category or question, it depends on the sp_mode 
    -----------------------------*/
    var tmp_faq_tree_id = $(obj).parent().attr("id");  
    var prefix = "ele-";
    var faq_tree_id = tmp_faq_tree_id.substr(prefix.length);          
    if (redirect) document.location="/?sp=faq&faq_tree_id="+root_faq_tree_id+"#"+faq_tree_id;
    else document.location="#"+faq_tree_id;            
  }
}