<!DOCTYPE HTML SYSTEM "-//Adobe//DWExtension layout-engine 12.0//dialog">
<!-- MENU-LOCATION=NONE -->
<html xmlns:MMString="http://www.adobe.com/schemes/data/string/">
<head>
<!--

 ADOBE CONFIDENTIAL
 ___________________

 Copyright 2011 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 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="command/insertFluidGridLayoutDiv/title" /></title>
<script type="text/javascript" src="../Shared/Common/Scripts/dwscripts.js"></script>
<script type="text/javascript" src="../Shared/Common/Scripts/StyleSheet.js"></script>
<script type="text/javascript" src="../Shared/CssGrids/StyleSheetManager.js"></script>
<script type="text/javascript" src="InsertFluidGridLayoutDivDialog.js"></script>
<script type="text/javascript">

// DW API Calls

function isDOMRequired()
{
	return true;
}

function displayHelp()
{
	dwscripts.displayDWHelp(MM.HELP_fluidGrid);
}

function commandButtons()
{
   return 	[	
   				MM.BTN_OK,		'dialog.onClick_OkButton()',
				MM.BTN_Cancel, 	'window.close()',
				MM.BTN_Help,	'displayHelp()'
			];
}

// End DW API Calls

var dialog = null;

function createDialog()
{
	return new CssGrids.InsertFluidGridLayoutDivDialog	(	dw, 
															dwscripts, 
															new CssGrids.StyleSheetManager	(	dw, 
																								dw.getActiveWindow(),
																								dwscripts,
																								DWfile,
																								new StyleSheet(dw)
																							),
															window,
															document																				
														); 
}

function showBehaviorDoc()
{
	var path = dw.getConfigurationPath() + '/JavascriptTests/TestFiles/Commands/InsertFluidGridLayoutDivDialog_Mediator_Test.htm';
	var html = dw.runJavascriptTestFile(path, 'generateTestDoc');
	var docPath = path.replace(/_Test.htm/, '_TestDoc.htm');
	DWfile.write(docPath, html);
	dw.browseDocument(docPath)
}

</script>
<link type="text/css" rel="stylesheet" href="../Styles/InsertFluidGridLayoutDiv.css">
<link href="../fields.css" rel="stylesheet" type="text/css">
</head>
<body onLoad='dialog = createDialog(); dialog.onLoad();'>
<form>
  <table id="mainTable" border="0" cellpadding="2" cellspacing="4">   
    <tr valign="baseline">
      <td align="right" nowrap><label for="div_id"><MMString:loadString id="command/insertFluidGridLayoutDiv/defaultLayout/divId" /></label></td>
      <td nowrap><input id="div_id" type="text" class="propertyList" />
      </td>
    </tr>    
    <tr valign="baseline">
      <td></td>
      <td nowrap><input id="starts_new_row" type="checkbox" checked/> <label id="starts_new_row_label" for="starts_new_row">
      				<MMString:loadString id="command/insertFluidGridLayoutDiv/defaultLayout/startsNewRow" />
                 </label>
      </td>
    </tr>           
  </table>
</form>
</body>
</html>
