<CFSET thistag="">
<CFPARAM name="variables.file_dir" default="#getDirectoryFromPath(GetTemplatePath())#">
<CFPARAM name="variables.file_name" default="#lcase(trim(tagname))#.cfm">


<CFSET variables.file_name = rereplacenocase("#variables.file_name#", "[\\\/]", "", "ALL")> 
<CFSET variables.file_name = rereplacenocase("#variables.file_name#", "\.{2,}", "", "ALL")> 
<HTML>
<BODY  bgcolor="#FFFFD5">
<CFFILE ACTION="READ" FILE="#file_dir##file_name#" VARIABLE="thistag">
<H2>Sample code</h2>
<HR>
<CFOUTPUT>
<script language="JavaScript">
<!-- Hide JavaScript

   if (navigator.appName == "Netscape"){
      document.write('<LINK REL=STYLESHEET HREF="../allaire_ns.css" TYPE="text/css">');
      }
   else{
      document.write('<LINK REL=STYLESHEET HREF="../allaire_ie.css" TYPE="text/css">');
   }
//-->
</script>
#HtmlCodeFormat("#thistag#")#
</BODY>
</CFOUTPUT>
</HTML>