<!-- MENU-LOCATION=NONE -->
<html xmlns:MMString="http://www.macromedia.com/schemes/data/string/">
<head>
<!-- Copyright 2001, 2002, 2003 Macromedia, Inc. All rights reserved. -->
<title><MMString:LoadString id="insertbar/textOL" /></title>
<script type="text/javascript" src="../../Shared/Common/Scripts/dwscripts.js"></script>

<script language="javascript">

//---------------     API FUNCTIONS    ---------------

function isDOMRequired() {
	// Return false, indicating that this object is available in code view.
	return false;
}

function objectTag()
{
    var curDom = dw.getActiveWindow();
	if (curDom.isFluidGridDoc() ) {
		dreamweaver.popupCommand( "InsertFGOL.htm" );
	}
	else {
		// Manually wrap tags around selection.
		var dom = dw.getDocumentDOM();
		if (dw.getFocus() == 'textView' || dw.getFocus(true) == 'html'){
			var upCaseTag = (dw.getPreferenceString("Source Format", "Tags Upper Case", "") == 'TRUE');
			// Manually wrap tags around selection.
			if (upCaseTag){
				dom.source.wrapSelection('<OL>','</OL>');
			}else{
				dom.source.wrapSelection('<ol>','</ol>');
			}
		}
		else if (dw.getFocus() == 'document' || dw.getActiveTarget() == "live"){
			dom.setListTag("ol")
		}
	}

  // Just return -- don't do anything else.
  return;
}

</script>
</head>

<body>
</body>

</html>
