<!---
This file is Copyright © 1998-2009 by Home Care Business Services. This work may not be reproduced, in whole or in part, 
using any medium, including, but not limited to, electronic transmission, CD-ROM or published in print, without the express 
permission of Home Care Business Services.

$Revision: 1.4 $
$Id: communication_action.cfm,v 1.4 2009/03/25 19:32:31 arlen Exp $
$Date: 2009/03/25 19:32:31 $
--->

<cfparam name='url.cid' default='' />

<cfif url.cid eq ''>
 <cflocation url="http://www.MyHomeCareBiz.com" addtoken="No" />
<cfelseif NOT isDefined("session.EmployeeId") OR session.EmployeeId EQ '' OR session.EmployeeId LT 1>
 <cfset session.nextURL = "https://secure.myhomecarebiz.com/agencyadmin/index.cfm?page=agency&cat=Communication&rpt=communication_view&ID=#url.cid#&res=No" />
 <cflocation url="http://www.MyHomeCareBiz.com" addtoken="No" />
<cfelse>
 <cflocation addtoken="No" url="https://secure.myhomecarebiz.com/agencyadmin/index.cfm?page=agency&cat=Communication&rpt=communication_view&ID=#url.cid#&res=No" />
</cfif>
