<!-- 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="Objects/CFML_Basic/Cfset/title" /></title>

<script language="javascript">

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

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

function objectTag() {
	// Manually insert tag, and then put IP inside it.
	var dom = dw.getDocumentDOM();
  var upCaseTag = (dw.getPreferenceString("Source Format", "Tags Upper Case", "") == 'TRUE');
	// Manually wrap tags around selection.
  if (upCaseTag){
    dom.source.wrapSelection('<CFSET ','>');
  }else{
  	dom.source.wrapSelection('<cfset ','>');
  }

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

</script>
	
</head>

<body>
</body>

</html>
