//  COPYRIGHT © 2006 ESRI
//
//  TRADE SECRETS: ESRI PROPRIETARY AND CONFIDENTIAL
//  Unpublished material - all rights reserved under the
//  Copyright Laws of the United States and applicable international
//  laws, treaties, and conventions.
// 
//  For additional information, contact:
//  Environmental Systems Research Institute, Inc.
//  Attn: Contracts and Legal Services Department
//  380 New York Street
//  Redlands, California, 92373
//  USA
// 
//  email: contracts@esri.com

var esriTaskResultsCancelledJobs = new Object();

function esriTaskResultsCancelJob(jobID, nodeID, treeViewPlusID)
{
    esriTaskResultsCancelledJobs[jobID]="cancelled";
    
    var node=document.getElementById(nodeID);
    if (node!=null)
    {
        node.removeNode(true);
        window.setTimeout("TreeViewPlusObjects['" + treeViewPlusID + "'].clearNode('" + nodeID + "');",0);
    }
}