try {
  if (!(parent && parent.menu)) {
    top.location = '../' + category + '.htm';
  } 
} catch (e) {
}