function viewArchives()
 {
  if (document.archiveForm.archive.selectedIndex == 0) {return;}
  value = document.archiveForm.archive[document.archiveForm.archive.selectedIndex].value;
  value = value.split('|');
  url = this.location.href.split('?', 1);
  if (value[3]) {url += "?newstype="+value[3]+"&";}
  else {url += "?";}
  if (value[0] != "latest") {url += "day="+value[0]+"&month="+value[1]+"&year="+value[2];}
//  alert(url+"<BR>\n"+value[0]+" - "+value[1]+" - "+value[2]+"<BR>\ntype: "+value[3]);
  window.location=url;
 }
