<!-- Copyright 2005 Macromedia, Inc. All rights reserved. -->
<html xmlns:MMString="http://www.macromedia.com/schemes/data/string/">
<head>
<title><MMString:loadString id="Toolbars/MM/ccBlogEntryTitle/title" /></title>

<script language="JavaScript">


function receiveArguments(newTitle)
{
	if (getCurrentValue() == newTitle)
		return;	//if nothing's changed, no need to set the title (fixes 139861)

	var dom = dw.getDocumentDOM();
	if (dom)
	{
		dom.setTitle(newTitle);
		// Update the workspace to reflect the new title in the pages pane    
	    CCWorkspaceManager.getManager(dw.getDocumentDOM()).updateWorkspaceTitle();
	}
}

function canAcceptCommand()
{
	return true;
}

function getCurrentValue()
{
	var title = "";
	var dom = dw.getDocumentDOM(); 
	if (dom)
		title = dom.getTitle();	
	return title;
}

</script>
</head>

<body>
</body>
</html>

