﻿function openWindow(theURL,winName,features)

{
  
  var newWin = window.open(theURL,winName,features);
  if (newWin.opener == null) newWin.opener = self; 
  newWin.focus();
  
}

