function popup_window(strURL, size_width, size_height, has_scrollbars, has_resize, windowname) {
   if (!windowname) windowname = "popwindow";
        window_options = 'toolbar=0,width=' + size_width + ',' + 'height=' + size_height + ',center,directories=0,status=1,resizable=' + has_resize + ',scrollbars=' + has_scrollbars + ',menubar=0,left=175,top=100';
        newWindow=window.open(strURL, windowname, window_options);
        newWindow.resizeTo(size_width + 25, size_height + 100);
        newWindow.focus();
        } 

function disableForm(theform) {
  if (document.all || document.getElementById) {
    for (i = 0; i < theform.length; i++) {
      var tempobj = theform.elements[i];
      if (tempobj.type.toLowerCase() == "submit") {
        tempobj.disabled = true;
        }
	  }
	}
  }

function ConfirmURL (strMessage, url) {
	if (confirm(strMessage)) {
		location.href = url;
		}
	}  

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);	