<cfwindow 
    name="editmed" 
    title="" 	
    height="500"     
    width="800"  
    resizable="false"     
    center="true" 
    closable="false" 
    draggable="true"     
    modal="true"   
    bodystyle="background-color:white;"	
	initshow="true">
  <cfparam name="URL.Step" default="Step1" />
  <cfparam name='url.mid' default='' />
  <cfparam name='form.mid' default='' />
  <cfif url.mid eq '' and form.mid neq ''>
    <cfset url.mid = form.mid />
  </cfif>
  <cfif URL.Action IS "Update">
    <!--- Get Patient info to display at top of page --->
    <cfquery name="GetP" datasource="#Application.DataSrc#">
	 SELECT Patient_ID, Last_Name_M0040 AS Last_Name, First_Name_M0040 AS First_Name, Middle_Initial_M0040 AS Middle
	 FROM   #Request.prefix_db_agency#.patient 
	 WHERE  Patient_Id = '#session.cs.patientid#'
	 AND    Agency_Id = '#session.AgencyId#'
	</cfquery>
    
    <!--- Check record lock status --->
    <cfquery name="chkLock" datasource="#Application.DataSrc#">
	SELECT PatientRecordLock_ID 
	FROM #Request.prefix_db_agency#.PatientRecordLock 
	WHERE Patient_ID = #session.cs.patientid# AND UnlockedBy_ID = 0
	</cfquery>
    <cfquery name="GetM" datasource="#Application.DataSrc#">
	SELECT Medication_ID, Notes, Med_Status, DateOrdered, DateDCed, Dose, Route, Freq, Drug_Name, Dose_Units, NewChanged,
	Meds_New.Classification, Meds_New.Grouping, Meds_New.Trade_Name, Meds_New.Generic_Name
	FROM #Request.prefix_db_agency#.PatientMeds
	left outer join #Request.prefix_db_lookup#.Meds_New on PatientMeds.Medication_ID = Meds_New.Trade_id
	WHERE PatientMeds_ID = #Session.CS.PatientMedicationID#
	</cfquery>
    <cfelse>
    <!--- Get Patient info to display at top of page --->
    <cfquery name="GetP" datasource="#Application.DataSrc#">
	 SELECT Patient_Id, Last_Name_M0040 AS Last_Name, First_Name_M0040 AS First_Name, Middle_Initial_M0040 AS Middle
	 FROM   #Request.prefix_db_agency#.patient 
	 WHERE  Patient_Id = '#session.cs.patientid#'
	 AND    Agency_Id = '#session.AgencyId#'
	</cfquery>
    
    <!--- Check record lock status --->
    <cfquery name="chkLock" datasource="#Application.DataSrc#">
	 SELECT PatientRecordLock_ID 
	 FROM   #Request.prefix_db_agency#.PatientRecordLock 
	 WHERE  Patient_Id = '#session.cs.patientid#'
	 AND UnlockedBy_ID = 0
	</cfquery>
  </cfif>
  <cfswitch expression="#URL.Step#">
    <cfcase value="Step1">
    <cfquery datasource="#Application.DataSrc#" name="ClassList">
				SELECT Distinct(classification)
				FROM   #Request.prefix_db_lookup#.meds_classifications
				ORDER BY classification
			</cfquery>
    <cfquery datasource="#Application.DataSrc#" name="MedList">
				SELECT classification,generic_name,trade_name,trade_id
				FROM   #Request.prefix_db_lookup#.Meds_New
				ORDER BY classification,trade_name
			</cfquery>
    <script>
			var classlist=new Array();
			<cfset m=0 />
			<cfoutput query=classlist>
				classlist[#m#] = '#classification#';
				<cfset m=m+1 />
			</cfoutput>
			var druglist=new Array();
			<cfset n=0 />
			<cfoutput query=medlist>
				var drug=new Array();
				druglist[#n#] = drug;
				<cfset n=n+1 />
				drug[0]=#trade_id#;
				drug[1]="#classification#";
				drug[2]="#generic_name#";
				drug[3]="#trade_name#";
			</cfoutput>

			</script>
    </cfcase>
    <cfcase value="Step2">
    <cfif isDefined("FORM.SearchTxt") OR 1>
      <!--- Search Medications table for similar medications --->
      <cfquery datasource="#Application.DataSrc#" name="MedSearch">
					SELECT *
					FROM   #Request.prefix_db_lookup#.Meds_New
					WHERE  Name LIKE '%#Form.SearchTxt#%'
					ORDER BY Name
				</cfquery>
      <cfelse>
      <cflocation url="/logout.cfm" addtoken="no">
    </cfif>
    </cfcase>
    <cfcase value="Step3">
    <cfif NOT isDefined("url.mid") AND isDefined("form.mid")>
      <cfset url.mid = #form.mid# />
    </cfif>
    <!--- Get Medication Name for display on form --->
    <cfquery datasource="#Application.DataSrc#" name="GetMed">
				SELECT Trade_ID, Name, Classification, Grouping, Trade_Name, Generic_Name
				FROM   #Request.prefix_db_lookup#.Meds_New
				WHERE  Trade_ID = '#URL.MID#'
			</cfquery>
    <cfquery datasource="#Application.DataSrc#" name="GetDose">
				SELECT DISTINCT Trade_ID, Dose, Form
				FROM   #Request.prefix_db_lookup#.Meds_New_Dose
				WHERE  Trade_ID = '#URL.MID#'
				Order by Dose ASC
			</cfquery>
    </cfcase>
  </cfswitch>
  
  <table  align="center" width="98%" cellpadding="0" cellspacing="0">
    <tr>
      <td style="height:5px"></td>
    </tr>
    <tr>
      <td align="left" style="font-family:Arial; font-size:14px;font-weight:bold;color:ff6b00;padding-left:10px"><cfoutput>
          <cfif  isDefined("url.Action") and url.Action is "Add">
            #GetP.First_Name# #GetP.Last_Name# - New Medication
            <cfelse>
            #GetP.First_Name# #GetP.Last_Name# - Update Medication
          </cfif>
        </cfoutput></td>
      <td align="right" style="padding-right:2px"><cfoutput><img src="../../images/vizard_close.png" onClick="window.location='/patientadmin_new/index.cfm?page=patient&cat=PatientSummary'" style="cursor:pointer" name="imgclose" id="imgclose" /></cfoutput></td>
    </tr>
    <tr>
      <td style="height:5px"></td>
    </tr>
    <tr>
      <td colspan="2" style=" background-image:url(../../images/vizard_title_bg.gif); height:13px;" ></td>
    </tr>
    <tr>
      <td style="height:5px"></td>
    </tr>
  </table>
  <table border="0" cellspacing="2" cellpadding="2" class="form-border">
  <tr>
    <td style="height:5px"></td>
  </tr>
  <cfif chkLock.RecordCount EQ 0>
    <cfif URL.Action IS "Add">
           <b>Do Not</b> use the following symbols: ~ % @ &amp; or ^ in any fields.<br />         * = medication info available.<br>
      <br>
      <cfswitch expression="#URL.Step#">
        <!--- New Medication Record, display Med Search box, Step 1 --->
        <cfcase value="Step1">
        <cfoutput>
          <form name="form" method="post" action="index.cfm?page=#url.page#&cat=#url.cat#&Action=Add&Step=Step2">
            <input type=hidden name="page" value="#url.page#">
            <input type=hidden name="cat" value="#url.cat#">
            <tr>
              <td><h2 style="color:8DBE36;">    Step 1 - Find Medication</h2></td>
            </tr>
            <tr>
              <td>    Type search criteria:   
                <input type="text" size="45" name="SearchTxt">
                 
                <input type="submit" value="Locate">
                 
                <input type="button" value="Back" onclick="history.back();"/>
                
                <!---<cf_button v="Back"  root=#Navroot# onclick="history.back();">---></td>
            </tr>
          </form>
          <tr>
            <td colspan="2"><h2 style="color:8DBE36;">        OR</h2></td>
          </tr>
          <form name="form" method="post" action="index.cfm?page=#url.page#&cat=#url.cat#&Action=Add&Step=Step3">
            <input type=hidden name="page" value="#url.page#">
            <input type=hidden name="cat" value="#url.cat#">
            <input type=hidden name="MID" id="mid_id" value="24000">
            <tr>    
              <td colspan=4><div id=classification_id> </div></td>
            </tr>
            <tr>
              <td colspan=4><div id=medication_id> </div></td>
            </tr>
            <tr>
              <td colspan=4><input type="submit" value="Use This Medication"></td>
            </tr>
          </form>
          <script>
											populateMeds();
										</script> 
        </cfoutput>
        </cfcase>
        <cfcase value="Step2">
        <h2 style="color:8DBE36;">    Step 2 - Select Medication</h2>
        <tr> <cfoutput>
            <td colspan="4"  nowrap><cf_button v="Search Again"  root=#Navroot# onclick="history.back();">
                 
              <input type="button" name="Cancel2" value="The Medication I Want Is Not Listed" onclick="location='index.cfm?page=patient&cat=med_no_med&PMID=0';">
                </td>
          </cfoutput></tr>
        </table>
        <table width='800' border="0" cellspacing="2" cellpadding="2" class="form-border">
        <tr>
          <td class='list-hdr'>Trade Name</td>
          <td class='list-hdr'>Generic Name</td>
          <td class='list-hdr'>Classification(s)</td>
        </tr>
        <cfoutput query="MedSearch">
          <tr>
            <td><div align="center"><a href="index.cfm?page=patient&cat=medform&Action=Add&Step=Step3&MID=#Trade_ID#">#trade_name#</a>
                <cfif Uses IS NOT "">
                   <em><font size="1">*</font></em>
                </cfif>
              </div></td>
            <td><div align="center"><a href="index.cfm?page=patient&cat=medform&Action=Add&Step=Step3&MID=#Trade_ID#">#replacenocase(generic_name," X ","<br>","ALL")#</a></div></td>
            <td><div align="center">#replacenocase(classification," & ","<br>","ALL")#</div></td>
          </tr>
        </cfoutput>
        </cfcase>
        <cfcase value="Step3">
        <cfoutput>
          <cfif NOT isDefined("url.mid") AND isDefined("form.mid")>
            <cfset url.mid = #form.mid# />
          </cfif>
          <form name="contact" action="index.cfm?page=patient&cat=med_action&Action=Add" method="post"  onsubmit="return checkMedForm(this,1);">
            <input type=hidden name="page" value="#url.page#">
            <input type=hidden name="cat" value="medlist">
            <input type="hidden" name="ID" value="#session.cs.patientid#">
            <input type="hidden" name="MID" value="#url.MID#">
            <input type="hidden" name="MedName" value="#GetMed.Name#">
            <tr>
              <td style="height:5px"></td>
            </tr>
            <tr>
              <td class="form-label">Medication</td>
              <td><b><cfoutput><strong>#GetMed.Name#</strong></cfoutput></b></td>
            </tr>
            <tr>
              <td class="form-label">Classification(s)</td>
              <td><b><cfoutput><strong>#GetMed.classification#</strong></cfoutput></b></td>
            </tr>
            <tr>
              <td class="form-label">Dose</td>
              <td><input type="Radio" name="Dose" value="0" checked>
                <em>I'll enter my own dose under Dose Units</em><br>
                <cfloop query="GetDose">
                  <input type="Radio" name="Dose" value="#Dose#">
                  #Dose# (#form#)<br>
                </cfloop></td>
            </tr>
            <tr>
              <td class="form-label">Dose Units</td>
              <td><input type="text" name="Dose_Units" size="20"></td>
            </tr>
            <tr>
              <td class="form-label">Route</td>
              <td><select name="Route">
                  <option> - </option>
                  <option>by mouth</option>
                  <option>PO</option>
                  <option>inhalant</option>
                  <option>I</option>
                  <option>intramuscular</option>
                  <option>IM</option>
                  <option>right eye</option>
                  <option>OD</option>
                  <option>left eye</option>
                  <option>OS</option>
                  <option>both eyes</option>
                  <option>OU</option>
                  <option>drops</option>
                  <option>Gt</option>
                  <option>nasal cannula</option>
                  <option>NC</option>
                  <option>rectal</option>
                  <option>PR</option>
                  <option>subcutaneous</option>
                  <option>SC</option>
                  <option>sublingual</option>
                  <option>SL</option>
                  <option>topical</option>
                  <option>T</option>
                  <option>transdermal</option>
                  <option>TD</option>
                  <option>intravenous</option>
                  <option>IV</option>
                  <option>vaginal</option>
                  <option>V</option>
                </select></td>
            </tr>
            <tr>
              <td class="form-label">Frequency</td>
              <td><select name="Freq">
                  <option> - </option>
                  <option>before meal</option>
                  <option>after meal</option>
                  <option>in the morning</option>
                  <option>in the evening</option>
                  <option>at bedtime</option>
                  <option>once a day</option>
                  <option>twice a day</option>
                  <option>three times a day</option>
                  <option>four times a day</option>
                  <option>five times a day</option>
                  <option>every other day</option>
                  <option>every hour</option>
                  <option>every 2 hours</option>
                  <option>every 3 hours</option>
                  <option>every 4 hours</option>
                  <option>every 6 hours</option>
                  <option>every 8 hours</option>
                  <option>every 12 hours</option>
                  <option>every 4-6 hours</option>
                  <option>once a week</option>
                  <option>every other week</option>
                  <option>immediately</option>
                   <option>as directed</option>
                  <option>as necessary</option>
                 
                </select></td>
            </tr>
            <tr>
              <td class="form-label">New or Changed?</td>
              <td> Ongoing
                <input type="Radio" name="NewChanged" value="" checked='checked'>
                 
                New
                <input type="Radio" name="NewChanged" value="N">
                 
                Changed
                <input type="Radio" name="NewChanged" value="C"></td>
            </tr>
            <tr>
              <td class="form-label">Notes</font></td>
              <td><textarea name="Notes" rows="2" cols="45"></textarea></td>
            </tr>
            <tr>
              <td class="form-label">Status</td>
              <td> Active
                <input type="Radio" name="med_status" value="active" checked>
                  
                Inactive
                <input type="Radio" name="med_status" value="inactive"></td>
            </tr>
            <tr>
              <td class="form-label">Date Ordered</td>
              <td><cfset Today = DateFormat(Now(),"mm/dd/yyyy") />
                <cf_popdatetime formname="contact" fieldvalue="#Today#" fieldname="dateordered" time="no" euro="no" scriptpath="#NavRoot#/Scripts/popDateTime/"></td>
            </tr>
            <tr>
              <td style="height:5px"></td>
            </tr>
            <tr>
              <td></td>
              <td><input type="submit" name="Submit" value="Add Medication">
                <input type="button" name="Cancel" value="Cancel" onclick="history.back();"></td>
            </tr>
          </form>
        </cfoutput>
        </cfcase>
      </cfswitch>
      <cfelse>
      <cfoutput>
        <cfquery datasource="#Application.DataSrc#" name="GetDoses">
				SELECT DISTINCT Trade_ID, Dose, Form
				FROM   #Request.prefix_db_lookup#.Meds_New_Dose
				WHERE  Trade_ID = '#GetM.Medication_Id#'
				Order by Dose ASC
			</cfquery>
        <!-- JDB: 
				SELECT Trade_ID, Dose_ID, Dose, Form
				FROM   Meds_New_Dose
				WHERE  Trade_ID = '#GetM.Medication_Id#'
				Order by Dose ASC
// -->
        
        <form name="contact" action="index.cfm?page=patient&cat=med_action&Action=Update" method="post" onsubmit="return checkMedForm(this,2);">
          <input type=hidden name="page" value="#url.page#">
          <input type=hidden name="cat" value="medlist">
          <input type="hidden" name="ID" value="#session.cs.patientid#">
          <input type="hidden" name="MID" value="#Session.CS.MedicationID#">
          <input type="hidden" name="MPID" value="#Session.CS.PatientMedicationID#">
          <tr>
            <td class="form-label">Medication</td>
            <td><b>#GetM.Drug_Name#</b></td>
          </tr>
          <tr>
          <tr>
            <td class="form-label">Classification(s)</td>
            <td><b><cfoutput>
                <cfif getm.medication_id neq -1 and getm.medication_id neq 24000>
                  <strong>#GetM.classification#</strong>
                  <cfelse>
                  unknown
                </cfif>
                </cfoutput></b></td>
          </tr>
          <tr>
            <td class="form-label">Dose</td>
            <td><!--- JDB: Make this match the "New Med" form...
									 <input type="text" name="Dose" size="20" value="#GetM.Dose#">
--->
              
              <cfset gotDose = false />
              <cfloop query="GetDoses">
                <cfif GetM.Dose eq GetDoses.Dose or Replace(GetM.Dose, ' ', '', 'ALL') eq Replace(GetDoses.Dose, ' ', '', 'ALL')>
                  <cfset gotDose = true />
                </cfif>
              </cfloop>
              <input type="Radio" name="Dose" value="0" <cfif gotDose eq false or GetM.Dose eq '0' or GetM.Dose eq ''>checked</cfif>>
              <em>I'll enter my own dose under Dose Units</em><br>
              <cfloop query="GetDoses">
                <input type="Radio" name="Dose" value="#GetDoses.Dose#" <cfif GetM.Dose eq GetDoses.Dose or Replace(GetM.Dose, ' ', '', 'ALL') eq Replace(GetDoses.Dose, ' ', '', 'ALL')>checked </cfif> <cfset gotDose = true />>
                #GetDoses.Dose# (#GetDoses.form#)<br>
              </cfloop></td>
          </tr>
          <tr>
            <td class="form-label">Dose Units</td>
            <td><input type="text" name="Dose_Units" size="20" value="#GetM.Dose_Units#"></td>
          </tr>
          <tr>
            <td class="form-label">Route</td>
            <td><select name="Route">
                <option <cfif GetM.Route IS "">selected</cfif>> - </option>
                <option <cfif GetM.Route IS "by mouth">selected</cfif>>by mouth</option>
                <option <cfif GetM.Route IS "PO">selected</cfif>>PO</option>
                <option <cfif GetM.Route IS "inhalant">selected</cfif>>inhalant</option>
                <option <cfif GetM.Route IS "I">selected</cfif>>I</option>
                <option <cfif GetM.Route IS "intramuscular">selected</cfif>>intramuscular</option>
                <option <cfif GetM.Route IS "IM">selected</cfif>>IM</option>
                <option <cfif GetM.Route IS "right eye">selected</cfif>>right eye</option>
                <option <cfif GetM.Route IS "OD">selected</cfif>>OD</option>
                <option <cfif GetM.Route IS "left eye">selected</cfif>>left eye</option>
                <option <cfif GetM.Route IS "OS">selected</cfif>>OS</option>
                <option <cfif GetM.Route IS "both eyes">selected</cfif>>both eyes</option>
                <option <cfif GetM.Route IS "OM">selected</cfif>>OM</option>
                <option <cfif GetM.Route IS "drops">selected</cfif>>drops</option>
                <option <cfif GetM.Route IS "Gt">selected</cfif>>Gt</option>
                <option <cfif GetM.Route IS "nasal cannula">selected</cfif>>nasal cannula</option>
                <option <cfif GetM.Route IS "NC">selected</cfif>>NC</option>
                <option <cfif GetM.Route IS "rectal">selected</cfif>>rectal</option>
                <option <cfif GetM.Route IS "PR">selected</cfif>>PR</option>
                <option <cfif GetM.Route IS "subcutaneous">selected</cfif>>subcutaneous</option>
                <option <cfif GetM.Route IS "SC">selected</cfif>>SC</option>
                <option <cfif GetM.Route IS "sublingual">selected</cfif>>sublingual</option>
                <option <cfif GetM.Route IS "SL">selected</cfif>>SL</option>
                <option <cfif GetM.Route IS "topical">selected</cfif>>topical</option>
                <option <cfif GetM.Route IS "T">selected</cfif>>T</option>
                <option <cfif GetM.Route IS "transdermal">selected</cfif>>transdermal</option>
                <option <cfif GetM.Route IS "TD">selected</cfif>>TD</option>
                <option <cfif GetM.Route IS "intravenous">selected</cfif>>intravenous</option>
                <option <cfif GetM.Route IS "IV">selected</cfif>>IV</option>
                <option <cfif GetM.Route IS "vaginal">selected</cfif>>vaginal</option>
                <option <cfif GetM.Route IS "V">selected</cfif>>V</option>
              </select></td>
          </tr>
          <tr>
            <td class="form-label">Frequency</td>
            <td><select name="Freq">
                <option <cfif GetM.Freq IS "">selected</cfif>> - </option>
                <option <cfif GetM.Freq IS "before meal">selected</cfif>>before meal</option>
                <option <cfif GetM.Freq IS "after meal">selected</cfif>>after meal</option>
                <option <cfif GetM.Freq IS "in the morning">selected</cfif>>in the morning</option>
                <option <cfif GetM.Freq IS "at bedtime">selected</cfif>>at bedtime</option>
                <option <cfif GetM.Freq IS "once a day">selected</cfif>>once a day</option>
                <option <cfif GetM.Freq IS "twice a day">selected</cfif>>twice a day</option>
                <option <cfif GetM.Freq IS "three times a day">selected</cfif>>three times a day</option>
                <option <cfif GetM.Freq IS "four times a day">selected</cfif>>four times a day</option>
                <option <cfif GetM.Freq IS "every other day">selected</cfif>>every other day</option>
                <option <cfif GetM.Freq IS "every hour">selected</cfif>>every hour</option>
                <option <cfif GetM.Freq IS "every 2 hours">selected</cfif>>every 2 hours</option>
                <option <cfif GetM.Freq IS "every 3 hours">selected</cfif>>every 3 hours</option>
                <option <cfif GetM.Freq IS "every 4 hours">selected</cfif>>every 4 hours</option>
                <option <cfif GetM.Freq IS "every 8 hours">selected</cfif>>every 8 hours</option>
                <option <cfif GetM.Freq IS "every 12 hours">selected</cfif>>every 12 hours</option>
                <option <cfif GetM.Freq IS "every 4-6 hours">selected</cfif>>every 4-6 hours</option>
                <option <cfif GetM.Freq IS "once a week">selected</cfif>>once a week</option>
                <option <cfif GetM.Freq IS "every other week">selected</cfif>>every other week</option>
                <option <cfif GetM.Freq IS "immediately">selected</cfif>>immediately</option>
                <option <cfif GetM.Freq IS "as necessary">selected</cfif>>as necessary</option>
              </select></td>
          </tr>
          <tr>
            <td class="form-label">Ongoing, New or Changed?</td>
            <td><cfoutput><!-- jdb getm.NewChanged: #getm.NewChanged# // --></cfoutput> Ongoing
              <input type="Radio" name="NewChanged" value="" <cfif getm.NewChanged eq '' or (getm.NewChanged neq 'N' and getm.NewChanged neq 'C')>checked='checked'</cfif>>
               
              New
              <input type="Radio" name="NewChanged" value="N" <cfif getm.NewChanged eq 'N'>checked</cfif>>
               
              Changed
              <input type="Radio" name="NewChanged" value="C" <cfif getm.NewChanged eq 'C'>checked</cfif>>
          </tr>
          <tr>
            <td class="form-label">Notes</td>
            <td><textarea name="Notes" rows="2" cols="45"><cfoutput>#GetM.Notes#</cfoutput></textarea></td>
          </tr>
          <tr>
            <td class="form-label">Status</td>
            <td> Active
              <input type="Radio" name="med_status" value="active" <cfif getm.med_status is 'active' or getm.med_status is ''>checked</cfif>>
                
              Inactive
              <input type="Radio" name="med_status" value="inactive" <cfif getm.med_status neq 'active' and getm.med_status neq ''>checked</cfif>>
                
              Delete
              <input type="Radio" name="med_status" value="delete"></td>
          </tr>
          <tr>
            <td class="form-label-req">Ordered</td>
            <td><cf_popdatetime formname="contact" fieldvalue="#DateFormat(GetM.DateOrdered,'mm/dd/yyyy')#" fieldname="dateordered" time="no" euro="no" scriptpath="#NavRoot#/Scripts/popDateTime/"></td>
          </tr>
          <tr>
            <td style="height:5px"></td>
          </tr>
          <tr>
            <td class="form-label">Discontinued</td>
            <td><cf_popdatetime formname="contact" fieldvalue="#DateFormat(GetM.DateDCed,'mm/dd/yyyy')#" fieldname="DateDCed" time="no" euro="no" scriptpath="#NavRoot#/Scripts/popDateTime/"></td>
          </tr>
          <tr>
            <td colspan="2" height="1"  class="solidline" ></td>
          </tr>
          <tr>
            <td></td>
            <td><input type="submit" name="Submit" value="Update Medication">
              <input type="button" name="Cancel" value="Cancel" onclick="history.back();"></td>
          </tr>
        </form>
      </cfoutput>
    </cfif>
    <cfelse>
    <b>Patient is signed-out. Updates are not allowed.</b><br>
    <a href="index.cfm">Return to Patient List</a>
  </cfif>
  </table>
</cfwindow>
