function setFocus(fld){
   var fobj;
   fobj = document.getElementById[fld];
   if (fobj)
      if (!fobj.disabled)
         fobj.focus();
}

function openWindow(theURL,winName,features) {
  window.open(theURL,winName,features);
}


function poptastic(url) {
	var newwindow;
	newwindow=window.open(url,'name','height=380,width=620,scrollbars=no,resizable=yes');
	if (window.focus) {newwindow.focus()}
}