<!--- This example shows how to use CJustify --->
<CFPARAM name="jstring" default="">

<CFIF IsDefined("form.justifyString")>
	<CFSET jstring = Cjustify("#form.justifyString#", 35)>
</CFIF>
<HTML>
<HEAD>
<TITLE>
CJustify Example
</TITLE>
</HEAD>

<BASEFONT FACE="Arial, Helvetica" SIZE=2>
<BODY  bgcolor="#FFFFD5">
<H3>CJustify Example</H3>

<P>Enter a string, and it will be center justified within
the sample field

<FORM ACTION="cjustify.cfm" METHOD="POST">
<P><INPUT TYPE="Text" VALUE="<CFOUTPUT>#jString#</CFOUTPUT>" SIZE=35 NAME="justifyString">
<P><INPUT TYPE="Submit" NAME=""> <INPUT TYPE="RESET">
</FORM>

</BODY>
</HTML>       
