// Copyright 2008 Adobe Systems Incorporated.  All rights reserved.

function receiveArguments()
{
  var dom = dw.getDocumentDOM();
  
  if( !dom )
    return;
  
  dom.insertObject("SpryTooltip");
}

function canAcceptCommand()
{
  dom = dw.getDocumentDOM();
  
  return (	dw.getFocus() != 'browser' && 
        dom != null && 
        !dom.getIsLibraryDocument() &&
        dom.getParseMode() == 'html' );

}