<!---------

//for the links perPage changer (and others?) - may need to pass in through URL and do this PHP style

function changePerPage(selectedId) {
                                  
  var url = "/links/NODE/" + selectedId + "/1/";

  document.location = url;
                                  
}


function searchUrl(selectedId, searchRoot) {

  var newSelectedId = escape(selectedId).split("%20").join("+");
                                  
  var url = "/" + searchRoot + "/search/" + newSelectedId + "/";

  document.location = url;
                                  
}

//and although not quite related to the above it works on similar lines

function goToUrl(url) {

  document.location = url;

}

-->