var openWindow = null;
function checkopen()
{
  if(openWindow != null && openWindow.closed == true)
  {
    openWindow = null;
    self.focus();
    location.reload();
  }
  else
    window.setTimeout("checkopen()",100);
}
function openEditWindow(url)
{
  openWindow = window.open(url,"openWindow1");
  openWindow.focus();
  window.setTimeout("checkopen()",1000);
}

