 		 * [flashKeyExists flashKeyExists()] (function)
 		 * [flashInsert flashInsert()] (function)
 	--->
-
-	<cfif flashKeyExists(arguments.key)>
-		<cfreturn session.flash[arguments.key]>
-	<cfelse>
-		<cfreturn "">
-	</cfif>
+	<cfscript>
+		var returnValue = "";
+		if (flashKeyExists(arguments.key))
+			returnValue = session.flash[arguments.key];
+	</cfscript>
+	<cfreturn returnValue>
 </cffunction>
		 * [flashInsert flashInsert()] (function)
		 * [flash flash()] (function)
	--->
	<cfscript>
		var loc = {};
		StructDelete(session.flash, arguments.key);
	</cfscript>
</cffunction>

<cffunction name="flashIsEmpty" returntype="boolean" access="public" output="false" hint="Controller, Request, Check if the Flash is empty.">
	<!---
		EXAMPLES:
		<cfif NOT flashIsEmpty()>
		  <cfabort>
		</cfif>

		RELATED:

		 * [flashInsert flashInsert()] (function)
		 * [flash flash()] (function)
	--->
	<cfreturn StructCount(session.flash)>
</cffunction>

<cffunction name="flashKeyExists" returntype="boolean" access="public" output="false" hint="Controller, Request, Checks if a specific key exists in the Flash.">
	<cfargument name="key" type="string" required="true" hint="The key to check if it exists">
	<!---
		EXAMPLES:
		<cfif flashKeyExists("error")>
		  do something...
