
    
    function cancel(){
      LogMessage('User clicked the cancel button on the VirusScan pre-install page; showing confirmation dialog', LOG_SEVERITYLEVEL_NORMAL);
      var confirmCancel = MessageBox(GetString('confirm_cancel'),GetString('confirm_cancel_title'),MB_OKCANCEL);
      if(confirmCancel==MBRESULT_OK){
        LogMessage('User has canceled the installation at the VirusScan pre-install page', LOG_SEVERITYLEVEL_WARNING);
        installer.AllowClose(true);
        fireEvent('preinst.xml',EVENT_USER_CANCEL,null);
        NavigationMgr.LoadNextPage();
      }
    }
    
    function restart(){
      // change shutdown action to allow restarts
      shutdownAction = SHUTDOWNACTION_RESTARTONREBOOT;
      LogMessage('User restarting the computer after a VirusScan pre-scan', LOG_SEVERITYLEVEL_NORMAL);
      fireEvent('preinst.xml',EVENT_USER_REBOOT,null);
    }
    
    function showScanView(){
      document.getElementById('virusscan_title').innerHTML = getVSString(IDS_PINST_SCA