//--not for batch--
// Copyright (c) 1999 Macromedia. All rights reserved.

// Get the Current Layer
var currentLayer = fw.getDocumentDOM().currentLayerNum;

// Turn off the visibility for all of the layers
var numberLayers = fw.getDocumentDOM().layers.length;

for (count = 0 ; count < numberLayers ; count++)
{
	fw.getDocumentDOM().setLayerVisible(count, 0, false, false);
}

// Turn on the visibility for the current layer
fw.getDocumentDOM().setLayerVisible(currentLayer, 0, true, false);
