home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2003 November
/
Chip_2003-11_cd2.bin
/
nav2004
/
download
/
NAV
/
External
/
NORTON
/
NAVUIRES.dll
/
HTML
/
REPORTS.JS
< prev
next >
Wrap
Text File
|
2003-08-17
|
2KB
|
114 lines
// reports.js
g_ModuleID = 3002;
// Disable Drag-and-drop support
document.ondragstart = function(){return false;}
// Show activity log
function ShowActivityLog ()
{
try
{
var AppLauncher = new ActiveXObject('Symantec.Norton.AntiVirus.AppLauncher');
}
catch (err)
{
var msg = document.frames("Errors").document.all.ERR_MSG_NO_LAUNCHER.innerText;
var id = document.frames("Errors").document.all.ERR_ID_NO_LAUNCHER.innerText;
g_ErrorHandler.DisplayNAVError (msg, id);
return;
}
try
{
AppLauncher.LaunchActivityLog();
}
catch (NAVErr)
{
AppLauncher.NAVError.LogAndDisplay(0);
}
delete AppLauncher;
}
// Launch quarantine console
function ShowQuarantine ()
{
try
{
var AppLauncher = new ActiveXObject('Symantec.Norton.AntiVirus.AppLauncher');
}
catch (err)
{
var msg = document.frames("Errors").document.all.ERR_MSG_NO_LAUNCHER.innerText;
var id = document.frames("Errors").document.all.ERR_ID_NO_LAUNCHER.innerText;
g_ErrorHandler.DisplayNAVError (msg, id);
return;
}
try
{
AppLauncher.LaunchQuarantine();
}
catch (NAVErr)
{
AppLauncher.NAVError.LogAndDisplay(0);
}
delete AppLauncher;
}
function ShowHelp ()
{
try
{
var AppLauncher = new ActiveXObject('Symantec.Norton.AntiVirus.AppLauncher');
}
catch (err)
{
var msg = document.frames("Errors").document.all.ERR_MSG_NO_LAUNCHER.innerText;
var id = document.frames("Errors").document.all.ERR_ID_NO_LAUNCHER.innerText;
g_ErrorHandler.DisplayNAVError (msg, id);
return;
}
try
{
AppLauncher.LaunchHelp (0);
}
catch (NAVErr)
{
AppLauncher.NAVError.LogAndDisplay(0);
}
delete AppLauncher;
}
function ShowURL (strURL)
{
try
{
var AppLauncher = new ActiveXObject('Symantec.Norton.AntiVirus.AppLauncher');
}
catch (err)
{
var msg = document.frames("Errors").document.all.ERR_MSG_NO_LAUNCHER.innerText;
var id = document.frames("Errors").document.all.ERR_ID_NO_LAUNCHER.innerText;
g_ErrorHandler.DisplayNAVError (msg, id);
return;
}
try
{
AppLauncher.LaunchURL(strURL);
}
catch (NAVErr)
{
AppLauncher.NAVError.LogAndDisplay(0);
}
delete AppLauncher;
}