function restartTimer()
{
   window.clearInterval(gSessionWarningTimer);
   gSessionWarningTimer = window.setInterval('SessionWarningTimer()', 60000);
}
function SessionWarningTimer()
{
   gTimerCount++;
   if ( gTimerCount == 63)
      if (canTimeout)
	{ 
		alert('SessionWarningTimer');
	}
}
function SessionSave()
{
 if (canTimeout) 
 {  
	alert('SessionSave - Login');
 }
}
function popWindow(url,winname,width,height)
{
  winX=Math.round(screen.width/2)-(width/2);
  winY=Math.round(screen.height/2)-(height/2);
  winStats='toolbar=no,location=no,directories=no,menubar=no,resizable=yes,'
  winStats+='scrollbars=yes,width='+width+',height='+height
  if (navigator.appName.indexOf('Microsoft')>=0) {
    winStats+=',left='+winX+',top='+winY+''
  }else{ 
    winStats+=',screenX='+winX+',screenY='+winY+''
  }
  restartTimer();
  handle = window.open(url,winname,winStats) 
  if(handle != null)
  {
   if (winname != 'add_person_to_pick_pop' && winname != 'mssearch_issue_popup' && winname != 'progress_pop_report' && winname != 'progress_pop_large' && winname != 'transfer_pop' && winname != 'email_popup_stay' && winname != 'forms_instructions_popup') 
   {
     alert('addHandleToArray(handle)');  
   }
   handle.focus();  
  }
  if (winname == 'progress_pop_delayed' || winname == 'author_affil_details' || winname == 'sp_char_palette') 
    return handle;  
}