<!--- 
 Filename: Application.cfc (The “Application Component”)
 Created by: Raymond Camden (ray@camdenfamilyc.om)
 Purpose: Sets “constant” variables and includes consistent header
--->

<cfcomponent output="false">

  <cffunction name="onRequestStart" returnType="boolean" output="true">
    <!--- Any variables set here can be used by all our pages --->
    <cfset REQUEST.dataSource = "ows">
    <cfset REQUEST.companyName = "Orange Whip Studios">

    <!--- Display our Site Header at top of every page --->
    <cfinclude template="SiteHeader.cfm">

    <cfreturn true>
  </cffunction>

  <cffunction name="onRequestEnd" returnType="void" output="true">

		<!--- Display our Site Footer at bottom of every page --->
		<cfinclude template="SiteFooter.cfm">

  </cffunction>
  
</cfcomponent>