function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}

// disable multiple submits //
var alreadySubmitted = 0;
function validateSubmit()
{
  if (alreadySubmitted == 1) return false;
  alreadySubmitted = 1;
  return true;
}


function ps_open_popup( url, width, height )
{
		if( width == null || width <= 0 )
		{
			width = 400;
		}
		if( height == null || height <= 0 )
		{
			height = 400;
		}

  popupWin1 = window.open(url,"popup_window","toolbar=no, location=no, directories=no, status=no, menu=no, scrollbars=yes, resizable=yes, copyhistory=no, width="+width+", height="+height+",dependent");
  //reload the window - eg image size changes, need to force reload of the image
  //by default will show cached version of image
  if( navigator.appName == "Netscape" )
  {
      popupWin1.reload = true;
  }
  else
  {
      popupWin1.location.reload();
	popupWin1.location.replace( url );
   }
   popupWin1.focus();
  
}