<!-- MENU-LOCATION=NONE -->
<html xmlns:MMString="http://www.macromedia.com/schemes/data/string/">
<HEAD>
<!--

 ADOBE CONFIDENTIAL
 ___________________

  Copyright 2014 Adobe Systems Incorporated
  All Rights Reserved.

 NOTICE:  All information contained herein is, and remains
 the property of Adobe Systems Incorporated and its suppliers,
 if any.  The intellectual and technical concepts contained
 herein are proprietary to Adobe Systems Incorporated and its
 suppliers and may be covered by U.S. and Foreign Patents,
 patents in process, and are protected by trade secret or copyright law.
 Dissemination of this information or reproduction of this material
 is strictly forbidden unless prior written permission is obtained
 from Adobe Systems Incorporated.
-->
<TITLE>
<MMString:loadString id="menus/DWMenu_View_Split" /></TITLE>
<SCRIPT LANGUAGE="javascript">
<!--
function receiveArguments()
{
	var actWindow = dw.getActiveWindow();
	if(actWindow)
	{
		actWindow.setView('split');
	}
	return;
}

function canAcceptCommand()
{
	var actWindow = dw.getActiveWindow();
	if(actWindow)
	{
		return dw.canShowDesignView(actWindow);
	}
    return false;	
}

var CODE_AND_LIVE_PRIMARY = dw.loadString('menus/DWMenu_Live_Split');
var CODE_AND_DESIGN_PRIMARY = dw.loadString('menus/DWMenu_View_Split');

function getDynamicContent(itemID)
{
    var menuName = new Array();

	var actWindow = dw.getActiveWindow();
    if ( actWindow!= null ) 
    {
        if(actWindow.getDesignViewMode() == 'live')	
        {
		    menuName[0] = CODE_AND_LIVE_PRIMARY ;
        }
        else
	    {
		    menuName[0] = CODE_AND_DESIGN_PRIMARY;
	    }
    }
    else
    {
		menuName[0] = CODE_AND_DESIGN_PRIMARY;
    }

    menuName[0]  += ";id='" + "DWMenu_View_Split" + "'";
    return menuName;
}

function isCommandChecked()
{
	var actWindow = dw.getActiveWindow();
	if(actWindow)
	{
		return actWindow.getView() == 'split';
	}
	return false;        
}
function isDOMRequired()
{
    return false;
}

// -->   
</SCRIPT>
</HEAD>
<BODY>
</BODY>
</HTML>
