<!-- MENU-LOCATION=NONE -->
<!-- Copyright 2002, 2003 Macromedia, Inc. All rights reserved. -->
<html xmlns:MMString="http://www.macromedia.com/schemes/data/string/">
<head>
<title>Launch Contribute Readme</title>
<script>
//--------------- LOCALIZEABLE GLOBALS---------------
//--------------- END LOCALIZEABLE   ---------------

function canAcceptCommand()
{
	return true;
} //canAcceptCommand
	
	
function launchHelp()
{
  var configPath = dw.getConfigurationPath();
  if (configPath)
  {
    var rootPath = configPath.replace(/Configuration$/,"");
    var readmePath = rootPath+"Readme_contribute.htm";   //first look for Readme_contribute
    if (!DWfile.exists(readmePath) )
    {
      readmePath = rootPath+"Readme.htm";     //then look for just Help
      if (!DWfile.exists(readmePath) )
      {
        readmePath = "";
      }
    }
    if (readmePath)   //if help found
    {
      dw.browseDocument(readmePath);   //if exists, launch it
    }
    else
    {
      alert("Could not find Readme "+rootPath+"\/Readme.htm");
    }
  }
}
</script>
</head>
<body onLoad="launchHelp()">
</body>
</html>
