function delCategory01() {
  re = /\/Other$/;
 
  if (!YD.hasClass(document.body, 'galleries'))
    return;
 
  var oList = YD.getElementsByClassName('miniBox', 'div', YD.get('categoriesBox'));
 
  for (i = 0; i < oList.length; i++) {
    if (re.test(oList[i].getElementsByTagName('a')[0].href))
      oList[i].parentNode.removeChild(oList[i]);
  }
}

function delCategory02() {
  re = /\/Portfolio$/;
 
  if (!YD.hasClass(document.body, 'galleries'))
    return;
 
  var oList = YD.getElementsByClassName('miniBox', 'div', YD.get('categoriesBox'));
 
  for (i = 0; i < oList.length; i++) {
    if (re.test(oList[i].getElementsByTagName('a')[0].href))
      oList[i].parentNode.removeChild(oList[i]);
  }
}

