function SetAnch(n) {
  var cma=document.getElementById("catmenu").getElementsByTagName('A');
  for(var i=0; i<cma.length; i++) {
    cma[i].href+="#top";
  }

  if(n==2) {
    var posa=document.getElementById("poslst").getElementsByTagName('A');
    for(var i=0; i<posa.length; i++) {
      posa[i].href+="#top";
    }
  }

  if(n && navigator.appName.indexOf("Explorer")>0 && window.location.href.indexOf("#top")>0) {
    window.location.href=window.location.href;
  }
}
