function clear_select(select_elem) {
  var obj = document.all[select_elem];
  var opts = obj.options;
  var len = opts.length;
  if (len > 0) {
    opts.item(0).selected = true;
  }
}

// Generic, use: <a href="JavaScript:newWindow=openWindow('url.html','newWindow','width=400,height=400,toolbar=0,location=0,directories=0,status=0,menuBar=0,scrollBars=0,resizable=0');newWindow.focus()"></a>
function openWindow(windowURL,windowName,windowFeatures){
  return window.open(windowURL,windowName,windowFeatures);
}

function openLocation (url, window_name) {
	shopWin = window.open(billpayURL,window_name,'resizable=yes,toolbar=yes,scrollbars=yes,menubar=yes');
}