//
// Copyright 2000, 2001, 2002, 2003 Macromedia, Inc. All rights reserved.
// ----------------------------------------------------
//
// Insert_Word.js

function canAcceptCommand()
{	
	return (dw.getDocumentDOM() != null && dw.getFocus() == 'document' && dw.getDocumentDOM().getParseMode() == 'html' && dw.canImportWord() > 0);
}

function go()
{
   var fName = dw.getWordDocument();
   if ( fName != null && fName.length > 0 )
      insertOfficeDoc( fName, null, false );

   return "";
}
