select contentid,title,body,responseChart,responseMessage,responseSendTo,forceSSL,displayTitle from tcontent where siteid='#request.siteid#' and ( (tcontent.Active = 1 AND tcontent.DisplayStart <= #createodbcdate(now())# AND (tcontent.DisplayStop >= #createodbcdate(now())# or tcontent.DisplayStop is null) AND tcontent.Display = 2 AND tcontent.Approved = 1 AND tcontent.contentid = '#arguments.objectid#') or (tcontent.Active = 1 AND tcontent.Display = 1 AND tcontent.Approved = 1 AND tcontent.contentid = '#arguments.objectid#') )

#rsForm.title#

#setDynamicContent(application.dataCollectionManager.renderForm(rsForm.contentid,request.siteid,rsForm.body,rsForm.responseChart))#