Background: #fff
Foreground: #000
PrimaryPale: #8cf
PrimaryLight: #18f
PrimaryMid: #04b
PrimaryDark: #014
SecondaryPale: #ffc
SecondaryLight: #fe8
SecondaryMid: #db4
SecondaryDark: #841
TertiaryPale: #eee
TertiaryLight: #ccc
TertiaryMid: #999
TertiaryDark: #666
Error: #f88
<div class='toolbar' macro='toolbar [[ToolbarCommands::EditToolbar]]'></div>
<div class='title' macro='view title'></div>
<div class='editor' macro='edit title'></div>
<div macro='annotations'></div>
<div class='editor' macro='edit text'></div>
<div class='editor' macro='edit tags'></div><div class='editorFooter'><span macro='message views.editor.tagPrompt'></span><span macro='tagChooser excludeLists'></span></div>
To get started with this blank [[TiddlyWiki]], you'll need to modify the following tiddlers:
* [[SiteTitle]] & [[SiteSubtitle]]: The title and subtitle of the site, as shown above (after saving, they will also appear in the browser title bar)
* [[MainMenu]]: The menu (usually on the left)
* [[DefaultTiddlers]]: Contains the names of the tiddlers that you want to appear when the TiddlyWiki is opened
You'll also need to enter your username for signing your edits: <<option txtUserName>>
<link rel='alternate' type='application/rss+xml' title='RSS' href='index.xml' />
These [[InterfaceOptions]] for customising [[TiddlyWiki]] are saved in your browser

Your username for signing your edits. Write it as a [[WikiWord]] (eg [[JoeBloggs]])

<<option txtUserName>>
<<option chkSaveBackups>> [[SaveBackups]]
<<option chkAutoSave>> [[AutoSave]]
<<option chkRegExpSearch>> [[RegExpSearch]]
<<option chkCaseSensitiveSearch>> [[CaseSensitiveSearch]]
<<option chkAnimate>> [[EnableAnimations]]

Also see [[AdvancedOptions]]
<div class='header' role='banner' macro='gradient vert [[ColorPalette::PrimaryLight]] [[ColorPalette::PrimaryMid]]'>
<div class='headerShadow'>
<span class='siteTitle' refresh='content' tiddler='SiteTitle'></span>&nbsp;
<span class='siteSubtitle' refresh='content' tiddler='SiteSubtitle'></span>
<div class='headerForeground'>
<span class='siteTitle' refresh='content' tiddler='SiteTitle'></span>&nbsp;
<span class='siteSubtitle' refresh='content' tiddler='SiteSubtitle'></span>
<div id='mainMenu' role='navigation' refresh='content' tiddler='MainMenu'></div>
<div id='sidebar'>
<div id='sidebarOptions' role='navigation' refresh='content' tiddler='SideBarOptions'></div>
<div id='sidebarTabs' role='complementary' refresh='content' force='true' tiddler='SideBarTabs'></div>
<div id='displayArea' role='main'>
<div id='messageArea'></div>
<div id='tiddlerDisplay'></div>
body {background:[[ColorPalette::Background]]; color:[[ColorPalette::Foreground]];}

a {color:[[ColorPalette::PrimaryMid]];}
a:hover {background-color:[[ColorPalette::PrimaryMid]]; color:[[ColorPalette::Background]];}
a img {border:0;}

h1,h2,h3,h4,h5,h6 {color:[[ColorPalette::SecondaryDark]]; background:transparent;}
h1 {border-bottom:2px solid [[ColorPalette::TertiaryLight]];}
h2,h3 {border-bottom:1px solid [[ColorPalette::TertiaryLight]];}

.button {color:[[ColorPalette::PrimaryDark]]; border:1px solid [[ColorPalette::Background]];}
.button:hover {color:[[ColorPalette::PrimaryDark]]; background:[[ColorPalette::SecondaryLight]]; border-color:[[ColorPalette::SecondaryMid]];}
.button:active {color:[[ColorPalette::Background]]; background:[[ColorPalette::SecondaryMid]]; border:1px solid [[ColorPalette::SecondaryDark]];}

.header {background:[[ColorPalette::PrimaryMid]];}
.headerShadow {color:[[ColorPalette::Foreground]];}
.headerShadow a {font-weight:normal; color:[[ColorPalette::Foreground]];}
.headerForeground {color:[[ColorPalette::Background]];}
.headerForeground a {font-weight:normal; color:[[ColorPalette::PrimaryPale]];}

.tabSelected {color:[[ColorPalette::PrimaryDark]];
	border-left:1px solid [[ColorPalette::TertiaryLight]];
	border-top:1px solid [[ColorPalette::TertiaryLight]];
	border-right:1px solid [[ColorPalette::TertiaryLight]];
.tabUnselected {color:[[ColorPalette::Background]]; background:[[ColorPalette::TertiaryMid]];}
.tabContents {color:[[ColorPalette::PrimaryDark]]; background:[[ColorPalette::TertiaryPale]]; border:1px solid [[ColorPalette::TertiaryLight]];}
.tabContents .button {border:0;}

#sidebar {}
#sidebarOptions input {border:1px solid [[ColorPalette::PrimaryMid]];}
#sidebarOptions .sliderPanel {background:[[ColorPalette::PrimaryPale]];}
#sidebarOptions .sliderPanel a {border:none;color:[[ColorPalette::PrimaryMid]];}
#sidebarOptions .sliderPanel a:hover {color:[[ColorPalette::Background]]; background:[[ColorPalette::PrimaryMid]];}
#sidebarOptions .sliderPanel a:active {color:[[ColorPalette::PrimaryMid]]; background:[[ColorPalette::Background]];}

.wizard {background:[[ColorPalette::PrimaryPale]]; border:1px solid [[ColorPalette::PrimaryMid]];}
.wizard h1 {color:[[ColorPalette::PrimaryDark]]; border:none;}
.wizard h2 {color:[[ColorPalette::Foreground]]; border:none;}
.wizardStep {background:[[ColorPalette::Background]]; color:[[ColorPalette::Foreground]];
	border:1px solid [[ColorPalette::PrimaryMid]];}
.wizardStep.wizardStepDone {background:[[ColorPalette::TertiaryLight]];}
.wizardFooter {background:[[ColorPalette::PrimaryPale]];}
.wizardFooter .status {background:[[ColorPalette::PrimaryDark]]; color:[[ColorPalette::Background]];}
.wizard .button {color:[[ColorPalette::Foreground]]; background:[[ColorPalette::SecondaryLight]]; border: 1px solid;
	border-color:[[ColorPalette::SecondaryPale]] [[ColorPalette::SecondaryDark]] [[ColorPalette::SecondaryDark]] [[ColorPalette::SecondaryPale]];}
.wizard .button:hover {color:[[ColorPalette::Foreground]]; background:[[ColorPalette::Background]];}
.wizard .button:active {color:[[ColorPalette::Background]]; background:[[ColorPalette::Foreground]]; border: 1px solid;
	border-color:[[ColorPalette::PrimaryDark]] [[ColorPalette::PrimaryPale]] [[ColorPalette::PrimaryPale]] [[ColorPalette::PrimaryDark]];}

.wizard .notChanged {background:transparent;}
.wizard .changedLocally {background:#80ff80;}
.wizard .changedServer {background:#8080ff;}
.wizard .changedBoth {background:#ff8080;}
.wizard .notFound {background:#ffff80;}
.wizard .putToServer {background:#ff80ff;}
.wizard .gotFromServer {background:#80ffff;}

#messageArea {border:1px solid [[ColorPalette::SecondaryMid]]; background:[[ColorPalette::SecondaryLight]]; color:[[ColorPalette::Foreground]];}
#messageArea .button {color:[[ColorPalette::PrimaryMid]]; background:[[ColorPalette::SecondaryPale]]; border:none;}

.popupTiddler {background:[[ColorPalette::TertiaryPale]]; border:2px solid [[ColorPalette::TertiaryMid]];}

.popup {background:[[ColorPalette::TertiaryPale]]; color:[[ColorPalette::TertiaryDark]]; border-left:1px solid [[ColorPalette::TertiaryMid]]; border-top:1px solid [[ColorPalette::TertiaryMid]]; border-right:2px solid [[ColorPalette::TertiaryDark]]; border-bottom:2px solid [[ColorPalette::TertiaryDark]];}
.popup hr {color:[[ColorPalette::PrimaryDark]]; background:[[ColorPalette::PrimaryDark]]; border-bottom:1px;}
.popup li.disabled {color:[[ColorPalette::TertiaryMid]];}
.popup li a, .popup li a:visited {color:[[ColorPalette::Foreground]]; border: none;}
.popup li a:hover {background:[[ColorPalette::SecondaryLight]]; color:[[ColorPalette::Foreground]]; border: none;}
.popup li a:active {background:[[ColorPalette::SecondaryPale]]; color:[[ColorPalette::Foreground]]; border: none;}
.popupHighlight {background:[[ColorPalette::Background]]; color:[[ColorPalette::Foreground]];}
.listBreak div {border-bottom:1px solid [[ColorPalette::TertiaryDark]];}

.tiddler .defaultCommand {font-weight:bold;}

.shadow .title {color:[[ColorPalette::TertiaryDark]];}

.title {color:[[ColorPalette::SecondaryDark]];}
.subtitle {color:[[ColorPalette::TertiaryDark]];}

.toolbar {color:[[ColorPalette::PrimaryMid]];}
.toolbar a {color:[[ColorPalette::TertiaryLight]];}
.selected .toolbar a {color:[[ColorPalette::TertiaryMid]];}
.selected .toolbar a:hover {color:[[ColorPalette::Foreground]];}

.tagging, .tagged {border:1px solid [[ColorPalette::TertiaryPale]]; background-color:[[ColorPalette::TertiaryPale]];}
.selected .tagging, .selected .tagged {background-color:[[ColorPalette::TertiaryLight]]; border:1px solid [[ColorPalette::TertiaryMid]];}
.tagging .listTitle, .tagged .listTitle {color:[[ColorPalette::PrimaryDark]];}
.tagging .button, .tagged .button {border:none;}

.footer {color:[[ColorPalette::TertiaryLight]];}
.selected .footer {color:[[ColorPalette::TertiaryMid]];}

.error, .errorButton {color:[[ColorPalette::Foreground]]; background:[[ColorPalette::Error]];}
.warning {color:[[ColorPalette::Foreground]]; background:[[ColorPalette::SecondaryPale]];}
.lowlight {background:[[ColorPalette::TertiaryLight]];}

.zoomer {background:none; color:[[ColorPalette::TertiaryMid]]; border:3px solid [[ColorPalette::TertiaryMid]];}

.imageLink, #displayArea .imageLink {background:transparent;}

.annotation {background:[[ColorPalette::SecondaryLight]]; color:[[ColorPalette::Foreground]]; border:2px solid [[ColorPalette::SecondaryMid]];}

.viewer .listTitle {list-style-type:none; margin-left:-2em;}
.viewer .button {border:1px solid [[ColorPalette::SecondaryMid]];}
.viewer blockquote {border-left:3px solid [[ColorPalette::TertiaryDark]];}

.viewer table, table.twtable {border:2px solid [[ColorPalette::TertiaryDark]];}
.viewer th, .viewer thead td, .twtable th, .twtable thead td {background:[[ColorPalette::SecondaryMid]]; border:1px solid [[ColorPalette::TertiaryDark]]; color:[[ColorPalette::Background]];}
.viewer td, .viewer tr, .twtable td, .twtable tr {border:1px solid [[ColorPalette::TertiaryDark]];}

.viewer pre {border:1px solid [[ColorPalette::SecondaryLight]]; background:[[ColorPalette::SecondaryPale]];}
.viewer code {color:[[ColorPalette::SecondaryDark]];}
.viewer hr {border:0; border-top:dashed 1px [[ColorPalette::TertiaryDark]]; color:[[ColorPalette::TertiaryDark]];}

.highlight, .marked {background:[[ColorPalette::SecondaryLight]];}

.editor input {border:1px solid [[ColorPalette::PrimaryMid]];}
.editor textarea {border:1px solid [[ColorPalette::PrimaryMid]]; width:100%;}
.editorFooter {color:[[ColorPalette::TertiaryMid]];}
.readOnly {background:[[ColorPalette::TertiaryPale]];}

#backstageArea {background:[[ColorPalette::Foreground]]; color:[[ColorPalette::TertiaryMid]];}
#backstageArea a {background:[[ColorPalette::Foreground]]; color:[[ColorPalette::Background]]; border:none;}
#backstageArea a:hover {background:[[ColorPalette::SecondaryLight]]; color:[[ColorPalette::Foreground]]; }
#backstageArea a.backstageSelTab {background:[[ColorPalette::Background]]; color:[[ColorPalette::Foreground]];}
#backstageButton a {background:none; color:[[ColorPalette::Background]]; border:none;}
#backstageButton a:hover {background:[[ColorPalette::Foreground]]; color:[[ColorPalette::Background]]; border:none;}
#backstagePanel {background:[[ColorPalette::Background]]; border-color: [[ColorPalette::Background]] [[ColorPalette::TertiaryDark]] [[ColorPalette::TertiaryDark]] [[ColorPalette::TertiaryDark]];}
.backstagePanelFooter .button {border:none; color:[[ColorPalette::Background]];}
.backstagePanelFooter .button:hover {color:[[ColorPalette::Foreground]];}
#backstageCloak {background:[[ColorPalette::Foreground]]; opacity:0.6; filter:alpha(opacity=60);}
* html .tiddler {height:1%;}

body {font-size:.75em; font-family:arial,helvetica; margin:0; padding:0;}

h1,h2,h3,h4,h5,h6 {font-weight:bold; text-decoration:none;}
h1,h2,h3 {padding-bottom:1px; margin-top:1.2em;margin-bottom:0.3em;}
h4,h5,h6 {margin-top:1em;}
h1 {font-size:1.35em;}
h2 {font-size:1.25em;}
h3 {font-size:1.1em;}
h4 {font-size:1em;}
h5 {font-size:.9em;}

hr {height:1px;}

a {text-decoration:none;}

dt {font-weight:bold;}

ol {list-style-type:decimal;}
ol ol {list-style-type:lower-alpha;}
ol ol ol {list-style-type:lower-roman;}
ol ol ol ol {list-style-type:decimal;}
ol ol ol ol ol {list-style-type:lower-alpha;}
ol ol ol ol ol ol {list-style-type:lower-roman;}
ol ol ol ol ol ol ol {list-style-type:decimal;}

.txtOptionInput {width:11em;}

#contentWrapper .chkOptionInput {border:0;}

.externalLink {text-decoration:underline;}

.indent {margin-left:3em;}
.outdent {margin-left:3em; text-indent:-3em;}
code.escaped {white-space:nowrap;}

.tiddlyLinkExisting {font-weight:bold;}
.tiddlyLinkNonExisting {font-style:italic;}

/* the 'a' is required for IE, otherwise it renders the whole tiddler in bold */
a.tiddlyLinkNonExisting.shadow {font-weight:bold;}

#mainMenu .tiddlyLinkExisting,
	#mainMenu .tiddlyLinkNonExisting,
	#sidebarTabs .tiddlyLinkNonExisting {font-weight:normal; font-style:normal;}
#sidebarTabs .tiddlyLinkExisting {font-weight:bold; font-style:normal;}

.header {position:relative;}
.header a:hover {background:transparent;}
.headerShadow {position:relative; padding:4.5em 0 1em 1em; left:-1px; top:-1px;}
.headerForeground {position:absolute; padding:4.5em 0 1em 1em; left:0; top:0;}

.siteTitle {font-size:3em;}
.siteSubtitle {font-size:1.2em;}

#mainMenu {position:absolute; left:0; width:10em; text-align:right; line-height:1.6em; padding:1.5em 0.5em 0.5em 0.5em; font-size:1.1em;}

#sidebar {position:absolute; right:3px; width:16em; font-size:.9em;}
#sidebarOptions {padding-top:0.3em;}
#sidebarOptions a {margin:0 0.2em; padding:0.2em 0.3em; display:block;}
#sidebarOptions input {margin:0.4em 0.5em;}
#sidebarOptions .sliderPanel {margin-left:1em; padding:0.5em; font-size:.85em;}
#sidebarOptions .sliderPanel a {font-weight:bold; display:inline; padding:0;}
#sidebarOptions .sliderPanel input {margin:0 0 0.3em 0;}
#sidebarTabs .tabContents {width:15em; overflow:hidden;}

.wizard {padding:0.1em 1em 0 2em;}
.wizard h1 {font-size:2em; font-weight:bold; background:none; padding:0; margin:0.4em 0 0.2em;}
.wizard h2 {font-size:1.2em; font-weight:bold; background:none; padding:0; margin:0.4em 0 0.2em;}
.wizardStep {padding:1em 1em 1em 1em;}
.wizard .button {margin:0.5em 0 0; font-size:1.2em;}
.wizardFooter {padding:0.8em 0.4em 0.8em 0;}
.wizardFooter .status {padding:0 0.4em; margin-left:1em;}
.wizard .button {padding:0.1em 0.2em;}

#messageArea {position:fixed; top:2em; right:0; margin:0.5em; padding:0.5em; z-index:2000; _position:absolute;}
.messageToolbar {display:block; text-align:right; padding:0.2em;}
#messageArea a {text-decoration:underline;}

.tiddlerPopupButton {padding:0.2em;}
.popupTiddler {position: absolute; z-index:300; padding:1em; margin:0;}

.popup {position:absolute; z-index:300; font-size:.9em; padding:0; list-style:none; margin:0;}
.popup .popupMessage {padding:0.4em;}
.popup hr {display:block; height:1px; width:auto; padding:0; margin:0.2em 0;}
.popup li.disabled {padding:0.4em;}
.popup li a {display:block; padding:0.4em; font-weight:normal; cursor:pointer;}
.listBreak {font-size:1px; line-height:1px;}
.listBreak div {margin:2px 0;}

.tabset {padding:1em 0 0 0.5em;}
.tab {margin:0 0 0 0.25em; padding:2px;}
.tabContents {padding:0.5em;}
.tabContents ul, .tabContents ol {margin:0; padding:0;}
.txtMainTab .tabContents li {list-style:none;}
.tabContents li.listLink { margin-left:.75em;}

#contentWrapper {display:block;}
#splashScreen {display:none;}

#displayArea {margin:1em 17em 0 14em;}

.toolbar {text-align:right; font-size:.9em;}

.tiddler {padding:1em 1em 0;}

.missing .viewer,.missing .title {font-style:italic;}

.title {font-size:1.6em; font-weight:bold;}

.missing .subtitle {display:none;}
.subtitle {font-size:1.1em;}

.tiddler .button {padding:0.2em 0.4em;}

.tagging {margin:0.5em 0.5em 0.5em 0; float:left; display:none;}
.isTag .tagging {display:block;}
.tagged {margin:0.5em; float:right;}
.tagging, .tagged {font-size:0.9em; padding:0.25em;}
.tagging ul, .tagged ul {list-style:none; margin:0.25em; padding:0;}
.tagClear {clear:both;}

.footer {font-size:.9em;}
.footer li {display:inline;}

.annotation {padding:0.5em; margin:0.5em;}

* html .viewer pre {width:99%; padding:0 0 1em 0;}
.viewer {line-height:1.4em; padding-top:0.5em;}
.viewer .button {margin:0 0.25em; padding:0 0.25em;}
.viewer blockquote {line-height:1.5em; padding-left:0.8em;margin-left:2.5em;}
.viewer ul, .viewer ol {margin-left:0.5em; padding-left:1.5em;}

.viewer table, table.twtable {border-collapse:collapse; margin:0.8em 1.0em;}
.viewer th, .viewer td, .viewer tr,.viewer caption,.twtable th, .twtable td, .twtable tr,.twtable caption {padding:3px;}
table.listView {font-size:0.85em; margin:0.8em 1.0em;}
table.listView th, table.listView td, table.listView tr {padding:0 3px 0 3px;}

.viewer pre {padding:0.5em; margin-left:0.5em; font-size:1.2em; line-height:1.4em; overflow:auto;}
.viewer code {font-size:1.2em; line-height:1.4em;}

.editor {font-size:1.1em;}
.editor input, .editor textarea {display:block; width:100%; font:inherit;}
.editorFooter {padding:0.25em 0; font-size:.9em;}
.editorFooter .button {padding-top:0; padding-bottom:0;}

.fieldsetFix {border:0; padding:0; margin:1px 0px;}

.zoomer {font-size:1.1em; position:absolute; overflow:hidden;}
.zoomer div {padding:1em;}

* html #backstage {width:99%;}
* html #backstageArea {width:99%;}
#backstageArea {display:none; position:relative; overflow: hidden; z-index:150; padding:0.3em 0.5em;}
#backstageToolbar {position:relative;}
#backstageArea a {font-weight:bold; margin-left:0.5em; padding:0.3em 0.5em;}
#backstageButton {display:none; position:absolute; z-index:175; top:0; right:0;}
#backstageButton a {padding:0.1em 0.4em; margin:0.1em;}
#backstage {position:relative; width:100%; z-index:50;}
#backstagePanel {display:none; z-index:100; position:absolute; width:90%; margin-left:3em; padding:1em;}
.backstagePanelFooter {padding-top:0.2em; float:right;}
.backstagePanelFooter a {padding:0.2em 0.4em;}
#backstageCloak {display:none; z-index:20; position:absolute; width:100%; height:100px;}

.whenBackstage {display:none;}
.backstageVisible .whenBackstage {display:block;}
StyleSheet for use when a translation requires any css style changes.
This StyleSheet can be used directly by languages such as Chinese, Japanese and Korean which need larger font sizes.
body {font-size:0.8em;}
#sidebarOptions {font-size:1.05em;}
#sidebarOptions a {font-style:normal;}
#sidebarOptions .sliderPanel {font-size:0.95em;}
.subtitle {font-size:0.8em;}
.viewer table.listView {font-size:0.95em;}
@media print {
#mainMenu, #sidebar, #messageArea, .toolbar, #backstageButton, #backstageArea {display: none !important;}
#displayArea {margin: 1em 1em 0em;}
noscript {display:none;} /* Fixes a feature in Firefox where print preview displays the noscript content */
<div class='toolbar' role='navigation' macro='toolbar [[ToolbarCommands::ViewToolbar]]'></div>
<div class='title' macro='view title'></div>
<div class='subtitle'><span macro='view modifier link'></span>, <span macro='view modified date'></span> (<span macro='message views.wikified.createdPrompt'></span> <span macro='view created date'></span>)</div>
<div class='tagging' macro='tagging'></div>
<div class='tagged' macro='tags'></div>
<div class='viewer' macro='view text wikified'></div>
<div class='tagClear'></div>
Type the text for '(i) randomised controlled trials'
Type the text for '(ib) systematic reviews and meta-analyses'
a controlled trial without randomisation, a quasi experiments, or a failed randomisation

Type the text for '(iii) cohort studies'
Tags all referenced papers in the chapter

The adolescent community reinforcement approach
(ACRA) (Godley et al 2001a; Meyers & Smith 1995) is an
individualized ''behavioral'' (operant) approach that includes 

#10 sessions with the adolescent and 
#four sessions with caregivers.

This approach was based on community reinforcement approach procedures that had proven effective with adults. Based on NIAAA-funded research, ACRA’s premise is that learning alternative skills to cope with problems and changing environmental contingencies related to continued substance use will help reduce use.

Its goals are to 
#change antecedent behaviors of the adolescent and 
#increase parental behaviors that are supportive of their adolescent’s abstinence. 

Because this is an individualized approach, one of its advantages is that it can be used in rural areas where group formation may actually delay or increase the cost of treatment.

''futher details from [[Randall and Cunningham 2003]]... on the addition of CRA as a wraparound to MST to boost its effectiveness in SUD:''

...enhancements (To MST) were based on the work of Higgins and Budney et al. (Budney &
Higgins, 1998; Budney, Higgins, Radonovich, & Novy, 2000; Higgins & Budney, 1993;
Higgins, Wong, Badger, Ogden, & Dantona, 2000) who developed an effective empirically
based treatment for adult cocaine abuse entitled ‘‘Community Reinforcement Approach’’

CRA has strong empirical support, and it is theoretically compatible with MST. Key
components of CRA are the following: 

(a) consistent tracking of substance use through frequent urine screens, with vouchers used as rewards for clean drug screens;
(b) functional analyses of drug use to identify triggers for drug use;

(c) self management plans consisting of cognitive behavioral interventions that focus on addressing the emotional, behavioral, and environmental triggers to drug use for the individual; and

(d) development of drug avoidance skills. 

In contrast to MST, which focuses primarily on broader environmental risk and
protective factors, CRA focuses very specifically on substance use. 

Pilot testing of an integration of MST and CRA was conducted in a randomized MST trial that evaluated the MST as an alternative to emergency psychiatric hospitalization (Henggeler, Rowland, et al., 1997, 1999; Henggeler et al., 2003) and in a quasi-experimental neighborhood-level intervention project (Randall, Swenson, & Henggeler, 1999)."

!Evidence of some efficacy of CRA in ADULT cocaine users:
From NIDA:

"...Higgins and colleagues, from the University of Vermont, demonstrated the efficacy of this treatment in several randomized clinical trials. In one trial, 38 cocaine-dependent adults were randomized to CRA plus vouchers or drug abuse counseling based on a disease-model approach to cocaine dependence (Higgins et al., 1993). In another trial, 40 cocaine-dependent adults were randomized to receive 24 weeks of CRA plus vouchers or CRA only. 
Approximately 75% of those who received CRA plus vouchers were retained for the recommended course of 24 weeks of outpatient treatment compared to less than half of those who received drug abuse counseling or CRA alone. Similarly, greater than 50% of patients who received CRA plus vouchers were documented to have achieved at least two or more months of continuous cocaine abstinence compared to a quarter or fewer of those assigned to CRA alone or drug abuse counseling. When followed-up one-year after treatment entry, all treatment groups improved significantly compared to intake status. However, the groups treated with CRA plus vouchers showed greater improvements in measures related to cocaine use than groups treated with the two comparison treatments (Higgins et al., 1995). Dr. Higgins reports high retention rates and noteworthy rates of continuous abstinence for an outpatient treatment. This approach appears to facilitate patients' engagement in outpatient treatment and systematically aids them in gaining substantial periods of cocaine abstinence. This CRA plus vouchers approach shows great promise for effectively treating cocaine dependence in outpatient settings. "

Material relevant to the design of AMBIT tagged here.  See @ambit re. this manualized intervention.
There is an academic reference 

Adolescent Treatment Models

A Randomized Controlled Trial of a Smoking Cessation Intervention for Pregnant Adolescents
Susan A. Albrecht 4 Donna Caruthers 4 Thelma Patrick 4 Maureen Reynolds 4 Denise Salamie Linda W. Higgins 4 Betty Braxter 4 Yookyung Kim 4 Sara Mlynarchek
Nursing Research November/December 2006 Vol 55, No 6

Randomised Controlled Trial

three groups for teenage smokers
#Teen Freshstart
#Teen Freshstart + Buddy
#Usual Care (Control)

3 time points:
#8 weeks post randomisation
#1 year

142 pregnant adolescents who were aged 14 to 19 years ''RATHER SMALL NUMBERS _ UNDER POWERED.''

1. ''__TFS__'' intervention consisted of an 8-week group program designed to promote and maintain smoking abstinence ''based on the Cognitive Behavioral Theory'', with ''modifications'' that incorporated ''developmental components of Jessor’s Problem Behavior Theory (Jessor et al., 1991)''. These developmental modifications, which included the addition of a ''peer buddy'' and a ''peer coleader'', were used to target peer modeling and sanctions on smoking. In addition, information pertinent to pregnancy and smoking was provided as didactic content at the beginning of the 8-week program. Therefore, the intervention sessions used a group setting with individual support, peer modeling, and peer sanctions to promote smoking cessation.
2. The ''__~TFS-B__'' group received the same 8-week programming, but the participants were required to identify and bring a ''nonsmoking female of a similar age as their buddy'' to the sessions. The role of the buddy was to reinforce smoking cessation strategies and to provide social support to the participant throughout the study. The integrity of the group intervention delivery was monitored by means of audiotapes of group sessions. 
Approximately 25% of the sessions were reviewed by external reviewers by listening to a tape of the intervention (TFS or TFS-B) sessions selected from TFS facilitator trainers. 

''Not known if it was MANUALISED'' - NB

Self Report and Salivary Cotinine

No between group differences pre-Rx
Signif diff UC and TFS-B at 8 weeks (p<0.01)
No differences at 1 year

Need follow up input.

<<tag Amphetamine>>

Effective Family-Based Interventions for
Adolescents With Substance Use Problems:
A Systematic Review
Ashley M. Austin
Mark J. Macgowan
Eric F. Wagner

Research on Social Work Practice 2005; 15; 67

5Star: very clear and thorough Review - picks out effect sizes, clijical significance and good basic description of therapies.

Effective Family-Based Interventions for Adolescents With Substance Use Problems: A Systematic Review

"Family-based" - covers wide range of treatments and theoretical frameworks (Systems, social-ecology, CBT, developmental, etc) - need for treatments that are specific to adolescent needs - not adult Rx's

The intervention studies included in the
review (according to strict criteria) are as follows: 

#Multidimensional Family Therapy ([[MDFT]]; [[Liddle et al 2001]]),  Clinically significnat changes between the Rx and 12/12 follow up period noted (not between any other period) but signif changes and large effect sizes at all points for MDFT compared to the other two treatment groups (AGT and MEI) - for posttreatment, effect size = 1.46; for 6-month follow-up, effect size = 1.28; and for 12-month follow-up, effect size = 1.66
#Functional Family Therapy ([[FFT]]; [[Waldron et al 2001]]),FFT better when given as //combined Rx// with CBT. "Finally, calculations of clinical significance reveal no clinically significant changes in marijuana use associated with any of the treatment conditions. However, the effect size for changes in marijuana use at posttreatment was large (effect size = 1.00). By the 3-month follow-up, the effect size for changes in marijuana usewas much smaller (effect size = 0.41)". 
#Family Behavior Therapy ([[FBT]]; Azrin et al., 1994), (small sample size (29) and no long term follow up, no clinically signif change)
#Brief Strategic Family Therapy ([[BSFT]]; [[Santisteban et al 2003]]), small effect sizes (0.21 for alc, 0.25 for drugs), limited clinicaly signif change.
#Multisystemic Treatment ([[MST]]; [[Henggeler et al 1999]]).  Note - poor effect sizes and no between group differnces (esp bad as 78% of the TAU comaprisaon group got no treatment at all!) BUT very good Rx retention in the MST (98%).

NB problems with some earlier studies of these - not primarily directed at reduction/treatment of SUD - tho this noted as an adjunctive advantage.

Quality features:

#Accessibility (home based/outreach capacity
#Address retention in Rx with specific procedures
#Comprehensive (across multiple domains)
#Empirically validated techniques
#Family therapy component
#Parent and peer support re. no-use of Substances
#Focus on meeting INDIVIDUAL needs of youth
Focus on key curative factors - incl psych/emot problems/family conflict/academic performance/peer relats/neighbourhood community support.
#Address developmental issues relevant to adolescence
#Provide/arrange aftercare services.

Most did quite well by these criteria:

Austin's coments on reveiwed studies:

"Each study was a controlled clinical trial comparing at
least two treatment conditions. None of the studies used
random sampling procedures. Instead, adolescents were
obtained through referrals from the Department of Juvenile
Justice, schools, family, and health and mental health
agencies. In general, the samples were small but varied in
size considerably across studies, ranging from 29 to 152.
When evaluated for adequate power (i.e., at least 25 to 30
participants per treatment condition; Chambless et al.,
1998), four of the five studies—MST (N = 118), MDFT
(N= 152), FFT (N= 120), and BSFT (N= 125)—had adequate
power. In contrast, the study of FBT failed to
achieve adequate power with a sample of only 29 participants
divided among two treatment conditions."


Thus, findings from the empirical review indicate that
''two of the five interventions (MDFT and BSFT) are probably
efficacious treatments for adolescent substance use
problems and thus have the best evidence to date''. 

However, it should be recognized that only the study of MDFT
included follow-ups (6 and 12 months posttreatment)
necessary to demonstrate the long-term efficacy of the

Moreover, MDFT was the only intervention
that demonstrated clinically significant changes in substance
use (at the 12-month follow-up) and large effect
sizes at posttreatment, as well as the two follow-up

Although they did not meet full criteria for
probably efficacious treatments, empirical review findings
indicate that ''FFT, MST, and FBT each represent a
promising intervention for treating adolescent substance
use problems''. 

''Overall, MDFT emerges as the only family-based intervention with empirical support for changes in substance use behaviors that are both statistically significant and clinically significant immediately following treatment and at 1 year posttreatment.''
See [[Szapocznik et al 2000]]

Brief Strategic Family Therapy is best articulated
around three central constructs: 
#structure/patterns of interactions, and 

BSFT is composed of three intervention processes:
#diagnosis, and 
A variety of empirically supported techniques are employed to facilitate each of the three phases.
<<image unsyncedIcon width:48>> Sync is currently unavailable in ~TiddlyWiki due to security constraints in modern browsers. Research is being done to build a suitable alternative. In the meantime if you have changed content in an offline ~TiddlyWiki, you can get your content back into ~TiddlySpace by using the ''import'' functionality from the backstage of the online wiki.

<<message messages.memberStatus>> <<homeLink>>
{{unsyncedList{<<message messages.syncListHeading>> <<list filter [is[unsynced]]>>}}}

running TiddlySpace@glossary version <<message extensions.tiddlyweb.status.tiddlyspace_version>>
<<tiddler Backstage##Resources>>

[[blog|@@blog]] [[documentation|@@docs]] [[featured spaces|@@featured]] 

You can download this TiddlySpace as an offline TiddlyWiki:


|upload a <<message messages.privacySetting>> file: <<binaryUpload>>|<<closeAll>><<permaview>><<newTiddler>><<newJournal "DD MMM YYYY" "journal">><<saveChanges>>|
|>|<<tiddler Backstage##Tiddlers>>|

	"Recent" "Recently edited tiddlers" TabTimeline
	"All" "All tiddlers" TabAll
	"Public" "All public tiddlers" [[TiddlySpaceTabs##Public]]
	"Private" "All private tiddlers" [[TiddlySpaceTabs##Private]]
	"Tags" "All tags" TabTags
	"Spaces" "Tiddlers grouped by space" [[TiddlySpaceTabs##Spaces]]
	"Missing" "Missing tiddlers" TabMoreMissing
	"Orphans" "Orphaned tiddlers" TabMoreOrphans
	"Shadows" "Shadowed tiddlers" TabMoreShadowed

	"Private" "Move tiddlers from private to public" Backstage##BatchPrivate
	"Public" "Move tiddlers from public to private" Backstage##BatchPublic

<<TiddlySpacePublisher type:private>>

<<TiddlySpacePublisher type:public>>

''Note:'' Many of these plugins are core TiddlySpace plugins and cannot be changed unless first cloned.

<<tiddler PluginManager>>

These options change behavior in TiddlyWiki //only// and may be ineffective in TiddlySpace.

<<tiddler AdvancedOptions>>
Brief intervention for <19yr old college students (freshmen)   - 
Motivational interviewing style, with additional information and advice sheet.   

Personalised feedack in 2nd year - comparing their drinking habits to college norms and personalising data + phone calls and invitations to highest risk group to attned further session (most 2nd interviews were over the phone.)	

Brief intervention - 1 interview, and telephone/written follow up (high risk offerd 2nd interveiw, but most got telephone 2nd interview if any)	yes. 

2041 freshmen returned qyuestionnaires (51% of the year's intake) and 508 identified as high risk.  
348 of these randomised into Rx and non-Rx control, as well as a smaller "natural history study" cohort - long (4 yr) follow up

RCT. Included collateral information on drinking habits (though not used in data analysis in paper)	

Manualised intervention.  Standardised measures.	
Effective in reducing risks in high-risk group - "Among high-risk participants, 67% of the prevention group had good outcomes over 4 years (resolved, reliably improved, or no change from a baseline score below the risk cutpoint), compared with 55% of controls."
Multiple substances Brief MI not effective with homeless youth... 5star because a difficult client group and relevant findings

"Brief Motivational - for homeless/high risk adolescents - follow up study to Peterson 2006.  
Tried to improve on the intervention design to do better.  
Effectively unleashed the MI therapists to allow freer, more flexible application: "

"Counselors were provided
many more opportunities to use motivational interviewing (MI),
develop rapport, and facilitate engagement by:

(a) unblinding the experimental condition during assessment and allowing
counselors to intervene at any point in their contact with youth
in the MI condition; 

(b) providing counselors and youth with
greater selection and choice for topics of conversation; 

(c) dividing the BMI into four shorter sessions that were spread
over a 4-week period; 

(d) providing youth with vouchers for
BMI attendance; and 

(e) integrating BMI into other existing
case management services by conducting the project within an
existing agency that provides food, hygiene, social activities,
and case management for homeless youth."	

Intervention was extended to 4 short sessions over 1 m period.	

See Peterson 2006 - same recruitment methods 
254 did brief screening (how many approached for this not recorded) 
127 recruited, final n=117 (10 imprisoned before, or > 15 days during experimental period)	

randomised without urn -

"No signif effects on abstinence or use of CBS or drugs or alcohol.  
Either BMI interventions not effective in this group or their presumed enhancements served to decrease the effectiveness rather than increase it (i.e. payments…)  

"More likely, the failure to improve on, or even replicate, findings
from the prior study regarding substance use and the association
between engagement and outcome reflects //differences in

Youth in this study were recruited during one agency’s
drop-in services, whereas youth in the initial study were recruited
from a variety of sources (three agencies and on the street). 

At baseline, youth in the current study were far less likely to have
used heroin (24.8% vs. 47.2%) or injected drugs (23% vs. 51%,
respectively) than those in our first study.

The most remarkable pattern in the data are the observed robust changes in substance use
rates over time, in the direction toward less drug use for //all//
Aripiprazole in Schizophrenia With Cocaine Dependence: A Pilot Study. 
Brief Reports 
Journal of Clinical Psychopharmacology. 25(4):363-366, August 2005.
Beresford, Thomas P. MD; Clapp, Lori RN, MS; Martin, Brandon; Wiberg, John L. MD; Alfers, Julie; Beresford, Henry F. 

@@ADULT study, small numbers@@

see also [[Feltenstein et al 2007]]

The debilitation of schizophrenia (SCHZ) worsens markedly with comorbid cocaine dependence (CD) and alcohol abuse. To date, no medications have conclusively demonstrated effects against both SCHZ and CD (SCHZ + CD) simultaneously. Because of its dopamine-modulating properties, we hypothesized that aripiprazole would alleviate cocaine craving in patients with SCHZ + CD. We conducted a prospective, 8-week, open-label trial in poorly compliant SCHZ + CD subjects. Each received aripiprazole as their sole neuroleptic agent at a maximum dose of 15 mg/d. The Brief Psychiatric Rating Scale (BPRS) and the Brief Substance Craving Scale (BSCS) measured psychosis and subjective cocaine and alcohol cravings. Urine tests for cocaine provided data on actual use. Of 10 male subjects entered, 6 (60%) completed the 8-week trial. In those cases, positive urine tests dropped significantly (P < 0.001) after 2 weeks, when aripiprazole had reached steady state. Mean cocaine craving scores declined significantly (P = 0.026) as did mean alcohol craving scores (P = 0.006). Declining psychosis scores were associated with declining cocaine craving (r = 0.87, P < 0.01) and alcohol craving (r = 0.88, P < 0.01), respectively. This experience suggests possible aripiprazole effects in lowering both desire for and the use of cocaine in comorbid SCHZ subjects. These data suggest double-blind, randomized, comparison study in this severely ill, comorbid patient group.
Biederman, J., Wilens, T., Mick, E., Spencer, T., & Faraone, S. V. (1999). 
Pharmacotherapy of Attention Deficit Hyperactivity Disorder reduces risk for substance use disorder. 
Pediatrics, 102, 1-5.

From 1st Edition:
"Biederman et al. (1999) have reported an important study on the risk of developing substance use disorder in adolescence. They followed up male subjects diagnosed with ADHD who were older than 15 at the time of the study. The study compared the rate of substance use disorder in ADHD subjects who had received medication (mean duration of treatment 1.7–7.1 years) with those who had not. None of those treated with medication were receiving treatment at follow-up. The authors found that the untreated ADHD subjects were at significantly increased risk for substance misuse at follow-up compared to non-ADHD controls. Medicated ADHD subjects had a significantly lower risk of substance misuse than the non-medicated ADHD group. Stimulant medication reduced the risk for substance misuse even in the ADHD subjects with a comorbid conduct disorder. "

BUT - see more recent MTA follow up [[Molina et al 2007]]:
Small numbers: 56 medicated vs. 19 unmedicated adolescents
large inter-group differences pre Rx
|''Description''|renders base64-encoded binary tiddlers as images or links|
(function($) {

"use strict";

var ctfield = "server.content-type";

var plugin = config.extensions.BinaryTiddlersPlugin = {
	isWikiText: function(tiddler) {
		var ctype = tiddler.fields[ctfield];
		if(ctype) {
			if (ctype === 'text/x-tiddlywiki') {
				return true;
			return !this.isBinary(tiddler) && !this.isTextual(ctype);
		} else {
			return true;
	// NB: pseudo-binaries are considered non-binary here
	isBinary: function(tiddler) {
		var ctype = tiddler.fields[ctfield];
		return ctype ? !this.isTextual(ctype) : false;
	isTextual: function(ctype) {
		return ctype.indexOf("text/") === 0
			|| this.endsWith(ctype, "+xml")
			|| ctype === 'application/json'
			|| ctype === 'application/javascript';
	endsWith: function(str, suffix) {
		return str.length >= suffix.length &&
			str.substr(str.length - suffix.length) === suffix;
	isLink: function(tiddler) {
		return this.isBinary(tiddler) && tiddler.text.indexOf("<html>") !== -1;

// Disable edit for linked tiddlers (for now)
// This will be changed to a GET then PUT
config.commands.editTiddler.isEnabled = function(tiddler) {
    var existingTest = config.commands.editTiddler.isEnabled;
    if (existingTest) {
        return existingTest && !plugin.isLink(tiddler);
    } else {
        return !plugin.isLink(tiddler);

// hijack text viewer to add special handling for binary tiddlers
var _view = config.macros.view.views.wikified;
config.macros.view.views.wikified = function(value, place, params, wikifier,
		paramString, tiddler) {
	var ctype = tiddler.fields["server.content-type"];
	if(params[0] === "text" && ctype && ctype !== 'text/x-tiddlywiki' &&
			!tiddler.tags.contains("systemConfig") && !plugin.isLink(tiddler)) {
		var el;
		if(plugin.isBinary(tiddler)) {
			var uri = "data:%0;base64,%1".format([ctype, tiddler.text]); // TODO: fallback for legacy browsers
			if(ctype.indexOf("image/") === 0) {
				el = $("<img />").attr("alt", tiddler.title).attr("src", uri);
			} else {
				el = $("<a />").attr("href", uri).text(tiddler.title);
		} else {
			el = $("<pre />").text(tiddler.text);
	} else {
		_view.apply(this, arguments);

// hijack edit macro to disable editing of binary tiddlers' body
var _editHandler = config.macros.edit.handler;
config.macros.edit.handler = function(place, macroName, params, wikifier,
		paramString, tiddler) {
	if(params[0] === "text" && plugin.isBinary(tiddler)) {
		return false;
	} else {
		_editHandler.apply(this, arguments);

// hijack autoLinkWikiWords to ignore binary tiddlers
var _autoLink = Tiddler.prototype.autoLinkWikiWords;
Tiddler.prototype.autoLinkWikiWords = function() {
	return plugin.isWikiText(this) ? _autoLink.apply(this, arguments) : false;

|''Author''|Ben Gillies and Jon Robson|
|''Description''|Upload a binary file to TiddlyWeb|
|''Requires''|TiddlySpaceConfig TiddlyWebConfig|
<<binaryUpload bag:<name> edit:tags edit:title tags:<default tags> title:<title> >>
* {{{bag:<name>}}}: optional; if left out, the file will be saved to the current workspace
* {{{edit:tags}}}: specifies that you want to tag the file being uploaded
* {{{edit:title}}}: specifies that you want to set the title to something other than the filename
* {{{tags:<default tags>}}}: specifies a default set of tags to apply to the file (requires {{{edit:tags}}} to be set)
* {{{title:<title>}}}: predefines the title of the binary tiddler
(function($) {

var tiddlyspace = config.extensions.tiddlyspace;

var macro = config.macros.binaryUpload = {
	locale: {
		titleDefaultValue: "Please enter a title...",
		tagsDefaultValue: "Please enter some tags...",
		titlePrefix: "title: ",
		tagsPrefix: "tags: ",
		loadSuccess: 'Tiddler %0 successfully uploaded',
		loadError: "An error occurred when uploading the tiddler %0",
		uploadInProgress: "Please wait while the file is uploaded...",
		membersOnly: "Only members can upload."
	renderInputFields: function(container, options) {
		var locale = macro.locale;
		var editableFields = options.edit;
		var includeFields = {
			tags:  editableFields && editableFields.contains("tags") ? true : false,
			title: editableFields && editableFields.contains("title") ? true : false
		var fields = ["title", "tags"];
		for(var i = 0; i < fields.length; i++) {
			var fieldName = fields[i];
			var userDefault = options[fieldName];
			var defaultValue = userDefault ? userDefault[0] : false;
			if(includeFields[fieldName] || defaultValue) {
				var localeDefault = locale["%0DefaultValue".format(fieldName)];
				var className = defaultValue ? "userInput" : "userInput notEdited";
				var inputEl;
				var val = defaultValue || localeDefault || "";
				var iContainer = $("<div />").addClass("binaryUpload%0".format(fieldName)).
				if(defaultValue && !includeFields[fieldName]) {
					var label = locale["%0Prefix".format(fieldName)];
					$("<span />").text(label).appendTo(iContainer);
					$("<span />").addClass("disabledInput").text(val).appendTo(iContainer);
					inputEl = $("<input />").attr("type", "hidden");
				} else {
					inputEl = $("<input />").attr("type", "text");
				inputEl.attr("name", fieldName).
	getTiddlerName: function(fileName) {
		var fStart = fileName.lastIndexOf("\\");
		var fStart2 = fileName.lastIndexOf("/");
		fStart = fStart < fStart2 ? fStart2 : fStart;
		fileName = fileName.substr(fStart+1);
		return fileName;
	errorHandler: function(fileName) {
		displayMessage("upload of file %0 failed".format(fileName));
	uploadFile: function(place, baseURL, workspace, options) {
		var pleaseWait = $(".uploadProgress", place);
		var iframeName =;
		var form = $("form", place);
		var existingVal = $("input[name=title]", form).val();
		var fileName = existingVal || $('input:file', form).val();
		if(!fileName) {
			return false; // the user hasn't selected a file yet
		fileName = macro.getTiddlerName(fileName);
		$("input[name=title]", place).val(fileName);
		// we need to go somewhere afterwards to ensure the onload event triggers
		var redirectTo = "/%0/tiddlers.txt?select=title:%1".
			format(workspace, fileName);
		var token = tiddlyspace ? tiddlyspace.getCSRFToken() : "";
		var action = "%0?csrf_token=%1&redirect=%2"
			.format(baseURL, token, redirectTo);
		form[0].action = action; // dont use jquery to work with ie
		form[0].target = iframeName;
		// do not refactor following line... won't work in IE6 otherwise
		$(place).append($('<iframe name="' + iframeName + '" id="' + iframeName + '"/>').css('display','none'));
		macro.iFrameLoader(iframeName, function() {
			var content = document.getElementById(iframeName).contentWindow.document.documentElement;
			if($(content).text().indexOf(fileName) > -1) {
				options.callback(place, fileName, workspace, baseURL);
			} else {
		return true;
	createUploadForm: function(place, options) {
		var locale = macro.locale;
		if(readOnly) {
			$('<div class="annotation" />').text(locale.membersOnly).
		var bag = options.bag;
		options.callback = options.callback ? options.callback :
			function(place, fileName, workspace, baseurl) {
				macro.displayFile(place, fileName, workspace);
				$("input[type=text]", place).val("");
		var defaults = config.defaultCustomFields;
		place = $("<div />").addClass("container").appendTo(place)[0];
		var workspace = bag ? "bags/%0".format(bag) : config.defaultCustomFields["server.workspace"];
		var baseURL = defaults[""];
		baseURL += (baseURL[baseURL.length - 1] !== "/") ? "/" : "";
		baseURL = "%0%1/tiddlers".format(baseURL, workspace);
		//create the upload form, complete with invisible iframe
		var iframeName = "binaryUploadiframe%0".format(Math.random());
		// do not refactor following line of code to work in IE6.
		var form = $('<form action="%0" method="POST" enctype="multipart/form-data" />'.
		macro.renderInputFields(form, options);
			append('<div class="binaryUploadFile"><input type="file" name="file" /></div>').
			append('<div class="binaryUploadSubmit"><input type="submit" value="Upload" disabled /></div>').
			submit(function(ev) { = iframeName; = iframeName;
				macro.uploadFile(place, baseURL, workspace, options);
			.find('[type="file"]').bind('change', function() {
				$(form).find('[type="submit"]').prop('disabled', false);
		$('<div />').addClass("uploadProgress").text(locale.uploadInProgress).hide().appendTo(place);
		$("input[name=file]", place).change(function(ev) {
			var target = $(;
			var fileName = target.val();
			var title = $("input[type=text][name=title]", place);
			if(!title.val()) {
	handler: function(place, macroName, params, wikifier, paramString, tiddler) {
		params = paramString.parseParams(null, null, true);
		macro.createUploadForm(place, params[0]);
	iFrameLoader: function(iframeName, callback) {
		var iframe = document.getElementById(iframeName); //jQuery doesn't seem to want to do this!?
		var locale = macro.locale;
		$(".userInput").addClass("notEdited"); // reset editing
		var finishedLoading = function() {
		var iFrameLoadHandler = function() {

		iframe.onload = iFrameLoadHandler;
		completeReadyStateChanges = 0;
		iframe.onreadystatechange = function() {
			if (++(completeReadyStateChanges) == 3) {
	displayFile: function(place, title, workspace) {
		var adaptor = store.getTiddlers()[0].getAdaptor();
		var context = {
			workspace: workspace,
			host: config.defaultCustomFields['']
		adaptor.getTiddler(title, context, null, function(context) {
			if(context.status) {
				story.displayTiddler(place, title);
				var image = config.macros.image;
				if(image && image.refreshImage) {
					image.refreshImage("/%0/tiddlers/%1".format(workspace, title));
					image.refreshImage("%0/%1/tiddlers/%2".format(, workspace, title));
			} else {

if(tiddlyspace) {
	config.macros.binaryUploadPublic = {
		handler: function(place, macroName, params, wikifier, paramString, tiddler) {
			var options = paramString.parseParams(null, null, true)[0];
			var bag = tiddlyspace.getCurrentBag("public");
			options.bag = bag;
			macro.createUploadForm(place, options);
	config.messages.privacySetting = config.options.chkPrivateMode ?
		"private" : "public";
	config.macros.binaryUpload.defaultWorkspace = tiddlyspace.


Young People's Specialist Substance Misuse Treatment Exploring the Evidence (DRAFT CONSULTATION)

ref: R A Brown, S E Ramsey, D R Strong, M G Myers, C W Kahler, C W Lejuez, R Niaura, U E Pallonen, A N Kazura, M G Goldstein, D B Abrams (2003)"Effects of motivational interviewing on smoking cessation in adolescents with psychiatric disorders" Tobacco Control 2003;12:iv3  

N= 191 hospitalised (psychiatric and SUD) adolescents randomised to Brief Advice (10 minutes) and Motivational Interview (2 x 45 min sessions) both treatment arms offered transdermal patch after discharge.

- MET no better or worse than brief advice - suggests //some// beneifts for MI in increasing desire to quit in those adols with low initial intention to quit, but associated with increased smoking in those with comorbid SUD.

Relates to smaller study by [[Helstrom et al 2007]] - MET may not really suit adolescents in the way that it has been shown to work with adults...
Author: S. Bucci, A. Baker, S. A. Halpin, L. Hides, T. J. Lewin, V. J. Carr and M. Startup
Year: 2010

Title: Intervention for cannabis use in young people at ultra high risk for psychosis and in early psychosis

Journal: Mental Health and Substance Use: Dual Diagnosis
Volume: 3
Issue: 1
Pages: 66-73

The aims of this service evaluation were to determine if an early intervention for cannabis use is feasible and effective in reducing cannabis use and improving functional outcomes among young people at ultra high risk (UHR) for psychosis or with early psychosis. 
This was a ''naturalistic evaluation'' that included 58 people attending a clinical service for young people at UHR for psychosis or in the early stages of a psychotic disorder. Young people were offered a tiered intervention consisting of motivational interviewing (MI) and cognitive behaviour therapy (CBT) for cannabis use according to the severity of their use. Non-users were provided with brief advice; infrequent cannabis users were offered a four-session brief intervention and regular users were offered an eight-session intervention. Cannabis use was assessed using the Drug Use Scale of the Opiate Treatment Index (OTI) and functioning was assessed using the Global Assessment of Functioning (GAF) at initial assessment and 12 months follow-up. 
Intervention for cannabis use was associated with a significant reduction in the average number of cannabis use occasions per day at follow-up. Only one non-cannabis user had commenced using at follow up after brief advice. Baseline cannabis users had lower GAF scores at 12-months in comparison to non-users. 
A tiered intervention for cannabis use appears to be feasible and effective for reducing cannabis use among UHR and early psychosis groups, and it is recommended to be tested in a randomised controlled trial.
Seems to be no outcome measure on effects on conversion to psychosis...
Practice Parameter for theh Assessment and Treatment of Children and Adolescents with Substance Use Disorders
J. Am. Acad. Child Adolesc Psychiatry, 2005;44(6):609-621

@@Excellent clear review of evidence, hierarchising practice evidence into: 
Minimal Standards ''[MS]'' > Clinical Guidelines ''[CG]'' > Options ''[OP]'' > Not Endorsed ''[NE]''@@

Standards on:

#screening for SUD
#formal evaluation for SUD
#Toxicology as part of the routine evaluation
#YP should receive specific treatment for the SUD
#Rx in the least restrictive setting that is safe and effective ''[MS]''
#Family therapy/work to be a component ''[MS]''
#Procedures minimise drop-out/maximise retention/motivation/compliance ''[CG]''
#Medication when indicated ''[OP]''
#Encourage peer support (non-using) ''[CG]''
#12 step approaches may be basis of Rx; as an adjunct should be encouraged. ''[CG]''
#Provide multi-domain services (vocational/medical/family/legal...) ''[CG]''
#Assess for Comorbidity ''[MS]''
#Treat Comorbidity appropriately ''[MS]''
#Provide or arrnage aftercare ''[CG]''
Quote from from [[Marsch et al 2005]]:
We chose to examine..."buprenorphine
because it has a unique profile of effects that are of clinical
utility and may make it an appealing medication to
provide to opioid-dependent youth.17 As a partial agonist,
buprenorphine has a ceiling effect on its agonist activity,
18,19 which greatly increases its safety profile and
limits its abuse liability as well as the possibility of overdose
relative to full-agonist medications such as methadone
hydrochloride.20 Buprenorphine can also dosedependently
block the subjective and physiological effects
of exogenously administered opioids.19,21,22 Because of buprenorphine’s
slow dissociation from the μ–opioid receptor,
discontinuation of buprenorphine treatment results
in reduced withdrawal symptoms relative to
discontinuation of full agonists.22-24 Numerous controlled
trials have demonstrated that buprenorphine is
safe and efficacious in alleviating opiate withdrawal symptoms,
reducing illicit opiate use, and promoting treatment
retention among opioid-dependent adults in detoxification.
21,25-28 Buprenorphine’s safety and efficacy as
a pain medication have also been established in children
and adolescents as well as adults.29-32"
from [[Killen et al 2004]]

"Bupropion hydrochloride, an aminoketone antidepressant, is
also approved as an adjunct in smoking cessation therapy. Several
placebo-controlled efficacy trials with adult smokers have been
published. In the first trial, 6-month abstinence rates were 16% for
placebo and 27% for bupropion (150 mg and 300 mg; Hurt et al.,
1997). In a second trial, 6-month abstinence rates were 25% for
bupropion and 16% for placebo (Hall et al., 2002)."
Self-efficacy as a predictor of treatment outcome in
adolescent substance use disorders,

Compare Psycho Ed and CBT in RCT with measures of Self Efficacy (valid scale - (Perceived self-efficacy is a cognitive process describing patients’ confidence in their ability to abstain from drug use in high-risk situations (Bandura, 1977) - Such cognitive
expectancies are thought to be proximal mediators of the choice to engage in various
activities and serve a prominent role in the initiation and maintenance of behavioral change )

(1) the higher the self-efficacy, the more likely will be subsequent abstinence, regardless of treatment condition;
(2) a positive urinalysis finding (or higher ratio) at any one time point will be associated with lower self-efficacy at the subsequent time point; 
(3) the higher the self-efficacy at any one time point, the higher the self-efficacy will be at the subsequent time point; and 
(4) youth assigned to the CBT condition, which focuses on the enhancement of self-efficacy, will show superior self-efficacy relative to youth assigned to a non-CBT condition such as psychoeducation (PET).

88 adolescents consec refrred to OP clinic with DSM-III-R SUD.  62 boys, 26 girls aged 13 to 18 yrs (79 white)

Randomised to closed groups - CBT or Psycho Ed

Situational Confidence Questionnaire (SCQ; Annis, 1987) - validated for adoelscents
Urinalysis, etc

Hypothesis 1. supported - Self Efficacy predicts SU
Hypothesis 2. NOT proven - (lack of) SU in urinalysis predicted Positive Affect at 3/12, but SU didn't predict negative affect nor Self Efficacy at 9/12
Hypothesis 3. supported for negative affect - the heavier the use (at baseline) under Neg Affect situations... the less confidence to resist subsequently under negative affect situations.
Hypothesis 4 not supported - CBT no better than Psycho Ed at boosting situational self-efficacy.

?CRITICAL PERIOD - those with high self efficacy and motivation (at baseline) sought Rx at the time tthey could best capitalise on help?

"It has been assumed that the mechanism of action responsible for the success of CBT
relapse prevention is the acquisition and application of coping skills. Therefore, a pivotal
objective of approaches based on social learning theory to the treatment of SUD is to focus on
the improvement of these deficits. However, the mechanism underlying the relationship
between self-efficacy and better outcomes is still unclear (Maisto, Connors, & Zywiak, 2000).
Our findings provide only ambivalent support for a social learning theory approach. Perhaps a
combination of other factors such as readiness to change, expectancy, therapeutic alliance, or
engagement in treatment are responsible for change in self-efficacy (Kaminer, 2001;
Morgenstern & Longabaugh, 2000)"

Absence of Iatrogenic or Contagion Effects in Adolescent
Group Therapy: Findings from the Cannabis Youth
Treatment (CYT) Study
Joseph A. Burleson, Yifrah Kaminer, Michael L. Dennis
The American Journal on Addictions, 15: 4–15, 2006

Challenges evidence from [[Dishion et al 1999]]  see also [[Dishion and Dodge 2005]]

Funding has sometines been withdrawn as a result... they feel this is unjustified... Group Rx CAN be badly run and damaging, but this is not inevitable.

Quotes research by Ang and Hughes: 
"Ang and Hughes’s (''Ang RP, Hughes JN. Differential benefits of skills training with antisocial youth based on group composition: A meta-analytic investigation. Schl Psyc Rev. 2001;31:164–185'') meta-analysis of studies of social
skills training in groups of adolescents concluded that groups that were comprised of youth with both no/low and high levels of conduct disorder symptoms had better outcomes than homogenous groups of youth where all had high conduct disorder symptoms. The authors reasoned that the higher reinforcement value for antisocial behavior was more likely to be generated in homogenous high conduct disorder groups than in the mixed groups. These findings were in the opposite direction of being iatrogenic. The low conduct disorder youth in the mixed groups did not get worse; rather the high conduct disorder individuals in these mixed groups did better than their peers who were treated in group of only high conduct disorder youth. This is actually more consistent with common clinical belief that teens can have a positive influence on each other."

Multivariate analyses on 400 participants of the [[CYT]]

Graded groups on:
#Conduct Disorder Scales (CDS)
#Substance-use Frequency Scales (SFS)

Nomain effects on ....

There were no significant multivariate main nor interaction effects involving Time and either 
#Race, nor 
#Treatment Condition. 

!Complicated multivariate analyses then followed:
The four dependent measures: 
#Substance Frequency Scale (SFS), 
#Emotional Problem Scale (EPS), 
#Recovery Environment Risk Index(RERI) 
#Illegal Activity Scale (IAS)
were analyzed for univariate significance as a function of the ''Individual'' and three ''Group'' (Minimum, Mean and Maximum) ''CDS measures''.

"In effect, the evidence showed that 
(1) youth did not generally show differential improvement on substance use frequency as a function of their CDS; 
(2) youth did not generally show differential improvement on SFS as a function of the other highest scoring CDS youth; but,
as per the interaction, 
(3) groups with high scoring CDS other youth did not adversely affect the target youth. 

In fact, youth of average and higher levels of disruption improved just as much on SFS regardless of the presence of the other most disruptive youth. Less disruptive youth actually showed more improvement on SFS in the presence of the most disruptive youth. It should be noted that this interaction effect accounted for only one percent of the variance in change in the index of substance abuse frequency....a result completely counter to the notion of iatrogenic effects but consistent with the meta analyses reviewed earlier."

Concludes with ''recommendations'' on ways to minmmise possibility of iatrogenic effects (thos having proven they are not the case at least in the manualised structured environment of the CYT groups:
(1) the recruitment of adolescents from diverse referral sources,
(2) maintaining group heterogeneity by including prosocial youth, if for no other reason than to replicate a real-world social environment, 
(3) employing competent and well trained therapists, 
(4) maintaining an effective supervision apparatus, and 
(5) conducting manualized interventions that include clear ‘‘trouble shooting’’ protocols (e.g., how to prevent ‘‘war stories,’’ negative and verbally offensive reference toward group members and leaders, as done in CYT.

Tag to substances
<<tag CBS>>

For conclusions see [[Dennis et al 2004]]
CBS treatment

Trial of M.E.T./CBT  +/-  Contingency Managt  
Vs Drug counselling (DC) 

in 18 - 25 yr olds (sl too old.)	
8 sessions offered, in the CM arm, participants could earn up to $340 for attneding all 8 sessions, and up to $540 for clean urines (incremental increase in rewards for each desired result.) Reinforcing BOTH session attendance AND abstinence… in the CM arm.	

208 18-25yr olds from adult Probation screened.  
174 passed criteria. 132 randomized to 4 conditions: 
(a) MET/CM 
(b) DC/CM 
(c) MET/no CM and 
(d) DC no CM	

Population too old for CAMH (just)	

Multiple measures.  

3 and 6/12 follow up	

"Signif advantage for CM with MET/CBT "

"There were few significant main effects for MET/CBT over DC
for the full sample during the active phase of treatment. However,
there were several significant interaction effects suggesting that
MET/CBT combined with CM was associated with better outcomes
than MET/CBT without CM, DC plus CM, and that those
three treatments were significantly more effective than DC without
CM. Finally, there was evidence of continuing improvement during
the 6-month follow-up for those assigned to the MET/CBT
##	In-pt Vs Outpatient Vs ‘allcomers’– large multisite multi-Rx trials (Galaif/Hser – DATOS A, Dasinger/Morral - ATM, Dennis etc, - CYT) – 
##      can’t get to inter-Rx differences… even In-pt Vs out pt difficult because of the ‘level of care issue’ …?don’t try.. pointers to later research into PROCESS though….Hogue 2004, 2006 and Kypri 2007
###	process research 
#### (Hogue et al 2004, Hogue et al 2006,) session focus, multimodal techniques, rather than 'school'...
#### Edelen 2007 – only intra-personal changes in TC predict outcomes, not group processes (incl 12 step)
##	 Moving from ''level of care'' to ''setting of care''…
###	Group Vs individual: 
####	Pro: Burleson 2006, CYT studies and Waldron + Kaminer 2004, Kaminer et al 2002 – Group CBT better than Group PsychoEd, but GROUPS work! , Effective groups if focus on specific vulnerability factors (Conrod 2008 (alc)) …Vs…
####	Anti: Dishion et al, and Liddle 2004 (Group  worse than MDFT)
###	Group 12 step/abstinence Vs Harm-minimisation (see Britton)
####	Pro 12step: Kelly et al 2000, 
##	''Single/specific modalities''
###	Family/Systems
####Intro section - Reviews: Austin 2005, Diamond 2005, Cottrell 2002 on problems assessing outcomes... 
#####problem in assessing outcome according to symptoms only - especially as the therapies have become increasingly multi-systems menaingful outcomes are going to be found in changes outside the domain of SYMPTOMS - but in the domain of ADAPTATION and TRANSACTIONAL RELATIOSNHIPS as well as MECHANISMS or SERVICE SATISFACTION (engagement/Rx Retention)
####Szapcznik 2000 – BSFT, Santisteban ...leading on to SET - robbins 2008
####Liddle et al -  MDFT,  - mostly covered above.
####Henggeler et al – MST and ACRA
####Waldron et al 2001 – FFT, ...etc (reviewed by Stevens in EBMH FT + CBT better than CBT
####Latimer 2003 - Integrated Family and CBT... leads onto...
###CBT -
####Good reviews - Waldron and Kaminer 2004 
####Waldron 2001
####Dennis et al 2004 - MET/CBT5 best value!
####Burleson and Kaminer 20005 - deals with ''mechanisms'' ?CBT increases SELF-EFFICACY? - no, but SE does seem to predict SU...
####Conrod et al 2008 - prevention - CBT focus on vulnerability factors
###	Motivational
####Reviews: Tait, and Tevyaw... Not very large treatment effects, but larger for the more serioulsy effected patients?  (fitting the mcCambridge Strang hypothesis, but uncertain that this is really so.. see later studies...
####Point out that much of the MI in research is a sub-component in more complex multi-systems interventions (cf CYT)
####Strang and McCambridge - 2004/2005 - single sess MI effective at 3/12 but not at 12/12 - methodological poitns are interesting.... appears more effective in high risk/pathologyc groups than low mod risk groups - supported by [[Spirito et al 2004]] but this is contradicted by [[Stein et al 2006]]
####As a tool for engagement - Tait et al 2005, and then Peterson et al 2006... but Baer et al 2007 failed to improve on these, despite working to make it easier for the therapists....
####For cigarettes...Brown 2003 and Helstrom 2007 - may not work as well for adolscetns as it does for adults?
####Marsden et al 2006 - single session MI ineffective for crack/coke (surprise surprise)
###	Engagement/Alliance include Innovative
####	the problem: TEDS 2002 - massive increae in loss to treatment/f/up in <17yrs chort, Hser 2001 - lost 33% of DATOS study at 1 yr follow-up.
####	Godley et al 2002 and Godley et al 2007 - assertive continuing care (ACC)/ACRA - measured "General Contining Care Adherence (GCCA) in randomised trial between intervention and TAU - incr. in Rx group, but interesting conclusions re. tenedency for highly supported kids to 'stumble' after being let go - pointers to chronic illness model... need for flexible, contingent responsivity.
####	Strong on retention - MST - Henggeler et al 1999 - but NB the outcomes were poor esp seeing as 78% of youth in control condition got NO Rx at all!
####	(Already quoted) Edelen et al - factors associated with retention appear to relate more to INDIVIDUAL change process than to group/treatment context factors...
####	Treatment satisfaction NOT related to retention/outcome... Working Alliance only weakly associated, adn only early post RX (3 and 6 months) (Tetlaff 2005)
####	Innovative/technological approaches - Urine drug screening [[Drug testing]] - not effective acc Goldberg et al, and acc [[Latimer et al 2003]] it just makes people tell the truth more in timeline follow back... [[Hollis et al 2005]] used interactive computer programme w/ MET. [[Woodruff et al 2007]] - internet chatroom for smoking cessation, [[Longshore et al 2006]] - synergy between PsychoEd and exposure to simultaneous/congruous Media campaign, [[Maio et al 2005]] - laptop-based alc prevention in A&E (ineffective).
## Reviews: [[Waxmonsky et al 2005]] - good, esp on comorbidity Rxs, 
##By Substance
###	Alcohol - [[Dawes and Johnson 2004]]- good review - good justification for the use of pharmacology in treating SUD - risk of non-Rx... mortality/morbidity..
####	Disulfiram (Niederhofer)
####	Cyanamide (Niederhofer)
####	Acamprosate (Niederhofer)
####	Tianeptine (Niederhofer)
####	Ondansetron - [[Dawes et al (A-OCDS) 2005]]
####	Naltrexone - [[Deas et al 2005]]
###	Opiates
#### Reviews [[Hopfer et al 2001]]
####	Methadone 
#####	Crome et al 1998 - quoted in [[Hopfer et al 2001]] - (actually that paper is Hopfer et al 2002!
#####	[[Faggiano et al 2003 Cochrane]] - adult Cochrane review
####	Buprenorphine
#####	[[Marsch et al 2005]]
#####	[[Gandhi et al 2003]]
####	Clonidine - [[Marsch et al 2005]] - comparator with Buprenorph
###     Cocaine
####	Aripiprazole - [[Beresford et al 2005]] [[Feltenstein et al 2007]]
###	Tobacco - Review [[Grimshaw et al (Cochrane) 2006]] - few trials for tobacco - none effective...
####	NRT - [[Hurt et al 2000]], [[Hanson et al 2003]], [[Moolchan et al 2005]], [[Killen et al 2004]] (combined with Bupropion)  
####	Bupropion - [[Niederhofer and Huber 2004]], [[Killen et al 2004]] (combined with NRT patch)
###	Solvents (nothing)
###	Ecstasy etc (nothing)
##By Problem
###	Comorbidity
####	Bipolar
##### [[Kosten and Kosten 2004]] - adults only..., [[Waxmonsky et al 2005]]
####	ADHD
#####	2 good Reviews - [[Wilson et al 2005]], [[Wilens et al 2003]] - suggests reduction in risk of SUD if ADHD treated...
#####	[[Biederman et al 1999]]
#####	[[Molina et al 2007]] - MTA long term follow up...
####	Depression
#####	Fluoxetine - [[Cornelius et al 2001]] (weak, Pharma) - f/up: [[Cornelius et al 2005]], [[Riggs et al 2007]]
##Harm Minimisation Vs Abstinence
###Hamilton 2005 – HM in schools anti alcohol 
from [[Marsch et al 2005]]
Why clonidine in the RCT?...."it is a nonnarcotic medication with limited abuse potential33
and it has been widely studied as a detoxification agent
that decreases sympathetic nervous hyperactivity and suppresses
the acute dysphoric state during the opioid withdrawal
period among adults.25,34-37 Although clonidine has
been used with adolescents in the treatment of psychiatric
disorders,38,39 to our knowledge, no controlled studies
have explored its efficacy in the opiate detoxification
of adolescents who may have a shorter history of opioid
abuse and a lower degree of opioid dependence relative
to opioid-dependent adults. Thus, although prior research
has shown that buprenorphine is generally a more
efficacious detoxification agent compared with clonidine
among opioid-dependent adults,25,40,41 the relative
efficacy of these medications in the detoxification of opioid-
dependent adolescents is unknown, as is their relative
efficacy when combined with intensive behavioral
interventions that may improve outcomes"
|Description:|Closes the tiddler if you click new tiddler then cancel. Default behaviour is to leave it open|
|Version:|3.0.1 ($Rev: 3861 $)|
|Date:|$Date: 2008-03-08 10:53:09 +1000 (Sat, 08 Mar 2008) $|
|Author:|Simon Baird <>|

	handler_mptw_orig_closeUnsaved: config.commands.cancelTiddler.handler,

	handler: function(event,src,title) {
		if (!store.tiddlerExists(title) && !store.isShadowTiddler(title))
	 	return false;



<<tag Cocaine>>
Background: #e9f5df
Foreground: #121f09
PrimaryPale: #fbfdf9
PrimaryLight: #bee3a3
PrimaryMid: #82c84c
PrimaryDark: #17270b
SecondaryPale: #fdf9fb
SecondaryLight: #e3a3bb
SecondaryMid: #c84c7c
SecondaryDark: #270b16
TertiaryPale: #f9fbfd
TertiaryLight: #a3c2e3
TertiaryMid: #4c88c8
TertiaryDark: #0b1927
Error: #f88
ColorPaletteParameters: HSL([94|63], [0.5341374908455905],[0.1|0.986998297119694])
Comorbidity is THE CENTRAL NARRATIVE in adolescent SUD, rather than a sideline...

Good Summary Review of Dual diagnosis - Comorbidty is [[Cornelius et al 2005 Comorbidity Chapter]]
Papers involved with comorbidity problems are tagged here.

Conrod, P. J., Stewart, S. H., Comeau, N., & Maclean, A. M. (2006).
Preventative efficacy of cognitive behavioral strategies matched to the
motivational bases of alcohol misuse in at-risk youth. Journal of Clinical
Child and Adolescent Psychology, 35, 550 –563.

Alc	[[Conrod et al 2008 (Alc)]] study builds on this.  

This one looked at AS, Hopelessness (NT in 2008), SS , but not impulsivity.  

Didn't allow matching of personality vulnerability to intervention. 

Control didn't include standard (non-personaility based) preventive intervention, or an attention-only control.  

Schools based in CANADA.	

ditto 2008 study, but not selected to groups on basis of personaility traits.	

"Only 30% of students who met study eligibility indicated interest in participating in the intervention and provided parental consent to participate in the next phase of the study" - 

4882 screened.  Non drinkers excluded. 
2775 drinkers, 1717 excluded. 

Of the eligiible 1063, only 297 agreed to participate - 

randomised to Rx groups....   

89% fololowed up at 4/12 post Rx.	

RCT.. Only one point of f/up.  

High attrition from original no. screened.  Only high risk kids invited in and many refused to participate… Intention -to-treat analysis…?	

[[Foxcroft et al 2002]] found NNT's of 9-12 for most effective prevention strategies… Conrod's NNT was 5.  

(N.B. - similar baselines??? Were the Foxcroft studies actually intervening with actively drinking kids or more "universal prevention"?  When is "prevention" actually "treatment"?)
Alcohol Prevention

"The current investigation (following on from a separate earlier one for 15.5 yr olds - [[Conrod et al 2006 (Alc)]], and FOLLOWED by [[Conrod et al 2011]]) aims to explore whether or not intervening upon personality risk earlier in adolescence  is effective 

(...and this time including interventions directed at IMPULSIVITY as well as SENSATION SEEKING [SS],  ANXIETY-SENSITIVITY [AS] and NEGATIVE THINKING [NT]) can delay the early growth of drinking and binge drinking, as previous studies have only demonstrated the efficacy of personality-targeted interventions in reducing substance related behaviours in high-risk populations (Conrod et al., 2006; Conrod et al., 2000; Watt, Stewart, Birch, & Berner, 2006)"	

2 x 90min Group sessions. 
Components: M.I., PsychoEducation, CBT.  

Scenario's of risk in personaility variables, 
Goal setting exercises, CBT model - 2nd sessions -> personaility-based exercises	

2676 14yr (mean age) students in London Boroughs approached.  2271 screening assessed with SURPS (Sub Use Risk Profile Scale) 1022 invited to join who scored more than one standard deviation (SD) above the school mean on one of the four personality risk subscales of the SURPS: negative thinking (NT), anxiety sensitivity (AS), impulsivity (IMP) and sensation seeking (SS).  Higher scores in two //subscales// were invited to join Personaility Group... 

368 agreed to participate... 20 lost due to unreliable reporting of data

Randomised (199 interventions, 169 Control) 

Assessed at Baseline, 6/12 and 12/12. 
Valid instruments.

Manualised treatments. No "attentiveness-only" placebo control (i.e. getting assessments but no intervention, etc)

valid measures, etc

"baseline bingedrinking predicted 6 and 12 month bingeing. 
Intervention group 41% less likely to binge than controls. (41.1% of intervention group were bingeing, cf 64.6% of controls…)  
SS personality signifiacntly predicted bingeing, but while 93%of SS drinkers in control group were bingeing at f/up, only 39% of SS intervention group were.  
"Very high effectiveness".  

NNT for SS personalities was c 2 - 5 (""Of the few universal alcohol prevention programmes that have been shown to be effective, their NNT values ranged from 9 to 12 ([[Foxcroft et al  2002]])), and effects on SS kids were longer lasting than, say, [[McCambridge and Strang 2004]]"
See also [[Conrod et al 2008 (Alc)]] and [[Conrod et al 2006 (Alc)]]

P. J. Conrod, N. Castellanos-Ryan and C. MacKie
Long-term effects of a personality-targeted intervention to reduce alcohol use in adolescents
Journal of Consulting and Clinical Psychology, Volume: 79, Issue: 3, Pages: 296-306

To examine the long-term effects of a personality-targeted intervention on drinking quantity and frequency (QF), problem drinking, and personality-specific motivations for alcohol use in early adolescence. 
A randomized control trial was carried out with 364 adolescents (median age 14) recruited from 13 secondary schools with elevated scores in Hopelessness, Anxiety-Sensitivity (AS), Impulsivity, and Sensation-Seeking. Participants were randomly assigned to a control no-intervention condition or a 2-session group coping skills intervention targeting 1 of 4 personality risk factors. The effects of the intervention on quantity/frequency (QF) of alcohol use, frequency of binge drinking, problem drinking, and motives were examined at 6, 12, 18, and 24 months postintervention. 
Intent-to-treat repeated measures analyses revealed a significant overall intervention effect in reducing problem drinking symptoms, and a Time x Intervention effect on drinking QF and binge drinking frequency. Relative to the control group, the intervention group showed significantly reduced drinking and binge drinking levels at 6 months postintervention and reduced problem drinking symptoms for the full 24-month follow-up period (Cohen's d = 0.33). A significant Time x Intervention x Personality interaction was demonstrated for coping and enhancement drinking motives. In addition to an overall effect of intervention on coping motives, the AS group who received that intervention reported fewer coping motives compared with the AS control group at 12 and 24 months postintervention. 
This study provides further evidence showing that personality-targeted interventions reduce drinking behavior in adolescents in the short term. Novel findings were that the interventions were shown to produced long-term effects on drinking problems and personality-specific effects on drinking motives.

!Highlights and summary notes

Four particular personality risk factors for adolescent substance misuse—

*''Hopelessness (H)'',
*''Anxiety Sensitivity (AS)'', 
*''Impulsivity (IMP)''
*''Sensation Seeking (SS)''

—which are also linked to risk for specific patterns of psychopathology (Woicik et al., 2009) have
been shown to differentially predict susceptibility to binge drinking, problem drinking symptoms, illicit substance use, and coping and enhancement motivations for substance misuse.

H is a personality trait most commonly linked to vulnerability to
depression, but was recently also identified as a robust prospective
risk factor for early onset problems with alcohol and drugs (Bolland
et al., 2007; Conrod, Castellanos-Ryan, & Strang, 2010;
Woicik et al., 2009) and has been shown to be associated with
drinking to cope with negative emotions, particularly depressionspecific
emotions (Woicik et al., 2009)

By contrast, AS, a personality risk factor for panic-related anxiety disorders and alcohol
misuse in young adulthood (Schmidt, Buckner, & Keough, 2007;
Schmidt, Zvolensky, & Maner, 2006), has been shown to be
associated with risky drinking motivations, particularly drinking to
cope with negative emotions (Cooper, Agocha, & Sheldon, 2000;
Stewart & Devine, 2000)—a motive for drinking that has been
shown to directly lead to drinking problems, //''without necessarily
increasing risk for other drinking behaviors (e.g., binge drinking;
e.g., Conrod et al., 1998, 2006; Schmidt et al., 2007).''// 

This pattern of findings explains why AS might serve as a protective factor for
early onset drinking quantity or binge drinking, but not drinking
problems, with some studies (particularly those involving older
high-risk youth) showing unique relationships between AS and
problem drinking symptoms (e.g., Conrod et al., 1998; Topper,
Castellanos-Ryan, Mackie, & Conrod, 2010; Woicik et al., 2009).

!!!Disinhibition (Impulsivity and ~Sensation-Seeking)
Disinhibited traits have been shown to be associated with risk
for a variety of externalizing problems (Cooper, Wood, Orcutt, &
Albino, 2003), particularly the trait of ''impulsivity'', or the tendency
to react to situations without thinking them through. 

Studies have shown longitudinal relationships between impulsive personality
and a general tendency to engage in high-risk/externalizing behaviors,
such as drinking, illicit drug use, risky sexual behaviors, and
other antisocial behaviors (Conrod et al., 2010; Finn, Sharkansky,
Brandt, & Turcotte, 2000; Krueger et al., 2002; Mackie, Castellanos,
& Conrod, 2011). 

By contrast, there is recent evidence that another disinhibited trait, 
''Sensation-Seeking (SS)'', conceptualized as //the need for arousing
and intense experiences//, is ''more specifically related to the
predisposition to substance abuse, and alcohol binge drinking,
more specifically'' (Castellanos-Ryan & Conrod, 2011; Conrod et
al., 2008; Finn et al., 2000). 

Furthermore, these two traits of disinhibition have been shown to discriminate on the basis of
motivation for drinking; 

Three studies have shown that ''SS is specifically associated with //drinking for enhancement reasons//'' (Comeau et al., 2001; Cooper et al., 1995; Woicik et al., 2009). 

By contrast, two independent adult and adolescent samples have
shown that ''IMP correlates positively with most measureable motivations
for drinking'' (Simons, Gaher, Correlia, Hansen, & Christopher,
2005; Woicik et al., 2009), suggesting //a motivationally
''undefined pattern'' of drinking// that is better accounted for by a
general tendency toward disinhibited behavior and poor response
inhibition (Castellanos-Ryan, Rubia, & Conrod, 2011; Woicik et
al., 2009).

!The author/collator:
Is Dr Dickon Bevington and (aside from quoted material) he retains copyright of the layout and notes contained herein.  

!These notes are released under license:
Licensed by Dr Dickon Bevington under a ''Creative Commons License'' (Attribution - ~Non-Commercial - No Derivative Works 2.0 UK: England & Wales)  These notes can be freely shared (on the same terms as this), so long as the authorship is properly attributed, derivative works are not released, and they are not used for commercial gain.  You can [[Seethefulllicensehere|]]

!Health Warning: 
These are just working notes/an aide memoir, made in preparation for a chapter on Substance Use disorders in the second edition of //"What Works for Whom; a critical review of treatments for children and adolescents"// by Fonagy, Cottrell, Glaser, Williams and Bevington (due for pub 2009, ~WileyBlackwell), and do ''not'' consititute a finished product.  No responsibility is claimed for the accuracy of the contents.

J. Cornelius, R. Ferrell, T. Chung, M. Vanyukov, A. Douaihy, O. Bukstein, D. Clark, D. Daley, S. Wood and S. Brown

Double-blind fluoxetine trial of comorbid MDD-CUD youth and pharmacogenetics data

Alcoholism: Clinical and Experimental Research. Conference: 33rd Annual Scientific Meeting of the Research Society on Alcoholism, RSA San Antonio, TX United States. Conference Start
Volume: 34
Issue: 6

The authors recently completed a first double-blind, placebo-controlled trial of fluoxetine (20 mg) in 70 adolescents and young adults with comorbid major depressive disorder (MDD) and an cannabis use disorder (CUD). All participants also received cognitive behavior therapy and motivation enhancement therapy during the 12-week trial. 

A subgroup of those subjects (N=52) participated in a pharmacogenetics study to assess whether the s allele of the serotonin transporter gene (5-HTTLPR) is associated with poorer response to the serotonin agonist fluoxetine. 

Significant within-group decreases (p <.001) were noted in depressive symptoms and in number of DSM cannabis dependence criteria across the entire sample. 

However, ''no differences were noted between the fluoxetine group and the placebo group on any outcome variable''. 

Also, ''no association was found between the presence of the s allele and any outcomes''.

These finding provide ''no evidence of efficacy for fluoxetine for treating MDD-CUD youth''. However, the within-group improvements in depressive symptoms and cannabis-related symptoms across both treatment groups suggest that ''MET/CBT may have been helpful for treating those symptoms''. 

No evidence was found that the s allele of the serotonin transporter polymorphism predicts poor treatment response to SSRI medication among comorbid MDD-CUD youth.
Recently, a first placebo-controlled study of an selective serotonin reuptake inhibitor (SSRI) medication was conducted among a sample of adolescents with major depression by Emslie et al. [Arch. Gen. Psychiatry 54 (1997) 1031.]. That study demonstrated efficacy for fluoxetine vs. placebo for treating adolescents with major depression. However, to date, no studies have been conducted to assess the efficacy of fluoxetine or any other SSRI medication in adolescents with major depression in
combination with an alcohol use disorder (AUD). In this study, the authors investigated whether fluoxetine decreases the depressive symptoms and the drinking of adolescents with comorbid major depression and an AUD. The authors conducted a 12-week @@open-label@@ study of fluoxetine (20 mg) @@in 13 adolescents with current comorbid major depression and an AUD@@. A significant within-group decrease (improvement) was found for both depressive symptoms and drinking during the course of
the study. The fluoxetine was well tolerated during the study. These data suggest promise for fluoxetine for decreasing both the depressive symptoms and the drinking of adolescents with comorbid major depression and an AUD.

DB notes:
see [[Cornelius et al 2005]] for 5 year follow up...

mean age 18.8, SD = 1.4yrs, range 15 - 19 yrs
Only n=13
12 week study only
11 pts had DEPENDENCE, other 2 had ABUSE (DSM criteria)
All got weekly (4 weeks) then bi-weekly supportive psychotherapy and psychiatric monitoring
Start 10mg Fluoxetine for first 2 weeks, then incr to 20mg daily

During the 12-week course of the study, the mean HAM-D-24 score dropped by 19 points, from a baseline mean score of 26.5 ± 6.4 to an end of study mean of 6.4 ± 4.8, which was a significant improvement.
Drinking days per week - Pre Rx: Mean = 2.6, SD = 1.0  - Post Rx Mean=1.5 SD=1.0 (t = 1.9, df = 12, P<0.08 - trend not signif)
Drinks per drinking day: Pre Rx: mean=6.7 SD=5.4, post Rx: mean=3.7 SD=4.3 (t = 3.4, df = 12, p<0.005)

NB drug company funded:
This work was supported in part by grants from the National Institute on Alcohol Abuse and Alcoholism (P50 AA08746 and R01 AA11929), the National Institute on Drug Abuse (P50 DA05605), the Department of Veterans Affairs (MIRECC to VISN 4, Stars
and Stripes Network), the National Institute on Mental Health (MH30915), @@and Eli Lilly and Company.@@
Long term follow up of [[Cornelius et al 2001]]

"Acute phase and five-year follow-up study of fluoxetine in adolescents with major depression and a comorbid substance use disorder: A review"
Jack R. Cornelius T, Duncan B. Clark, Oscar G. Bukstein, Boris Birmaher,
Ihsan M. Salloum, Sandra A. Brown
Addictive Behaviors 30 (2005) 1824–1833

AND (appears to be the same study)...

Cornelius Clark Bukstein Birmaher Kelly Salloum Walters Matta Wood (2005) Fluoxetine in Adoelscents with Comorbid Major Depression and and Alcohol misuse disorder: a five year follow up study.  Journal of Dual Diagnosis, 2 (1) 2005.

Very small study but one of the only ines there is and long follow is helpful.
No control, etc...

This paper reviews the results of an acute phase trial and a five-year follow-up study of fluoxetine in adolescents with major depression and a substance use disorder (SUD). This study included a 12-week open label acute phase study of 13 comorbid adolescents, followed by comprehensive assessments conducted 1, 3, and 5 years after entry into an acute phase fluoxetine trial. The results of the acute phase study and of the 1, 3, and 5-year follow-up assessments have already been published in four papers. The current paper was designed to cover the results of the study across the entire 5-year time spectrum of the study, and to summarize the clinical results across that entire time period. 

The @@data from this pilot study suggest that the long-term (5-year) clinical course for the Alcohol Dependence, Cannabis Dependence, and academic functioning of comorbid adolescents following acute phase treatment with SSRIs is generally good. However, the long-term clinical course for the Major Depression of that comorbid adolescent population is surprisingly poor.@@

@@at 5 year follow up:@@
subjects ranged in age from 20 to 24 years of age, with most being towards the upper part of that age range. The major developmental issue that they were typically dealing with at that age was the completion of college and the entry into the work force.

@@results (at 5 year follow-up):@@
Three of the 10 subjects demonstrated a current diagnosis of MDD, and an additional 3 demonstrated MDD In Partial Remission (IPR). 

In contrast, all 10 had demonstrated a current diagnosis of MDD at the baseline of the acute phase study, 6 had demonstrated a current diagnosis of MDD and one MDD IPR at the one-year follow-up evaluation, and 7 had demonstrated a current diagnosis of MDD and 1 MDD IPR at the 3-year follow-up assessment. 

The number of DSM IV diagnostic criteria for MDD at the fiveyear follow-up evaluation was significantly lower than that which had been demonstrated at the baseline of the acute phase study (t =7.22, df =9, p <0.001), and was also significantly
lower than the level noted at the three-year follow-up evaluation (t =3.12, df =9, p =0.012)."

[DB - But while the SUD's had tended to reduce/remit, the MDD had tended to relapse throughout the follow up period - suggesting the SUD's didquite well but the individuals remained vulnerable to depressive relapse... "Eight of the subjects (80%) had met diagnostic criteria for current Major Depressive Disorder at least once during the five year follow-up period, which means that they had met criteria for that disorder at least once at either the one-year, the three-year, or the five-year follow-up"..."All of the subjects had chosen to discontinue their antidepressant medication within two months of completing their acute phase trial of fluoxetine. The reason that they generally gave for discontinuing their medication was that they no longer felt very depressed, and therefore did not need it any more. However, @@a majority of the subjects (6 of the 10 subjects) had chosen to restart antidepressant medication between the end of the acute phase study and the 5-year follow-up assessment.@@"

''@@(80%) suffered a recurrent episode of major depression during the five-year follow-up period@@''

''@@the course of the alcohol and cannabis disorders was better than is typically seen with adults, but the course of the major depressive disorders was at least as bad among the comorbid adolescents as is typically seen among comorbid adults@@''

10/10 had AUD at baseline (9 dependent, 1 abuse)... at 5 yrs only 1/10 (and 3 pts in partial remission).. the number of DSM IV diagnostic criteria for AUD at the five-year follow-up evaluation was significantly lower than that which had been demonstrated at the baseline of the acute phase study (t =8.13, df =9, p < 0.001), but was not significantly lower than the level noted at the three-year follow-up evaluation.
5/10 had CBS dependence at baseline, 5 yrs 0/10 had dependence (1 had In Partial Remission, 1 CBS abuse) ... number of DSM IV diagnostic criteria for Cannabis Dependence at the fiveyear follow-up evaluation was significantly lower than that which had been demonstrated at the baseline of the acute phase study (t =2.52, df =9, p =0.033)but was not significantly
lower than the level noted at the three-year follow-up evaluation.

This research was supported in part by grants from the National Institute on Alcohol Abuse
and Alcoholism (R01 AA013370, R01 AA015173, R01 AA11292, R21 AA014396, K02
AA00291, K08 AA00280, K24 AA00301, and P50 AA08746); the National Institute on
Drug Abuse (R01 DA14635, P50 DA05605, Clinical Trials Network); and a grant from the
Veterans Administration (MIRECC to VISN 4).

NB they acknowledge support from Eli Lilly in [[Cornelius et al 2001]] but not here...??

Check actual reference - chapter 16 from book (have paper copy)

Authors: Cornelius, Clark, Bukstein, Salloum

Good general review of the field of [[Comorbidity]]
J.R. Cornelius, O.G. Bukstein, A.B. Douaihy, D.B. Clark, T.A. Chung, D.C. Daley, D.S. Wood, S.J. Brown. (2010) Double-blind fluoxetine trial in comorbid MDD–CUD youth and young adults.  Drug and Alcohol Dependence 112; 39–45.

This study compared the acute phase (12-week) efficacy of fluoxetine versus placebo for the
treatment of the depressive symptoms and the cannabis use of adolescents and young adults with comorbid major depression (MDD) and a cannabis use disorder (CUD) (cannabis dependence or cannabis abuse). We hypothesized that fluoxetine would demonstrate efficacy versus placebo for the treatment of the depressive symptoms and the cannabis use of adolescents and young adults with comorbid MDD/CUD.
We conducted the first double-blind placebo-controlled study of fluoxetine in adolescents and
young adults with comorbid MDD/CUD. All participants in both treatment groups also received manualbased cognitive behavioral therapy (CBT) and motivation enhancement therapy (MET) during the 12-week course of the study.
Fluoxetine was well tolerated in this treatment population. No significant group-by-time interactions
were noted for any depression-related or cannabis-use related outcome variable over the 12-week
study. Subjects in both the fluoxetine group and the placebo group showed significant within-group
improvement in depressive symptoms and in number of DSM diagnostic criteria for a CUD. Large magnitude decreases in depressive symptoms were noted in both treatment groups, and end-of-study levels of depressive symptoms were low in both treatment groups.
Fluoxetine did not demonstrate greater efficacy than placebo for treating either the depressive
symptoms or the cannabis-related symptoms of our study sample of comorbid adolescents and
young adults. The lack of a significant between-group difference in these symptoms may reflect limited medication efficacy, or may result from efficacy of the CBT/MET psychotherapy (see [[Cornelius et al 2011 - CBT/MET]]) or from limited sample size.  
Follow on from CYT studies

J. R. Cornelius, A. Douaihy, O. G. Bukstein, D. C. Daley, S. D. Wood, T. M. Kelly and I. M. Salloum
Year: 2011

Evaluation of cognitive behavioral therapy/motivational enhancement therapy (CBT/MET) in a treatment trial of comorbid MDD/AUD adolescents

Journal: Addictive Behaviors
Volume: 36
Issue: 8
Pages: 843-848

Behavioral therapies developed specifically for co-occurring disorders remain sparse, and such therapies for comorbid adolescents are particularly rare. This was an evaluation of the long-term (2-year) efficacy of an acute phase trial of manualized cognitive behavioral therapy/motivation enhancement therapy (CBT/MET) vs. naturalistic treatment among adolescents who had signed consent for a treatment study involving the SSRI antidepressant medication fluoxetine and CBT/MET therapy for comorbid major depressive disorder (MDD) and an alcohol use disorder (AUD). We hypothesized that improvements in depressive symptoms and alcohol-related symptoms noted among the subjects who had received CBT/MET would exceed that of those in the naturalistic comparison group that had not received CBT/MET therapy. 
We evaluated levels of depressive symptoms and alcohol-related symptoms at a two-year follow-up evaluation among comorbid MDD/AUD adolescents who had received an acute phase trial of manual-based CBT/MET (in addition to the SSRI medication fluoxetine or placebo) compared to those who had received naturalistic care. 
In repeated measures ANOVA, a significant time by enrollment status difference was noted for both depressive symptoms and alcohol-related symptoms across the two-year time period of this study, with those receiving CBT/MET demonstrating superior outcomes compared to those who had not received protocol CBT/MET therapy. No significant difference was noted between those receiving fluoxetine vs. those receiving placebo on any outcome at any time point. 
These findings suggest long-term efficacy for an acute phase trial of manualized CBT/MET for treating comorbid MDD/AUD adolescents. Large multi-site studies are warranted to further clarify the efficacy of CBT/MET therapy among various adolescent and young adult comorbid populations.
J.R. Cornelius, A. Douaihy, O.G. Bukstein, D.C. Daley, S.D. Wood, T.M. Kelly, I.M. Salloum (2011) Evaluation of cognitive behavioral therapy/motivational enhancement therapy (CBT/MET) in a treatment trial of comorbid MDD/AUD adolescents.  Addictive Behaviors 36; 843–848

Behavioral therapies developed specifically for co-occurring disorders remain sparse, and such
therapies for comorbid adolescents are particularly rare. Thiswas an evaluation of the long-term(2-year) efficacy of an acute phase trial ofmanualized cognitive behavioral therapy/motivation enhancement therapy (CBT/MET) vs. naturalistic treatment among adolescents who had signed consent for a treatment study involving the SSRI antidepressant medication fluoxetine and CBT/MET therapy for comorbid major depressive disorder (MDD) and
an alcohol use disorder (AUD).Wehypothesized thatimprovements in depressive symptoms and alcohol-related symptoms noted among the subjects who had received CBT/MET would exceed that of those in the naturalistic comparison group that had not received CBT/MET therapy.
We evaluated levels of depressive symptoms and alcohol-related symptoms at a two-year follow-up evaluation among comorbidMDD/AUD adolescentswho had received an acute phase trial of manual-based CBT/ MET (in addition to the SSRI medication fluoxetine or placebo) compared to thosewho had received naturalistic care.
In repeated measures ANOVA, a significant time by enrollment status difference was noted for both depressive symptoms and alcohol-related symptoms across the two-year time period of this study, with those receiving CBT/MET demonstrating superior outcomes compared to those who had not received protocol CBT/MET therapy. 

No significant differencewas noted between those receiving fluoxetine vs. those receiving placebo on any outcome at any time point.
These findings suggest long-term efficacy for an acute phase trial of manualized CBT/MET for treating comorbid MDD/AUD adolescents. Large multi-site studies are warranted to further clarify the efficacy of CBT/MET therapy among various adolescent and young adult comorbid populations.

Data from two-year follow-up assessment in order to provide a first preliminary assessment of the
long-term efficacy of CBT/MET among comorbid MDD/AUD youth
Mainly alcohol	

Social ecological - engaging pts in non-SU-related activities	

28 days treatment	
Age mean 19.6yrs (undergraduates) and //non-clinical// 
Sample	30	


Alternative activities Vs Substance reduction Vs no Rx

Some effectiveness.  

Not very strong paper for purpose of review (age) but the group instructed to engage in alternative activities did so, and recorded signif less alcohol, and less SU days - and NB no bias by rewarding decr in SU, as told "You get a reward reagrdless of outcome of SU questionnaire.."
Cottrell D, Boston P (2002)
!Practitioner Review:The effectiveness of systemic family therapy for children and adolescents
Journal of Child Psychology and Psychiatry 43:5 (2002), pp 573–586

!DB summary:
Cottrell and Boston highlight the problems associated with assessing outcomes according to symptoms only, especially as the therapies under examination become increasingly multi-systemic in their orientation.  Meaningful outcomes are as likely to be found (even if measuring them is another challenge altogether) in changes outside of the domain of the child’s/adolescent’s symptoms, such as the domains of adaptation, transactional relationships, mechanisms of change, or service satisfaction.  A proxy measure for the latter, particularly relevant in the field of adolescent SUD, would be measures of engagement (see section below) and treatment retention.  But meaningful ways to capture the outcomes of treatment for a particular index adolescent on, say, parental substance misuse or family boundary-keeping, are elusive to say the least.
American J Addictions - effect of CBS on young users.

<html><div align="center"><iframe src="" frameborder="0" width="100%" height="600"></iframe></div></html>

Meta-analysis of MST trials:

1. Brunk et al. (1987)      n=43   Abusing/neglectful parents [Vs.Parent training] (d=1.32 SD=0.65)
2. Borduin et al. (1990)    n=16   Juvenile sexual offenders [Vs Individual therapy] (d=1.08 SD= 0.23)
3. Henggeler et al. (1991)  (Same sample as Studies 4 and 5)(d=0.64 SD=0.33)
4. Henggeler et al. (1992)  n=84   Violent and chronic juvenile offenders [Vs Individual therapy] (d=0.37 SD=0.13)
5. Borduin et al. (1995)    n=176  Violent and chronic juvenile offenders [Vs Individual therapy] (d=0.66 SD=0.43]
6. Henggeler et al. (1997)  n=155  Violent and chronic juvenile offenders [Vs Usual services] (d=0.27 SD=0.25)
7. Henggeler, Pickrel, et al. (1999) n=118 Substance abusing juvenile offenders [Vs Usual services] (d=0.25 SD=0.08)
8. Henggeler, Rowland, et al. (1999) n=116 Psychiatrically disturbed adolescents [Vs Usual services] (d=0.19 SD=0.92)
9. Brown et al. (1999) Same sample as Study 7 (d=0.60 SD=0.36)
10. Schoenwald, Ward, et al. (2000) Same sample as Study 9 0.52 0.22
11. Henggeler, Clingempeel, et al. (2002)Same sample as Study 7 0.15 0.02

''More empirical support is required before MST can be considered an effective treatment of substance abuse in adolescents or an effective community-based alternative to the hospitalization of youths presenting psychiatric emergencies.''

: J Psychoactive Drugs. 2004 Mar;36(1):27-33.Links
    Assessing the effectiveness of community-based substance abuse treatment for adolescents.
    Dasinger LK, Shane PA, Martinovich Z.

see also [[Morral et al 2006 RAND]]


    The Adolescent Treatment Models initiative, a 10-site, multimodality, prospective study, was designed to evaluate adolescent substance abuse treatment outcomes and to assess the relative efficacy of different treatment models. Based upon longitudinal data gathered at multiple assessment points using a standardized instrument, treatment outcome trajectories were determined for a cohort of 1,057 adolescents from entry into substance abuse treatment until 12 months post-intake. Client outcomes on substance use and program effectiveness were explored across individual treatment programs and levels of care. @@Strong treatment effects, defined as a significant reduction in alcohol and other drug use at three months post-intake, were found.@@

The reductions of greatest magnitude in relation to pretreatment use occurred among adolescents in residential treatment. 

@@Within level of care, few significant differences in treatment effects were found between programs.@@ 

Relapse effects, defined as an increase in substance use at 12 months relative to three months, were observed across nearly all programs, but varied in relation to treatment modality. This is @@most evident among those entering residential treatment, with the highest rate of relapse occurring among adolescents in long-term residential treatment care.@@ 

@@Despite strong evidence of treatment effectiveness, continuing care is vital to maintenance of treatment benefit.@@

DB text:

the programs in the ATM study were still found to be effective in and of themselves, and this supported findings in an earlier examination of ATM data by Dasinger et al (2004), in which treatment effects (particularly those observed at 3 months post treatment) were considerably more impressive.  Long Term Residential treatments in that study showed the greatest effects at 3 months (90 day alcohol and other drug use decreasing from 72.1 days at baseline to 10.8 days at 3 month follow-up, an 85% reduction, whilst Short Term Residential programs achieved a 71% reduction, and Outpatient/Intensive outpatient programs managed 30% reductions), but equally Long Term Residential subjects demonstrated the greatest relapse rates at one year, and despite the significant differences between the treatment models, Dasinger et al were not able to demonstrate different effectiveness between different treatments within any particular level of care (outpatient, short or long term residential.) 

A number of possible explanations are offered for the apparently poor showing in the RAND Corporation’s  (Morral et al) examination of the ATM data.  It is possible that, as a selection of treatments (that were put forward by CSAT as those particularly showing promise) they are all performing well, for which reason between-treatment comparisons do not show significant differences.  It is also possible that by examining outcomes at 12 months after treatment entry (rather than ‘in-treatment monitoring’ as one might expect for, say, diabetes or schizophrenia) this underplays and underestimates the chronicity and pervasiveness of adolescent SUD as a condition (Kazdin, 1987; McLellan et al, 2005), so that a single-episode treatment for the chronic portion of the adolescent SUD population makes no more sense than would a time-limited intervention to control a diabetic’s blood sugar.  The implications of this echo the conclusions of Dasinger et al; that attention to continuing care is vital to maintain early treatment benefits.
Alcohol & Alcoholism Vol. 39, No. 3, pp. 166–177, 2004

Good review worth quoting as reference text.

Jusification for using pharmacological interventions in adolescent alcoholics:

"Some adolescents with alcohol dependence will not live to
adulthood if left untreated. Therefore, medications that are
shown to be useful adjuncts to psychosocial treatments for
adolescent alcohol use disorders may help to reduce disease
prevalence, morbidity and mortality."
Reductions in and relations between bcravingQ and drinking
in a prospective, open-label trial of ondansetron in
adolescents with alcohol dependence

Dawes et al

Addictive Behaviors 30 (2005) 1630–1637


"Recently, we reported that ondansetron (a 5-HT3 antagonist) as an adjunct to cognitive behavioral therapy (CBT) produced significant within-group decreases (improvement) in drinking in adolescents with alcohol dependence. We previously have hypothesized that the mechanism of ondansetron treatment response in adolescents with alcohol dependence should be similar to early onset adult alcoholics, wherein blockade of serotonin-3 receptors may decrease dopamine release and subsequent alcohol consumption and craving. We now suggest that one mechanism by which ondansetron diminishes drinking in adolescents with alcohol dependence is through a reduction in @@craving@@ as measured by the @@__Adolescent Obsessive–Compulsive Drinking Scale (A-OCDS)__@@. 

We conducted an 8-week, prospective, open-label study of ondansetron (4 Ag/kg b.i.d.) in 12 adolescents (age 14–20 years) who had alcohol dependence. Results showed that "irresistibility" and total scores as measured by the A-OCDS were correlated significantly with drinking indices (drinks / day, percent days abstinent) at the end of treatment, and that @@"irresistibility"@@ and @@total A-OCDS@@ scores decreased significantly by the end of treatment. 

These preliminary results suggest that the A-OCDS can be useful as an outcome measure in clinical studies of adolescents with alcohol dependence."

@@DB: Primarily a test drive for the A-OCDS, (piggy-back study on the prelim open label study of Ondansetron [[Dawes et al Ondansetron 2005]] alongside this.)@@

"An adolescent version of the OCDS, the Adolescent Obsessive–Compulsive Drinking Scale (A-OCDS), has been developed recently (Deas, Roberts, Randall, & Anton, 2001) - ... - The A-OCDS yields a total score and two subscales, birresistibilityQ and binterference.Q The A-OCDS has been shown to be specific and sensitive to identify problematic drinking in adolescents and young adults who were college students (Deas, Roberts, Randall, & Anton, 2002) or were admitted to a dual-diagnosis inpatient unit (Deas, Thomas, Randall, & Anton, 2002). In both of these studies, threshold scores were used to indicate the presence of problem drinking, though none of the participants had been diagnosed with an alcohol use disorder.

The utility of the A-OCDS as a quantitative measure of the severity of craving in adolescent alcoholics is the topic of an article in this issue of Addictive Behaviors (Thomas & Deas, 2005). The A-OCDS has yet to be used to examine changes in drinking and craving in adolescents over the course of treatment for alcohol use disorders, @@which is the focus of the present study.@@"

[[Ondansetron]] known to be effective in early onset alcoholism in adults 


Enrolled participants were seeking treatment for DSM-IValcohol dependence (7 males and
5 females) and were between the ages of 14 and 20 years.
Addictive Behaviors 30 (2005) 1077–1085
''A prospective, open-label trial of ondansetron in adolescents with alcohol dependence''
Michael A. Dawesa,*,1, Bankole A. Johnsona, Nassima Ait-Daouda,
Jennie Z. Maa, Jack R. Corneliusb

@@gets 4star because nothing else around and a promising start - need controlled stufdy with more numbers/power now..@@

[[Ondansetron]] has been shown to be effective in the treatment of early-onset adult alcohol dependence. To date, no studies have been conducted in adolescents with alcohol dependence to assess the feasibility, safety, tolerability, and potential utility of ondansetron treatment. We conducted an 8-week, prospective, open-label study of ondansetron (4 Microgrammes/kg b.i.d.) in 12 adolescents who had alcohol dependence. Oral ondansetron was safe and well tolerated in our sample. Adverse events were mild and resolved quickly without intervention. No subjects discontinued due to adverse events. Intent-totreat
analyses showed a significant within-group decrease (improvement) for drinks/drinking day (t= - 3.10, df=11, p=0.01), as well as decreases in drinks/day (t= - 2.01, df=11, p=0.06) and percentage of days abstinent (t=1.45, df=11, p=0.18). These preliminary data suggest that ondansetron is safe and well tolerated in adolescents with alcohol dependence. Findings of decreased drinking underscore the need for future double-blind, placebo-controlled studies in this adolescent population.

@@Rationale for Ondansetron:@@
"Ondansetron has been shown to be efficacious only in the treatment of EOA adults who had developed alcohol dependence more than 15 years prior to study enrollment (Johnson et al., 2000; Kranzler, Pierucci-Lagha, Feinn, & Hernandez-Avila, 2003). Johnson et al ''[Johnson, B. A., Roache, J. D., Javors, M. A., DiClemente, C. C., Cloninger, C. R., Prihoda, T. J., et al. (2000). "Ondansetron for reduction of drinking among biologically predisposed alcoholic patients: A randomized controlled trial. JAMA: The Journal of the American Medical Association, 284, 963–971]'' showed that in a sample of EOA adults (N=161), but not in late-onset alcohol-dependent (LOA) adults (N=160), ondansetron was superior to placebo at improving drinking outcomes. Although the 1-, 4-, and 16-Ag/kg doses of ondansetron twice per day all decreased alcohol consumption significantly in EOA adults, the 4-Ag/kg dose appeared to result in the best drinking outcomes. 

In a recent prospective, open-label study of ondansetron for EOA adults compared with LOA adults (N=40; 20 EOA, 20 LOA), EOA adults had significantly greater decreases in drinks/day, drinks/drinking day, and alcohol-related problems (Kranzler et al., 2003) ''[Kranzler, H. R., Pierucci-Lagha, A., Feinn, R., & Hernandez-Avila, C. (2003). Effects of ondansetron in early versus late-onset alcoholics: A prospective, open-label study. Alcoholism, Clinical and Experimental Research, 27, 1150–1155.]''. In both of these EOA adult samples, ondansetron was safe and well tolerated."

We enrolled 12 treatment-seeking subjects (7 males and 5 females) between the ages of
14 and 20 years. All subjects had a DSM-IV diagnosis of alcohol dependence. Subjects
were currently drinking greater than 12 alcohol-containing drinks in the last 30 days prior to
enrollment and reported impairment due to drinking.

Quite a few exclusions:
if they had 
#substance abuse or dependence other than for alcohol, marijuana, or nicotine within 4 weeks prior to screening or 
#other psychiatric comorbidity of sufficient severity to preclude participation in the trial. 
#subjects treated with medication for attention deficit hyperactivity disorder.
#clinically significant elevation of liver enzymes or serious medical co-morbidity that required medical intervention, including severe withdrawal symptoms; 
#female subjects who were pregnant, lactating or breastfeeding, 
#or not adhering to an acceptable form of contraception at any time during the study; 
#subjects with histories of severe or life-threatening adverse reactions to medications; 
#subjects who had undergone inpatient or outpatient treatment for alcohol abuse or dependence within the last 30 days;
#subjects forced to participate in an alcohol treatment program to maintain their liberty; 
#members of the same household; and 
#subjects taking concurrent medications having a potential effect on alcohol consumption and related behaviors, or mood.

But...@@still quite a realistic sample@@ (DB)....."The mean age was 18.0 years (range: 14–20 years) ...the ''majority of adolescents had disruptive behavior disorders'' and ''three had mood disorders''. In addition to alcohol dependence, ''10 of 12 subjects also met DSM-IV-R criteria for cannabis dependence.''"


__pre Rx__
Children’s Interview for Psychiatric Syndromes (ChIPS)
Adoelscent Diagnositic Interview
TLFB (and weekly thereafter)...
4 Microgramme/kg p.o. b.i.d. of ondansetron, administered in opaque gelatin capsules. All subjects received weekly cognitive behavioral therapy (CBT), with motivational enhancement, after an initial functional analysis.


#Pill counts were conducted weekly to assess compliance. 
#Primary drinking outcome was self-reported alcohol consumption 
##frequency: drinks/day, 
##severity: drinks/drinking day
##abstinence: percentage of days abstinent

Intent-to-treat analyses showed significant within-group decreases (improvement) for drinks/drinking day (t= - 3.10, df=11, p=0.01). During the course of the study, drinks/day (t= - 2.01, df=11, p=0.06) and percentage of days abstinent (t=1.45, df=11, p=0.18) also decreased.

A Double!Blind, Placebo Controlled Trial of Sertraline in Depressed Adolescent Alcoholics - A Pilot Study

In order to preliminarily evaluate the efficacy safety and tolerability of the serotonin reuptake inhibitor sertraline in the treatment of adolescents with a primary depressive disorder and a comorbid alcohol use disorder. A 12 week double blind placebo-controlled trial of sertraline plus cognitive behavior group therapy was conducted
were @@10 outpatient treatment-seeking adolescents@@ - - - @@NB very low power@@
''Baseline assessment''
included the K-SADS/HAM-D/SCID and the Time-Line Follow-Back.
The HAM-D and the Time-Line Follow-Back were performed weekly thereafter
Both groups showed a signifcant reduction in depression scores with an average reduction between baseline and endpoint
HAM-D score of -9.8 (F(1,8) = 26.14, p<0.001) though @@there were no signifcant group differences.@@

There was an overall reduction in Percent Days Drinking "PDD" (F(1,8) = 8.90, p<0.02) and in Drinks Per Drinking Day (F(1,8) = 20.48, p<0.002) however, @@there were no group differences@@ 

Depression responders tended to have higher baseline PDD than non-responders (not quite signif) and change in HAM-D scores tended to correlate with change in PDD (r = 0.57, p=0.09). Our data support that sertraline is safe and well tolerated in the treatment of adolescents with depression and alcohol dependence. Small sample size and cognitive behavior group therapy
given to all subjects may limit the lack of group differences.

This research was supported by grant AA09650 from the National Institute of Alcohol and Alcoholism NIAAA
Naltrexone Treatment of Adolescent Alcoholics: An Open-Label Pilot Study
Deborah Deas, M.D.,1 M.P.H., Kim May, Ph.D.,2 Carrie Randall, Ph.D.,1
Natalie Johnson, M.A.,1 and Raymond Anton, M.D.
Volume 15, Number 5, 2005 Pp. 723–728

This 6-week open-label trial of naltrexone was conducted in a preliminary fashion to determine whether naltrexone would be safe, well tolerated, and lead to a reduction in alcohol consumption in adolescents with alcohol dependence.
Five (@@NB VERY SMALL NUMBERS@@) outpatient treatment-seeking adolescents who met Diagnostic and Statistical Manual of Mental Disorders, 4th edition (DSM-IV) criteria for alcohol dependence were recruited.

The Child Schedule for Schizophrenia and Affective Disorders (K-SADS), Structured Clinical Interview for DSM (SCID), and the Family History Questionnaire were administered at baseline. 
The Time-Line Follow-Back (TLFB) and two craving scales (Adolescent Obsessive Compulsive Drinking Scale [A-OCDS] and a craving analog scale) were administered at baseline and weekly thereafter. 

@@Each subject received a 10-day supply of Naltrexone (50 mg) and a 100-mg riboflavin capsule.@@
Subjects were instructed to take naltrexone and riboflavin simultaneously.

Overall, the average drinks per drinking day (DDD) decreased significantly from baseline to the end of week 6 with an average reduction of 7.61 standard drinks. 

There was a significant reduction in the average A-OCDS total score, A-OCDS Irresistibility subscale score, and craving analog score. 

Nausea was the only side-effect reported, and there were no elevations of liver enzymes. Naltrexone was well tolerated by the alcohol-dependent adolescent.

Our data suggest that naltrexone is safe and well tolerated in adolescent alcoholics. Naltrexone may lead to a significant reduction in alcohol consumption and craving in adolescent alcoholics, but larger, randomized, controlled trials are needed.
[[Copyright - licensed material]]
''The Cannabis Youth Treatment (CYT) experiment: rationale, study design and analysis plans''	
Dennis et al 2002 Addiction, 97 (Suppl 1), 16–34

median duration of outpatient treatment in practice is only about 2 months,

See [[Diamond et al 2002]] for the interventions...

@@NB reviewed in [[Waldron and Kaminer 2004]]@@

provides a description of the rationale, study design, treatments
and assessment procedures used in the Cannabis Youth Treatment (CYT)

"designed to 
(a) test the relative effectiveness, cost and benefit– cost of five promising treatment interventions under field conditions and 
(b) provide evidence based manual-guided models of these interventions to the treatment field."

''Re. robustness of trials''

"CYT is the largest randomized field experiment ever undertaken" to evaluate the relative effectiveness of adolescent outpatient drug abuse treatments. It incorporated many features that have been recommended to establish efficacious behavioral interventions including:

(a) replicating interventions by independent research teams in different settings (including actual practice sites); 
(b) comparing interventions with other well implemented interventions;
(c) evaluating interventions with a clearly defined target population that mirrors the population found in regular practice settings; 
(d) assessment of subsequent treatment and symptom status during follow-up; and 
(e) the use of treatment manuals and therapist training and monitoring procedures (Chambless & Hollon 1998).

!"The five treatment models were evaluated in two research arms or studies..." 
A. In the ‘incremental arm’, each subsequent intervention builds upon earlier ones both clinically and in terms of resources: (MET/CBT5)<(MET/CBT12)<FSN. 
B. In the ‘alternative arm’, additional services are provided but in a way that requires fewer total resources (e.g. providing substance use treatment via family therapy instead of family therapy in addition to substance abuse treatment): MET/CBT5, or ACRA, or MDFT. 

"The primary goal was to produce manual guided treatment models that could be rigorously evaluated and readily disseminated to the field."

''Re. Non-ethical nature of having a non-treatment control for Cannabis intervention study (CYT)''

“CSAT explicitly ruled out an untreated control group as unethical because past studies have shown consistently that untreated or minimally treated adolescents become worse or fail to improve 
( Jessor & Jessor 1975; Beschner & Friedman 1979; Lewis et al. 1990; Henggeler et al.1991; Azrin et al. 1994; Borduin 1999; Henggeler et al 1999; Hofler et al. 1999; Perkonigg et al 1999; Winters et al. 2000)”


median duration of outpatient treatment in practice is only about 2 months,


12 - 18 yrs, CBS use in last 90 days,
Included CBS abuse (not just dependency) - more realistic sample... various exclusions, e.g. not other drugs for >13/90 previous days (or days prior to incarceration)

"Of the 1244 adolescents screened, 44% were ineligible
B with over 20% being too severe for outpatient treatment.
This is approximately the same proportion as the
national rates for residential treatment (Dennis
et al 2002a). Of the 702 who were eligible, 600 (85%) agreed
to participate, even though over half the participants
reported they did not think they needed treatment or that
they did not want treatment at this time. Thus, while participation
was ‘voluntary’, it is clear that most adolescents
were under some pressure to participate from their
parents or the criminal justice system (see Webb
et al 2002 for a further discussion of this issue)"

CBS	see above		yes	80	yes +++	85	yes	80	245	
[[Tetzlaff 2005]] and [[Schell 2005]] for related studies
Michael Dennis, Susan H. Godley, Guy Diamond, Frank M. Tims, Thomas Babor, Jean Donaldson, Howard Liddle, Janet C. Titus, Yifrah Kaminer, Charles Webb, Nancy Hamilton, Rod Funk (2004)
!The Cannabis Youth Treatment (CYT) Study: Main findings from two randomized trials
Journal of Substance Abuse Treatment 27 (2004) 197–213

''The Cannabis Youth Treatment Study: The treatment models and preliminary findings.''

See  [[Diamond et al 2002]] [[Dennis et al 2002]]

The days of abstinence
per quarter (the solid line on top) increased from 52
(of 90) in the quarter before intake to an average of 65 days
per quarter (+24%) across the four followup periods. The
overall change occurred during active treatment (from
intake to month 3) and was stable across followup, though
individuals did vary (intraclass correlation coefficient
[ICC] = .47). The percent of adolescents in recovery at
each interview increased from 3% at intake to an average of
24% across the four followup periods. Again, across
conditions and sites, change occurred during active treatment,
was stable across followup waves, and individual
adolescents continued to move in and out of recovery
(ICC = .33)


This study examined the relative clinical effectiveness
and cost-effectiveness of five short-term (90 days or less)
outpatient treatments for adolescents with cannabis use
disorders in two randomized trials with 600 adolescents
from four sites. All five CYT interventions demonstrated
significant pre-post treatment effects that were stable in
terms of increasing days of abstinence during the 12 months
after they were randomized to a treatment intervention and
the percent of adolescents in recovery at the end of the
study. Overall, the clinical outcomes were very similar
across sites and conditions. The effect sizes were generally
small (CohenTs f = .1) and varied by measure and site. 
See also [[Tetzlaff 2005]] and [[Schell 2005]] for related studies

CYT conclusions

(a) the five treatments can be delivered
in the manner intended and can be differentiated quantitatively
and qualitatively; 
(b) the costs of these treatments
differ in predictable ways associated with their intensity but
all are roughly within the bounds now commonly spent on
adolescent outpatient treatment (see French et al., 2002); 
(c) the treatments are reasonably acceptable to the adolescents
and their families as evidenced by participation and
retention rates reported above; 
(d) many (though certainly not all) of these adolescent cannabis users show significant
improvement in substance use and in other measures
bduringQ treatment (months 0–3) and these improvements
are sustained for significant periods following treatment
(e) the amount and duration of the clinical
improvements were very similar between sites and across
treatments; and 
(f) the cost-effectiveness differences are
moderate to large.

''__Conclusions of CYT:__
"Thus, while the CYT interventions
were relatively effective as initial interventions, they were
not enough to interrupt all future substance use and
problems for many adolescents. For significant subgroups
of clinically referred teens, the conceptualization of their
drug problems as a chronic condition (Kazdin, 1987)
suggests the need to focus more on monitoring and reintervention
or continuing care."''

The relative efficacy of pamphlets, CD-ROM, and the Internet for
disseminating adolescent drug abuse prevention programs:
an exploratory study
Jennifer Di Noia, Ph.D.,a,b,* Traci M. Schwinn, M.S.,a,b Zubin A. Dastur, M.P.H.,c and
Steven P. Schinke, Ph.D.a,

Preventive Medicine 37 (2003) 646–653

@@using CD rOMs and Internet to distribute prevention materials to professionals who will use these is just (or more) effective as using pamplhlets@@

Despite the availability of an increasing array of empirically validated adolescent drug abuse prevention programs, program materials and evaluation findings are poorly disseminated. CD-ROM and the Internet hold promise for disseminating this information to schools and agencies that directly serve youth, and to policy-making bodies that exercise control over funds to support adolescent drug abuse prevention programming. However, data on the relative efficacy of these newer technologies over conventional print means of dissemination are lacking.

Recruited through schools, community agencies, and policy-making bodies, @@188 professionals@@ were randomized to receive prevention program materials 
#via pamphlets (55 participants), 
#CD-ROM (64 participants), and 
#the Internet (69 participants). 
Participants completed pretest, posttest, and 6-month follow-up measures that assessed their access to prevention program materials; self-efficacy for identifying, obtaining, and recommending these programs; and their likelihood of requesting, implementing, and recommending prevention programs to their constituents. 
''Results''. P
articipants exposed to dissemination via CD-ROM and the Internet evidenced the greatest short- and long-term gains on
accessibility, self-efficacy, and behavioral intention variables.
Conclusions. CD-ROM and the Internet are viable means for disseminating adolescent drug abuse prevention programs to schools,
community agencies, and policy-making bodies, and should be increasingly used for dissemination purposes.
Five outpatient treatment models for adolescent
marijuana use: a description of the Cannabis Youth
Treatment Interventions


Describes the five different Rx models in the CYT	
#[[MET/CBT]] 5
#[[MET/CBT]] 12, 
#[[FSN]] (CBT/MET + Family group psycho Ed, case managements and home visits) 

Theoretical differences between the different modalities
yes 600 - exclude severe comorbidity, but high levels of comorbidity.  
? Severity - note 52/90 days abstinent before the trial started!	
Very strong methodology - manualised, randomised, measures, etc	
Outcomes... incl. GAIN semi-structured interview

24% incr in abstinence/recovery across all Rx groups. 
Trial 1: [[MET/CBT]]5 highest (27%) then [[FSN]] (22%) then [[MET/CBT]]12 (17%) 
Trial 2: [[ACRA]] (34%), MET/CBT5 (23%) and [[MDFT]](19%) 

"The effect sizes genearlly small (Cohen's f = 0.1)".  

Including ''moderate-large cost-effectiveness differences''; MET/CBT > FSN, and ACRA and MET/CBT>MDFT.
!Family-Based Treatment Research: A 10-Year Update
J. Am. Acad. Child Adolesc. Psychiatry, 2005;44(9):872–887.

Good General Review of Family therapy - only small section on SUD

MDFT the most developed for SUD in adolescents [[Liddle et al 2001]] and Liddle 2002 (treatment manual for CYT)

Add-on study from the CYT.  Looked at ALLIANCE and outcomes, 

meausured via the Working Alliance Inventory (WAI) - a validated instrument.	

diff doses - looking at effects of Therapeutic alliance on Rx ATTENDANCE and Rx outcome.	

greater than 600 pts

Predicted that better alliance -> better attendance and better outcome, and that patient-rated alliance would better predict than therapist-rated alliance

"EArly alliance //not// very strong assoc with outcomes (Patient-rated alliance accounted for less than 3% of the variance for predicting outcomes at multiple time points)  

Alliance (//patient-rated//) DID predict CBS use at 3/12 and 6/12 but not at other times 

''NB [[Shirk and Carver 2003]]  found that //therapist-rated// alliance was the one that was predictive, not patient-rated...''

Most relaible predictor was baseline SU rates. 

See my notes in ""Quotes for planning""...  

Note level of COERCION involved in Treatments - CYT no exception: 

"In contrast to voluntary participation in
many of the adult studies, adolescents in CYT were
often coerced into treatment by outside agencies and/or
brought to treatment by their parents. 

In fact, 61% were referred by juvenile justice, schools, or other social systems,
and 22% were referred by parents. 

These conditions may inflate alliance ratings when patients feel they need
to appear compliant with treatment. 

Furthermore, most adolescents in the CYT study were not interested in
reducing their marijuana use. Within this sample, 81%
reported that, in general, their substance use was not a
problem, and 74% denied needing services."
|''Description''|highlighting of text comparisons|
Highlights changes in a unified [[diff|]].
Based on Martin Budden's [[DiffFormatterPlugin|]].
The formatter is applied to blocks wrapped in <html><code>{{{diff{..}}}</code></html> within tiddlers tagged with "diff".
!Revision History
!!v0.9 (2010-04-07)
* initial release; fork of DiffFormatterPlugin
.diff { white-space: pre; font-family: monospace; }
.diff ins, .diff del { display: block; text-decoration: none; }
.diff ins { background-color: #dfd; }
.diff del { background-color: #fdd; }
.diff .highlight { background-color: [[ColorPalette::SecondaryPale]]; }
(function() {

config.shadowTiddlers.StyleSheetDiffFormatter = store.getTiddlerText(tiddler.title + "##StyleSheet");
store.addNotification("StyleSheetDiffFormatter", refreshStyles);

var formatters = [{
		name: "diffWrapper",
		match: "^\\{\\{diff\\{\n", // XXX: suboptimal
		termRegExp: /(.*\}\}\})$/mg,
		handler: function(w) {
			var el = createTiddlyElement(w.output, "div", null, "diff");
			w.subWikifyTerm(el, this.termRegExp);
	}, {
		name: "diffRange",
		match: "^(?:@@|[+\\-]{3}) ",
		lookaheadRegExp: /^(?:@@|[+\-]{3}) .*\n/mg,
		handler: function(w) {
			createTiddlyElement(w.output, "div", null, "highlight").
				innerHTML = "&#8230;";
			this.lookaheadRegExp.lastIndex = w.matchStart;
			var lookaheadMatch = this.lookaheadRegExp.exec(w.source);
			if(lookaheadMatch && lookaheadMatch.index == w.matchStart) {
				w.nextMatch = this.lookaheadRegExp.lastIndex;
	}, {
		name: "diffAdded",
		match: "^\\+",
		termRegExp: /(\n)/mg,
		handler: function(w) {
			var el = createTiddlyElement(w.output, "ins", null, "added");
			w.subWikifyTerm(el, this.termRegExp);
	}, {
		name: "diffRemoved",
		match: "^-",
		termRegExp: /(\n)/mg,
		handler: function(w) {
			var el = createTiddlyElement(w.output, "del", null, "removed");
			w.subWikifyTerm(el, this.termRegExp);

config.parsers.diffFormatter = new Formatter(formatters);
config.parsers.diffFormatter.format = "diff";
config.parsers.diffFormatter.formatTag = "diff";

Deviant Peer Influences in Programs for Youth Problems and Solutions

 Authors:Dodge, Kenneth A., Ed.; Dishion, Thomas J., Ed.; Lansford, Jennifer E., Ed. 

Source:Guilford Publications 
Publisher:Guilford Press. 
Publication Date:2006-00-00 

''NB - in 1999 (?check date) Dishion suggested/demonstrated that Group work with deviant peer groups (SUD, CD, etc) was potentially contraindicated as it led to iatrogenic effects (peer influences were negative) - since then the CYT has challenged this [[Burleson et al 2006]]''

Most interventions for at-risk youth are group based. Yet, emerging research indicates that young people often learn to become deviant by interacting with deviant peers. In this important volume, leading intervention and prevention experts from psychology, education, criminology, and related fields analyze how, and to what extent, programs that aggregate deviant youth actually promote problem behavior. 

A wealth of evidence is reviewed on deviant peer influences in such settings as therapy groups, alternative schools, boot camps, group homes, and juvenile justice facilities. 

Concrete recommendations are offered for improving existing services, and promising alternative approaches are explored. 

This book is arranged into three parts. 

Part I, Introduction, contains the first five chapters: 
(1) The Problem of Deviant Peer Influences in Intervention Programs (Kenneth A. Dodge, Jennifer E. Lansford, and Thomas J. Dishion); 
(2) Deviant Peer Influence in Interventions and Programs: An Ecological Framework for Understanding Influence Mechanisms (Thomas J. Dishion and Kenneth A. Dodge); 
(3) Deviant Peer Effects: Perspectives of an Epidemiologist (James C. Anthony); 
(4) Assigning Youths to Minimize Total Harm (Philip J. Cook and Jens Ludwig); and 
(5) Is Deviant Peer Influence a Problem, and What Can Be Done?: Qualitative Perspectives from Four Focus Groups (Jennifer E. Lansford and Joel Rosch). 

Part II, Reviews of Peer Effects, contains the next group of chapters: 
(6) Deviant Peer-Group Effects in Youth Mental Health Interventions (Kenneth A. Dodge and Michelle R. Sherrill); 
(7) Deviant Peer Effects in Education (Wendy M. Reinke and Hill M. Walker); 
(8) Peer Effects in Juvenile Justice (D. Wayne Osgood and Laine O'Neill Briddell); 
(9) The Effects of Community-Based Group Treatment for Delinquency: A Meta-Analytic Search for Cross-Study Generalizations (Mark W. Lipsey); 
(10) Peer Effects in Neighborhoods and Housing (Jacob Vigdor); 
(11) Iatrogenic Outcomes of the Child Welfare System: Vulnerable Adolescents, Peer Influences, and Instability in Foster Care Arrangements (Melvin N. Wilson and LaKeesha N. Woods); 
(12) Peer Effects in Community Programs, (Jennifer E. Lansford); and 
(13) Peer Effects in Naturally Occurring Groups: The Case of Street Gangs (Malcolm W. Klein). 

Part III, Promising Solutions and Recommendations, contains the final chapters: 
(14) Research-Based Prevention Programs and Practices for Delivery in Schools That Decrease the Risk of Deviant Peer Influence (Rebecca B. Silver and J. Mark Eddy); 
(15) Promising Solutions in Juvenile Justice (Peter Greenwood); 
(16) The Important Role of Adults in Children's Lives: Prevention Approaches to Improve Child and Adolescent Behavior and Reduce Deviant Peer Influence (Emilie Phillips Smith, Jean Dumas, and Ron Prinz); 
(17) Promising Solutions in Housing and the Community (Jens Ludwig and Greg Duncan); 
(18) Creating a Legal and Organizational Context for Reducing Peer Influence (Joel Rosch and Cindy Lederman); 
(19) A Functional Contextualist Framework for Affecting Peer Influence Practices (Anthony Biglan, Jeffrey Sprague, and Kevin J. Moore); and 
(20) Findings and Recommendations: A Blueprint to Minimize Deviant Peer Influence in Youth Interventions and Programs (Thomas J. Dishion, Kenneth A. Dodge, and Jennifer E. Lansford.) 

[This book was published by Guilford Publications.]

Dishion TJ, Dodge KA. 
Peer contagion in interventions for children and adolescents: moving toward an understanding of the ecology and dynamics of change. 
J Ab Child Psych. 2005;33:395–400

modify their postion from [[Dishion et al 1999]] slightly:

''"The deviancy training dynamic is a process, and may or may not occur depending on the characteristics of the participants,
the skill of the group leader, and the context of the intervention."''
Dishion TJ, McCord J, Poulin F. 
When interventions harm: Peer groups and problem behavior. 
Am Psych. 1999;54:755–764.

''"Association with deviant peers in early adolescence, under some circumstances, inadvertently reinforces problem behavior."''

Their research was based on pre - early adolescents, though - not generalisable to ALL settings ages...

but gets 5Star as  +++ influential

challenged in [[Burleson et al 2006]] - CYT evidence and [[Waldron and Kaminer 2004]]

Modified in [[Dishion and Dodge 2005]]

Drug-screening - Not necessarily effective , ''some evidence it exacerbates risk factors''…

Goldberg, L., Elliot, D. L., MacKinnon, D. P., Moe, E. L., Kuehl, K. S., Yoon, M. et al. (2008). Erratum: "Outcomes of a prospective trial of student-athlete drug testing: The student athlete testing using random notification (SATURN) study". 

"Outcomes of a prospective trial of student-athlete drug testing: The Student Athlete Testing Using Random Notification (SATURN) study" by Linn Goldberg, Diane L. Elliot, David P. MacKinnon, Esther L. Moe, Kerry S. Kuehl, Myeongsun Yoon, Aaron Taylor and Jason Williams (Journal of Adolescent Health, 2007[Nov], Vol 41[5], 421-429). 

''Purpose'': To assess the effects of random drug and alcohol testing (DAT) among high school athletes. 

''Methods'': This was a 2-year prospective randomized controlled study of a single cohort among five intervention high schools with a DAT policy and six schools with a deferred policy, serially assessed by voluntary, confidential questionnaires. DAT school athletes were at risk for random testing during the full academic year. Positive test results were reported to parents or guardians, with mandatory counseling. Indices of illicit drug use, with and without alcohol use, were assessed at the beginning and end of each school year for the past month and prior year. Potential mediating variables were evaluated. 

''Results'': Student-athletes from intervention and control schools did not differ in past 1-month use of illicit drug or a combination of drug and alcohol use at any of the four follow-up periods. At the end of the initial school year and after 2 full school years, student-athletes at DAT schools reported less drug use during the past year (p < .01) compared to athletes at the deferred policy schools. Combining past year drug and alcohol use together, student-athletes at DAT schools reported less use at the second and third follow-up assessments (p < .05). 

''Paradoxically, DAT athletes across all assessments reported less athletic competence (p < .001), less belief authorities were opposed to drug use (p < .01), and indicated greater risk-taking (p < .05). At the final assessment, DAT athletes believed less in testing benefits (p < .05) and less that testing was a reason not to use drugs (p < .01)''. 

''Conclusions'': No DAT deterrent effects were evident for past month use during any of four follow-up periods. Prior-year drug use was reduced in two of four follow-up self-reports, and a combination of drug and alcohol use was reduced at two assessments as well. ''Overall, drug testing was accompanied by an increase in some risk factors for future substance use.'' More research is needed before DAT is considered an effective deterrent for school-based athletes. 

''__Similar findings – reduces drug use but exacerbates risk factors and negative attitudes towards school…__''

Goldberg, L. (2003). Drug testing athletes to prevent substance abuse: background and pilot study results of the SATURN (Student Athlete Testing Using Random Notification) study.
''PURPOSE'': To assess the deterrent effect of mandatory, random drug testing among high school (HS) athletes in a controlled setting. 
''METHODS'': Two high schools, one with mandatory drug testing (DT) consent before sports participation, and a control school (C), without DT, were assessed during the 1999-2000 school year. Athletes (A) and nonathletes (NA) in each school completed confidential (A) or anonymous (NA) questionnaires developed for this study, respectively, at the beginning and end of the school year. Positive alcohol or drug tests required parent notification and mandatory counseling without team or school suspension. Thirty percent of the DT athletes were tested. Data were analyzed using the end of the school year measure, adjusted for the initial questionnaire results. Demographics of the athlete sample revealed that mean age was 15.5 years with 81.5% white, 9.6% Hispanic, 4.5% Asian, 2.6% American Indian/Native Alaskan, 1.3% African-American, and 1.3% Native Hawaiian/Pacific Islander. 

''RESULTS'': A (n = 276) and NA (n = 507) were assessed at the beginning (baseline) and at the end of the school year (A, n = 159; NA, n = 338). The past 30-day index of illicit drugs (4-fold difference) and athletic enhancing substances (3-fold difference) were lower (p < .05) among DT athletes at follow-up without difference in alcohol use. However, most drug use risk factors, including norms of use, belief in lower risk of drugs, and poorer attitudes toward the school, increased among DT athletes (p < .05). Although a reduction in the illicit drug use index was present among nonathletes at the DT school, at the end of the school year, it did not achieve statistical significance (p < .10). 

''CONCLUSIONS'': Random DT may have reduced substance use among athletes. However, ''worsening of risk factors and small sample size suggests caution to this drug prevention approach''. A larger long-term study to confirm these findings is necessary. Copyright Society for Adolescent Medicine, 2003
!Kah Mirza - 2012 addictions conference

Oxytocin (attachment releases) -> secure base, self worth, etc -> absence -> ?heroin/opiates 

Dopamine (Drives, motivations, goals) -> vulnerability to other drug types...

''Treatment process in the therapeutic community: Associations with retention and outcomes among adolescent residential clients''
Maria Orlando Edelen, (Ph.D.)a,4, Joan S. Tucker, (Ph.D.)a,
Suzanne L. Wenzel, (Ph.D.)a, Susan M. Paddock, (Ph.D.)a,
Patricia A. Ebener, (B.A.)a, Jim Dahl, (Ph.D.)b, Wallace Mandell,
''Journal of Substance Abuse Treatment 32 (2007) 415– 421''

Part of the larger RAND STUDY [[Morral et al 2006 RAND]]

Measuring the therapeutic treatment environment and patient-specific changes in ''Therapeutic Community'' treatment of SUD adoelscents, suing a new instrument the ''DCI - Dimensions of Change Instrument'' (Orlando, M., Wenzel, S. L., Ebener, P., Edwards, M. C., Mandell, W., & Becker, K. (2006). The dimensions of change in therapeutic community treatment instrument. Psychological Assessment, 18, 118–122)

Dichotomize length of stay into <90 days and >90 days (>90 demonstrated to be associated with improved outcomes).

Is there any aspect of TC Rx that the DCI can reliably measure which predicts RETENTION and/or OUTCOME?

Post treatment Outcome measures:

#self-reported abstinence from drug and alcohol use, 
#12-step meeting attendance, 
#Having a 12-step sponsor,
#engaging in work or school, 
#no involvement in illegal activity, 
#no exposure to substance-using peers, 
...assessed using a past 30-day time frame approximately 3 months after treatment exit.

#to identify characteristics that predict treatment retention and posttreatment outcomes and adjust for these characteristics in subsequent analyses. 
#to provide evidence for the predictive utility of changes in DCI scores in terms of whether adolescent clients remain in treatment for 90 days or longer.
#to examine whether changes in these components of the TC treatment process, as well as 90-day treatment retention, predict positive outcomes approximately 3 months after leaving treatment.

8 in-pt units in New York, New England, California, and Texas
Data from:
#admission details
#interview in first 2 weeks of admission
#interview after 30 dyas admission
#dishcarge details
#telephone interview c. 30 days post discharge

n = 397 (those who remained in-pts long enough to complete the 30 day assesst;  relative to the shorter stayers, this group were more likely to be referred by Crim justice and to name CBS and Alc as drugs of choice.)

Of these 397, only 241 had left Rx at the 6/12 follow up date - the rest were still in the TC or had moved to other residential setting, or were lost to f/up.  ''Differences exisited between the sample and those ineligible or lost to F/up...'' - sample more ikely to be White, less likely to be African American, less likely to have been referred by crim justice system, less likely to have been arrrested, etc...

eight distinct factors:
#Community Responsibility (4 items, a = .60 and .75 for baseline and 30-day, respectively); 
#Clarity and Safety (6 items, a =.81 and .84); 
#Group Process (6 items, a = .78 and .83); 
#Resident Sharing, Support, and Enthusiasm (8 items, a = .82 and .86); 
#Introspection and Self-Management (7 items, a = .80 and .83); 
#Positive Self-Attitude and Commitment to Abstinence (9 items, a = .85 and .86);
#Problem Recognition (5 items, a = .81 and .86); and 
#Social Network (3 items, a = .71 and .71)


Very few statisitcally significnat PRE-treatment predictors of postive outcome... (White Vs hispanic, non crim jiustice Vs crim justice route into Rx, etc)

__Re. the DCI, the only three factors significnatly ''associated with increased retention'' (>90 days) were:__

#Positive Self- Attitude and Commitment to Abstinence OR = 1.56 (95% C.I. = 1.03–2.35)
#Problem Recognition OR=1.38 (95% C.I. = 1.01–1.89)
#Social Network OR = 1.38 (C.I.= 1.02–1.87)

''NB these are all individual change items - none of the group/milieu setting items associated with postivie outcomes.''

"Together, these results suggest that it may be beneficial for programs to facilitate development of self-worth and responsibility for one’s actions @@and to encourage adolescents to recognize that they are not without social support outside of the treatment program...@@"

..."The lack of association between the TC environment factors (e.g., community responsibility, clarity and safety, group process, resident support and enthusiasm) and treatment retention was unexpected. One possible interpretation of this finding is that early buy-in to the structured TC environment—that is, believing that it is important for everyone to do their share of work, understanding the requirements for program completion, feeling that the program is a safe place, being actively engaged in program meetings and encounter groups—is insufficient to retain adolescent clients in treatment."

Changes in DCI not associated with post-treatment outcomes, but longer treatment stays correlated with incr attnedance at 12 step mtgs (odds ratio = 2.55; 95% confidence interval = 1.10–5.87; p < 0.05).
<div class='toolbar'
	macro='toolbar [[ToolbarCommands::EditToolbar]] icons:yes'>
<div class='heading editorHeading'>
	<div class='editor title' macro='edit title'></div>
	<div class='tagClear'></div>
<div class='annotationsBox' macro='annotations'>
	<div class='editSpaceSiteIcon'
		macro='tiddlerOrigin height:16 width:16 label:no interactive:no'>
	<div class="privacyEdit" macro='setPrivacy label:no interactive:no'></div>
	<div class='tagClear'></div>
<div class='editor' macro='edit text'></div>
<div class='editorFooter'>
	<div class='tagTitle'>tags</div>
	<div class='editor' macro='edit tags'></div>
	<div class='tagAnnotation'>
		<span macro='message views.editor.tagPrompt'></span>
		<span macro='tagChooser excludeLists'></span>
<<tag [[Editing support]]>>
Edwards, A. C., Gillespie, N. A., Aggen, S. H. and Kendler, K. S. (2013), Assessment of a Modified DSM-5 Diagnosis of Alcohol Use Disorder in a Genetically Informative Population. Alcoholism: Clinical and Experimental Research, 37: 443–451

Proposed changes to the upcoming DSM-5 include the following: (i) combining criteria for DSM-IV alcohol abuse (AA) and alcohol dependence (AD) into 1 diagnostic category (alcohol use disorder [AUD]); (ii) exclusion of the “legal problems” (LP) criterion; and (iii) addition of a “craving” criterion. Few published studies empirically assess the potential consequences of the proposed changes.
Using a population-based sample of twins assessed for lifetime AA/AD diagnoses, we explored phenotypic differences across DSM-IV and a modified DSM-5 diagnoses without craving because of its unavailability in the data set. We used factor analysis and item response theory (IRT) to evaluate the potential consequences of excluding the LP criterion from AUD and used twin modeling to examine genetic differences between DSM-IV and the modified DSM-5 diagnoses.
The prevalence of AUD was slightly higher than that of DSM-IV diagnoses. Individuals meeting DSM-IV or DSM-5 criteria, but not both, exhibit fewer comorbid diagnoses than those meeting both sets of criteria. Individuals meeting only DSM-5 criteria were slightly less severely affected than those meeting only DSM-IV criteria. Factor analysis indicated that the LP criterion loading is the lowest of all symptoms; IRT analysis suggested that this criterion has low discriminatory power. The genetic correlation between DSM-IV and DSM-5 diagnoses was slightly but significantly lower than unity.
The proposed DSM-5 AUD criteria are unlikely to result in significant changes in prevalence of diagnosed alcohol problems. However, it is unclear whether the new criteria represent a more valid diagnosis: new cases are no more severely affected than DSM-IV-only cases. Given the psychometric properties of LP, its exclusion should not negatively impact diagnostic validity. Similarly, the stable heritability across DSM-IV and DSM-5 diagnoses suggests that the proposed changes will not have substantial negative consequences in terms of familial influences, a key validator. These results provide equivocal empirical support for the proposed DSM-5 changes for AUDs.
...Cut and paste the You tube "embed" code straight in, but ''bracket it'' with @@{{{<html>}}}@@ and @@{{{</html>}}}@@ which gives you this:
!!!Dem boys!
<html><object width="425" height="344"><param name="movie" value=""></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></html>
Use an Iframe which creates a larger window on the web:
<html><div align="center"><iframe src="WEBPAGEURLHERE" frameborder="0" width="100%" height="600"></iframe></div></html>

Interventions that privilege the ENGAGEMENT of youth, via a focus on outreach, or other specific techniques.
<<tag Epidemiology>>
|''Author''|Jon Robson|
|''Description''|Localised tiddler save errors including edit conflict resolution.|
(function($) {

var tiddlyspace = config.extensions.tiddlyspace;
var currentSpace =;
tiddlyspace.getLocalTitle = function(title, workspace, suffix) {
	var endsWith = config.extensions.BinaryTiddlersPlugin.endsWith;
	if(!suffix) {
		var isPublic = endsWith(workspace, "_public");
		suffix = tiddlyspace.resolveSpaceName(workspace);
		if(currentSpace == suffix) {
			suffix = isPublic ? "public" : "private";
		} else {
			suffix = "@%0".format(suffix);
	return "%0 *(%1)*".format(title, suffix);

var sssp = config.extensions.ServerSideSavingPlugin;

var msgs = config.messages.editConflict = {
	loading: "Loading..",
	resolve: "[[Edit Conflict]]@glossary: this tiddler may have been changed by someone else.",
	reviewDiff: "review (recommended)",
	reviewDiffTooltip: "review changes made to this tiddler",
	reviewDiffError: "error retrieving revision.",
	save: "overwrite",
	saveTooltip: "make this revision the top revision of this tiddler",
	discard: "cancel",
	discardTooltip: "undo changes to this tiddler and get most recent version",
	diffTitle: "%0",
	diffFieldTitle: "%0 - fields",
	diffTextTitle: "%0 - text",
	updating: "updating your version...",
	diffHeader: ["Review the changes that have been made whilst you were editing this tiddler. ",
		"Fold relevant changes back into your version.\n",
		"{{removed{Red}}} highlight shows content removed. ",
		"{{added{Green}}} highlight shows content added.\n"].join(""),
	diffTextHeader: "View changes in text",
	diffFieldsHeader: "View changes in fields"

var plugin = config.extensions.errorHandler = {
	diffTags: ["excludeLists", "excludeMissing", "excludeSearch"],
	displayMessage: function(message, tiddler, context) {
		var desc = context && context.httpStatus ? context.statusText :
		var reportArea = plugin.reportError(tiddler.title);
		var msg = $("<div />").appendTo(reportArea);
		if(message == "saveConflict") {
			wikify(msgs.resolve, msg[0]);
			var choiceArea = $("<div />").appendTo(reportArea)[0];
			plugin.editConflictHandler(choiceArea, tiddler);
		} else {
			msg.text(sssp.locale[message].format(tiddler.title, desc));
	editConflictHandler: function(container, tiddler) {
		var title = tiddler.title;
		var myrev = tiddler.fields[""];
		// note user now needs to edit, fix problem and save. 
		// TODO: make sure this gets reset in save callback
		store.getTiddler(title).fields[""] = "false";

		var diffBtn = createTiddlyButton(container, msgs.reviewDiff, msgs.reviewDiffTooltip, function(ev) {
			var title = $("title");
			plugin.displayDiff(, store.getTiddler(title), myrev);
		var saveBtn = createTiddlyButton(container,, msgs.saveTooltip, function(ev) {
				var title = $("title");
				var tid = store.saveTiddler(store.getTiddler(title));
				autoSaveChanges(null, [tid]);
		var ignoreBtn = createTiddlyButton(container, msgs.discard, msgs.discardTooltip, function(ev) {
			var title = $("title");
		$([diffBtn, ignoreBtn, saveBtn]).data("title", title);
	getDiffTiddlerTexts: function(diffText) {
		var chunks = diffText.split("\n  \n");
		if(chunks.length < 2) {
			return [chunks[0], ""];
		} else {
			var diffFieldsText = "{{diff{\n%0\n}}}".format(chunks[0]);
			diffText = '{{diff{\n%0\n}}}'.format(chunks.splice(1, chunks.length).join("\n"));
			return [diffText, diffFieldsText];
	makeDiffTiddler: function(title, diff) {
		var newTiddler = new Tiddler(title);
		var tags = plugin.diffTags;
		newTiddler.text = msgs.loading;
		newTiddler.fields.doNotSave = true;
		newTiddler.tags = diff ? tags.concat(["diff"]) : tags;
		newTiddler = store.saveTiddler(newTiddler);
			config.defaultCustomFields); // allow option to save it
		return newTiddler;
	displayDiff: function(src, tiddler, latestRevision) {
		var adaptor = tiddler.getAdaptor();
		var title = tiddler.title;
		var ts = new Date().formatString("0hh:0mm:0ss");
		var suffix = "edit conflict %0".format(ts);
		var diffTitle = tiddlyspace.getLocalTitle(msgs.diffTitle.format(title), "", suffix);
		var diffTextTitle = tiddlyspace.getLocalTitle(msgs.diffTextTitle.format(title), "", suffix);
		var diffFieldsTitle = tiddlyspace.getLocalTitle(msgs.diffFieldTitle.format(title), "", suffix);
		plugin.makeDiffTiddler(diffTextTitle, true);
		plugin.makeDiffTiddler(diffFieldsTitle, true);
		var newTiddler = plugin.makeDiffTiddler(diffTitle, false);
		newTiddler.text = ['%0\n<<slider chkViewDiffText "%1" "%2">>\n',
			'<<slider chkViewDiffField "%3" "%4">>'].join("").
			format(msgs.diffHeader, diffTextTitle, msgs.diffTextHeader,
				diffFieldsTitle, msgs.diffFieldsHeader);

		var callback = function(r) {
			var text = plugin.getDiffTiddlerTexts(r);
			store.getTiddler(diffTextTitle).text = text[0];
			store.getTiddler(diffFieldsTitle).text = text[1];
			story.refreshTiddler(diffTitle, null, true);
		var workspace = "bags/%0".format(tiddler.fields["server.bag"]);
			type: "get",
			dataType: "text",
			url: "/diff?format=unified&rev1=%0/%1/%2&rev2=%0/%1".format(workspace, title, latestRevision),
			success: callback,
			error: function() {
		story.displayTiddler(src, diffTitle);
	resetToServerVersion: function(tiddler) {
		var adaptor = tiddler.getAdaptor();
		var ctx = { 
			host: tiddler.fields[""],
			workspace: "bags/" + tiddler.fields["server.bag"]
		adaptor.getTiddler(tiddler.title, ctx, null, function(context) {
	reportError: function(title) {
		var el = story.getTiddler(title);
		if(!el) {
			el = story.displayTiddler(null, title);
		return $("<div />").addClass("error annotation").prependTo(el)[0];

sssp.reportFailure = function(message, tiddler, context) {
	config.options.chkViewDiffText = config.options.chkViewDiffText === undefined ?
		true : config.options.chkViewDiffText;
	config.options.chkViewDiffFields = config.options.chkViewDiffFields || false;
	plugin.displayMessage(message, tiddler, context);

|Description:|Adds a New tiddler button in the tag drop down|
|Version:|3.2 ($Rev: 3861 $)|
|Date:|$Date: 2008-03-08 10:53:09 +1000 (Sat, 08 Mar 2008) $|
|Author:|Simon Baird <>|

@@I have altered the wording in this plugin to make the instruction more self explanatory than it was: 'Create new page as sub topic of this one' - dickon@@

window.onClickTag_mptw_orig = window.onClickTag;
window.onClickTag = function(e) {
	var tag = this.getAttribute("tag");
	var title = this.getAttribute("tiddler");
	// Thanks Saq, you're a genius :)
	var popup = Popup.stack[Popup.stack.length-1].popup;
	wikify("<<newTiddler label:'Create new page as sub topic of this one' tag:'"+tag+"'>>",createTiddlyElement(popup,"li"));
	return false;


Trialled Vs Gp Counselling in Azrin et al 1994 - small sample size (29) and no long term follow up, no clinically signif change)

an intervention that addresses adolescent
drug use and associated behavioral problems (Donohue
& Azrin, 2001). As the name implies, FBT is based on a
behavioral conceptualization of substance use and the
development of substance use problems, whereby drug
use is considered a strong primary reinforcer, as it is reinforced
by both physiological stimuli (i.e., dependence,
tolerance) and situational stimuli (i.e., peer acceptance,

The FBT approach uses multiple empirically validated
techniques with an emphasis on contingency management
and communication skills training to target multiple
domains of functioning: drug use, conduct, problem-solving skills, family interactions, and communication
skills. Standardized components of this program include
the following: pretreatment engagement strategies, an
assessment with the adolescent and the parents, drug
analysis, dissemination of assessment and drug analysis
results to the youth and parents, intervention selection by
youth and family, and implementation of the selected
interventions. In further efforts to affect multiple domains
of adolescent functioning, adolescents in FBT are
encouraged to involve siblings and peers in the therapy
process. Although FBT is a standardized program, it is
designed to accommodate a diverse population of youths
with a variety of cultural, behavioral, and individual preferences.
In the FBT program, youths and families are able
to select from a list of intervention strategies, those
strategies that will best meet their individual needs.
See [[Waldron et al 2001]]

FFT is based, in large part, on
family systems theory, which assumes that problem
behaviors occur in the context of family relationships and
serve some core function within these family relationships.
In addition to a family systems perspective, the
FFT model relies heavily on cognitive behavioral theory
and techniques. FFT takes a multisystemic approach to
intervention by focusing on the multiple domains and
systems in which the adolescent lives.

The intervention process in the FFT model is divided
into two primary phases: (a) engagement and motivation
of the youth and family and (b) behavior change for the
youth and family. For substance-abusing youths, the main
objectives of treatment are to (a) reduce or eliminate
problematic substance use, (b) reduce or eliminate other
problem behaviors within the family, and (c) improve
family relationships. Therapeutic efforts in the FFT
model are aimed at identifying the functions served by
substance use and helping the youth and family replace
maladaptive behaviors (substance use and other problem
behaviors) with safer, more adaptive behaviors.
The family support network (FSN) (Hamilton
et al
2001) provides additional support for families (home visits,
parent education meetings and case management services).
This multi-component treatment reflects many of
the values promoted in CSAT’s (1992a,b) treatment
improvement protocol on adolescent treatment (e.g.
family-centered approach, provision of case management,
home-based services). FSN services are designed to
be wrapped around an existing individual or group treatment,
in this case MET/CBT5 + CBT7.
COCHRANE COLLAB on Opiate Addiction

Adult study:

conclusions important:

Higher dosage maintenance is more effective.

Methadone dosages ranging from 60 to 100 mg/day are more effective than lower dosages in retaining patients and in reducing use
of heroin and cocaine during treatment. To find the optimal dose is a clinical ability, but clinician must consider these conclusions in treatment strategies.

"identified 21 controlled trials involving a total of 5994 opioid users. In 11 of these trials, all from the USA, 2279 participants were randomised to methadone treatment at different doses or another treatment (buprenorphine or levomethadyl). Treatment was for between seven and 53 weeks. A further 10 controlled trials did not randomly assign the total of 3715 participants to a treatment. These were from various diverse countries and followed opioid users for one to 10 years. Higher doses of methadone (60 to 100 mg/day) were more effective than lower doses (1 to 39 mg/day) in retaining opioid users in therapy and in reducing illicit use of heroin and cocaine during treatment. Side effects of methadone appeared to be similar at the different doses, in one trial only."
Initial paper to describe recruitnment and methods gets 5Star as it will be a good study

Large european multicentre (9 centres, 143 schools, 7079 baselne assessments) multi-nation (7 countries) trial of prevention interventions - four experimental RX arms, delivered 2004 - 5:

#Basic arm
#Parents arm
#Peers arm
#Control arm

12 one hour sessions delivered by teachers trained for 3 days.  Directed at 12 - 14 yr olds.

Social influences model adapted for Europe from teh "Unplugged" intervention

Motivational Interviewing with Underage College Drinkers: A Preliminary Look at the Role of Empathy and Alliance

55 underage heavy drinkers, aged 18 - 20 yrs recruited from psychology classes at public university in southwest States.  Offered course credit (?) in return for particiaption.
Approx 3/4 were female.  N= 65 (after screening 136) anglo 63% Hisp 21% + others

RCT - 1 session MI, Vs no-Rx control

Used Monitoring Future Q's for bingeing and the RAPI questionnaire (validated) for SU, 
the MITI for ''therapist empathy''
WAI (Working Alliance Inventory) for ''pt-therapist alliance''

51/65 followed up

Significant main effects for ''time'' (both conditions showed improvements over time, but not for group effects...
Effect sizes (Cohen’s d ) and confidence intervals indicated that the
MI condition outperformed the control condition for both binge drinking
(d= -0.49) and alcohol-related problems (d = -0.21).

MI signif reduced binge drinking and alochol related problems compared to No Rx

''ALLIANCE bore no signif relation to outcomes'' (tho low power in the MANOVA used to analyse this)
''EMPATHY no signif relations found to outcomes'' but low variability in this measure as all therapists scored highly.

Aripiprazole Blocks Reinstatement of Cocaine Seeking in an Animal Model of Relapse .  

Biological Psychiatry 2007, Volume 61 , Issue 5 , Pages 582 - 590 M . Feltenstein , C . Altar , R ....

@@experimental model@@

Aripiprazole (Abilify) is an atypical antipsychotic drug primarily characterized by partial agonist activity at dopamine (DA) D2 receptors and low side effects. Based on pharmacologic properties that include a stabilization of mesocorticolimbic DA activity, a pathway implicated in addiction, aripiprazole was tested for its ability to prevent relapse to cocaine seeking in rats.
We assessed the dose-dependent effects of aripiprazole on conditioned cue-induced and cocaine-primed reinstatement of drug-seeking behavior following chronic intravenous cocaine self-administration in an animal model of relapse.
Aripiprazole potently and dose-dependently attenuated responding on the previously cocaine-paired lever during both reinstatement conditions, with slightly greater efficacy at reducing conditioned-cued reinstatement. Aripiprazole was effective at doses that failed to alter cocaine self-administration, food self-administration, reinstatement of food-seeking behavior, or basal locomotor activity, suggesting selective effects of aripiprazole on motivated drug-seeking behavior.
These results in a relapse model show that aripiprazole can block cocaine seeking without affecting other behaviors. The D2 partial agonist properties of aripiprazole likely account for the blockade of reinstatement of cocaine-seeking behavior. Given its established efficacy and tolerability as a treatment for psychosis, aripiprazole may be an excellent therapeutic choice for reducing craving and preventing relapse in people with cocaine dependency.


D. R. Foxcroft, D. Ireland, D. J. Lister-Sharp, G. Lowe, R. Breen (2003) Longer-term primary prevention for alcohol misuse in young people: a systematic review Addiction 98 (4) , 397–411
To identify and summarize rigorous evaluations of psychosocial and educational interventions aimed at the primary prevention of alcohol misuse by young people aged up to 25 years, especially over the longer term (>3 years).
Cochrane Collaboration Systematic Review.
''Data sources'': 
A comprehensive search of 22 databases and recursive checking of bibliographies for randomized and non-randomized controlled trials and interrupted time-series studies.
''Main outcome measures'':
Objective or self-report measures of alcohol use and misuse.
Fifty-six studies were selected for inclusion in the systematic review. 
•	Twenty of the 56 studies showed evidence of ineffectiveness. 
•	No firm conclusions about the effectiveness of prevention interventions in the short- and medium term were possible. 
•	Over the longer term (>3 years), the ''Strengthening Families Programme'' (SFP) showed promise as an effective prevention intervention. The ''Number Needed to Treat'' (NNT) for the SFP over 4 years for three alcohol initiation behaviours (alcohol use, alcohol use without permission and first drunkenness) was ''9'' (for all three behaviours). 
•	One study also highlighted the potential value of culturally focused skills training over the longer-term (NNT = 17 over 3.5 years for 4+ drinks in the last week)

(1) Research into important outcome variables needs to be undertaken; 
(2) the methodology of evaluations needs to be improved; 
(3) the SFP needs to be evaluated on a larger scale and in different settings; 
(4) culturally focused interventions require further development and rigorous evaluation; and 
(5) an international register of alcohol and drug misuse prevention interventions should be established and criteria agreed for rating prevention interventions in terms of safety, efficacy and effectiveness.
Journal of Adolescent Research, Vol. 16, No. 6, 661-678 (2001)

Prospective Risk Factors and Treatment Outcomes among Adolescents in DATOS-A
Galaif, Hser, Grella, Joshi.

@@(From [[Hser et al 2001]]:
"the first large-scale effort designed specifically to evaluate treatment outcomes among adolescents. Treatment programs included in DATOS-A were community programs specifically intended to treat adolescents with drug problems. This article reports results of an assessment of treatment outcomes among adolescent patients participating in DATOS-A. The study addressed 3 key research questions: 

(1) What were the patterns of drug use and other problem behaviors of these adolescents before they entered the DATOS-A treatment programs?

(2) Were there changes in their drug use and other problem behaviors after treatment? 

(3) Was the length of stay in treatment related to their posttreatment outcomes?@@

The relationships between risk factors and outcomes in adolescents participating in the Drug Abuse Treatment Outcome Studies for Adolescents (DATOS-A) were examined. 

The study included 292 admissions to nine ''outpatient drug-free (ODF)'' and 418 admissions to eight ''residential (RES)'' programs. 

Assessments were administered at intake into treatment and 12 months following discharge. 

For ''ODF participants'', 
(a) severity of drug use predicted less retention in treatment, and 
(b) family drug involvement predicted more alcohol use after treatment. 

''For RES participants'', 
(a) family drug involvement and criminal involvement predicted less treatment retention, and 
(b) conduct disorder predicted more marijuana use at follow-up. 

The findings underscore the need for intervention strategies that address 
#the intrapsychic and 
#interpersonal functioning 
of drug-abusing adolescents to improve their behavioral outcomes.
Short-term outcomes after brief ambulatory opioid detoxification with buprenorphine in young heroin users
Devang H. Gandhi, Jerome H. Jaffe, Scot McNary, Greg J. Kavanagh, Michael Hayes, Marian Currens
Addiction, 98, 453–462

Prospective follow up study
123 participants with an average age of 21.8 years (SD 2.1) enrolled in the study. (Aged 18 - 25)
69 (56.1%) were male, 117 (95.1%) were white.

@@No control group or comparison group@@

Private clinic with walk in facility - payment by insurance or a one-off payment for the whole detox - @@but a very 'cheap and cheerful set up'@@ - "the clinic where this study was conducted offered the treatment at a total cost of less than $200 to self-paying patients during the study period."

Brief ambulatory detox using buprenorphine

"''assigned randomly'' to receive either of two buprenorphine dose schedules: 
#the ‘standard’ dose of 2 mg sublingual (SL) tablet or 0.3 mg
intramuscular (i.m.) injection; and 
#a ‘high’ dose of 4 mg SL or 0.6 mg i.m. injection. 

The ‘standard’ dose represented the usual dose of buprenorphine offered by the
clinic to all patients. @@Patients were not blind to their dose@@
of buprenorphine, but generally were not told the dose.
Early in the study, it became apparent that the route of
administration was a major concern of the participants.
Patients expressed a strong preference for the sublingual
tablet rather than the intramuscular injection, based on
the perception that the sublingual tablet would ‘hold’
them longer."

"Patients were allowed to receive buprenorphine up to twice a day, but the second
administration of the day was no more than the ‘standard’
(0.3 mg i.m. or 2 mg SL) dose. Patients were also
given additional medications for specific symptoms that
were used ordinarily as a part of the detoxification program.
The medications that could be administered for the
length of treatment included ibuprofen for pain, doxepine
for sleep/anxiety, cyclobenzaprine for muscle spasms, loperamide
for diarrhea and clonidine for high blood pressure.
Patients could continue to receive symptomatic
medications as long as required to control withdrawal
symptoms, but had to attend the clinic daily to receive

Variety of validated insruments for follow up - and urinalysis.
Payments ($10 for telephone, $25 for face to face) for FOLLOW ups

"Retention in detoxification was very high (96%) as
long as buprenorphine was administered, i.e. the first 3
days. After this, there was a rapid decline in attendance,
with half the patients dropping out over the next 3 days,
and all the patients by the 10th day" - @@very high drop out rates!!!@@

@@Poor follow up capture of subjects:@@

at 1/12 interviewed 95/119 (79.8%)
at 3/12 interviewed 65/119 (54.6%)
at 6/12 interviewed 56/119 (47.1%)

Using the total number of patients eligible for followup (119) as the denominator @@(‘intent-to-treat’ analysis)@@, ''6.7%, 10.1% and 11.8% of the subjects reported abstinence from heroin use at 1, 3 and 6 months, respectively,'' and were also able to provide a negative urine drug test to confirm their self-report. However, as all the subjects followed-up at each time point were not tested, this provides the most conservative estimate of non-use.

Self report showed much higher rates of success: 
"No use or diminished use was reported by 75/119 (63.0%) at 1 month, 56/119 (47.1%) at 3 months and 49/119 (41.2%) at 6 months."

High rates of treatment satisfaction majority of the respondents (63/91, 70.3%) reported the experience as ‘good’ or excellent’ and 93.4% (85/91) rated it at least as ‘somewhat useful’. Eighty-two (90.1%) said they would go through detoxification again. Most (77/93, 82.8%) had not enrolled in an aftercare program at 30 days (variation in the number of respondents is due to some patients not responding to all the questions).

(strong prefernce for sub-lingual Vs injected buprenorphine, too)


"A major hurdle in improving outcomes of outpatient
opioid detoxification in the United States has been @@the
Federal restriction on the use of opioid medications, limiting
their use in the treatment of addiction to 3 days in
most settings.@@ Under the Drug Addiction Treatment Act
of 2000, the rules governing the use of buprenorphine for
the treatment of addiction will change because it is now
approved for this indication by the Food and Drug
Administration, allowing its use for detoxification or
maintenance in physicians’ office-based practice."


If you choose to change this GettingStarted tiddler, you may wish to add the following to your new content if you expect you space to be included:

''This ~GettingStarted tiddler has been customized.''
If you want to see the original system tiddler just click the following link: GettingStarted@system-info at system-info.

Welcome to your brand new [[TiddlySpace|]].

You're almost ready to go, there are just a couple of things left to do.

!Customise your space
Go to [[SpaceSettings]] to finish customising  your space. When you're done, come back here (just scroll up). Don't worry though, this will still be open when you've finished.

!Further Customisation

For advanced options, the [[ServerSettings]] tiddler is used to enable the following features:

#index: The value is the name of a tiddler that will be presented when loading the space.  For example, when set to {{{Hello}}} for the space, navigating to that URL will present the Hello tiddler. If there is no {{{Hello}}} you will get an error.
#editor: The name of an [[editor application|]] to edit tiddlers with.  Applications come from [[included spaces|]]

//If you do not need or understand these features there is no need to create a ServerSettings tiddler.//

To edit these options: 

* click [[here|ServerSettings]] to open the [[ServerSettings]] tiddler
* click on the edit button (the pencil icon)
* add the options you wish to set 
* click on the save button (the tick icon).

An example [[ServerSettings]] tiddler:
index: HelloThere
editor: /edit#{tiddler}

The additional text after /edit allows a tiddler to be opened in edit mode e.g:

!!See Also

* [[ServerSettings shadow tiddler|]]
* [[Choosing a non-TiddlyWiki Default Application for your Space|]]

!Finished customising?
You can [[Start writing]] some [[tiddlers|]].
If you're not done tweaking yet though, you can always [[Customise this space|SpaceSettings]] a bit more.

You can also [[access and read other tiddlers in various ways|]].

If you'd like to change your password or create another space, visit "Your Account" from the [[Universal Backstage|]] (the blue dot in the upper right of the page). If you'd like to add a member or [[include a space|]] visit "This Space" from the [[Universal Backstage|]].

You can have as many spaces as you like and each space can have as many members as you or your group need.

If you're stuck, and would like some help, please visit the [[help|]] space, which can point you in the right direction.
Alcohol (and CBS)

Mean 15.7yr old offenders - 

brief mixed Motivational + CBT = "Guided Self Change" (GSC) - 
Part of the "ATTAIN" programme (Alcohol Treatment Targetting Adoelscents In Need) 

….with CULTURALLY SENSITIVE aspects - in Hispanic and African American youth… in clinics placed LOCALLY to where patients lived.  

Treatment streams 
(a) Individual 
(b) Family-involved 
(c) choice of either a or b 
(d) Wait list control  

!!ALSO looking at CultureEthnicity
(a) the effect of perceived discrimination/cultural mistrust in African americans affects rates of SUD, 
(b) correltaions between acculturation and lower levels SUD/better response to Rx and between Acculturative stress and higher levels of SUD/worse response to Rx. in the Hispanic population.		

214 juvenile offenders with SUD mean age 15.7  
128 US-born Hispanics, 45 foreign-born Hispanics and 40 African Americans.  
90.9% male and 9.1% female.	90	
Part of lage treatment trial ATTAIN

"Assessments are completed at:
 baseline, post-intervention and 3-, 6- and 9-month follow-ups.  

Timeline Feedack interview (TLFB) to measure alc, CBS use.  
Broadly validated scales for cultural questions (acculturation, racial mistrust, etc)"	

"reductions in all groups from baseline use of alc of about 70% of days down to 30% in african americans (best response) and for CBS from 80-90% of days down to between 40-49% of days. 

Among the US-born Hispanics, three variables were related to several of the baseline measures:

#Perceived discrimination and acculturation
were related positively to number of drugs used,
i.e. clients who were more acculturated and reported
higher levels of perceived discrimination also reported
higher levels of AOD use. 

#Acculturation also was related
positively to marijuana use (against the previous research that suggests lower drug use in 1st generation 'new arrivals' compared to 2nd generation immigrnats). 

#In contrast, ethnic pride was correlated negatively with marijuana use; that is, clients who reported greater ethnic pride reported lower levels of
marijuana use.

Both ethnic orientation and ethnic pride appear to be protective factors for drug and alcohol use among African
Americans. African American youth with greater ethnic pride and ethnic orientation are more likely to recognize or acknowledge
substance use problems and the need for substance use treatment.  

Multiple regressionanalyses to look at relationships between these fators and Rx outcomes in Hispanics (not enough African americans to do this) show: 
Hispanic youth with 
#greater Hispanic cultural orientation and 
#greater ethnic pride responded better to treatment by having greater reductions in use."
Preliminary outcomes from the assertive continuing care experiment for
adolescents discharged from residential treatment
Mark D. Godley, Ph.D.*, Susan H. Godley, Rh.D., Michael L. Dennis, Ph.D.,
Rodney Funk, B.S., Lora L. Passetti, M.S.
Journal of Substance Abuse Treatment 23 (2002) 21–32

see follow up paper [[Godley et al 2007]]

!''Definition of CRA for adoelscents:''
An intervention that includes many of the features recommended
for continuing care intervention is the Community
Reinforcement Approach (CRA) (Azrin, Sisson, Meyers,
& Godley, 1982; Meyers & Smith, 1995). CRA is a behavioral
intervention that helps clients restructure their environment
with prosocial activities that compete against
continued substance use. In addition, CRA examines the
relationship between using behavior and other behaviors and
teaches the client skills to improve daily communication and
problem solving as well as overcoming resistance and
obstacles to participating in prosocial activities. Over the
past 30 years, CRA has proven effective in several outpatient
clinical trials with adult alcoholics and other drug abusers
(Miller, Meyers, & Hiller-Sturmhofel, 1999). Although
untested as a continuing care strategy for adolescents, it is
well-suited to follow residential treatment and was, in fact,
used this way in its first two trials with adults (Azrin, 1976;
Hunt & Azrin, 1973). The present study seeks to augment
CRA with a component designed to assist the caregivers and
improve problem solving and communication between caregivers
and the client. In addition, since adolescent clients are
frequently involved in the education, criminal justice, mental
health and/or child welfare service systems, the addition of
case management services (Godley, Godley, Pratt, & Wallace,
1994) was deemed necessary to help them access and
negotiate complex services systems.

Quote from Godley et al 2007 summarising their findings here:

"Early findings from this 5-year study showed
that an assertive service delivery protocol using ''home
visits'', ''case management'' [21] and the ''community reinforcement
approach'' [[ACRA]] [35–39] was significantly more likely 
than the usual continuing care (UCC) condition to
link participants to assertive continuing care (ACC),
despite the fact that almost half the participants in both
conditions had unplanned discharges from residential
treatment. Outcomes at the end of the 3-month continuing
care phase showed that a significantly greater
proportion of ACC participants remained abstinent from
marijuana compared to the UCC condition. Results for
alcohol abstinence were marginally significant."
Thirty-month relapse trajectory cluster groups among
adolescents discharged from out-patient treatment
Susan H. Godley, Michael L. Dennis, Mark D. Godley & Rodney R. Funk

analysis of CYT data - interesting but not a Rx study... only 2star

looking at clustering in long term trajectories

Identifies 4 main trajectory groups over 30 months post Rx:

Adolescents can be grouped empirically into five relapse trajectories over 30/12 post Rx:
''(a) low AOD use with limited days in a controlled environment;''
The low-AOD use, low-CE group had the highest proportion of females and Caucasians, the lowest proportion reporting weekly
cannabis use during the 90 days preceding the intake interview, and the highest proportion (although not significant) who completed treatment successfully.

''(b) low AOD use with high days in a controlled environment;''
had the highest proportion of males and almost twice as many African Americans as any other group. It also had the highest proportion in the lowest educational attainment category (5th- to 8th-grade education), from single- parent households and involved in the criminal justice system. Even though this group had the highest days in a controlled environment, it had the lowest percentage of adolescents who endorsed symptoms of conduct disorder, as well as ADHD and depression..
''(c) moderate/decreasing AOD use;''
had the highest proportion of older adolescents (15–18), although the two groups with the poorest trajectories also had higher proportions of older adolescents than the two low AOD use groups. The moderate and decreasing AOD group had the second lowest proportion reporting major depression disorder symptoms and the second highest proportion reporting symptoms of conduct disorder. 
''(d) increasing AOD use;''
along with the //low AOD use, low CE// group this group had the highest proportions of adolescents reporting major depression disorder. Although not significantly different, it also had the highest proportions reporting symptoms of other (besides cannabis) drug dependence at intake and prior mental health treatment.
''(e) consistently high AOD use.''
had the highest proportion of individuals who reported using any alcohol, weekly alcohol use and very high blood alcohol content levels. This group also had the highest proportion of adolescents reporting symptoms for ADHD and conduct disorder.
The effect of assertive continuing care on continuing care linkage, adherence and abstinence following residential treatment for adolescents with substance use disorders

Mark D. Godley, Susan H. Godley, Michael L. Dennis, Rodney R. Funk & Lora L. Passetti (Chestnut Health Systems)

Addiction, 102, 81–93 (2007)

Follow on from preliminary findings paper ([[Godley et al 2002]])

5Star as good research paper and important results.

The study followed from recent theoretical evidence that an early period of ''sustained abstinence straight after treatment - during outpatient follow up, may be linked to successful long term outcomes''... 
Quote Godley et al:

"In two studies of adults who were primarily
dependent on cocaine and alcohol, retention in outpatient
treatment and reduced use were not sufficient to
predict long-termabstinence outcomes; only those with a
period of sustained abstinence during (outpatient) treatment
experienced sustained post-treatment abstinence

@@[(a) Higgins S. T., Badger G. J., Budney A. J. Initial abstinence
and success in achieving longer-term cocaine abstinence.
Exp Clin Psychopharmacol 2000; 8: 377–86, and 
(b)Kosten T. R., Gawin F. H., Kosten T. A., Morgan C., Rounsaville
B. J., Shottenfeld R. et al. Six-month follow-up of
short-term pharmacotherapy for cocaine dependence. Am J
Addict 1992; 1: 40–9.]@@. 

While the experimental approaches may have
been more effective at retention and moving participants
to early abstinence, ''it was whether the actual early
sustained abstinence response (regardless of condition)
was obtained that predicted long-term abstinence''. This
finding suggests that the impact of treatment was mediated
by the early response to treatment, that multiple
types of treatment could produce this response and that it
was the ‘early treatment response’ that served as the key
to subsequent sustained abstinence."

@@DB: I.e. Many treatments may be able to get a patient to the point of abstinence early on in treatment, but the deciding factor regarding //long term benefit// seems to be the capcity of the treatment then to respond to and support this early abstinence...@@

There is plenty of evidence that YP in in-opt treatment frequently fail to engage with local OP follow up.

"(1) to update results reported in the preliminary findings paper [[Godley et al 2002]] on the effect of ACC in linking and retaining adolescents in postresidential continuing care and its effect on abstinence outcomes;
(2) to extend the understanding of more effective continuing care in general, and ACC in particular, by examining 

(a) its ability to increase a measure of ''general continuing care adherence (GCCA)'' (a set of 12 scales by which adherence could be measured (Such as such as "attending weekly meetings", "regular urine tests" receiving "problem solving" component of care, etc,.. 7/12 of these criteria denoted "High Adherence");
(b) the extent to which continuing care adherence (from UCC and ACC) predicts early abstinence; and 
(c) the extent to which early abstinence then predicts longerterm abstinence outcomes. 

Thus, the analyses assume that ACC has a direct effect on GCCA and indirect effects on early abstinence (via GCCA) and sustained abstinence (via GCCA and early abstinence)."

''2-group randomized design'' - for 183 discharged (in-patient) treated adolescents (12 - 17yrs) with SUD (DSM IV), who had met ASAM (American Society for Addiction Medicine) criteria for in-pt treatment.  situated in Mid West of US.

Random allocation (Randmised Block design) into two groups:

''ACC (Assertive Community Care, with ACRA, n= 102) Vs. UCC (Usual Community care, n=81)''

No statistical diffs between these two groups.

In-pt stay - Average Length of stay = 52 days, 51% and 53% (UCC and ACC)had "as planned discharges (no stat differences)

UCC - referred as usual to a wide range of local outpatient services - no attmept to modify this (TAU) - varying rates of effort in linking to Op follow up - less if discharge sudden or against advice (got a letter and direnctions) - if planned got an appt date usually c. 2/52 from D/c date.

ACC - same onwards referrals, BUT ALSO:
#ACC case manager for 90 days post disch, whose role was
##Linking to services
##Meet weekly with YP and/or carers throughout 90 days and help them link up w/ services
##Encourage prosocial activities, new friendship groups
#Home visits

2 Manuals for Case Managers - one for Case Management and one for [[ACRA]]

TReatment Fidelity - audiotapes, observations, training supervision

Multiple Outcome measiures - GAIN and GCCA (imbeddd within this)

Generaly ACC cases showed significnatly better adherence and ''more 'high GCCA' '' (above the median of seven criteria (see above) being met) than the equivalent UCC cases - (64% ACC were 'high GCCA' versus 35% UCC). The ''odds of having high GCCA were three times higher (OR = 3.35, P < 0.05) for adolescents in the ACC group than those in the UCC condition.''

''This translated into higher rates of ABSTINENCE:''
"Abstinence rates were more than 20% higher for ACC in five of six comparisons; 

however, the size of the difference reached ''statistical significance'' in only the comparison for sustained marijuana abstinence [Abstinence for 9/12, the most frequently used substance. 

As shown , a primary problem with this contrast is power." - @@DB: the numbers of users of other drugs were too small to demonstrate statistical signif in the effects upon their use, although trends suggest similar...@@

CBS abstinence for 9 months : UCC=26%; ACC=41%; Increase with ACC=59%; Effect size (Cohen's) d = 0.32, Chi squared = 4.45 p< 0.04 Power=56%

DB- Further analyses suggest (''though without the statistical power to prove it'') that the effect of ACC may be mediated via its ability to foster high GCCA, and the subsequent association between high GCCA and early abstinence...

but high GCCA is no guarantee of abstinence: "Even among those adolescents who had high values on the GCCA scale, 57% relapsed during the subsequent 6 months."  

And while ''ACC was associated with incr abstinence up to 9 months'' SO ALSO was ''the WITHDRAWAL OF ACC at the end of month 3 associated "with a non-significnat trend towards increased relapse in months 4 through 9"''... i.e 'hold them up too firmly and they stumble when you let them go' -  the authors argue for more flexible ongoing follow up contingent on the patients actual level of fucntioning (fits with the the cronic illness model, I suppose - balanced against the cost and 'stigma' arguments for getting in and out with our treatments quickly...) 

Seems to follow trials evidence from [[CYT]]

S. H. Godley, B. R. Garner, L. L. Passetti, R. R. Funk, M. L. Dennis and M. D. Godley
Adolescent outpatient treatment and continuing care: Main findings from a randomized clinical trial

!Journal: Drug and Alcohol Dependence
Volume: 110 Issue: 1-2 Pages: 44-54
This study evaluated the effectiveness and cost-effectiveness of two types of outpatient treatment with and without Assertive Continuing Care (ACC) for 320 adolescents with substance use disorders. Study participants were ''randomly assigned'' to one of four conditions: 

(a) Chestnut's Bloomington Outpatient Treatment (CBOP) without ACC; 
(b) CBOP with ACC; 
(c) Motivational Enhancement Therapy/Cognitive Behavior Therapy-7 session model (MET/CBT7) without ACC; and 
(d) MET/CBT7 with ACC. 

All study conditions attained high rates of participant engagement and retention. 

Follow-up interviews were completed with over 90% of the adolescents at three, six, nine, and 12 months after treatment admission. 

There was a significant time by condition effect over 12 months, with CBOP having a slight advantage for average percentage of days abstinent. 

''//Unlike previous findings that ACC provided incremental effectiveness following residential treatment, there were no statistically significant findings with regard to the incremental effectiveness of ACC following outpatient treatment.//'' 

Analysis of the costs of each intervention combined with its outcomes revealed that the most cost-effective condition was MET/CBT7 //without ACC//
S.H. Godley, B.R. Garner, L.L. Passetti, R.R. Funk, M.L. Dennis, and
M.D. Godley (2010) Adolescent Outpatient Treatment and Continuing Care: Main Findings from a Randomized Clinical Trial.  Drug Alcohol Depend. 110(1-2): 44–54.


This study evaluated the effectiveness and cost-effectiveness of two types of outpatient treatment with and without Assertive Continuing Care (ACC) for 320 adolescents with substance use disorders.

Study participants were randomly assigned to one of four conditions: (a) Chestnut’s Bloomington Outpatient Treatment (CBOP) without ACC; (b) CBOP with ACC; (c) Motivational Enhancement Therapy/Cognitive Behavior Therapy-7 session model (MET/~CBT7) without ACC; and (d) MET/~CBT7 with ACC. All study conditions attained high rates of participant engagement and retention.

Follow-up interviews were completed with over 90% of the adolescents at three, six, nine, and twelve months after treatment admission. There was a significant time by condition effect over 12 months, with CBOP having a slight advantage for average percentage of days abstinent. 

Unlike previous findings that ACC provided incremental effectiveness following residential treatment, there were no statistically significant findings with regard to the incremental effectiveness of ACC following outpatient treatment. Analysis of the costs of each intervention combined with its outcomes revealed that ''the most cost-effective condition was MET/~CBT7 without ACC''.

Bridget F. Grant, Frederick S. Stinson, and Thomas C. Harford, (2001) Age at onset of alcohol use and DSM-IV alcohol abuse and dependence: A 12-year follow-up.  Journal of Substance Abuse Volume 13, Issue 4, December 2001, Pages 493-504

Indications that ''rates of adult alcohol dependence can be reduced by 10% for each year that drinking is delayed in adolescence…''

5star because v relevant paper - should be quoted in intro to alcohol study.

The purpose of this study was to examine the relationship between age at drinking onset and the development of DSM-IV alcohol abuse and dependence in a 12-year prospective study of youth in the United States. 

Logistic regression analyses were used to quantify the relationship between age at drinking onset and the development of alcohol abuse and dependence controlling for sociodemographic factors and problem indicators. 

The odds of alcohol dependence decreased by 5% in 1989 and 9.0% in 1994 for each year drinking onset was delayed. In 1994, the odds of alcohol abuse increased by 7.0% with each decreasing year of age at drinking onset, while age at drinking onset was not related to alcohol abuse in 1989. 

Several other risk factors were found to be strong and consistent predictors of abuse and dependence in 1989 and 1994, including being male, divorced, separated or never married, younger, and having an early history antisocial behaviors and marijuana use. 

Implications: Implications of the results of this study are discussed in terms of other factors that may impact on the onset-abuse and onset-dependence relationship and the need to focus future prevention efforts.
!A ~Double-Blind Randomized Controlled Trial of ~N-Acetylcysteine in ~Cannabis-Dependent Adolescents

Kevin M. Gray, M.D.; Matthew J. Carpenter, Ph.D.; Nathaniel L. Baker, M.S.; Stacia M. ~DeSantis, Ph.D.; Elisabeth Kryway, P.A.-C.; Karen J. Hartwell, M.D.; Aimee L. ~McRae-Clark, Pharm.D.; Kathleen T. Brady, M.D., Ph.D.

Am J Psychiatry 2012;169:805-812. 10.1176/appi.ajp.2012.12010055

Preclinical findings suggest that the over-the-counter supplement N-acetylcysteine (NAC), via glutamate modulation in the nucleus accumbens, holds promise as a pharmacotherapy for substance dependence. The authors investigated NAC as a novel cannabis cessation treatment in adolescents, a vulnerable group for whom existing treatments have shown limited efficacy.

 In an 8-week double-blind randomized placebo-controlled trial, treatment-seeking cannabis-dependent adolescents (ages 15–21 years; N=116) received NAC (1200 mg) or placebo twice daily as well as a contingency management intervention and brief (<10 minutes) weekly cessation counseling. The primary efficacy measure was the odds of negative weekly urine cannabinoid test results during treatment among participants receiving NAC compared with those receiving placebo, in an intent-to-treat analysis. The primary tolerability measure was frequency of adverse events, compared by treatment group.

Participants receiving NAC had more than twice the odds, compared with those receiving placebo, of having negative urine cannabinoid test results during treatment (odds ratio=2.4, 95% CI=1.1–5.2). Exploratory secondary abstinence outcomes favored NAC but were not statistically significant. NAC was well tolerated, with minimal adverse events.

This is the first randomized controlled trial of pharmacotherapy for cannabis dependence in any age group to yield a positive primary cessation outcome in an intent-to-treat analysis. Findings support NAC as a pharmacotherapy to complement psychosocial treatment for cannabis dependence in adolescents
J Nerv Ment Dis. 2001 Jun;189(6):384-92.
    Drug treatment outcomes for adolescents with comorbid mental and substance use disorders.
    Grella CE, Hser YI, Joshi V, Rounds-Bryant J.

See also [[Hser et al 2001]]

    UCLA Drug Abuse Research Center, Neuropsychiatric Institute, University of California, Los Angeles 90025, USA.

    This study compared the pretreatment characteristics and posttreatment outcomes of substance-abusing adolescents with and without comorbid mental disorders in the Drug Abuse Treatment Outcome Studies for Adolescents. Subjects (N = 992) were sampled from 23 adolescent drug treatment programs across three modalities (residential, short-term inpatient, outpatient drug-free). Nearly two thirds (64%) of the sample had at least one comorbid mental disorder, most often conduct disorder. Comorbid youth were more likely to be drug or alcohol dependent and had more problems with family, school, and criminal involvement. Although comorbid youth reduced their drug use and other problem behaviors after treatment, they were more likely to use marijuana and hallucinogens, and to engage in illegal acts in the 12 months after treatment, as compared with the noncomorbid adolescents. @@Integrated treatment protocols need to be implemented within drug treatment programs in order to improve the outcomes of adolescents with comorbid substance use and mental disorders.@@
@@DB - There were few trials with evidence about pharmacological interventions (nicotine replacement and bupropion), and none demonstrated effectiveness for adolescent smokers.@@

Authors' conclusions
''Complex approaches show promise'', with some persistence of abstinence (30 days point prevalence abstinence at six months), ''especially those incorporating elements sensitive to stage of change''. 

''pharmacology'': There were few trials with evidence about pharmacological interventions (nicotine replacement and bupropion), and none demonstrated effectiveness for adolescent smokers. 

''Psycho-social'' interventions have not so far demonstrated effectiveness, although pooled results for the Not on Tobacco trials suggest that that this approach may yet prove to be effective; however, their definition of cessation (one or more smoke-free days) may not adequately account for the episodic nature of much adolescent smoking.

There is a need for well-designed adequately powered randomized controlled trials for this population of smokers, with a minimum of six months follow up and rigorous definitions of cessation (sustained and biochemically verified). Attrition and losses to follow up are particularly problematic in trials for young smokers, and need to be kept to a minimum, so that management and interpretation of missing data need not compromise the findings.

We identified 15 good quality studies (3605 participants) that researched ways of helping teenagers to quit. Complex programmes, including those tailored to the young person's preparation for quitting, and behavioural therapy programmes show some promise. However, the number of trials and participants do not yet provide enough evidence to judge effectiveness. Medications such as nicotine replacement and bupropion have not yet been sufficiently tested in adolescents. Trials used different definitions of quitting and many smaller trials did not have enough participants for us to be confident about wider application of the results. Some approaches may be worthy of consideration but there is still a need to provide better evidence before large scale investment in programmes.

''Implications for practice''
Research is at an early stage and no study has tackled sustained quitting. Those interventions with positive outcomes, in terms of their own protocols, are complex and are designed to respond to the many issues that characterise young persons' smoking. In particular complex approaches show promise and show some persistence of abstinence (30 days PPA) but there is not as yet sufficient evidence to recomend widspread implementation of any one model. It would also appear that the Not on Tobacco programme is at least as effective as other interventions, but a major issue for this programme is that the meaningfulness of the definition of cessation (one day or more) must be challenged when compared to the episodic nature of patterns of smoking of young people.

There is currently little evidence on effective regimens of pharmacotherapies or incorporation of NRT into psychosocial programmes in this age group. The evidence does not support the use of bupropion as an adjunct to NRT. There is no evidence regarding the use of bupropion alone. Evidence from one study suggests intervention with those caught in violation of school smoking cessation policies is ineffective. In view of the paucity of the evidence services need to be rigorously evaluated in terms of outcomes. 

Practitioners need to be aware of the developing evidence base and be prepared to modify services accordingly. Barriers to implementation of the research studies, even when strategies can be shown to be effective, should be considered by those who develop services, as many of the issues did not arise simply from research protocols but from the practicalities of working with organisations and young people (Kishnuck 2004; Grimshaw 2003).
|''Description''|Mimics allTags macro to provide ways of creating lists grouping tiddlers by any field|
|''Author''|Jon Robson|
{{{<<groupBy tags>>}}}
mimics allTags macro

{{{<<groupBy server.bag>>}}}
groups by the server.bag field (this version contains TiddlySpace specific code for turning a bag into a space name)

{{{groupBy modified dateFormat:"YYYY"}}}
group tiddlers by year.

{{{<<groupBy tags exclude:excludeLists exclude:systemConfig>>}}}
group tiddlers by tag but exclude the tags with values excludeLists and systemConfig

Within that group you can also exclude things by filter
{{{groupBy modifier filter:[tag[film]]}}}
will group tiddlers tagged with film by modifier.
(function($) {
var taglocale = config.views.wikified.tag;
var macro = config.macros.groupBy = {
	locale: {
		tooltip: "all tiddlers in group %0",
		noTiddlers: "no tiddlers",
		openAllText: taglocale.openAllText,
		openAllTooltip: taglocale.openAllTooltip,
		openTiddler: "open tiddler with title %0"
	morpher: {
		// TODO: note currently the following 2 morphers are TiddlySpace specific and probably should be in separate plugin
		"server.workspace": function(value, options) {
			return macro.morpher["server.bag"](value.replace("bags/", "").replace("recipes/", ""));
		"server.bag": function(value, options) {
			if(typeof(value) !== "string") {
				return false;
			} else if(value.indexOf("_public") === -1 && value.indexOf("_private") === -1) {
				value = "*%0".format(value); // add star for non-space bags.
			return value.replace("_public", "").replace("_private", "");
		created: function(value, options) {
			return value.formatString(options.dateFormat || "DD MMM YYYY");
		modified: function(value, options) {
			return macro.morpher.created(value, options);

	handler: function(place, macroName, params, wikifier, paramString) {
		var field = params[0] || "server.workspace";
		var dateFormat = params[1] || "DD MMM YYYY";
		var container = $("<div />").attr("macroName", macroName).addClass("groupBy").
			attr("refresh", "macro").attr("fieldName", field).
			attr("paramString", paramString).
			attr("dateFormat", dateFormat).appendTo(place)[0];
	isTypeArray: function(value) {
		var valueType = typeof value;
		if(valueType === "object" && typeof value.length === "number" &&
			!(value.propertyIsEnumerable("length")) &&
			typeof value.splice === "function") { //is Array
			return true;
		} else {
			return false;
	_onClickGroup: function(ev, options) {
		var i, target =, locale = macro.locale;
		var tiddlers = $(target).closest(".templateContainer").data("tiddlers");
		var popup = $(Popup.create(target)).addClass("taggedTiddlerList")[0];
		var value = $(target).attr("value");
		var openAll = createTiddlyButton($("<li />").appendTo(popup)[0],
			locale.openAllText.format(value), locale.openAllTooltip);
		$(openAll).click(function(ev) {
			story.displayTiddlers(, tiddlers);
			return false;
		var listBreak = $("<li />").addClass("listBreak").html("<div />").appendTo(popup);
		for(i = 0; i < tiddlers.length; i++) {
			var item = $("<li />").appendTo(popup)[0];
			var template = store.getTiddlerText(options.template) || macro.template;
			wikify(template, item, null, tiddlers[i]);
		$(createTiddlyLink($("<li />").appendTo(popup)[0], value, false)).
		return false;
	_refresh: function(container, tiddlers, options) {
		var totalGroups = 0, locale = macro.locale, i, j;
		var excludeValues = options.exclude;
		var values = {}, value_ids = [];
		var field = options.field;
		var morpher = macro.morpher[field] || function(value) {
			return value;
		for(i = 0; i < tiddlers.length; i++) {
			var tiddler = tiddlers[i];
			var value = tiddler[field] || tiddler.fields[field];
			value = macro.isTypeArray(value) ? value : [ value ];
			for(j = 0; j < value.length; j++) {
				var v = morpher(value[j], options);
				if(v && $.inArray(v, excludeValues) === -1) {
					totalGroups += 1;
					if(!values[v]) {
						values[v] = [];
		var ul = $("<ul />").appendTo(container)[0];
		if(totalGroups === 0) {
			$("<li />").addClass("listTitle").text(locale.noTiddlers);
		value_ids = value_ids.sort();
		var groupTemplate = store.getTiddlerText(options.groupTemplate);
		var onClick = function(ev) {
			macro._onClickGroup(ev, options);
		for(i = 0; i < value_ids.length; i++) {
			var title = value_ids[i];
			var info = getTiddlyLinkInfo(title);
			tiddlers = values[title];
			var btn = createTiddlyButton($("<li />").appendTo(ul)[0],
				"%0 (%1)".format(title, tiddlers.length), locale.tooltip.format(title), null, info.classes);
			if(groupTemplate) {
				wikify(groupTemplate, btn, null, tiddlers[0]);
			$(btn).click(onClick).attr("value", title).attr("refresh", "link").attr("tiddlyLink", title);
			$(btn).addClass("templateContainer").data("tiddlers", tiddlers);
	refresh: function(container) {
		container = $(container).empty();
		var paramString = container.attr("paramString");
		var args = paramString.parseParams("name", null, true, false, true)[0];
		var options = { field: container.attr("fieldName"), dateFormat: container.attr("dateFormat"), exclude: args.exclude || [],
			template: args.template ? args.template[0] : false, groupTemplate: args.groupTemplate ? args.groupTemplate[0] : "" };
		var tiddlers = args.filter ? store.filterTiddlers(args.filter[0]) : store.getTiddlers("title");
		macro._refresh(container, tiddlers, options);
	template: "<<view title link>>"


Hallfors, D. (2006). Efficacy vs effectiveness trial results of an indicated "model" substance abuse program: implications for public health.

OBJECTIVES: The US Department of Education requires schools to choose substance abuse and violence prevention programs that meet standards of effectiveness. The Substance Abuse and Mental Health Services Agency certifies "model" programs that meet this standard. We compared findings from a large, multisite effectiveness trial of 1 model program to its efficacy trial findings, upon which the certification was based. 
METHODS: 1370 high-risk youths were randomized to experimental or control groups across 9 high schools in 2 large urban school districts. We used intent-to-treat and on-treatment approaches to examine baseline equivalence, attrition, and group differences in outcomes at the end of the program and at a 6-month follow-up. 
RESULTS: Positive efficacy trial findings were not replicated in the effectiveness trial. All main effects were either null or worse for the experimental than for the control group. 
CONCLUSIONS: ''These findings suggest that small efficacy trials conducted by developers provide insufficient evidence of effectiveness. Federal agencies and public health scientists must work together to raise the standards of evidence and ensure that data from new trials are incorporated into ongoing assessments of program effects''
A school-based harm minimization smoking
intervention trial: outcome results Addiction, 100, 689–700

Harm minimisation intervention ("Keep Left" - play on traffic safety advice cf a scale of risk rsing from left to right)

4 year cluster randomised trial
4636 students (number required baed on power studies) aged 13 - 14 yrs
in 30 W. Australian schools

The philosophy of harm minimization recognizes that
drug use is a natural phenomenon in free society (and
will continue to be so). Therefore, rather than attempting
to eradicate substance use, pragmatic efforts focus on
reducing the potential public health and social consequences
associated with use...

The harm minimization intervention implemented in this
trial resulted in reduced regular and 30-day smoking
among intervention students compared with those in
comparison schools. Over the 20-month trial period
intervention students were almost one-half as likely to
smoke regularly than comparison students. The intervention
effects on smoking in the previous 30 days were
more modest (OR = 0.69).
Effect size:  
The effect size of these changes, 0.21 for regular smoking
and 0.19 for 30-day smoking, are similar to the weighted
effect sizes for school-based drug education programmes
reported by Tobler et al.’s [9] meta-analysis of 207 school
drug education programmes. Stronger effect sizes were
found for interactive programmes with weighted effect
sizes of 0.12 (all evaluations) and 0.14 (high quality evaluations)
for social influences programmes, 0.17 (both
categories) for comprehensive life skills programmes, and
0.27 and 0.22 for all evaluations and for high quality
evaluations, respectively, for system-wide change programmes [9]. 

Therefore, the intervention effect in this
study was greater than social influences and life skills
programmes, but less than programmes aiming to
achieve system-wide change.
Treatment of adolescent smokers with the nicotine patch
Karen Hanson, Sharon Allen, Sue Jensen, Dorothy Hatsukami

Nicotine & Tobacco Research Volume 5, Number 4 (August 2003) 515–526

This study examined the effects of the nicotine patch on craving and withdrawal symptoms, safety, and compliance
among adolescents. The secondary goal was to conduct a preliminary investigation of the effectiveness of the nicotine
patch in helping adolescents quit smoking. 
@@The study design was a double-blind, placebo-controlled, randomized trial@@ of the nicotine patch. The intervention @@also provided intensive cognitive–behavioral therapy and a contingencymanagement procedure@@. 
Participants (n~100) attended 10 treatment visits over 13 weeks. 
Compared with the placebo patch group, the active nicotine patch group experienced 
#a significantly lower craving score and overall withdrawal symptom score (p~.011 and p~.025, respectively)
#a time trend toward lower scores (pv.001)in craving only. 
#Moreover, the nicotine patch appeared safe for adolescents to use. No differences by treatment group were found in experiencing adverse events, except that the participants in the placebo patch group reported more
headaches than those in the active nicotine patch group. As another measure of safety, the overall mean salivary
cotinine levels were significantly lower at 1, 6, 8, and 10 weeks postquit (all pv.05) compared with baseline levels,
although these results were confounded by dropouts. 
#Additionally, a significant number of participants were compliant with using the nicotine patch daily. 
#@@Finally, point prevalence (7-day and 30-day abstinence rates) and survival analysis of participant abstinence indicated no significant differences between treatment groups.@@
The results of this study suggest that the nicotine patch is a promising medication and a larger clinical trial of the nicotine patch among adolescents is warranted."

Discussion in paper:
#NRT patches seem safe and well tolerated by adoelscents
#Fewer withdrawal signs and cravings reported ("participants in the active nicotine patch group who were abstinent also reported a significantly lower totalwithdrawal symptom score compared with those who were abstinent in the placebo patch
#Compliance with patch was high and 95.8% of study completers described patch as "helpful" or "very helpful" in their quit attempt.
#"although no differences between treatment groups were found with regard to abstinence rates, participants who did not quit reduced the number of cigarettes they smoked per day and CO levels by the end-of-treatment compared with baseline levels."

!DB notes:
1. Recruitment via flyers etc in schools - so @@a motivated cohort@@...
2. Dosing schedule:
"Participants who smoked >15 cigarettes per day were
assigned to the 21-mg system for 6 weeks, the 14-mg
system for 2 weeks, and the 7-mg system for 2 weeks.
Participants who smoked 10–14 cigarettes per day
were assigned to the 14-mg system for 6 weeks and the
7-mg system for 4 weeks."
3. Quite intensive input (confounding the effect of NRT with the intervention?):
"They met once during the first week, twice per week for the second week, once per week for the next 6 weeks, and biweekly for the final 4 weeks of treatment. The total study duration including the screening visit and orientation was 13
visits. @@Follow-up visits were conducted at 1- and 6-months posttreatment@@"
4. @@Cognitive behavioural interventions@@ at every visit to clinic:
"During each visit, participants received individual cognitive–
behavioral counseling provided by one counselor (KH).
The sessions lasted for about 10–15 min. During the
sessions, participants learned about topics such as
triggers for smoking, coping strategies including
action and thought responses, stress management,
and relapse prevention. Each session entailed information
that the counselor was required to cover"
5. In addition ContingencyMx was applied (tokens/points for biochemical markers pointing to abstinence):
"@@if participants were abstinent from cigarettes //throughout// the study, they received points and bonuses equivalent to US$125.00 in gift certificates.@@"

"This research was supported by National Institute on Drug Abuse
grant P50 DA09259 and the University of Minnesota Academic
Health Center. Statistical analyses were supported in part by National
Institutes of Health grant P50 DA13333."

!Conference 2012
Drug use is generally decreasing, and this is mainly INDEPENDENT of any legal interventions...

But kids who are drinking are drinking MORE...

Complex ecological factors underly drug use in youth...

!Co-occurring behaviours
If we intervene on underlying causes/behaviours/symptoms can this have impacts downstream on things like drug use?

!Evolutionary advantages in drives to intixication
Muller and Schumann, 2011 - drugs as "instrumental action" that may bring reproductive success...

!Complex road maps are theoretically possible
Mapping the full range of ecological elements that could be operated upon to make changes in adolescent substance use...

!Traditional responses
Just say no, here's an information sheet...
Woefully inadequate, and evidence of IATROGENIC effects... Boomerang response.


Few science based programmes, largely client/needs led...

Little EVIDENCE for effectiveness...

ACMD recommends we should rethink what we are doing...

!At a policy level prevention is always seen as Treatment's little brother
Effects of prevention is generally measured as Use of substances...

4% of NHS budget is spent on prevention (across the board of problems)... Is it surprising that it is so ineffective?!

Looking at prevention as having an impact on deterrence of progression rather than absolute non-behaviour...

!Prevention in INDICATED groups
Main risk factors:
* Male
* Peer and family history
* Pro substance norms
* Low school attachment

!Promising programmes
  [[Conrod et al 2006 (Alc)]]

!!!Strengthening Families
Based on resilience model
When adapted for European model, it loses it's effectiveness... Awaiting evidence.

!!!SHAHRP alcohol harm reduction
Developed in Australia mcbride Et al 2004
Sumnall Et al are doing big RCT over next 5 years...

!!!Good behaviour game
Classroom based primary schools-based... Setting norms around what is good behaviour....
Robust research in big RCTs with long term follow up... Kellem Et al, 2008.

"Motivational enhancement therapy for high-risk adolescent smokers" Addictive Behaviors 32 (2007) 2404–2410

47 Delinquent adolescents - arrested, offered court diversion - av age 16, started smoking at just before 12.  Predom caucasian (84.4% MET Rx arm, 72.2% control - Educational package)  No No-Rx Control.

TLFB, salivary cotinine, etc (part of a larger study)

Results initially (1/12 f/up)  slightly better for Education RX than MET, but at 6/12 f/up this had reversed and MET slightly better results than Education (7 day abstinence self report:  5.2% for MET, 13.8% for Educn @ 1/12, and 11.9% for MET 11.1% for Educn @ 6/12,  Salivary cotinine absitnence (< 15ng/mL) 10.5% for MET and 6.8% for Educn @ 1/12, and 9.5% for MET and 7.4% for Educn @ 6/12.

No significant Rx-Effects found

Multivariate analyses by ANOVA were conducted to examine the effect of other variables including ''concurrent alcohol use'' and measures of temperament known to predispose to risk of SUD (''~Sensation-seeking-Impulsivity (~SSImp)'')

In ''higher alcohol use MET actually peformed worse than Educn'', and in ''higher ~ImpSS MET performed worse than Educn'' - concusions that MET is no better than Educn (reading pamphlets), except for a subset of (lower risk) adoelscents  ...tho better retention rates.

"These results are consistent with some recent work indicating that MET approaches may be less effective
with adolescents, particularly those with comorbid psychiatric problems (e.g., [[Brown et al 2003]])."

interesting paper - small numbers - links to another recent paper [[Brown et al 2003]]

C. E. Henderson, G. A. Dakof, P. E. Greenbaum and H. A. Liddle (2010) Effectiveness of multidimensional family therapy with higher severity substance-abusing adolescents: report from two randomized controlled trials. Journal of Consulting & Clinical Psychology, 78, 6, 885-97.
Effectiveness of multidimensional family therapy with higher severity substance-abusing adolescents: report from two randomized controlled trials ( [[Liddle, Dakof, Turner, Henderson, and Greenbaum (2008) - MDFT]] and [[Liddle et al - 2008 - MDFT for justice-involved youth]])
Journal of Consulting & Clinical Psychology, Volume: 78, Issue: 6, Pages: 885-97
We used growth mixture modeling to examine heterogeneity in treatment response in a secondary analysis of 2 randomized controlled trials testing multidimensional family therapy (MDFT), an established evidence-based therapy for adolescent drug abuse and delinquency. 
The first study compared 2 evidence-based adolescent substance abuse treatments: individually focused cognitive-behavioral therapy and MDFT in a sample of 224 urban, low-income, ethnic minority youths (average age = 15 years, 81% male, 72% African American). The second compared a cross-systems version of MDFT (MDFT-detention to community) with enhanced services as usual for 154 youths, also primarily urban and ethnic minority (average age = 15 years, 83% male, 61% African American, 22% Latino), who were incarcerated in detention facilities. 
In both studies, the analyses supported the distinctiveness of 2 classes of substance use severity, characterized primarily by adolescents with higher and lower initial severity; the higher severity class also had greater psychiatric comorbidity. In each study, the 2 treatments showed similar effects in the classes with lower severity/frequency of substance use and fewer comorbid diagnoses. Further, in both studies, MDFT was more effective for the classes with greater overall substance use severity and frequency and more comorbid diagnoses. 
Results indicate that for youths with more severe drug use and greater psychiatric comorbidity, MDFT produced superior treatment outcomes.
Juvenile drug courts: emerging outcomes and key research issues
Scott W. Henggeler


NB conflict of interests as SH is on board of MST LTd....!

''Purpose of review''
In consideration of the widespread adoption of juvenile drug
court programs during the past decade, the purpose of this
review is to examine the effectiveness of juvenile drug
courts and suggest priorities for juvenile drug court
''Recent findings''
Consistent with the much more extensive adult drug court
literature and the few uncontrolled evaluations of juvenile
drug court, findings from a recent randomized clinical trial ([[Henggeler et al 2006]])
suggest that juvenile drug court is more effective than family
court in decreasing participant criminal behavior and
substance use. Perhaps due to the intensive surveillance
that juvenile drug court participants receive, however, these
favorable outcomes did not translate to reduced rates of
rearrest or incarceration during the 12-month study period.
In addition, the integration of evidence-based substanceabuse
treatments into juvenile drug court enhanced
participant substance-related outcomes and rates of
juvenile drug court completion.
Although the widespread dissemination of juvenile drug
courts has exceeded clear and unambiguous evidence of
their effectiveness, few other criminal justice programs have
shown such promise with drug-abusing offenders.
Moreover, the integration of evidence-based treatments of
adolescent substance abuse holds the potential to further
enhance the effectiveness of juvenile drug courts.
Henggeler, S.W., Pickrel, S.G., & Brondino, M. J. (1999). ''Multisystemic
treatment of substance abusing and dependent delinquents:
Outcomes, treatment fidelity, and transportability''. Mental
Health Services Research, 1(3), 171-184.

reviewed by  [[Austin et al 2005]]

"a sample of 118 juvenile offenders ages 12 to 17.
The sample consisted of primarily African American and
White youths (Table 2). 

''Treatment retention was very high'', with 98% of youths in the MST condition completing the full course of treatment. Within the MST intervention, treatment length and intensity varied greatly among participants. In the reviewed study, treatment time ranged between 12 and 187 hours (M = 40 hours) for 3 to 6 months (M = 130 days). 

''Outcomes'' were assessed for the following domains: 
#treatment retention, 
#drug and alcohol use, 
#criminal activity, and 
#out-of-home placements.


''Results'' indicated 
#statistically significant decreases in reported drug and alcohol use immediately following treatment; 
#however, the changes were not maintained at the 6-month follow-up. 
#Moreover, there were no statistically significant between-group differences at either posttreatment or the 6-month follow-up. 
#Inconsistent with findings from previous research examining the efficacy of MST for reducing juvenile delinquency (Henggeler et al., 1997), reductions in criminal activity were not significantly different for youth in the MST condition. 
#There was, however, a significant reduction in out-of-home placement for youths in the MST condition, compared with youths in the US condition. 

''Calculations of clinical significance'' related to substance use reveal that the changes in substance use were not clinically significant for either MST or the US condition. 

Similarly, ''effect sizes'' were small for substance use changes at both posttreatment and the 6-month follow-up assessment .... NB Moreover, there were no betweengroup differences found for substance use. This is particularly
concerning ''because 78% of youths in the US condition received no treatment at all''.

STRENGTH of the study was the high retention of youths in Rx

J. Acad. Child Adolesc. Psychiatry, 2002, 41(7):868–874.

4 stars because long follow up, but rather low power and not very impressive results!
4-year outcomes (longest yet) of an evidence-based treatment of substance-abusing juvenile offenders.  

follow on from [[Henggeler et al 1999]]

This study examined the ''4-year outcomes'' from a ''randomized clinical trial'' of MST with 

118 juvenile offenders meeting formal diagnostic criteria for 
#substance abuse (56%) or 
#dependence (44%) 
Although [[Henggeler et al 1999]] demonstrated 
#favorable findings regarding treatment completion (98%; Henggeler et al., 1996), 
#increased mainstream school attendance (Brown et al., 1999), and 
#costsavings (Schoenwald et al., 1996), 

outcomes regarding  the follwing were not as favorable or long-lasting: 
#criminal activity, 
#substance use, and 
#mental health functioning
(cf those achieved in three earlier randomized trials of MST with chronic and violent juvenile offenders who did not necessarily have substance abuse problems (Borduin et al., 1995; Henggeler et al., 1991, 1992, 1997). 

That is, significant treatment effects were not observed in the present study for measures of criminal behavior, biological
indices of drug use, or mental health measures. 

Significant treatment effects for substance use were reported at posttreatment but were not maintained at 6-month followup.

Thus the present study provides a long-term follow-up of a randomized trial of an evidence-based treatment that had mixed results for substance-abusing juvenile offenders in the short-term. 

Eighty of 118 substance-abusing juvenile offenders participated in a follow-up 4 years after taking part in a randomized clinical trial comparing multisystemic therapy (MST) with usual community services. @@(NB lost 32% of sample in the 4 years - possibly the most disconnected/poorest outcomes??)@@ and the MST group were OLDER than the CS group.

@@Rather low powered study, so Rx effects that were icked up were picked up //in spite// of low power@@

A multimethod (self-report, biological, and archival measures) assessment battery was used to measure the criminal behavior, illicit drug use, and psychiatric symptoms of the participating young adults. 
Analyses demonstrated significant long-term treatment effects for:  

#aggressive criminal activity (0.15 versus 0.57 convictions per year) but not for property crimes. 
#Findings for illicit drug use were mixed, with biological measures indicating significantly higher rates of ''marijuana abstinence'' for MST participants (55% versus 28% of young adults).  ''However'', //use// of CBS was reported as higher in the MST than in the Community Servces group(Mean=4.92 SD=2.35 in the MST group, and Mean=5.14 SD=2.43 in the CS group ~ non signif difference... tho' the MST group were OLDER than the CS group)
#Long-term treatment effects were not observed for psychiatric symptoms. 

Findings provide some support for the long-term effectiveness of an evidenced-based family-oriented treatment of substance-abusing juvenile offenders. The clinical, research, and policy implications of these findings are noted. 
Henggeler SW, Halliday-Boykins CA, Cunningham PB, Randall J, Shapiro SB, Chapman JE (2006) 
!Juvenile Drug Court: Enhancing Outcomes by Integrating ~Evidence-Based Treatments.  
Journal of Consulting and Clinical Psychology 2006, Vol. 74, No. 1, 42–54

RANDOMISED clinical Trial of 4 different treatment conditions for: 
n=161 (screened from 2123 referrasl to Juvenile Justice system, fitting study criteria)
SUD (diagnosed with DSM IV)
adolescents aged 12 - 17 
(Youths averaged 15.2 years of age (SD =1.1); 83% were male, and 17% were female. Racial representation reflected that of
youths in the juvenile justice system in Charleston, South Carolina, with 67% African American, 31% White, and 2% biracial - lower SES, etc, including: Fifty-seven percent of the youths met diagnostic criteria for at least one co-occurring psychiatric disorder. The most prevalent externalizing disorders were conduct disorder (36%), oppositional defiant disorder (24%), and attention-deficit disorder of any type (9%). The most prevalent internalizing disorders were specific phobias (14%), major depression (6%), and obsessive–compulsive disorder (4%).)

''4 x 3 factorial design'':

#Family court (referred to state drug treatment services -> directed to attend group treatment for 1.5 hours, 4 days a week for 12 weeks. The group focused on risk reduction, peer influence, conflict resolution, and anger management.  CBT and Systemic basis, not manualised.)
#Drug Court (from weekly to three weekly attendance, urinalsysis with negative consequences for positive screens, positive incentives for negative screens, etc... standard duration 12/12)
#Drug Court + MST
#Drug Court + MST + Contingency Management (a voucher system that rewarded clean substance screens, a detailed functional analysis of druguse behavior that served as the basis for self-management planning, and protocols for self-management.)

(Group diffs - by chance, signif higher alc use in DC/MST/CM group, and this group had signif higher polydrug use than the DC gp too)

then __''time of assessments''__:
#pre treatment (at recruitment)
#4/12 (roughly end of treatment with MST)
#12/12 post recruitment)

Treatment fidelity measures ++

Outcome measures:
Form 90 (TLFB) and others ++

''Follow up'':  83.9% families attended all three assessments
''Dose of treamtent'':  only MST arms measured - c 66 - 57 hrs contact... the DC and FC arms unreliable records - assumed LESS than the MST arm.


post hoc analyses showed that youths in the DC/MST and DC/MST/CM conditions had significantly lower percentages of positive drug screens than did their DC counterparts ( ps=.001; DC = 45%, DC/MST = 7%, DC/MST/CM = 17%). In comparison with DC youths, counterparts in the DC/MST and DC/MST/CM conditions had very large Effect Sizes at T2 (1.38 and 2.05, respectively), and these remained large at T3 (1.27 and .82, respectively).
''Self Report'':
The Effect Sizes from //self report// (Form ~90/TLFB) parallel these between-groups differences... but... although youths in the DC/MST and DC/MST/CM conditions frequently reported better outcomes than did FC counterparts, ''in no comparison did DC/MST or DC/MST/CM produce outcomes superior to DC for the self-report measures''.  

"In consideration of these outcomes and the corresponding ESs, it seems reasonable to contend that DC was more effective than FC at reducing youth substance use, DC/MST was slightly more effective than DC, and DC/MST/CM was slightly more effective than DC/MST. This view is supported, in part, by the findings from the drug urine screens. Here, the MST conditions were shown to be considerably more effective than DC at decreasing cannabis use during both the early and latter stages of drug court. In addition, though not significant, youths in the DC/MST/CM condition averaged fewer positive screens than did their DC/MST counterparts (18% vs. 28%) during the initial 4 months of drug court when these treatments were being delivered."

''Psychiatric comorbidities'' 
were less successfully adressed by the MST conditions, altho the CM delivered reasonable effect sizes - generally earlier symptom decrease over non MST conditons, but no difference at longer term follow up.

''Offending outcomes'' 
//Not// significant improvements in rearrest or incarceration in the MST additions to the DC arms, cf. the FC.  (A threat if Health and Justice components are not closely integrated - previoulsy MST shown to reduce these) "across published MST outcome studies, the average ESs for reductions in rearrest and incarceration have been greater than .50 (Curtis et al., 2004). Yet, the MST conditions showed no such effects in comparison with FC in the present study." 

... possibly because the DC arm involved much more supervision than the FC arm, and this meant that DC youths were more likely to be picked up for misdemeanours, even tho their rate was actually reduced compared to the FC kids, whose offending presumably passed unnoticed?

the present study was part efficacy trial (e.g., therapists employed by the research center, excellent supervision) and part effectiveness trial (e.g., minimal exclusion criteria, implementation in community settings). As such, one cannot assume that the favorable results for DC/MST and DC/MST/CM will easily transport to other community-based settings (Henggeler, 2004).

Most promising effets at 12/12 follow up - await 5 year follow up of this study.

Henggeler, S. W., Rowland, M. D., Randall, J., Ward, D. M., Pickrel, S. G., Cunningham, P. B., Miller, S. L.,
Edwards, J. E., Zealburg, J. J., Hand, L. D., & Santos, A. B. (1999). Home-based multisystemic therapy as an
alternative to hospitalization of youths in psychiatric crisis: Clinical outcomes. Journal of the American
Academy of Child and Adolescent Psychiatry, 38, 1331–1339. 

Early trial of [[ACRA]] as add on to MST to provide SUD-focussed interventions for youth.
|Description:|Allows conditional inclusion/exclusion in templates|
|Version:|3.1 ($Rev: 3919 $)|
|Date:|$Date: 2008-03-13 02:03:12 +1000 (Thu, 13 Mar 2008) $|
|Author:|Simon Baird <>|
For use in ViewTemplate and EditTemplate. Example usage:
{{{<div macro="showWhenTagged Task">[[TaskToolbar]]</div>}}}
{{{<div macro="showWhen tiddler.modifier == 'BartSimpson'"><img src="bart.gif"/></div>}}}

window.hideWhenLastTest = false;

window.removeElementWhen = function(test,place) {
	window.hideWhenLastTest = test;
	if (test) {


	hideWhen: { handler: function(place,macroName,params,wikifier,paramString,tiddler) {
		removeElementWhen( eval(paramString), place);

	showWhen: { handler: function(place,macroName,params,wikifier,paramString,tiddler) {
		removeElementWhen( !eval(paramString), place);

	hideWhenTagged: { handler: function (place,macroName,params,wikifier,paramString,tiddler) {
		removeElementWhen( tiddler.tags.containsAll(params), place);

	showWhenTagged: { handler: function (place,macroName,params,wikifier,paramString,tiddler) {
		removeElementWhen( !tiddler.tags.containsAll(params), place);

	hideWhenTaggedAny: { handler: function (place,macroName,params,wikifier,paramString,tiddler) {
		removeElementWhen( tiddler.tags.containsAny(params), place);

	showWhenTaggedAny: { handler: function (place,macroName,params,wikifier,paramString,tiddler) {
		removeElementWhen( !tiddler.tags.containsAny(params), place);

	hideWhenTaggedAll: { handler: function (place,macroName,params,wikifier,paramString,tiddler) {
		removeElementWhen( tiddler.tags.containsAll(params), place);

	showWhenTaggedAll: { handler: function (place,macroName,params,wikifier,paramString,tiddler) {
		removeElementWhen( !tiddler.tags.containsAll(params), place);

	hideWhenExists: { handler: function(place,macroName,params,wikifier,paramString,tiddler) {
		removeElementWhen( store.tiddlerExists(params[0]) || store.isShadowTiddler(params[0]), place);

	showWhenExists: { handler: function(place,macroName,params,wikifier,paramString,tiddler) {
		removeElementWhen( !(store.tiddlerExists(params[0]) || store.isShadowTiddler(params[0])), place);

	hideWhenTitleIs: { handler: function(place,macroName,params,wikifier,paramString,tiddler) {
		removeElementWhen( tiddler.title == params[0], place);

	showWhenTitleIs: { handler: function(place,macroName,params,wikifier,paramString,tiddler) {
		removeElementWhen( tiddler.title != params[0], place);

	'else': { handler: function(place,macroName,params,wikifier,paramString,tiddler) {
		removeElementWhen( !window.hideWhenLastTest, place);



Hides L, Carroll S, Catania L, Cotton SM, Baker A, Scaffidi A, Lubman DI.  (2010) Outcomes of an integrated cognitive behaviour therapy (CBT) treatment program for co-occurring depression and substance misuse in young people.  Journal of Affective Disorders 121; 169–174.


There are high rates of co-occurring depression among young people with substance use disorders. While there is preliminary evidence for the effectiveness of integrated cognitive behaviour therapy (CBT) in combination with antidepressants among alcohol and substance dependent adolescents and adults with co-existing depression, no studies have
examined the effectiveness of integrated CBT interventions in the absence of pharmacotherapy.

The aim of the current study was to determine the outcomes of an integrated CBT intervention for co-occurring depression and substance misuse in young people presenting to a mental health setting.

Sixty young people (aged 15 to 25), with a DSM-IV diagnosis of Major Depressive
Disorder and concurrent substance misuse (at least weekly use in the past month) or disorder were recruited from a public youth mental health service in Melbourne, Australia. 

Participants received 10 sessions of individual integrated CBT treatment delivered with case management over a 20-week period.

The intervention was associated with significant improvements in depression, anxiety,
substance use, coping skills, depressive and substance use cognitions and functioning at mid- (10 weeks) and post- (20 weeks) treatment. 

These changes were maintained at 6 months follow-up (44 weeks).


These results provide preliminary evidence for the effectiveness of the integrated
CBT intervention in young people with co-occurring depression and substance misuse. Further studies using randomised controlled designs are required to determine its efficacy.

!DB comments

No control group - just an outcomes study, age range is up to 25.

encouraging, but doesn't add anything concrete  to the evidence base as yet -  for inclusion in chapter as it justifies future trials of integrated CBT/MET in co-morbidly depressed SUD youth.
In line with the standard procedure for conducting such reviews, a hierarchy of evidence has been developed to distinguish studies according to their susceptibility to bias (Sheldon, Song, & ~Davey-Smith, 1993). Evidently, randomised controlled trials with manualised treatments and homogenous samples are more reliable than trials where randomisation was not possible and the treatment cannot be described. The hierarchy of evidence is in line with generally accepted criteria described in the Cochrane Reviewers' Handbook (Clarke & Oxman, 1999), and other publications (e.g. Rosenthal, 1995; Woolf et al., 1990). The broad categories are as follows: 

''(i)''	- - - [[(i) randomised controlled trials]], 
''(ib)''- - - [[(ib) systematic reviews and meta-analyses]], 
''(ii)''- - - [[(ii) other trials]]: a controlled trial without randomisation, a quasi experiments, or a failed randomisation]] 
''(iib)''- - - [[(iib) experimental single case designs]]
''(iii)''- - - [[(iii) cohort studies]], preferably from more than one centre (a cohort allocates by exposure to treatments and looks for differences in outcomes); 
''(iv)''- - - [[(iv) case-control (retrospective) studies]], preferably from several centres (allocates by outcome and looks for differences of exposure – in terms of treatment); 
''(v)''- - - [[(v) large differences reported in comparisons]] between times and/or places, with or without interventions; 
''(vi)''- - - [[(vi) opinions of respected authorities]] based on clinical experience, descriptive studies, uncontrolled studies and reports of expert committees. 

As this review will highlight, for the treatment of some conditions there is an absence of good quality outcome research, and so clinical opinion is the only information available. We rated each citation in the treatment section of each chapter in terms of the broad categories of evidence (i)-(vi).
Psychotherapy: Theory, Research, Practice, Training 2004, Vol. 41, No. 2, 83–96

!Gets 5Stars because of the interesting questions it poses - 
whether the effectiveness of specific therapies is due to specific techniques/foci of attention, etc, - 

Drawbacks... ''small sample size'', not an RCT as such (part of larger RCT)... 


The relation between ''specific therapy techniques'' and ''treatment outcome'' was examined for 2 empirically supported
treatments for adolescent substance abuse: individual cognitive–behavioral therapy and multidimensional family therapy.  

''__Individual-focussed Vs Family-focussed__''

Participants were 51 inner-city, substance-abusing adolescents receiving outpatient psychotherapy ''within a larger randomized trial''. (67% male youths) The ethnic composition was 65% African American, 25% European American, and 10% Hispanic American.   Adolescent characteristics included the following: mean age was 15.2 years (SD=1.3); 84% of the adolescents were enrolled in school at intake, 63% were on juvenile probation, 22% were court ordered into treatment, and 16% attended previous drug
counseling; 61% were living in single-parent households, 10% were living with both biological parents, and 29% had various other family compositions; and 37% had a yearly household income less than $10,000. 

One session per case was evaluated using a 17-item observational measure of model-specific techniques and therapeutic foci.
"Therapy techniques were
measured using observational scales from a psychotherapy
process instrument developed in a
previous study on this sample (Hogue et al.,
1998). The current study extended the Hogue et
al. 1998 study by adding new items to the observational
scales, conducting new exploratory factor
analyses of the expanded scale, increasing the
number of participants, and conducting process–
outcome analyses."

Exploratory factor analysis identified 2 subscales, Adolescent Focus and Family Focus, with strong interrater-reliability and internal consistency.

Outcomes measures: TLFB and CBCL

Process–outcome analyses revealed that ''family focus'', but ''not adolescent focus'', predicted posttreatment improvement in drug use, externalizing symptoms, and internalizing symptoms within both study conditions. 

(In fact just as effective to apply family focus in individual CBT sessions as in Family-based MDFT) 
''"More important, the findings
suggest a tangible option for real-world
therapists who prefer working alone with adolescents
and face insurmountable barriers to including
family members in treatment for adolescent
drug problems: incorporate work on family
themes into treatment plans."''
Hogue A, Dauber S, Samuolis J, Liddle HA (2006)
!Treatment Techniques and Outcomes in Multidimensional Family Therapy for Adolescent Behavior Problems
Journal of Family Psychology, 2006, Vol. 20, No. 4, 535–543

Sub-part of the CYT study - expanding on earliuer smaller study [[Hogue et al 2004]]

ProcessResearch - what are the specific techniques that are associated with outcomes?
The sample for this study was composed of 63 substanceabusing
adolescents receiving MDFT during a randomized clinical
trial (n = 224) (CYT). 

Eligible adolescents were between the ages of 13
and 17, were currently using illicit drugs, and had a caregiver able
to participate in assessment and treatment sessions. Exclusion
criteria included a history of mental disability or organic disorder,
the need for inpatient detoxification, and suicidal ideation.

The 63 cases selected for inclusion in the current study were those MDFT
cases that had completed a pretreatment assessment, at least one
follow-up assessment (6- or 12-month), and at least one videotaped
therapy session. Selected cases attended an average of 13.8 sessions
(SD = 8.4); 37% of the sample dropped out of treatment
before having completed 10 sessions. 

generally ethnically mixed and low SES: 83% male, with an average age of
15.1 years (SD = 1.3). The ethnic composition was 71% African
American, 19% European American, and 10% Hispanic American.
Fifty-three percent of the adolescents were living in single-parent
households, 25% were living with both biological parents, and
22% had various other family compositions

Outcome measures ++

Video ratings of sessions
Therapist Behaviour Rating Scale (TBRS) = a validated adherence porocess recording system

Looked at TWO FACTORS:



#Greater use of ''family focussed techniques predicted reduced externalizing'' //when Adolescent Focus was also high// (B=–10.74, p<.01, d=0.76) but not when Adolescent Focus was low (B =1.16, p<.75).)
#Increased family focus predicted increased Family coheseion at 12/12, ditto with adolescent techniques
#Justification for continued development of multi-domain simultaneous interventions but...
#...''Neither adolescent nor family techniques as measured in this study predicted reductions in drug use''.

Main outcomes from the randomized trial show that MDFT significantly reduced substance use up to 1 year following treatment. This is hard evidence that the MDFT therapist interventions measured by the TBRS instrument did not fully capture all curative aspects of the treatment model.

!DB Wrote:
In the second study (part of the CYT) a slightly larger sample (n = 63, being those MDFT cases for whom there was a completed 12 month outcome assessment, as well as at least one videotaped session for analysis) was examined.  The results were not quite so clear cut, however: increased Family Focus did predict reduced externalizing symptoms, but this effect was present only when Adolescent Focus was also high (B = –10.74, p < 0.01, d = 0.76) but not when Adolescent Focus was low (B = 1.16, p < 0.75).  However, neither adolescent nor family techniques as measured in this study predicted reductions in drug use at 12 months, even though such reductions were found in the MDFT-treated group within the larger study.  The authors’ conclusion was that whatever the true “curative aspects” of MDFT are, the measures of ‘Family focus’ and ‘Adolescent focus’ by the Therapist Behaviour Rating Scale were not adequately capturing them. 
Hollis JF, Polen MR, Whitlock EP, et al. Teen reach: outcomes from a randomized, controlled trial of a tobacco reduction program for
teens seen in primary medical care. Pediatrics 2005;115:981–9.

''Clinician advice, an interactive computer program, and
motivational counselling increased smoking cessation in teens''.

''Reviewed in Evidence Based Medicine  2005 by Tim Lancaster''

1254 adoelscents randomised to .......

"Teen reach " intervention - smoking prevention and quitting in primary care settings using:
(1) a written prompt for primary care clinicians to encourage teens to quit smoking or to not start;
(2) a 10–12 minute session on the Pathways to Change (PTC) interactive computer program that assessed the stage of
readiness to start (or quit) smoking and then provided individualised advice; 
(3) 3–5 minutes of motivational counselling by trained health counsellors; and 
(4) 2 individual booster sessions with the PTC program and the health counsellor over the subsequent 11 months

1272 randomised to .....

RCT with the ''non-Rx control'' as diet advice and MET (few minutes) with health counsellors

''RESULTS (Intervention Vs diet advice...)''
Smokers at 1 year f/up 33% Vs 23% NNT = 12 (C.I = 6 to 114)
Smokers at 2 year f/up 30% Vs 21% NNT = 13 (6 to 304)

Non - smokers at 1 yr  91% vs 88% NNT = 34 (20 to 949)
                       at 2 yr 86% vs 83% NNT = NOT SIGNIF...

Tim Lancaster's review comments:
"The study by Hollis et al provides less evidence that brief
clinical interventions discourage non-smokers from starting. Based on
current evidence, busy clinicians might justifiably prioritise their
preventive efforts to focus on helping current smokers to quit."

''Adolescent heroin use: a review of the descriptive and treatment literature
Christian J. Hopfer, M.D.a,*, Elizabeth Khuri, M.D.b, Thomas J. Crowley, M.D.a,
Sabrina Hooks, B.A''

Journal of Substance Abuse Treatment 23 (2002) 231– 237

The prevalence of heroin use is rising among young people. We reviewed descriptive and treatment studies of heroin-using youth.  Medline and Psychinfo were searched with the following kewords: heroin or opiate; and adolescent or young or juvenile. 

''Nine articles describing treatment'' and ''five articles describing clinical characteristics'' of youth with heroin use were reviewed. 

Descriptive studies of heroin-using youth demonstrate ''substantial polysubstance use'' and ''psychiatric comorbidity''. 

The largest treatment study found that, of four different treatment modalities, ''methadone maintenance had the highest retention rate''. (@@Crome, I. B., Christian, J., & Green, C. (1998). Tip of the national iceberg? Profile of adolescent patients prescribed methadone in an innovative community drug service. Drug, Education, Prevention, and Policy, 5,
195– 197@@.) 

''For youth who stayed in treatment for at least 6 months, therapeutic communities or drug-free treatment resulted in better outcomes compared with methadone maintenance.'' 

@@No controlled treatment trials were found@@. 

@@''Length of time in treatment, regardless of modality, was the best predictor of outcome.''@@ 

The rise of heroin use among adolescents and young adults calls for descriptive studies as well as controlled treatment studies.
Horvath AO, Symonds BD. Relation between working alliance and outcome in psychotherapy: A meta-analysis. Journal of Counseling Psychology 1991;

relationship between ''outcomes'' and the ''quality of early therapeutic alliance'' - especially as it is judged by the patients 

Not reviewed so only 1Star

See also [[Shirk and Carver 2003]]
There are a lot of interesting people using ~TiddlySpace that you might like to keep track of and interact with. There are a number of ways of doing this.

If you see a number in the speech bubble in one of your tiddlers, it means that someone is writing about the same thing as you. You can find out what they're saying by clicking on it. Likewise, if you see something interesting in someone else's space, you can respond to it and write up your own thoughts on the subject by clicking "Reply to this tiddler".

Additionally, if you find anyone interesting, or you find an interesting looking space and you'd like to know when it's changed, you can "follow" that space. To do this, simply create a tiddler with the title: {{{@space-name}}} and tag it {{{follow}}}. If you want, you can store some notes about that space in the body of the tiddler.

If you then want to know what happening, simply [[include|How do I include/exclude spaces?]]@docs the @tivity space and then visit your activity stream at [[/activity|/activity]], or just visit the @tapas space directly.

!Not sure who to follow?
Here's a few suggestions:
* @fnd
* @cdent
* @pmario
* @bengillies
* @dickon
An Evaluation of Drug Treatments for Adolescents in 4 US Cities
Yih-Ing Hser, PhD; Christine E. Grella, PhD; Robert L. Hubbard, PhD; Shih-Chao Hsieh, MS;
Bennett W. Fletcher, PhD; Barry S. Brown, PhD; M. Douglas Anglin, PhD

studied 1167 @@(= 67% of the 1732 patients consecutively admitted, who completed interviews at 1 year post-treatment - HIGH ATTRITION RATE - addressed see below)@@ adolescents (age range, 11- 18 years; 368 females, 799 males)from 4 US cities (Pittsburgh, Pa; Minneapolis, Minn; Chicago, Ill; and Portland, Ore)
using a naturalistic, nonexperimental evaluation design.
These adolescents were consecutive admissions during the period from 1993 to 1995 at 23 community-based treatment programs in the Drug Abuse Treatment Outcome Studies for Adolescents. Included were:
#418 admissions to 8 residential programs (mixed prgrammes of indiv, family, group input)
#292 admissions to 9 outpatient drug-free programs (nearly all (but one) emphasis on Family theroay, but daily groups, individual, etc)
#457 admissions to 6 short-term inpatient programs (intensive counselling or 12-step, plus Family work in medically controlled environment - disch to outpaitient Rx)

The recent @@Drug Abuse Treatment Outcome Studies for Adolescents (DATOS-A)@@ is the first large-scale effort designed specifically toevaluate treatment outcomes among adolescents. Treatment programs included in DATOS-A were community programs specifically intended to treat adolescents with drug problems. This article reports results of an assessment of treatment outcomes among adolescent patients participating in DATOS-A. 

The study addressed 3 key research questions: 
(1) What were the patterns of drug use and other problem behaviors of these adolescents before they entered the DATOS-A treatment programs?
(2) Were there changes in their drug use and other problem behaviors after treatment? 
(3) Was the length of stay in treatment related to their posttreatment outcomes?

31.5% female, 66.2% white, 18.3% black, 9.3% Hispanic, and 6.3% other ethnic groups. 
The mean±SD age was 15.7±1.3 years. 
More than 80% were currently in or had completed the ninth grade. 
One third (37.4%) were not attending school at the time of treatment admission.

Almost half (47.1%) of these adolescents reported marijuanause
as their primary drug problem.Anadditional 20.6%
cited alcohol use as their primary problem.


''Group retained for analysis at 1 year:'' "We compared the subjects without follow-up interviews with those who completed follow-up interviews and ''did not find any differences in'':
#use of drugs (eg, marijuana, alcohol, cocaine, or other illicit drugs), or 
#enrollment in school. 
#treatment retention in STI or ODF programs, 


#patients in RES programs who completed follow-up stayed in treatment significantly longer than those without follow-up (mean days in treatment, 124.4 vs 105.4, respectively)
#The follow-up sample had a higher proportion of female (31.5%) and white (66.2%) participants and lower proportions of black (18.3%) and Hispanic (9.3%) participants compared with those without follow-up (21.3% female, 60.3% white, 21.9% black, and 12.5% Hispanic)"

random urinalysis in 25% of sample (85% of them consented)
''Problem severity index'' (presence of no of the following:
#multiple drug use (use of >3 drugs during the year before treatment), 
#dependence on alcohol or any drug (by DSM-III-R criteria16), 
#mental disorder (conduct disorder, attention-deficit/hyperactivity disorder, panic disorder, anxiety disorder, or major depressive disorder, using DSM-III-R criteria), 
#criminal involvement, 
#unstable living arrangement, 
#family alcohol and other drug (AOD) problems, 
#deviant reference group,
#academic failure prior to DATOS-A treatment

''Outcome measures''
Outcome measures included drug-use patterns, psychological adjustment, criminal involvement, and school performance

Overall, during the year after treatment, compared with the year before treatment, there were significant improvements in: 
#drug use,
#psychological adjustment, 
#school performance, and 
#criminal activity 

Weekly or more frequent CBS use dropped from 80.4% in the year before admission to 43.8% in the year following treatment.

Similarly, heavy drinking dropped from 33.8% to 20.3%, 

use of other illicit drugs dropped from 48.0% to 42.2%, 

criminal activities dropped from 75.6% to 52.8%. 

Additionally, patients reported better psychological adjustment in terms of reduced suicidal thoughts and hostility, and increased self-esteem. 

During the year after treatment, more patients attended school and reported average or better than average grades compared
with the year before treatment.

cocaine use increased to 19.2% at follow-up from 16.5% before intake (Qw1=3.76; P=.05), mainly due to increases among patients in STI (Qw1=9.52; P=.002) and ODF (Qw1=6.95; P=.008) programs. 

Patients in ODF programs also showed no improvement in their use of hallucinogens and stimulants, and they significantly
increased use of illicit drugs other than marijuana (Qw1=4.94, P=.03). 

Additionally, although the level of illegal acts was reduced from pretreatment levels for adolescents treated in ODF programs (Qw1=18.04, P,.001), there was a (nonsignificant) increase in arrest rates for these patients.

Even including STI programs, longer time in treatment was found to be significantly related to 
#lower drug use (eg, any marijuana use, or any drug or alcohol use) and 
#lower rates of arrest following treatment.

This important finding does not establish thresholds for necessary minimum treatment durations, but it does replicate a finding that has been repeatedly demonstrated in adult evaluation research.

#Improve retention
#Address complex multiople comorbidiites

#NO Conrol condition
#33% loss of sample at 1 year of posttreatment follow-up; 
#the fact that study results are mostly based on self-report; and 
#the fact that treatment effects may be somewhat inflated, particularly for patients in RES programs because those patients lost to follow- up seemed to have shorter lengths of stay in treatment than those who completed follow-up interviews
Nicotine Patch Therapy in 101 Adolescent Smokers Efficacy, Withdrawal Symptom Relief, and Carbon Monoxide and Plasma Cotinine Levels
Richard D. Hurt, MD; Gary A. Croghan, PhD, MD; Scott D. Beede, MD;
Troy D. Wolter, MS; Ivana T. Croghan, PhD; Christi A. Patten, PhD

Arch Pediatr Adolesc Med. 2000;154:31-37

To determine the efficacy of nicotine patch therapy in adolescents who want to stop smoking and to assess biochemical markers of smoking and nicotine
Nonrandomized, open-label trial using a 15mg/16 h patch.
Two midwestern cities.
One hundred one adolescents aged 13 through 17 years smoking at least 10 cigarettes per day (cpd).
Six weeks of nicotine patch therapy and follow-up visits at 12 weeks and 6 months.
Main Outcome Measures: 
Self-reported smoking abstinence verified by expired-air carbon monoxide (CO) level of no more than 8 ppm, nicotine withdrawal symptoms, and plasma cotinine level.

Forty-one participants were female (mean [± SD] age, 16.5 [± 1.1] years). 
Median baseline smoking rate was 20.0 cpd (range, 10-40 cpd). 
Biochemically confirmed point prevalence smoking abstinence was 10.9% (11/101) at 6 weeks and 5.0% (5/101) at 6 months. 
The mean (± SD) plasma cotinine level at baseline was 1510.9 ± 732.7 nmol/L; for nonsmoking subjects at weeks 3 and 6, 607.8 ± 386.2 and 710.0 ± 772.5 nmol/L, respectively. Plasma cotinine levels were correlated with CO levels at baseline (r = 0.27; P = .006), week 3 (r = 0.34; P = .004), and week 6 (r = 0.26; P = .03) and with mean cigarettes smoked per day during weeks 3 (r = 0.24; P = .04) and 6 (r = 0.30; P = .02). Mean smoking rates decreased significantly during the study, an effect that lessened at 12 weeks and 6 months.

Nicotine patch therapy plus minimal behavioral intervention does not appear to be effective for treatment of adolescent smokers. Plasma cotinine and CO levels appear to be valid measures of smoking rates during the cessation process, but not at baseline. Smoking rates were reduced throughout the study. Additional pharmacological and behavioral treatments should be considered in adolescent smokers.

!@@DB notes@@
self -selected group from fliers etc, smokers of >10 per day for last year.  Standard exclusions

Intent to Treat analysis, but no control group.

Biochemical markers (CO and Cotinine)

Intervention was @@mimimal@@:

"Adolescents were given a daily diary to record the number
of cigarettes smoked and the nicotine withdrawal symptoms
experienced between the informational meeting and
their first clinic visit before their target quit date. Nicotine
withdrawal symptoms included desire to smoke; anger, irritability,
or frustration; anxiety or nervousness; difficulty
concentrating; impatience or restlessness; hunger; awakening
at night; and depression.20 Each symptom was scored as
none (0), slight (1), mild (2), moderate (3), or severe (4).
At the first clinic visit, a physician collected medical history
information (including the adolescent’s self-report of medical
and psychiatric problems), performed a brief physical examination,
and delivered a strong, personalized message about
smoking cessation to each subject according to the guidelines
of the National Cancer Institute.21 Subjects were instructed
in the use of the nicotine patch (Nicotrol; 15 mg/16
h) and were given self-help material from the package insert
used in the over-the-counter product. Brief individual
counseling (10-15 minutes) was provided by a trained study
assistant at the subject’s request. No additional materials or
behavioral instructions were provided."

comments by [[Hanson et al 2003]] - "For instance, in a nonrandomized,
open-label trial of the nicotine patch among adolescents
(Hurt et al., 2000), the mean reduction in
number of cigarettes smoked per day among continuing
smokers was 84.1% at the end of treatment (from
18.2 cigarettes per day to 2.9 cigarettes per day)." - but this was not obviously related to the PATCH!
See [[Latimer et al 2003]]

IFCBT session outline
Session 1 /Introduction/*/ground rules and assessment of drug
abuse consequences
Rational emotive therapy principles
Session 2 /Activating events; irrationalbeliefs; consequences/*/
general and specific to drug abuse
Session 3 /Disputing irrational beliefs*effectofrational beliefs/*/
general and specific to drug abuse
Session 4 /Irrational and rationalbeliefsineveryday life/*/promoting
psychological well-being
Session 5 /Irrational and rationalbeliefspertinenttodrug abuse/*/
promoting drug abstinence
Problem solving therapy principles
Session 6 /Problem orientation/*/developing a positive orientation
Session 7 /Problem Definition/*/defining drug abuse risk factors
as problems-to-be-solved
Session 8 /Generating alternative solutions/*/effectively managing
drug abuse risks
Session 9 /Decision making/*/evaluation of alternative solutions
to promote drug abstinence
Session 10 /Implementation and verification/*/evaluation of selected
solutions for drug abstinence
Session 11 Addressing linkages between RET and PST principles
to foster drug abstinence

(b) Alternating sessions on learning strategy training and ongoing RET and
PST skill application to promote drug abstinence:

Session 12 Managing peer pressure
Session 13 Orientation to self-regulated learning
Session 14 Managing drug craving
Session 15 Survey
Session 16 Managing negative and positive emotions
Session 17 Scan and idiom sheet
Session 18 Recalling and developing prosocial pursuits
Session 19 Annotation and translation
Session 20 Managing family stress
Session 21 Structure and summary
Session 22 Developing a prosocial support network
Session 23 Reciprocal peer tutoring
Session 24 Managing problems with friends
Session 25 Test-taking
Session 26 Sexuality issues and STD/HIV prevention
Session 27 Note-taking
Session 28 Relapse prevention
Session 29 Essay writing
Session 30 Re-learning how to enjoy life without drugs
Session 31 Learning strategy systems to maintain academic
Session 32 Sustained application of RET and PST principles to
maintain drug abstinence
!A forthcoming study of MDFT

Author: H. Rigter, I. Pelc, P. Tossmann, O. Phan, E. Grichting, V. Hendriks and C. Rowe
Year: 2010

Title: INCANT: A transnational randomized trial of Multidimensional Family Therapy versus treatment as usual for adolescents with cannabis use disorder

Journal: BMC Psychiatry
Volume: 10
Issue: 28

Abstract: Background: In 2003, the governments of Belgium, France, Germany, the Netherlands and Switzerland agreed that there was a need in Europe for a treatment programme for adolescents with cannabis use disorders and other behavioural problems. Based on an exhaustive literature review of evidence-based treatments and an international experts meeting, Multidimensional Family Therapy (MDFT) was selected for a pilot study first, which was successful, and then for a joint, transnational randomized controlled trial named INCANT (INternational CAnnabis Need for Treatment).Methods/design: INCANT is a randomized controlled trial (RCT) with an open-label, parallel group design. This study compares MDFT with treatment as usual (TAU) at and across sites in Brussels, Berlin, Paris, The Hague and Geneva. Assessments are at baseline and at 3, 6, 9 and 12 months after randomization. A minimum of 450 cases in total is required; sites will recruit 60 cases each in Belgium and Switzerland, and a maximum of 120 each in France, Germany and the Netherlands.Eligible for INCANT are adolescents from 13 through 18 years of age with a cannabis use disorder (dependence or abuse), with at least one parent willing to take part in the treatment. Randomization is concealed to, and therefore beyond control by, the researcher/site requesting it. Randomization is stratified as to gender, age and level of cannabis consumption.Assessments focus on substance use; mental function; behavioural problems; and functioning regarding family, school, peers and leisure time.For outcome analyses, the study will use state of the art latent growth curve modelling techniques, including all randomized participants according to the intention-to-treat principle.INCANT has been approved by the appropriate ethical boards in Belgium, France, Germany, the Netherlands, Switzerland, and the University of Miami Miller School of Medicine. INCANT is funded by the (federal) Ministries of Health of Belgium, Germany, the Netherlands, Switzerland, and by MILDT: the Mission Interministerielle de Lutte Contra la Drogue et de Toximanie, France.Discussion: Until recently, cannabis use disorders in adolescents were not viewed in Europe as requiring treatment, and the co-occurrence of such disorders with other mental and behavioural problems was underestimated. This has changed now.Initially, there was doubt that a RCT would be feasible in treatment sectors and countries with no experience in this type of study. INCANT has proven that such doubts are unjustified. Governments and treatment sites from the five participating countries agreed on a sound study protocol, and the INCANT trial is now underway as planned
|''Description''|Allows the rendering of svg images in a TiddlyWiki|
|''Notes''|Currently only works in modern browsers (not IE)|
{{{<<image SVG>>}}} will render the text of the tiddler with title SVG as an SVG image (but not in ie where it will fail silently)
width/height: specify width/height parameters
link: make the image link to a given location
tiddlyLink: link to a tiddler

Binary tiddlers in TiddlyWeb when passed through the wikifier will be shown as images.
eg. {{{<<view text wikified>>}}} on a binary tiddler will show the image.
{{{<<view fieldname image>>}}}
will render the value of the tiddler field 'fieldname' as an image. This field can contain a tid
{{{<<image SiteIcon>>}}}
will create an image tag where the tiddler has content type beginning image and not ending +xml
will attempt to create svg object in other scenarios
{{{<<image /photos/x.jpg>>}}}
will create an image tag with src /photos/x.jpg as long as there is not a tiddler called /photos/x.jpg in 
which case it will render that tiddler as an image. Note for the case of svg files it will attempt to render as an svg if possible via the image
tag. It doesn't embed the svg in the dom for security reasons as svg code can contain javascript.
(function($) {

var macro = config.macros.image = {
	shim: "/bags/common/tiddlers/shim",
	ieVersion: config.browser.isIE ? parseInt(config.browser.ieVersion[1], 10) : false,
	svgns: "",
	xlinkns: "", 
	svgAvailable: document.implementation.hasFeature("", "1.1"),
	_fixPrefix: 1,
	_external_cache: {},
	_image_tag_cache: {},
	_image_dimensions: {},
	locale: {
		badImage: "This image cannot be displayed."
	handler: function(place, macroName, params, wikifier, paramString, tiddler){
		var imageSource = params[0];
		// collect named arguments
		var args = macro.getArguments(paramString, params);
		this.renderImage(place, imageSource, args);
	init: function() {
		var startupImages = store.getTaggedTiddlers("systemImage");
		var place = $("<div />").attr("id", "systemImageArea").appendTo("body").hide()[0];
		for(var i = 0; i < startupImages.length; i++) {
			var image = startupImages[i];
			macro.renderImage(place, image.title, { idPrefix: "" });
		var data = new Image();
		data.onload = function() {
			// note ie 8 only supports data uris up to 32k so cannot be relied on
			macro.supportsDataUris = this.width != 1 || this.height != 1 ? false : true;
			macro.supportsDataUris = macro.ieVersion && macro.ieVersion < 9 ? false : macro.supportsDataUris;
		data.onerror = data.onload;
		data.src = "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==";
	refreshImage: function(src) {
		var elements = macro._image_tag_cache[src] ? macro._image_tag_cache[src] : [];
		if(macro._image_dimensions[src]) {
			macro._image_dimensions[src] = false;
		for(var i = 0; i < elements.length; i++) {
			var el = $(elements[i]);
			var newSrc = "%0?nocache=%1".format(src, Math.random());
			el.attr("src", newSrc); // force reload
	isBinaryImageType: function(contentType) {
		return (contentType && contentType.indexOf("image") === 0 &&
			contentType.indexOf("+xml") != contentType.length - 4) ? true : false;
	isImageTiddler: function(tiddler) {
		return macro.isSVGTiddler(tiddler) || macro.isBinaryImageTiddler(tiddler);
	isSVGTiddler: function(tiddler) {
		var type = tiddler ? tiddler.fields['server.content-type'] : false;
		return type == "image/svg+xml";
	isBinaryImageTiddler: function(tiddler) {
		return macro.isBinaryImageType(tiddler.fields['server.content-type']);
	renderImage: function(place, imageSource, options) {
		var imageTiddler = store.getTiddler(imageSource);
		var container;
		var classes = ["image"];
		if( {
			classes = classes.concat(["imageLink", "externalLink"]);
			container = $("<a />").attr("href",[0];
		} else if(options.tiddlyLink) {
			container = createTiddlyLink(place, options.tiddlyLink, false);
		} else {
			container = $("<span />").appendTo(place)[0];
		$(container).addClass(classes.join(" "));

		options = options ? options : {};
		if(imageTiddler && macro.isBinaryImageTiddler(imageTiddler)) { // handle the case where we have an image url
			return macro._renderBinaryImageTiddler(container, imageTiddler, options);
		} else if(imageTiddler){ // handle the case where we have a tiddler
			return macro._renderSVGTiddler(container, imageTiddler, options);
		} else { // we have a string representing a url
			return macro._renderBinaryImageUrl(container, imageSource, options);
	_renderAlternateText: function(container, options) {
		var img;
		var src = options.src || "";
		if(options.width && options.height) {
			img = $("<img />").attr("src", src).addClass("svgImageText").attr("width", options.width).
				attr("height", options.height).appendTo(container);
		var alt = options.alt;
		if(img && alt) {
			img.attr("alt", alt).attr("title", alt);
		} else if(alt) {
		macro._image_tag_cache[src] = img;
	_renderSVGTiddler: function(place, tiddler, options) {
		if(!options) {
			options = {};
		merge(options, { tiddler: tiddler, fix: true});

		if(macro.svgAvailable) {
			this._importSVG(place, options); // display the svg
		} else if(options.altImage) {
			var image = options.altImage;
			delete options.altImage;
			this._renderBinaryImageUrl(place, image, options);
		} else {
			this._renderAlternateText(place, options); // instead of showing the image show the alternate text.
	_renderBinaryImageTiddler: function(place, tiddler, options) {
		var resourceURI;
		var fields = tiddler.fields;
		if(fields["server.type"] == "tiddlyweb") { // construct an accurate url for the resource
			resourceURI = "%0/%1/tiddlers/%2".format(config.defaultCustomFields[""],
				fields["server.workspace"], encodeURI(fields["server.title"]));
		} else { // guess the url for the resource
			resourceURI = tiddler.title;
		var ctype = fields["server.content-type"] || tiddler.type;
		var text = tiddler.text;
		if(macro.supportsDataUris && ctype && text.indexOf("<html") == -1) {
			var uri = "data:%0;base64,%1".format(ctype, text);
			options.src = resourceURI;
			return macro._renderBinaryImageUrl(place, uri, options);
		} else if(options.src) {
			return macro._renderBinaryImageUrl(place, options.src, options);
		} else {
			return macro._renderBinaryImageUrl(place, resourceURI, options);
	_renderImageTag: function(container, src, width, height, options) {
		var img;
		img = $("<img />").appendTo(container);
		if(height) {
			img.attr("height", height);
		if(width) {
			img.attr("width", width);
		if(macro.ieVersion && macro.ieVersion < 7 && macro.shim && options.ie6png) {
			$(img).css({width: userW, height: userH,
					filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='%0', sizingMethod='scale')".format(src)
				}).attr("src", macro.shim);
		} else {
			img.attr("src", src);
		if(!macro._image_tag_cache[options.srcUrl]) {
			macro._image_tag_cache[options.srcUrl] = [];
		img = $(img).addClass(options.imageClass)[0];
		return img;
	_getDimensions: function(realDimensions, reqDimensions, preserve) {
		var w = realDimensions.width;
		var h = realDimensions.height;
		var reqh = reqDimensions.height;
		var reqw = reqDimensions.width;
		var finalw = w, finalh = h;
		var ratiow = reqw / w, ratioh = reqh / h;
		var scaledw = ratioh * w;
		var scaledh = ratiow * h;
		if(!reqw && reqh) {
			finalw = scaledw;
			finalh = reqh;
		} else if(reqw && !reqh) {
			finalw = reqw;
			finalh = scaledh;
		} else if(reqh && reqw) {
			var preserveWidth = w > h ? true : false;
			if(preserve) {
				if(preserveWidth && scaledh < reqh) {
					finalh = scaledh;
					finalw = reqw;
				} else {
					finalh = reqh;
					finalw = scaledw;
			} else {
				finalw = reqw;
				finalh = reqh;
		return { width: parseInt(finalw, 10), height: parseInt(finalh, 10) };
	_renderBinaryImageUrl: function(container, src, options) {
		var srcUrl = options.src ? options.src : src;
		srcUrl = srcUrl.indexOf("/") === -1 ? "/%0".format(srcUrl) : srcUrl; // for IE. 
		var image_dimensions = macro._image_dimensions[srcUrl];
		var image = new Image(); // due to weird scaling issues where you use just a width or just a height
		var createImageTag = function(dimensions, error) {
			if(error) {
				var altImage = options.altImage;
				if(altImage) {
					delete options.altImage;
					macro._renderBinaryImageUrl(container, altImage, options);
				} else {
					options.src = src;
					macro._renderAlternateText(container, options);
			} else {
				var dim = macro._getDimensions(dimensions, { 
					width: options.width, height: options.height }, options.preserveAspectRatio);
				options.srcUrl = srcUrl;
				macro._renderImageTag(container, src, dim.width, dim.height, options);

		if(!image_dimensions) {
			image.onload = function() {
				var dimensions = { width: image.width, height: image.height};
				macro._image_dimensions[srcUrl] = dimensions;
			image.onerror = function() {
				createImageTag(null, true);
			image.src = src;
		} else {
	_generateIdPrefix: function(){
		return "twsvgfix_" + (this._fixPrefix++).toString() + "_";
	_fixSVG: function(childNodes, idPrefix) {
		var urlPattern = /url\(\#([^\)]*)\)*/ig;
		var fixes = [
		{ attr: "id", pattern: /^(.*)$/ig },
		{ attr: "href", namespace: macro.xlinkns, pattern: /^#(.*)$/ig }
		var url_fixes = ["filter", "fill", "mask", "stroke", "style"];
		for(var i = 0; i < url_fixes.length; i++) {
			fixes.push({ attr: url_fixes[i], pattern: urlPattern });
		for(var t = 0; t < childNodes.length; t++) {
			var node = childNodes[t];
			for(var a = 0; a < fixes.length; a++) {
				var fix = fixes[a];
				var attr = fix.attr;
				var ns = fix.namespace || "";
				if(node.hasAttributeNS && node.hasAttributeNS(ns, attr)) {
					var v = node.getAttributeNS(ns, attr);
					fix.pattern.lastIndex = 0;
					var match = fix.pattern.exec(v);
					if(match) {
						// Make sure replacement string doesn't contain any single dollar signs
						var toReplace = match[1];
						if(toReplace.indexOf(idPrefix) !== 0 && toReplace.indexOf("twglobal_") !== 0) {
							var replacement = (idPrefix + toReplace).replace("$", "$$$$"); 
							v = v.replace(match[1], replacement);
						node.setAttributeNS(ns, attr,v);
			var children = node.childNodes;
			if(children.length > 0) {
				this._fixSVG(children, idPrefix);
	_importSVG: function(place, options){
		options = options ? options : {};
		var svgDoc, tiddlerText = options.tiddler.text;
		if (window.DOMParser) {
			svgDoc = new DOMParser().parseFromString(tiddlerText, "application/xml").documentElement;
			var idPrefix = options.idPrefix || this._generateIdPrefix();
			this._fixSVG([svgDoc], idPrefix);
			var el = document.importNode(svgDoc, true);
			var svgHolder = document.createElementNS(macro.svgns,"svg");
			var width = options.width;
			var height = options.height;
			if(width || height) {
				if(width && height) { // set view box of containing svg element based on the svg viewbox and width and height.
					var viewBox = el.getAttribute("viewBox");
					var topLeft = "0 0";
					if(viewBox) {
						topLeft = viewBox.replace(/([0-9]*) +([0-9]*) +([0-9]*) +([0-9]*) */gi,"$1 $2");
					svgHolder.setAttributeNS(macro.svgns, "viewBox", "0 0 %0 %1".format(width, height));
				} else {
					if(!width) {
						width = el.getAttribute("width");
					if(!height) {
						height = el.getAttribute("height");
				svgHolder.setAttribute("width", width);
				svgHolder.setAttribute("height", height);

				el.setAttribute("width", "100%");
				el.setAttribute("height", "100%");
				svgHolder.setAttribute("class", "svgImage svgIcon %0".format(options.imageClass || ""));
			else {
				var existing = el.className ? el.className.baseVal : "";
				el.setAttribute("class","svgImage %0".format(existing));
			// if a tiddler attribute is set this is read as a link
			$("[tiddler], [tiddlyLink]", place).attr("refresh", "link").click(function(ev) {
				var tiddler = $("tiddlyLink");
				if(tiddler) {
					story.displayTiddler(, tiddler);
	getArguments: function(paramString, params) {
		var args = paramString.parseParams("name", null, true, false, true)[0];
		var options = {};
		for(var id in args) {
			if(true) {
				var p = args[id];
				if(id == "def") {
					options[id] = p;
				} else {
					options[id] = p[0];
		var width = isNaN(params[1]) ? false : parseInt(params[1], 10);
		var height = isNaN(params[2]) ? false : parseInt(params[2], 10);

		options.width = macro.lookupArgument(options, "width", width);
		options.height = macro.lookupArgument(options, "height", height);
		options.preserveAspectRatio = args.preserveAspectRatio && 
			args.preserveAspectRatio[0] == "yes" ? true : false;
		options.tiddlyLink = macro.lookupArgument(options, "tiddlyLink", false); = macro.lookupArgument(options, "link", false);
		return options;
	lookupArgument: function(args, id, ifEmpty) {
		return args[id] ? args[id] : ifEmpty;

// update views
var _oldwikifiedview = config.macros.view.views.wikified;
// update wikifier to check tiddler type before rendering
merge(config.macros.view.views, {
	wikified: function(value, place, params, wikifier, paramString, tiddler) {
		if(macro.isImageTiddler(tiddler) && params[0] == "text") {
			var newplace = $("<div />").addClass("wikifiedImage").appendTo(place)[0];
			macro.renderImage(newplace, tiddler.title, { alt: macro.locale.badImage });
		} else {
			_oldwikifiedview.apply(this, arguments);
	image: function(value, place, params, wikifier, paramString, tiddler) {
		// a field can point to another tiddler whereas text is the current tiddler.
		var title = params[0] == "text" ? tiddler.title : value;
		var args = macro.getArguments(paramString, params);
		macro.renderImage(place, title, args);
config.shadowTiddlers.StyleSheetImageMacro = [".wikifiedImage svg, .wikifiedImage .image { width: 80%; }",
	".svgImageText { background-color:[[ColorPalette::Error]]; color:#ddd; display: inline-block; }",
	"span.svgImageText { display: inline-block; overflow: hidden; }"
store.addNotification("StyleSheetImageMacro", refreshStyles);


Interventions using technology or otherwise seen as "innovative" so that they don't easily fit into another existing category!
Author: C. D. Jensen, C. C. Cushing, B. S. Aylward, J. T. Craig, D. M. Sorell and R. G. Steele
Year: 2011

Title: Effectiveness of motivational interviewing interventions for adolescent substance use behavior change: A meta-analytic review

Journal: Journal of Consulting and Clinical Psychology
Volume: 79
Issue: 4
Pages: 433-440
Date: Aug

This study was designed to quantitatively evaluate the effectiveness of motivational interviewing (MI) interventions for adolescent substance use behavior change. 
Literature searches of electronic databases were undertaken in addition to manual reference searches of identified review articles. Databases searched include PsycINFO, PUBMED/MEDLINE, and Educational Resources Information Center. Twenty-one independent studies, representing 5,471 participants, were located and analyzed. 
An omnibus weighted mean effect size for all identified MI interventions revealed a small, but significant, posttreatment effect size (mean d = .173, 95% CI [.094, .252], n = 21). Small, but significant, effect sizes were observed at follow-up suggesting that MI interventions for adolescent substance use retain their effect over time. MI interventions were effective across a variety of substance use behaviors, varying session lengths, and different settings, and for interventions that used clinicians with different levels of education. 
The effectiveness of MI interventions for adolescent substance use behavior change is supported by this meta-analytic review. In consideration of these results, as well as the larger literature, MI should be considered as a treatment for adolescent substance use
Jensen CD, Cushing CC, Aylward BS, Craig JT, Sorell DM, and Steele RG (2011) ''Effectiveness of Motivational Interviewing Interventions for Adolescent Substance Use Behavior Change: A Meta-Analytic Review.''  Journal of Consulting and Clinical Psychology 2011, Vol. 79, No. 4, 433–440

This study was designed to quantitatively evaluate the effectiveness of motivational interviewing (MI) interventions for adolescent substance use behavior change. 
Literature searches of electronic databases were undertaken in addition to manual reference searches of identified review articles. Databases searched include PsycINFO, PUBMED/MEDLINE, and Educational Resources Information Center. 

Twenty-one independent studies, representing 5,471 participants, were located and
An omnibus weighted mean effect size for all identified MI interventions revealed a
small, but significant, posttreatment effect size (mean d = .173, 95% CI [.094, .252], n = 21). 

Small, but significant, effect sizes were observed at follow-up suggesting that MI interventions for adolescent substance use retain their effect over time. 

MI interventions were effective across a variety of substance use behaviors, varying session lengths, and different settings, and for interventions that used clinicians
with different levels of education. 


The effectiveness of MI interventions for adolescent substance use behavior change is supported by this meta-analytic review. In consideration of these results, as well as the larger literature, MI should be considered as a treatment for adolescent substance


Journal of Nervous & Mental Disease. 190(11):737-745, November 2002.


@@NB reviewed in [[Waldron and Kaminer 2004]]@@

The objective of this study was to compare the efficacy of cognitive behavioral therapy (CBT) versus psychoeducational therapy (PET) for adolescent substance abusers. 

Eighty-eight consecutively referred predominantly dually diagnosed adolescents were randomized to one of two eight-week, outpatient group psychotherapy conditions (CBT Vs PET).  
mean age = 15.4, 90% White, 42% female

Of the 88 youth assessed at baseline, all had either an alcohol diagnosis only (N = 11; 12.5%), a marijuana use disorder only (N = 24; 27%), or both (N=53; 60%). Of the 64 having an alcohol disorder, 37 subjects (58%) met diagnosis of abuse, and 27 adolescents (42%) met diagnosis of dependence; of the 77 having a marijuana disorder, 30 youths (39%) met diagnosis of abuse, and 47 adolescents (61%) met criteria for dependence.

$25 per assessment attended as compensation

Drug urinalysis and the Teen-Addiction Severity Index (T-ASI) were used as outcome measurements. 

Treatment completion rate was 86%, follow-up location rate was 95%, and rates of posttreatment at 3- and 9-month follow-up evaluation were 80% and 65%, respectively. 

#Comorbid conduct disorder was significantly associated with treatment noncompletion and reduced follow-up rate, but no evidence to support [[Dishion et al 1999]] that CD youngsters in groups make the group iatrogenic.... 
#CBT subjects exhibited significantly lower rates of positive urinalysis than did PET subjects for older youth and male subjects at 3-month follow-up evaluation. 
#Most T-ASI subscales indicated sound improvement from baseline to 3- and 9-month follow-up evaluation across conditions.
#Reduction in substance use was achieved regardless of treatment conditions (Main effect for ''time''). 

Vaughn review:
Alcohol use problems (Self Report, Urinalysis)-> CBGT (with coping) v. PET: d = –.15, at follow-up: CBGT (with coping) v. PET: d = –.57
Substance abuse problems (SelfReport, Urinalysis)-> CBGT (with coping) v. PET: d = –.42 at follow up CBGT (with coping) v. PET: d = 0 
(''Both conditions demonstrated substance use reduction at 3- and 9-month followup...advantages of CBT over PET at all points except no advantage over PET for CBT at the 9 month follow up'')

    Treatment of antisocial behavior in children: Current status and future directions.
    Psychological Bulletin, Sep 1987, vol. 102, no. 2, p. 187-203, ISSN: 0033-2909.
    Publisher: American Psychological Association, US.

    Antisocial behavior in children represents a serious and pervasive clinical problem. To date, progress in identifying effective treatments has been relatively slow. The purpose of the present article is to characterize the current status of treatment for antisocial child behavior, to identify promising approaches based on contemporary outcome research, and to note limitations and emergent methodological issues. A central purpose is to identify alternative models of treatment application and evaluation, including the high-strength intervention, amenability-to-treatment, broad-based treatment, and @@chronic-disease models@@. These models are designed to integrate findings regarding characteristics and prognosis of antisocial behavior with outcome research and to accelerate the identification and development of effective treatments. (PsycINFO Database Record (c) 2007 APA, all rights reserved).
A common recommendation for youth treated for substance abuse is to attend
12-step groups. However, little is known regarding the effects of this adult-derived
prescription on substance use outcomes for teens. 

This study examined 
(a) the relation between 12-step attendance and substance use outcome in the 6 months postdischarge from inpatient care and 
(b) a process model of how 12-step attendance during the first 3 months postdischarge affects proximal outcomes of motivation, coping, and self-efficacy, measured at 3 months, and how these, in tum, affect ultimate substance use outcome in the following 3 months. 

Adolescent inpatients (N = 99 drawn from 227 consecutive admissions to private in-pt Rx units in California) were assessed during treatment (av length of stay only 12.5 days- S.D. = 9.05!) and 3 and 6 months postdischarge.

PRospective study.  No control Group.

Results revealed modest beneficial effects of 12-step attendance, which were mediated by motivation but not by coping or self-efficacy. 

Findings suggest that closer attention be paid to motivational factors in the treatment of adolescent substance abuse. A
simultaneous multiple regression revealed
that, after partialing out the effects of aftercare
attendance and number of days abstinent
at baseline, 12-step meeting attendance in the
first 3 months still contributed uniquely to
both substance use outcome variance in the
first 3 months (Beta = .28, p = .007) and the
second 3 months postdischarge (Beta = .23, p =

According to a national study
by Roman and Blum (1998) on a representative
sample of 450 private substance abuse treatment
centers, 90% of the facilities based their treatment
on the 12-step principles of Alcoholics
Anonymous and variations of this model, with
nearly one half of the remaining 10% incorporating
12-step model principles in combination
with other approaches, including encouraged
attendance at 12-step meetings.

Problems with 12 step approaches:
#Adoelscents generally less physical dependence than adults
#Emphasis on the primary causative role of the substance(s) of abuse in the clinical presentation when, more typically, the substance abuse constitutes only one part of a more complicated problem behavior pattern.
#Adolescents mostly in Rx because MANDATED (formally or informally) rather than out of choice.
#Adoelscents reliant on parents for money for tranport etc re. attending 12 step groups afterwards, etc
#Kelly and Myers (1997) revealed that teens who did attend groups consisting of at least a substantial proportion of teenagers had significantly better substance use outcomes at 3 months posttreatment than those who attended predominantly adult meetings.

Seems to indicate that 12 step functions by maintaining and enhancing MOTIVATION as the proimary mechanism of action.  Maybe that adults with more physical dependency symps need more SKILLS training than adoelscents... "Adolescents
with briefer substance involvement histories may be better able to "self-regulate" their behavior once they reach a commitment to do so."
Attendance at 12-step meetings did not affect
self-efficacy measured at 3 months. However,
self-efficacy did retain unique explanatory
power in the equation predicting substance use
between 3 and 6 months postdischarge. It may
be that testimonials and admonitions from individuals
who have relapsed, often heard at 12-
step meetings, initially do not enhance confidence.
Instead, such dialogue may again serve
to increase motivation for continued abstinence
and continued attendance.
Kessler RC, Walters EE (198)
!Epidemiology of DSM-III-R major depression and minor depression among adolescents and young adults in the National Comorbidity Survey.
Depress Anxiety. 1998;7(1):3-14.
Data on the prevalences, comorbidities, and cohort effects of DSM-III-R major depression (MD) and minor depression (mD) are reported for the nationally representative sample of n = 1,769 adolescents and young adults who participated in the National Comorbidity Survey. Lifetime prevalences are 15.3% (MD) and 9.9% (mD), while 30-day prevalences are 5.8% (MD) and 2.1% (mD). Most cases reported recurrent episodes (73.9% of those with MD and 69.2% with mD) and significant role impairment, including attempted suicide among 21.9% of those with MD. The majority of lifetime cases (76.7% of those with MD and 69.3% with mD) reported other comorbid lifetime NCS/ DSM-III-R disorders. Depression was temporally secondary in the majority of these cases. Number of prior disorders was more important than type of disorders in predicting subsequent depression, raising the possibility that secondary depression is a nonspecific severity marker for earlier disorders. A cohort effect for both MD and mD was documented that persisted even for episodes lasting a year or longer. Increasing prevalences of prior comorbid disorders were found to play an important part in explaining the cohort effect for depression.
Randomized Clinical Trial of the Efficacy of Bupropion Combined With
Nicotine Patch in the Treatment of Adolescent Smokers

Joel D. Killen, Thomas N. Robinson, Seth Ammerman, Chris Hayward, Jayna Rogers, Christi Stone,
Deanne Samuels, Sara K. Levin, Sarah Green, and Alan F. Schatzberg

Journal of Consulting and Clinical Psychology, 2004, Vol. 72, No. 4, 729–735

Abstract with annotations:

@@distinguishing features of the trial (according to authors):@@
#it is perhaps the first randomized controlled trial of pharmacotherapy for adolescent smoking cessation and one of a very few randomized smoking cessation trials for adolescents yet conducted. 
#it is to our knowledge the first study with adolescent smokers to examine the efficacy of a treatment combining nicotine replacement therapy with antidepressant medication. 
#it is one of the first smoking cessation trials with adolescents to combine relapse prevention skills training with

543 screened (recruited over 2.5 yrs from 9 schools in the San Francisco Bay area - not clear how they were found...) 
-> 226 eligible -> 211 randomised...

Adolescent smokers (N = 211) were randomized to 1 of 2 groups (no stat diffs between groups pre Rx): 
(a) nicotine patch plus bupropion SR (sustained release; 150 mg per  @@NB the adult dose is 300mg daily - ??possibly why less effective here??@@ ...or 
(b) nicotine patch plus placebo.

@@All got Group therapy input@@: 
"Participants met weekly in groups (average group size = 8) supervised by trained counselors. 
In each 45 min session, counselors: 
(a) demonstrated the use of specific, concrete self-regulatory skills for coping with risky situations without resorting to smoking, 
(b) provided participants with an opportunity to rehearse modeled skills, and
(c) helped participants develop action plans designed to promote nonsmoking in self-identified, high-risk situations."
@@NB. $50 for completing week 1 assessment, another $50 for completing trial@@

Group skills training sessions were conducted each week by research staff. 

Abstinence rates at Weeks 10 and 26 were as follows: 
(a) patch plus bupropion, 23% and 8%, 
(b) patch plus placebo, 28% and 7%. 

@@Lack of a stat signif treatment effect@@ 
At week 10, the % abstinent: (N Patch + Placebo) = 28% (N Patch + Bupropion) = 23%
At week 26, the % abstinent: (N Patch + Placebo) = 7% (21% self report - missing cotinine tests),(NPatch + Bupropion) = 8% (16% self report - missing cotinine tests)
...but despite this ..."a large majority of adolescents in both treatment groups reduced their consumption to a few cigarettes per day or less and maintained this reduction over time."

Similarly, an examination of survival curves revealed that by the end of treatment many had managed to avoid a return to daily smoking. These findings are encouraging and suggest new avenues for research. For example, treatments of the kind examined in this report, augmented by extended maintenance therapies, may yield higher long-term success rates.

This research was funded by National Cancer Institute Grant CA80268.
@@GlaxoSmithKline provided medication and matching placebo@@.
Author: Y. Kim, S. K. Myung, Y. J. Jeon, E. H. Lee, C. H. Park, H. G. Seo and B. Y. Huh
Year: 2011

Title: Effectiveness of pharmacologic therapy for smoking cessation in adolescent smokers: Meta-analysis of randomized controlled trials

Journal: American Journal of Health System Pharmacy
Volume: 68
Issue: 3
Pages: 219-226

Abstract: Purpose. The effectiveness of pharmacologic therapy for smoking cessation in adolescent smokers was evaluated. Methods. In this meta-analysis, the medical literature was searched for randomized controlled trials (RCTs) investigating the effect of pharmacologic therapy for smoking cessation in smokers age 20 years or younger. The overall effect of pharmacologic therapy was based on the longest follow-up data available in each study. The effects of pharmacologic therapy by follow-up period, type of pharmacologic therapy, and type of strategy analysis were also compared among RCTs. Secondary outcome measures were adverse events reported from each study. Results. Six RCTs involving 816 smokers age 12-20 years were included in the final analysis. No significant increase in abstinence rates was detected with pharmacologic therapy (relative risk [RR], 1.38; 95% confidence interval [CI], 0.92-2.07; I<sup>2</sup> = 0.0%) in a fixed-effects meta-analysis. Simi larly, no significant increase in abstinence rates was found in subgroup meta-analyses of studies with both short-term (<=12 weeks) (RR, 1.23; 95% CI, 0.92-1.65) and mid-term (26 weeks) follow-up periods (RR, 1.60; 95% CI, 0.90-2.82). Although few serious adverse events were reported, there was no evidence directly linking these effects to the pharmacologic therapy used. Conclusion. A meta-analysis found that pharmacologic therapy for smoking cessation among adolescent smokers did not have a significant effect on abstinence rates at short-term and mid-term followup times of <26 weeks, and the RCTs examined found few adverse events. However, the results may have been affected by the limited number of participants in published trials.
I. M. Koning, R. J. Van Den Eijnden, J. E. Verdurmen, R. C. Engels and W. A. Vollebergh
Long-term effects of a parent and student intervention on alcohol use in adolescents: A cluster randomized controlled trial
American Journal of Preventive Medicine, Volume: 40,Issue: 5,Pages: 541-547
Early onset of drinking among Dutch adolescents is highly prevalent. A lower age of onset is associated with several developmental and social risks. 
''Purpose:'' To evaluate the long-term effectiveness of two preventive interventions targeting heavy drinking in third-year high school students. 
''Design:'' Cluster RCT using four conditions for comparing two active interventions (separately and simultaneously) with a control group. 
''Setting/participants:'' 152 classes of 19 high schools in the Netherlands; 3490 first-year high school students (M=12.6 years, SD=0.49) and their parents. 
(1) parent intervention aimed at encouraging restrictive parental rule-setting concerning their children's alcohol consumption; 
(2) student intervention aimed at increasing self-control and healthy attitudes toward alcohol, consisting of four digital lessons based on the principles of the theory of planned behavior and social cognitive theory; 
(3) interventions 1 and 2 combined; and 
(4) the regular curriculum as control condition. 
!!Main outcome measures: 
Incidence of (heavy) weekly alcohol use at 34 months (2009) after baseline measurement (2006). 
There were 2937 students eligible for analyses in this study. At follow-up, only the combined studentparent intervention showed substantial and significant effects on heavy weekly and weekly drinking. 
@@The short-term effects found in the present study further support that adolescents as well as their parents should be targeted in order to delay the onset of (heavy) drinking@@
Koning IM, van den Eijnden RJ, Verdurmen JE, Engels RC, Vollebergh WA.  (2011) ''Long-Term Effects of a Parent and Student Intervention on Alcohol Use in Adolescents:
A Cluster Randomized Controlled Trial.''  Am J Prev Med 2011;40(5):541–547


Early onset of drinking among Dutch adolescents is highly prevalent. 

A lower age of onset is associated with several developmental and social risks.

To evaluate the long-term effectiveness of two preventive interventions targeting heavy
drinking in third-year high school students.

Cluster RCT using four conditions for comparing two active interventions (separately and
simultaneously) with a control group.

152 classes of 19 high schools in the Netherlands; 
3490 fırst-year high school students (M=12.6 years, SD=0.49) and their parents.

(1) parent intervention aimed at encouraging restrictive parental rule-setting concerning
their children’s alcohol consumption; 
(2) student intervention aimed at increasing selfcontrol
and healthy attitudes toward alcohol, consisting of four digital lessons based on the principles of the theory of planned behavior and social cognitive theory; 
(3) interventions 1 and 2 combined;
(4) the regular curriculum as control condition.

!!!Main outcome measures: 
Incidence of (heavy) weekly alcohol use at 34 months (2009) after baseline measurement (2006).

There were 2937 students eligible for analyses in this study. At follow-up, ''only the combined student–parent intervention showed substantial and signifıcant effects'' on heavy weekly and weekly drinking.


The short-term effects found in the present study further support that adolescents as
well as their parents should be targeted in order to delay the onset of (heavy) drinking.

New Medication Strategies for Comorbid Substance Use and Bipolar Affective Disorders
Thomas R. Kosten and Therese A. Kosten
BIOL PSYCHIATRY 2004;56:771–777

General review - not specifically for adolescents

@@ good Literature review on innovative methods to deliver alocohol interventions.@@

Innovative approaches to intervention for problem drinking 
Kypros Kypri, Thiagarajan Sitharthan, John A. Cunningham, David J. Kavanagh and Johanna I. Deane
Current Opinion in Psychiatry 2005, 18:229–234

Conclusion (all quotes):
"This literature review demonstrates strong interest in
innovative methods of alcohol intervention to supplement
standard treatment in various health care settings or
to provide stand-alone intervention in the wider community.

There were few efficacy trials over the period, despite the lead given by the positive findings of previous trials (e.g. [34,37]). Correspondence-based interventions and telephone support studies had mixed results, although the study by Curry et al. [28]evaluating the treatment of insomnia with self-help materials and telephone support is promising.

The three efficacy trials on computerized interventions: 

Schinke SP, Schwinn TM, Di Noia J, Cole KC. Reducing the risks of alcohol use among urban youth: three-year effects of a computer-based intervention with and without parent involvement. J Stud Alcohol 2004; 65:443–449 - A computerized primary prevention program assisting 10–12-year-olds to delay onset of drinking reduced alcohol use and delayed initiation to heavy drinking at 1, 2 and 3-year follow-ups compared with controls

...and ...

Kypri K, Saunders JB, Williams SM, et al. Web-based screening and brief intervention for hazardous drinking: a double-blind randomized controlled trial. Addiction 2004; 99:1410–1417.  The study is the first the authors know of that examines the efficacy of e-SBI in a primary care setting. Patients of a university health service who received e-SBI reduced their consumption and related problems by 20–30% over 6 months relative to controls.

these studies indicate that these approaches can reduce hazardous alcohol consumption. Results showing delays in initiation to heavy drinking among younger adolescents receiving a CD-ROM intervention are particularly encouraging.  The evaluation of innovative interventions for alcohol problems is still at a fledgling stage.

Existing studies need replication, and effort must be
made to conduct controlled trials in naturalistic conditions
to ensure generalizability of the findings to routine
healthcare delivery.
Assessment may conceal therapeutic benefit: findings from a randomized controlled trial for hazardous drinking
Kypros Kypri1,2, John D. Langley2, John B. Saunders3 & Martine L. Cashell-Smith2

Addiction, 102, 62–70

The concept that assessment of a person’s health status without subsequent intervention has beneficial effects in itself has stimulated much interest in underlying psychological mechanisms, methodological implications and its public health potential. There have, however, been few experimental studies of assessment effects. 
To test the hypothesis that assessment in itself produces a reduction in hazardous drinking. 
''Design and setting''
Two conditions (group A, leaflet only and group B, leaflet and assessment but no intervention) of a four-arm randomized
controlled trial with enrolment in March–April 2003. 
Participants A total of 975 students (17–29 years) (@@NB age range not really adolescent@@) attending a primary health-care clinic completed aweb-based Alcohol Use Disorders IdentificationTest (AUDIT) questionnaire. Of 599 who scored 8576 consented to follow-up and were included in the full four-arm trial, of whom 293 (153 women) were assigned to groups A and B. ''Intervention'' 
Group A received an information leaflet at baseline. 
Group B received the information leaflet and 10 minutes of web-based assessment 4 weeks later. 
Drinking frequency, typical quantity, heavy episode frequency, personal problems and academic problems. 
Baseline mean AUDIT scores were 15.0 (SD = 5.4) and 14.9 (SD = 5.0) in groups A and B, respectively. 
Twelve months after baseline, relative to group A, group B reported lower overall consumption (geometric means ratio 0.82, 95% CI: 0.68–0.98), fewer heavy drinking episodes (0.66, 0.47–0.91), fewer problems (0.81, 0.67–0.99) and lower AUDIT
scores (beta = -1.63, -0.62 to -2.65). 
Brief assessment appeared to reduce hazardous drinking. @@''Controlled trials that rely on assessment may therefore underestimate treatment effects''@@. 
include the possibility of measurement artefact due to social desirability bias.
Integrated Family and Cognitive-Behavioral Therapy for adolescent substance abusers: a Stage I efficacy study
William W. Latimer a,*, Ken C. Winters b, Thomas D’Zurilla c, Mike Nichols d
Drug and Alcohol Dependence 71 (2003) 303-317

CBS (alcohol)	

A randomized controlled trial assessed youth
and parents at baseline and at 1, 3 and 6-month posttreatment points. Youth participants (N=43) met diagnostic criteria for one or
more psychoactive substance use disorders with most youth meeting criteria for alcohol and marijuana use disorders.

Integrated Family and CBT ([[IFCBT]]) Vs Psychoeducation (Drugs Harm Psychoeducation curriculum (DHPE))

Conceptual model of IFCBT:
(a) Problem-Focused Family Therapy addresses poor parenting and family pathology. 
(b) Rational Emotive Therapy addresses irrational beliefs and psychiatric disorders. 
(c) Problem Solving Therapy addresses neurocognitive deficits and deviant peer
(d) Learning Strategy Training addresses learning skill deficits and school failure.

Support for multi-systems approach.  

Claims sensitive to neurocognitive vulnerabilities.

!!Gets 5star status for good planning (only stage I study) 
Small numbers (159 refered to service, of which 104 appropriate, and 58 accepted entry to RCT)
Multiple measures +valid instruments	

support for multisystems/FT integrated

!significantly better attendance at IFCBT 

IFCBT youth attended significantly more sessions M= 26.67, SD = 13.31 than DHPE (M= 10.95, S.D = 4.4, p<0.001

DHPE used alcohol an average of 6.06 days
each month (SD = 7.15) which was significantly greater
than the average number of 2.03 days that IFCBT youth
used alcohol (S.D = 2.49) during the same period while
controlling for the potential confounding influences of
age, gender, total treatment sessions, and pretreatment
alcohol use frequency (F(1, 36) = 5.53, P<0.05)

Ditto CBS:
IFCBT produced significant reductions in
posttreatment marijuana use. Throughout the 6-month
posttreatment period, youth receiving DHPE used
marijuana an average of 13.83 days each month
(S.D=10.24) which was significantly greater than the
average number of 5.67 days that IFCBT youth used
marijuana (S.D.= 6.34) during the same period while
controlling for potential confounders (F(1, 36) =5.79,
P<0.05).  Effect sizes moderate to strong from a 0.69 SD differnce between roups for the 4 - 6 month f/up period to a 0.74 SD difference between roups at 1 month follow up.

"The present study findings add to a small yet growing
base of literature in the adolescent treatment field that
suggests multi-systems treatments that engage youth
across multiple social systems may stand the best chance
of promoting drug abstinence (Henggeler et al., 1986;
Kaminer et al., 1998; Liddle et al., 2001; Szapocznik et
al., 1988)"
|Description:|Intelligently limit the number of backup files you create|
|Version:|3.0.1 ($Rev: 2320 $)|
|Date:|$Date: 2007-06-18 22:37:46 +1000 (Mon, 18 Jun 2007) $|
|Author:|Simon Baird|
You end up with just backup one per year, per month, per weekday, per hour, minute, and second.  So total number won't exceed about 200 or so. Can be reduced by commenting out the seconds/minutes/hours line from modes array
Works in IE and Firefox only.  Algorithm by Daniel Baird. IE specific code by by Saq Imtiaz.

var MINS  = 60 * 1000;
var HOURS = 60 * MINS;
var DAYS  = 24 * HOURS;

if (!config.lessBackups) {
	config.lessBackups = {
		// comment out the ones you don't want or set config.lessBackups.modes in your 'tweaks' plugin
		modes: [
			["YYYY",  365*DAYS], // one per year for ever
			["MMM",   31*DAYS],  // one per month
			["ddd",   7*DAYS],   // one per weekday
			//["d0DD",  1*DAYS],   // one per day of month
			["h0hh",  24*HOURS], // one per hour
			["m0mm",  1*HOURS],  // one per minute
			["s0ss",  1*MINS],   // one per second
			["latest",0]         // always keep last version. (leave this).

window.getSpecialBackupPath = function(backupPath) {

	var now = new Date();

	var modes = config.lessBackups.modes;

	for (var i=0;i<modes.length;i++) {

		// the filename we will try
		var specialBackupPath = backupPath.replace(/(\.)([0-9]+\.[0-9]+)(\.html)$/,

		// open the file
		try {
			if (config.browser.isIE) {
				var fsobject = new ActiveXObject("Scripting.FileSystemObject")
				var fileExists  = fsobject.FileExists(specialBackupPath);
				if (fileExists) {
					var fileObject = fsobject.GetFile(specialBackupPath);
					var modDate = new Date(fileObject.DateLastModified).valueOf();
			else {"UniversalXPConnect");
				var file = Components.classes[";1"].createInstance(Components.interfaces.nsILocalFile);
				var fileExists = file.exists();
				if (fileExists) {
					var modDate = file.lastModifiedTime;
		catch(e) {
			// give up
			return backupPath;

		// expiry is used to tell if it's an 'old' one. Eg, if the month is June and there is a
		// June file on disk that's more than an month old then it must be stale so overwrite
		// note that "latest" should be always written because the expiration period is zero (see above)
		var expiry = new Date(modDate + modes[i][1]);
		if (!fileExists || now > expiry)
			return specialBackupPath;

// hijack the core function
window.getBackupPath_mptw_orig = window.getBackupPath;
window.getBackupPath = function(localPath) {
	return getSpecialBackupPath(getBackupPath_mptw_orig(localPath));


Liddle, H. A. (2002) 
Advances in family-based therapy for adolescent substance abuse: findings from the Multidimensional Family Therapy research program. 
In: Harris, L. S., ed. Problems of Drug Dependence 2001: Proceedings of the 63rd Annual Scientific Meeting. NIDA Research Monograph no. 182, NIH publication no. 02–5097, pp. 113–115. 
Bethesda, MD: National Institute on Drug Abuse.

@@(Abstract seen only)@@
@@As described in [[Waldron and Kaminer 2004]]@@

In a second study, 224 adolescents referred for adolescent substance abuse in Philadelphia were randomly assigned to either @@multi-dimensional family therapy@@ or @@individual CBT@@. 

The CBT //and// family interventions both included individual and conjoint family sessions. 

However, the cognitive–behavioral condition emphasized self-monitoring, communication and problem-solving skills training, contingency contracting, and substance-refusal skills. 

Substance use was measured using the time-line follow-back (TLFB) method, a calendar-based interview involving a daily reconstruction of drug use (Sobell & Sobell 1995). 

Both interventions produced significant decreases in the percentage of reported substance use days during the past month from pretreatment to 6- and 12-month follow-up assessments, although there appeared to be continued improvement over time in the family therapy condition, compared to some leveling off in substance-use reductions in the CBT condition after the 6-month follow-up.

Again, Liddle and colleagues concluded that support for family therapy was relatively stronger, although the significant
within-condition pre- to post-treatment reductions in drug use for CBT provide some empirical support for this intervention as well.
Liddle, H. A., Rowe, C. L., Dakof, G. A., & Henderson, C. E. (2008,
August). The effectiveness of cross-systems multidimensional family
therapy for justice-involved youth. In N. Jainchill (Chair), Evidence based
substance abuse treatment services for justice-involved youth.
Symposium conducted at the meeting of the American Psychological
Association, Boston, MA.
Liddle, Howard A., Dakof, Gayle A., Parker, Kenneth, Diamond, Guy S., Barrett, Kimberly and
RANDOMIZED CLINICAL TRIAL', The American Journal of Drug and Alcohol Abuse, 27:4, 651 - 688

CBS treatments
[[MDFT]] Vs ''Adolescent Group Therapy'' Vs ''Multi Family Educational Intervention''	

@@NB reviewed in [[Waldron and Kaminer 2004]]@@

16 sessions of MDFT, 
9 sessions of MEI, 
c.16 sessions AGT (incl 2 individ family mtgs to get paretnal support and 1 individ meeting with adolescent)

182 clinic referred adolescents

randomised +, no placebo, 3 different Rx's	

multiple measures	

from 30% (MDFT) to 47% (AGT) dropout rates from Rx. (MDFT improves retention int therapy rates).  

all treatments effective, but MDFT the most effective from initiation to end of Rx. 

MDFT -> 42% clinically signif reduction (from base rate) , 
25% AGT, and 

At the 1-year follow-up, 45% in MDFT, 32% in AGT, and 26% in MEI demonstrated clinically significant change.  

MDFT also had most signif assoc improvement in GPA (Grade poitn Average - educational attainemnt) and in Family functioing.
J Psychoactive Drugs. 2004 Mar;36(1):49-63

Early intervention for adolescent substance abuse: pretreatment to posttreatment outcomes of a randomized clinical trial comparing multidimensional family therapy and peer group treatment.
Liddle HA, Rowe CL, Dakof GA, Ungaro RA, Henderson CE.



This randomized clinical trial evaluated a family-based therapy and a peer group therapy with 80 urban, low-income, and ethnically diverse young adolescents (11 to 15 years) referred for substance abuse and behavioral problems. Both treatments were outpatient, relatively brief, manual-guided, equal in intervention dose, and delivered by community drug treatment therapists. Adolescents and their parents were assessed at intake to treatment, randomly assigned to either MDFT or group therapy, and reassessed at six weeks after intake and at discharge. Results indicated that the family-based treatment (MDFT, an intervention that targets teen and parent functioning within and across multiple systems on a variety of risk and protective factors) was significantly more effective than peer group therapy in reducing risk and promoting protective processes in the individual, family, peer, and school domains, as well as in reducing substance use over the course of treatment. These results, which add to the body of previous findings about the clinical and cost effectiveness of MDFT, support the clinical effectiveness and dissemination potential of this family-based, multisystem and developmentally-oriented intervention.
Liddle HA, Dakof GA, Turner RM, Henderson CE, Greenbaum PE. (2008) Treating adolescent drug abuse: a randomized trial comparing multidimensional family therapy and cognitive behavior therapy. Addiction. 2008 Oct;103(10):1660-70


To examine the efficacy of two adolescent drug abuse treatments: individual cognitive behavioral therapy (CBT) and multidimensional family therapy (MDFT).


A 2 (treatment condition) x 4 (time) repeated-measures intent-to-treat randomized design. Data were gathered at baseline, termination, 6 and 12 months post-termination. Analyses used latent growth curve modeling.


Community-based drug abuse clinic in the northeastern United States.


A total of 224 youth, primarily male (81%), African American (72%), from low-income single-parent homes (58%) with an average age of 15 years were recruited into the study. All youth were drug users, with 75% meeting DSM-IV criteria for cannabis dependence and 13% meeting criteria for abuse.


Five outcomes were measured: (i) substance use problem severity; (ii) 30-day frequency of cannabis use; (iii) 30-day frequency of alcohol use; (iv) 30-day frequency of other drug use; and (v) 30-day abstinence.


Both treatments produced significant decreases in cannabis consumption and slightly significant reductions in alcohol use, but there were no treatment differences in reducing frequency of cannabis and alcohol use. Significant treatment effects were found favoring MDFT on substance use problem severity, other drug use and minimal use (zero or one occasion of use) of all substances, and these effects continued to 12 months following treatment termination.


Both interventions are promising treatments. Consistent with previous controlled trials, MDFT is distinguished by the sustainability of treatment effects.
National Youth Anti-Drug Media Campaign and school-based drug prevention: Evidence for a synergistic effect in ALERT Plus
Douglas Longshore,  Bonnie Ghosh-Dastidara, Phyllis Ellickson

Addictive Behaviors 31 (2006) 496–508

4Stars for the intriguing question that it opens up.

Notion that there may be a SYNERGY between Psycho Educnt an the young person ALSO seeing the same info in national Media (confirming and rehearsing the message from the teaching...

This analysis examined the @@possible synergistic effect of exposure to the National Youth Anti-Drug Media
Campaign and a classroom-based drug prevention curriculum@@ among 9th grade students participating in a
randomized trial of ALERT Plus. 

A total of 45 South Dakota high schools and their middle-school feeder(s) were randomly assigned to an ALERT condition (basic prevention curriculum delivered in 7th and 8th grades), an ALERT Plus condition (basic curriculum with booster lessons added for 9th and 10th grades), or a control condition. 

Marijuana use in the past month was significantly less likely among ALERT Plus students reporting at least weekly exposure to anti-drug media messages.

Quote from paper: 
@@"Media messages consistently reflected the three themes of its communication
strategy-resistance self-efficacy, anti-drug norms, and negative consequences of use. Thus, the synergy
achieved between the Campaign and ALERT Plus was in substantive content as well as timing"@@

The National Youth Anti-Drug Media Campaign may have led to reductions in marijuana use among youth who simultaneously received school-based drug prevention.
See [[Liddle et al 2001]]

See also [[Henderson, Dakof et al 2010]]

Multi-dimensional family therapy (MDFT) (Dakof,
Tejeda & Liddle 2001; Liddle 2002a,b; Liddle
et al  2002) is a family-focused, developmentally-based treatment
that includes 12 weekly sessions (plus other telephone
and case management contact) to work individually with
the adolescents and their families on relationships inside
the family and on the adolescent’s relationships and functioning
in school and other social systems. Based on
NIDA-funded research studies and manuals, MDFT integrates
substance abuse treatment and a multiple systems
family therapy approach.

MDFT is an outpatient, family-based treatment
developed for adolescents with substance use and
related behavioral and emotional problems (Liddle,
1999; Ozechowski & Liddle, 2002). MDFT is delivered
in the home or community to facilitate accessibility to

The MDFT approach combines aspects of several
theoretical frameworks, including family systems
theory, developmental psychology, ecosystems theory,
and the risk and protective model of adolescent substance

MDFT is a comprehensive approach that works to
modify multiple domains of functioning by intervening
with the youth, family members, and other members of
the youth’s support network. 

MDFT is designed to affect
multiple risk and protective factors. Treatment focuses on
four interdependent treatment
#parents and other family members,
#family interactional patterns, and 
#extrafamilial systems of influence 

The four domains relate to empirically established areas of risk and
protection for youth and families, as well as knowledge
about the developmental psychopathology of adolescent
drug abuse (Liddle et al., 2000). 

Each domain is considered critical to the change process, and MDFT therapists work
simultaneously in each domain according to the particular
risk and protection profile of the given adolescent and
family (Liddle, 2002b).

To accomplish this, the approach employs a variety of well supported
therapeutic techniques to improve the
behaviors, attitudes, and functioning across a variety of
domains (Liddle, 1999).

Three phases:


No follow up as part of intervention.
Motivational enhancement therapy/cognitive behavioral
therapy (MET/~CBT5) (Sampl & Kadden 2001) is a
five-session treatment composed of two individual sessions
of MET and three group sessions of CBT meeting
once per week. The MET sessions focus on factors that
motivate participants who abuse substances to change.
While in the CBT sessions, participants learn cannabis
refusal skills, how to increase their social support network
and non-drug activities and how to avoid or cope
with a relapse. Based on prior manuals funded by the
National Institute on Alcohol Abuse and Alcoholism
(NIAAA), NIDA and CSAT, it is designed to be a brief and
low-cost intervention that can be used as a first response
by managed care or an early intervention that could even
be delivered in non-clinical settings (e.g. as part of a
school assistance program).


"MET/~CBT5 was an inexpensive first tier
intervention specifically designed for the 6-week median
length of stay that occurs in much of the U.S. treatment system.
The MET component proceeds from the assumptions
that adolescents need to: (a) resolve their ambivalence about
whether they have a problem with cannabis and other
substances, and (b) increase their motivation to stop using
cannabis. Therapists using MET seek to help adolescents see
the relationship between cannabis use and its consequences
so they will conclude that the costs of cannabis use outweigh
its benefits"


= additional 7 x CBT sessions:

Cognitive behavioral therapy 7 (CBT7) (Webb
et al 2002) is designed to follow MET/CBT5 with seven more
sessions of CBT focused on problem solving, awareness of
anger, anger management, receiving criticism, coping
with cravings, depression management, managing
thoughts about cannabis, planning for emergencies and
coping with relapse. Based on previously funded NIAAA
and CSAT research manuals, the combined protocol is
designed to cover many of the basic topics in modern substance
abuse treatment.
To address the multiple
needs of youth and families, MST uses a combination of
empirically supported intervention techniques based on
strategic family therapy, structural family therapy,
behavioral parent training, and cognitive behavior
Akey element of MST is the focus on addressing complex
problems in a comprehensive, intense, and individualized
manner. Specifically, treatment is individualized in
that the family and the MST therapist work together to
target problems and select intervention strategies. MST
capitalizes on youth and family strengths, emphasizing
family empowerment and accessing needed family and
community resources. Moreover, the service delivery
model used with MST was developed with a focus on
increasing accessibility and engagement and minimizing
treatment dropout (T. A. Brown et al., 1999)
<<tag Review>> <<tag MultipleRxTrials>> <<tag SpecificInterventions>> <<tag BySubstance>> <<tag [[Comorbidity]]>> <<tag Other>>

A Randomized Controlled Trial of an Emergency Department–
Based Interactive Computer Program to Prevent Alcohol Misuse
Among Injured Adolescents

Volume 45, no. 4 : April 2005 Annals of Emergency Medicine

@@ineffective@@ good study though.

Study objective: To determine whether an emergency department (ED)–based laptop computer
intervention reduces the normative age-related increase in alcohol misuse compared with standard of care.
Methods: This was a randomized controlled trial conducted from October 11, 1999, to April 14,
2001, in a community teaching hospital and university medical center. Subjects were aged 14 to 18
years and with a minor injury. Controls and intervention participants completed a computer-based
questionnaire. Intervention participants also completed a laptop-based interactive computer
program to affect alcohol misuse. Main outcome measures were Alcohol Misuse Index (Amidx) and
binge-drinking episodes. Follow-up occurred by telephone at 3 and 12 months. Analysis included
repeated-measures analysis of variance (a=0.05; power 0.80; effect size 0.10).
Results: Three hundred twenty-nine participants were randomized to the intervention group, and 326
participants were randomized to the control group. Two hundred ninety-five (89.7%) intervention
subjects and 285 (87.4%) control subjects completed 3- and 12-month follow-ups. For intervention
and control groups, respectively, mean age was 16.0 and 15.9 years and men composed 66.8% and
66.3% of the groups; Amidx scores were 2.2 and 2.0; binge-drinking episodes were 1.2 and 1.0.
Outcomes for intervention and control, respectively, were Amidx (3 months) 1.5 and 1.4; Amidx (12
months) 1.8 and 2.1; binge drinking (3 months) 0.9 and 0.8; and binge drinking (12 months) 1.4 and
1.2. Overall, there were no significant effects (effect size 0.04). No detrimental effects were noted.
Subgroup analysis suggested that the intervention may have an effect among subjects with
experience drinking and driving (5% of the sample).
Conclusion: The intervention was not effective in decreasing alcohol misuse among the study
population. Further research will be required to determine effectiveness among the subgroup of
adolescent minor injury patients who have experience drinking and driving. [Ann Emerg Med.
<link rel="shortcut icon" href="/recipes/sud-treatments-literature_public/tiddlers/favicon.ico" />
<link href="/bags/sud-treatments-literature_public/tiddlers.atom" rel="alternate"
	type="application/atom+xml" title="sud-treatments-literature's public feed" />
<link rel="canonical" href="" />
Comparison of Pharmacological Treatments for Opioid-Dependent Adolescents ''A Randomized Controlled Trial''
Lisa A. Marsch, PhD; Warren K. Bickel, PhD; Gary J. Badger, MS; Marne E. Stothart, MA;
Kimberly J. Quesnel, MSW; Catherine Stanger, PhD; John Brooklyn, MD

Arch Gen Psychiatry. 2005;62:1157-1164

see [[O'Brien 2005]] for commentary.
To evaluate the relative efficacy of 2 pharmacotherapies, the partial opioid (Mu) agonist buprenorphine hydrochloride and the centrally active alpha2-adrenergic blocker clonidine hydrochloride, in the detoxification of opioid-dependent adolescents.

Why Buprenorphine? see [[Buprenorphine]]
Why Clonidine? see [[Clonidine]]
both groups got intensive behavioural intervention based on [[ACRA]] 3 x  1 hour per week by trained therpists
ContingencyMx - got vouchers for clean tests, upto $152 for continuous clean tests... and upto $20 for attnedance at sessions 
Social ecology - encouraged to start new recreations, etc..

Naltrexone fiollow up option - could get Naltrexone if 3 x clean pee tests in last week (or had a onth to achieve this after finishing)...

!DB notes:
well generalizable - i.e. didnot exclude polysubstance users...
study design robust
Dosing regimen - note:

"flexible dosing procedure based on weight and self-reported opiate
use at intake. If participants were less than 70 kg and/or their
self-reported opiate use at intake was 1 to 3 bags of heroin @@NB NEED TO EXPLAIN THE VARIABILITY IN CONTENTS OF A "BAG"@@ or
the equivalent in other opiates, they were given a starting dose
of 6 mg of buprenorphine hydrochloride. If participants were
70 kg or more and/or their self-reported use was more than 3
bags of heroin or the equivalent in other opiates, they were given
a starting dose of 8 mg of buprenorphine hydrochloride. Buprenorphine
doses then decreased for participants in this condition
by 2 mg every 7 days. Because the maximum dose given
in the study was 8 mg and each tablet contained 2 mg of buprenorphine
hydrochloride, all participants were given a total
of 4 tablets daily composed of either active or placebo buprenorphine

Clonidine via transdermal pathch (@@Clonidine group got dummy Buprenorhone and Buprenorhine got dummy TD patches@@)
"On intake day and day 1, participants wore a single patch
of 0.1 mg of clonidine hydrochloride. A second patch of 0.1
mg was added on day 2 and worn for days 2 to 6 (resulting in
a 0.2-mg dose on these days). An optional third patch (depending
on the severity of withdrawal symptoms) may have been
added on day 4 and worn through day 6 (for a total of 0.3 mg
on these days). All patches were removed on day 7 and replaced
with a 0.2-mg dose. On day 14, all patches were again
removed and replaced with a 0.1-mg dose. On day 21, all patches
were removed and replaced with a 0-mg dose (placebo patch,
which looked identical to the active clonidine patch but did
not contain any active medication)"

Note that the main advatage is in RETENTION 
"There were no significant differences in opiate use between the 2 groups among those adolescents who remained in treatment,
but the effects of buprenorphine in combination with behavioral therapy were clearly superior in retaining more of these young patients in the treatment program." - quote from [[O'Brien 2005]] commentary on this paper


The prevalence of heroin and other opioid use has markedly increased among adolescents in the last decade; however, virtually no research has been conducted to identify effective treatments for this population.
''Objective:'' To evaluate the relative efficacy of 2 pharmacotherapies, the partial opioid agonist buprenorphine hydrochloride and the centrally active alpha2-adrenergic blocker clonidine hydrochloride, in the detoxification of opioid-dependent adolescents.
''Design, Setting, and Patients:''
A double-blind, double-dummy, parallel-groups randomized controlled trial conducted in a university-based research clinic from October 2001 to December 2003. Patients were a volunteer sample of 36 adolescents who met DSM-IV criteria for opioid dependence (ages 13-18 years eligible).
Participants were randomly assigned to a 28-day, outpatient, medication-assisted withdrawal treatment with either buprenorphine or clonidine. Both medications were provided along with thrice weekly behavioral counseling and incentives contingent on opiate abstinence. Postdetoxification, all participants were offered the opportunity for continued treatment with the opiate antagonist, naltrexone hydrochloride.
''Main Outcome Measures:''
Treatment retention, opiate abstinence, and human immunodeficiency virus risk behavior, along with measures of withdrawal and medication effects.
A significantly greater percentage of adolescents who received buprenorphine were ''retained in treatment'' (72%) relative to those who received clonidine (39%) (P< 0.05). For those in the buprenorphine group, a significantly higher percentage of scheduled ''urine test results were opiate negative'' (64% vs 32%; P=.01). 
Participants in both groups reported relief of withdrawal symptoms and drugrelated human immunodeficiency virus risk behavior.  Those in the buprenorphine condition generally reported more positive effects of the medication. No evidence
of opioid intoxication or psychomotor impairment was observed. 
''Sixty-one percent of participants in the buprenorphine condition and 5% of those in the clonidine group initiated treatment with naltrexone.''
Combining buprenorphine with behavioral interventions is significantly more efficacious in the treatment of opioid-dependent adolescents relative to combining clonidine and behavioral interventions.

''FUNDING'' - 
This study was sponsored by grant R03
DA 14570 and R01 DA 12997 from the National Institute
on Drug Abuse, Bethesda, Md, and research funds
from the Department of Psychiatry and the College of
Medicine at the University of Vermont, Burlington. NOT PHARMA!!!
Cocaine and crack cocaine, Ecstasy - M.I. not helpful

"Brief (single sessions)  motivational intervention.  "

"Our adapted model was based on a sequential set of topic
strategies for delivery by youth drug workers who, overall,
would have relatively limited counselling experience
and skills. We judged that a single session would be the
most acceptable form of intervention among a target population
which is recognized to be a difficult group to
engage and where there are likely to be considerable differences
in the perceived need for behaviour change [25]."

Single session AIMS (Assest, Information Motivation and Support) - adapted M.I.

342 x (16-22 )yrs ….E, coke or crack users (self idientified. )
Excluded past injectors.
Manualised, trained therapists, monitoring... 
randomised, control (87% ctive Rx  and 88% control  followed up at 6/12)	

"No differneces found between information-giving (control) and M.I. intervention."

However more intervention pts said they had ""tried to give up"" (unsuccessfully, it seems) RR of 1.47 for this Vs Control… 

fits with two previous studies in adults that also found no benefit in brief MI intervention for these drugs: Miller W. R., Yahne C. E., Tonigan J. S. Motivational interviewing in drug abuse services: a randomized trial. J Consult Clin Psychol 2003; 71: 754–63. Donovan D. M., Rosengren D. B., Downey L., Cox G. C., Sloan K. L. Attrition prevention with individuals awaiting publicly funded drug treatment. Addiction 2001; 96: 1149–60."
!it's not so much what's inside your head, it's what your head's inside of...

Direct realism - Gibson (1950) that the world is real and can be directly perceived as such... 

Role of illusions in understanding addiction...

Most people relate to the //language of addiction...//

Risk of pathologising nature of language, stereotypes; so that behaviour is excused by virtue of addiction...

!Causal models and Reasons models

* Causes and correlates of adolescent drug abuse and implications for treatment.  Spooner C. drug and alcohol review 1999, 18, 4.

* The allure of neuroscience explanations, J cognitive neuroscience 2008: 20:3 pp 470-477

Very difficult to pull out clear descriptions of "causal parenting"!  Multiple studies have already shown what are the protective factors...

But we can't just "alter the environment" to stop adolescent drug use.... And these studies very rarely talk to the young people abouth WHY they are using drugs..

Main REASON given by young people are to get to sleep!

Multivariate risk factors - but MASSIVE variance between different studies looking at these!

!"The meaning of addiction" by Stanton Peele
The dominant addiction model is biological and genetic, and bypasses asking and talking to humans...

But most addicts give up or reduce their use in relation to LIFE needs/events...

!the effect of housing and gender on morphine self administration in rats.  Alexander BK Et al Pharmacology, 1978.

Created "rat park" to offer morphine and non-morphine use in different social settings for rats (rather than rats alone in cages)

Caged rats take to morphine very quickly, but rats in rat park always resisted it in favour of plain water, preferring to socialise... 

Severely distressed animals, like severely distressed people will seek to relieve their distress.... 

Insanity - the rational response to an insane world... RD Laing

!Growing out of trouble - Monty Don

McCambridge J, Strang J. (2004) The efficacy of single-session motivational interviewing in reducing drug consumption and perceptions of drug-related risk and harm among young people: results from a multi-site cluster randomized trial. Addiction. 2004 Jan;99(1):39-52.

	CBS. Alc, polydrug  NB see 2005 follow-up study - BENEFITS DISAPPEAR at 1 year!!!

Single session M.I. for 200 young people recurit ed in naturalistic way.  

Randomised Trial - to M.I or Educational package	

Single one hour session of MI Vs 1 hour TAU (drugs Education)	
200 YP aged 16-20 from 10 FE colleges acriss London  

Follow up at 3/12.  (89.5% follow up rate - 179/200 -  good)  

Cluster randomisatoion.  

Recruitment via "peer interviewers" who had 'privileged access'.  Cluster = the group recruited by that interveiwer (£10 per interveiw completed for participants)  Clusters randomised (stratified by college to rule out effects of local drug use patterns)... 

M.I. n= 105, and TAU = 95.  

Participants had to be < 20 with current illegal drug use.  NOT opiate and injecting drug use ("deemed to be a separate population")  consented for hair analysis and sample taken (not intended for use) - to increase accuracy of self report.  Blinded interviewer did sample of follow up interviews to counter bias by JMcC (interventionist) doing interviews

Strong study design. 
Randomised Controlled (TAU) trial, 

Various measures incl Severity of Dependence Scale (SDS), measures of interational problems, (drug sellling, pub/club going, intoxicated arrest, beong offered heroin, being present at heroin use and injecting drug use….)  Drug attitude scale, etc…  NB risk of Type I errors from so many outcome measures (higher chance of one finding positive results by chance)	

Showed postive effects of single session - especially in high vulnerability and higher usage groups....NB contradicted in [[Stein et al 2006]] more in MODERATING use than leading to abstinence (HARM REDUCTION) 

"In comparison to the control group, those randomized to motivational interviewing reduced their of use of cigarettes, alcohol and cannabis, mainly through moderation of ongoing drug use rather than cessation. 

Effect sizes were 0.37 (0.15–0.6), 0.34 (0.09–0.59) and 0.75 (0.45–1.0) for reductions in the use of cigarettes, alcohol and cannabis, respectively. For both alcohol and cannabis, the effect was greater among heavier users of these drugs and among heavier cigarette smokers. The reduced cannabis use effect was also greater among youth usually considered vulnerable or high-risk according to other criteria." 

...BUT - only 3/12 follow up - ony small no.s reporting use of drugs other than CBS, so difficult to draw inferenes about their responses, data self reported - no biochemical markers... 

NB see 2005 follow-up study - BENEFITS DISAPPEAR at 1 year!!!
McCambridge J, Strang J. (2005) Deterioration over time in effect of Motivational Interviewing in reducing drug consumption and related risk among young people.  Addiction. 2005 Apr;100(4):470-8.


To test whether beneficial effects of a single session of Motivational Interviewing (MI) on alcohol, tobacco and illicit drug use apparent after 3 months were maintained until 12 months.

Cluster randomized trial, allocating 200 young people in the natural groups in which they were recruited to either MI (n = 105) or to an assessment-only control condition (n = 95).

Ten further education colleges across inner London.

Two hundred young people who were current users of illegal drugs (age range 16-20 years) with whom contact was established through peers trained for the project.

The intervention was adapted from MI in the form of a topic-based 1-hour single-session discussion.

Changes in cigarette, alcohol, cannabis and other drug use and perceptions of risk and harm between the time of recruitment and follow-up interviews after 3 and 12 months.

A satisfactory follow-up rate (81%) was achieved. After 12 months, 3-month differences between MI and assessment-only groups have disappeared almost entirely. Unexpected improvements by the assessment-only control group on a number of outcomes suggest the possibility of reactivity to the research assessment at 3-month follow-up.

In the terms of the original experiment, there is little evidence of enduring intervention effectiveness shown by between-group differences after 12 months. Deterioration of effect is the most probable explanation, although reactivity to 3-month assessment, a late Hawthorne effect, cannot be ruled out.
Comment in:    Addiction. 2005 Apr;100(4):421. 

!DB comments/notes

long term (12/12) f-up study to [[McCambridge and Strang 2004]] paper	

"positive Rx effects at 3/12 had disappeared at 12/12."  (Except for proneness to be in company of heroin use, which remained a positive effect in the Rx group)  

??Late Hawthorn Effect?  The main assessment interview was at 3/12 (not at baseline) and was 30-45 mins - as long as the intervention itself... could this have casued unplanned for effects in itself? 

From McCambridge:  "The seminal report by Russell et al. (1979) contained the
overlooked finding that more participants, for whom
abstinence was biochemically validated after 1 year, actually
quit smoking in the month immediately preceding
the research interview than had quit in the month following
brief intervention. When dedicated studies have
been undertaken to estimate the size of these effects in
treatment studies they have been found to be large (Clifford
et al. 2000). More than a decade ago, Bien et al.
(1993), proposed the employment of Solomon fourgroup
designs in order to separate and estimate precisely
the effects of assessments and brief interventions. To our
knowledge, this call has gone unheeded."
McCambridge J, Hunt C, Jenkins RJ, Strang J (2011) ''Cluster randomised trial of the effectiveness of Motivational Interviewing for universal prevention''.  Drug and Alcohol Dependence 114 (2011) 177–184

The ''__prevention of initiation of tobacco, alcohol and drug use__'' is a major societal challenge, for which the existing research literature is generally disappointing. 

This study aimed to test the effectiveness of adaptation of Motivational Interviewing (MI) for universal prevention purposes, i.e. to prevent initiation of new substance use among non-users, and to reduce risks among existing users.

Cluster randomised trial with 416 students aged 16–19 years old recruited in 12 London Further Education colleges without regard to substance use status. 

Individualised MI was compared with standard practice classroom-delivered Drug Awareness intervention, both delivered over the course of one lesson. 

Prevalence, initiation and cessation rates for the 3 target behaviours of cigarette smoking,
alcohol consumption and cannabis use, along with reductions in use and harm indicators after both 3 and 12 months were assessed.

This adaptation of MI was not demonstrated to be effective in either intention-to-treat or subgroup analyses for any outcome. 

Unexpected lower levels of cannabis initiation and prevalence were found in the Drug Awareness control condition.

This particular adaptation of MI is ineffective as a universal drug prevention intervention
and does not merit further study.

Author: J. McCambridge, C. Hunt, R. J. Jenkins and J. Strang
Year: 2011

Title: Cluster randomised trial of the effectiveness of Motivational Interviewing for universal prevention

Journal: Drug and Alcohol Dependence
Volume: 114
Issue: 2-3
Pages: 177-184

The prevention of initiation of tobacco, alcohol and drug use is a major societal challenge, for which the existing research literature is generally disappointing. 

This study aimed to test the effectiveness of adaptation of Motivational Interviewing (MI) for universal prevention purposes, i.e. to prevent initiation of new substance use among non-users, and to reduce risks among existing users. 
Cluster randomised trial with 416 students aged 16-19 years old recruited in 12 London Further Education colleges without regard to substance use status. Individualised MI was compared with standard practice classroom-delivered Drug Awareness intervention, both delivered over the course of one lesson. Prevalence, initiation and cessation rates for the 3 target behaviours of cigarette smoking, alcohol consumption and cannabis use, along with reductions in use and harm indicators after both 3 and 12 months were assessed. 
This adaptation of MI was not demonstrated to be effective in either intention-to-treat or sub-group analyses for any outcome. Unexpected lower levels of cannabis initiation and prevalence were found in the Drug Awareness control condition. 
This particular adaptation of MI is ineffective as a universal drug prevention intervention and does not merit further study.
McGrath J, Welham J, Scott J, Varghese D, Degenhardt L, Hayatbakhsh MR, Alati R, Williams GM, Bor W, Najman JM.
!Association between cannabis use and psychosis-related outcomes using sibling pair analysis in a cohort of young adults.
Arch Gen Psychiatry. 2010 May;67(5):440-7. Epub 2010 Mar 1.


Prospective cohort studies have identified an association between cannabis use and later psychosis-related outcomes, but concerns remain about unmeasured confounding variables. The use of sibling pair analysis reduces the influence of unmeasured residual confounding.
To explore the association between cannabis use and psychosis-related outcomes.

A sibling pair analysis nested within a prospective birth cohort.
Births at a Brisbane, Australia, hospital.
Three thousand eight hundred one young adults born between 1981 and 1984 as part of the Mater-University Study of Pregnancy.
Cannabis use and 3 psychosis-related outcomes (nonaffective psychosis, hallucinations, and Peters et al Delusions Inventory score) were assessed at the 21-year follow-up. Associations between duration since first cannabis use and psychosis-related outcomes were examined using logistic regression adjusted for sex, age, parental mental illness, and hallucinations at the 14-year follow-up. Within 228 sibling pairs, the association between within-pair differences in duration since first cannabis use and Peters et al Delusions Inventory score was examined with general linear modeling. The potential impact of attrition was examined.
Duration since first cannabis use was associated with all 3 psychosis-related outcomes. For those with duration since first cannabis use of 6 or more years, there was a significantly increased risk of (1) nonaffective psychosis (adjusted odds ratio, 2.2; 95% confidence interval, 1.1-4.5), (2) being in the highest quartile of Peters et al Delusions Inventory score (adjusted odds ratio, 4.2; 95% confidence interval, 4.2-5.8), and (3) hallucinations (adjusted odds ratio, 2.8; 95% confidence interval, 1.9-4.1). Within sibling pairs, duration since first cannabis use and higher scores on the Peters et al Delusions Inventory remained significantly associated.
Early cannabis use is associated with psychosis-related outcomes in young adults. The use of sibling pairs reduces the likelihood that unmeasured confounding explains these findings. This study provides further support for the hypothesis that early cannabis use is a risk-modifying factor for psychosis-related outcomes in young adults.

What does it take to retain substance-abusing adolescents in research protocols? Delineation of effort required, strategies undertaken, costs incurred, and 6-month post-treatment differences by retention difficulty
Kathleen Meyers a,b,*, Alicia Webb a, Jeanne Frantz a, Mary Randall
Drug and Alcohol Dependence 69 (2003) 73-85

Not an RCT - interesting question and sheds light on the POOR PROGNOSIS OF THE HARDEST TO REACH

Looked at sample from a larger study of in-pt Rx (CASI study) - tracked efforts to keep youths enrolled and followed up, and looked at different profiles of hard-to-reach adoelscents cf the easy to reach ones

The results suggest that high retention rates among substance-abusing adolescent research participants: 
(1)can be achieved 
(2)require persistence (over 40% of youth required six or more contact attempts prior to completing an interview); 
(3) entail a menu of follow-up strategies and methodologies; and 
(4) call for an inperson interview at a time and place convenient, familiar, and neutral to the adolescent. 

Significantly more of the difficult-to-retain youth reported serious delinquent and offending behavior, and AOD, family, and educational problems at 6-months post-treatment discharge. If the difficult-to-retain group was not pursued, a positively skewed picture of functioning 6-months after treatment would have been obtained within the AOD, family, educational, and juvenile justice domains.
Delinquent Behavior and Emerging Substance Use in the MTA at 36 Months: Prevalence, Course, and Treatment Effects



Objective: To compare delinquent behavior and early substance use between the children in the Multimodal Treatment
Study of Children With ADHD (MTA; N = 487) and those in a local normative comparison group (n = 272) at 24 and 36
months postrandomization @@and to test whether these outcomes were predicted by the randomly assigned treatments and
subsequent self-selected prescribed medications.@@ 
Most MTA children were 11 to 13 years old by 36 months. Delinquency seriousness was coded ordinally from multiple measures/reporters; child-reported substance use was binary.

@@NB see the earlier study by [[Biederman et al 1999]]@@ 
''Relative to local normative comparison group'', MTA children had significantly higher rates of delinquency (e.g., 27.1% vs. 7.4% at 36 months; p = .000) and substance use (e.g., 17.4% vs. 7.8% at 36 months; p = .001). 

Children randomized to ''intensive behavior therapy'' reported ''less 24-month substance use'' than other MTA children (p = .02).

Random effects ordinal growth models revealed no other effects of initial treatment assignment on delinquency seriousness or substance use. ''By 24 and 36 months, more days of prescribed medication were associated with more serious delinquency but not substance use.'' 

Cause-and-effect relationships between medication treatment and delinquency are unclear; the absence of associations between medication treatment and substance use needs to be re-evaluated at older ages. Findings underscore the need for continuous monitoring of these outcomes as children with attention deficit/hyperactivity disorder enter adolescence.

"Children who received intensive behavior therapy (Beh+Comb) reported less substance use by 24 months than the children who did not (MedMgt+CC).  There were @@no other effects of initial treatment assignment (MedMgt, Beh, Comb, or CC)@@ on growth in delinquency over time, level of delinquency seriousness posttreatment, or substance use by the 24- and 36-month follow-ups. Self-selected prescription medication treatment after 14 months was positively related to delinquency seriousness: @@children with more serious offenses were more likely to be medicated after the end of study-delivered treatment.  No association was observed for early substance use.@@

@@We did not find evidence of protective or adverse effects of medication treatment for ADHD, either study delivered or self-selected, on the initiation of substance use at this young age.@@ This null finding has been previously reported for roughly this age range, in the Chilcoat and Breslau (1999) sample at age 11, and in the Developmental Trends Study for boys 13 to 15 years old (Burke et al., 2001).

" addition to comparing early substance use between the MTA and our local normative comparison group (LNCG), an important clinical question is whether treatment history, either randomly assigned or self-selected, is associated with emerging substance use in early adolescence."

!DB: NB association of 'worse outcomes in the MTA kids is not the same as saying that 'Rx makes kids worse' - on the contrary - the association with higher rates of CD in those most in drug-Rx signals how these high risk kids are the ones that most trigger medication as a Rx response as nothing else works...
Safety and Efficacy of the Nicotine Patch and Gum for the Treatment of Adolescent Tobacco Addiction

Pediatrics 2005;115;e407-e414



To determine the safety and efficacy of the nicotine patch and gum for adolescents who want to quit smoking.

Double-blind, double-dummy, randomized, 3-arm trial with a nicotine patch (21 mg), nicotine gum (2and 4 mg), or a placebo patch and gum; all participants received cognitive-behavioral group therapy.

Inner-city, outpatient clinic on the East Coast.

Thirteen- to 17-year-old adolescents who smoked >10 cigarettes per day (CPD), scored >5 on the Fagerstro¨m Test of Nicotine Dependence, and were motivated to quit smoking.

Twelve weeks of nicotine patch or gum therapy with cognitive-behavioral therapy, with a follow-up visit at 6 months (3 months after the end of treatment).

''Main Outcome Measures''. 
#Safety assessed on the basis of adverse event reports for all 3 groups, 
#Prolonged abstinence, assessed through self-report and verified with exhaled carbon monoxide (CO) levels of <6 ppm, in intent-to-treat analyses, and smoking reduction (CPD and thiocyanate concentrations) among trial completers.

A total of 120 participants were randomized
(72% white, 70% female; age: 15.2 +/- 1.33 years; smoking: 18.8 +/- 8.56 CPD; Fagerstrom Test of Nicotine Dependence
score: 7.04 +/- 1.29) from 1999 to 2003. Participants started smoking at 11.2 +/- 1.98 years of age and had been smoking daily for 2.66 +/- 1.56 years; 75% had at least 1 current psychiatric diagnosis. 

Mean compliance across groups was higher for the patch (mean: 78.4–82.8%) than for the gum (mean: 38.5–50.7%). 

Both the patch and gum were well tolerated, and adverse events were similar to those reported in adult trials. 

Changes in mean saliva cotinine concentrations throughout treatment were not statistically significant. @@Intent-to-treat analyses of all randomized participants showed CO-confirmed prolonged abstinence rates of 18% for the active-patch group, 6.5% for the active-gum group, and 2.5% for the placebo group; the difference between the active-patch and placebo arms
was statistically significant@@. 
There was no significant effect of patch versus gum or gum versus placebo on cessation outcomes ("The odds ratio (OR) of prolonged abstinence for the patch group, compared with the placebo group, was 8.36 (95% confidence interval [CI]: 0.95–73.3; P<0.055) and that for the gum group, compared with the placebo group, was 2.72 (95% CI: 0.27–27.3; P< 0.39);")..@@DB: (trend but not quite reaching significance)@@....@@("The large effect size (OR: 8.36) for the comparison of the patch versus
placebo for prolonged abstinence suggests a clinically significant effect; however, the wide CI (95% CI: 0.95–73.3) indicates a lack of statistical power.)@@

Abstinence rates at the 3-month follow-up assessment were sustained but were not significantly associated with treatment group. 
Mean smoking rates, but not CO or thiocyanate concentrations, decreased significantly in all 3 arms but not as a function of
treatment group.
@@Nicotine patch therapy combined with cognitive-behavioral intervention was effective, compared with placebo, for treatment of tobacco dependence among adolescent smokers.@@
Decreases in the numbers of cigarettes smoked appeared to be offset by compensatory smoking. Additional study of nicotine gum, with enhanced instructional support, is needed to assess its efficacy among adolescent smokers."

!DB notes:
recruited via adverts in schools and churches - telephone interveiw as pre-screen -> progress to on-site interview and examination: "Adolescents 13 through 17 years of age who were in general good health, had smoked >10 cigarettes per day for >6 months, had a minimal score of 5 on the Fagerstrom Test of Nicotine Dependence (FTND), and were motivated to stop smoking were eligible to participate"... 
@@signif pruning of applicants -> final participants@@:
"Of 1347 adolescents who telephoned the clinic in
response to advertisements, 329 were preeligible in
telephone screenings and 159 presented for on-site
screening, as described in a separate report.33 Of the
159 adolescents who presented for enrollment, 39
(24.5%) were not randomized, after on-site evaluations
indicated their ineligibility..."

2 x baseline clinic visits then quit date set a week ahead of that (randomised to three Rx arms)

@@Comorbidity was high:@@ (realistic sample in that taking cincurrent meds for other disirders was not an exclusion criterion)
"90 subjects (75%) had at least 1 current psychiatric diagnosis,
according to the Diagnostic Interview for
Children and Adolescents.28 The most frequently
represented categories were oppositional defiant disorder
(40%), conduct disorder (15%), attention-deficit/
hyperactivity disorder (current: 7%; previous:
11%), and premenstrual dysphoric disorder (11%)."

High Attrition rate (similar to [[Hanson et al 2003]])..."Although our
attrition rate of 54% was high, it had been anticipated
and was comparable to the 61% dropout rate recently
reported for adolescent participants who attended
trial visits at a research office. ([[Hanson et al 2003]])"

This work was supported by funds from the National Institute
on Drug Abuse, Intramural Research Program.
@@We thank GlaxoSmithKline (Research Triangle Park, NC) for
providing us with study medications (21- and 14-mg Nicoderm, 2-
and 4-mg Nicorette, and placebo patch and gum).@@ This trial would
not have been possible without the support of the Teen Tobacco
Addiction Treatment Research Clinic staff, including
Looking at data from the SAMSHA/CSAT studies (11 funded in 1998 and 1999) in the ATM (Adolescent Treatment Models) programme.

This report describes RAND Corporation’s approach to this problem, and our findings concerning the relative effectiveness of the 11 programs evaluated under ATM:

#three ''long-term residential (LTR) facilities'' (Dynamic Youth Community, Inc., in New York; Phoenix Academy of Los Angeles; and Thunder Road in Oakland), modified therapeutic communities, upto c. 1 year treatment... 
#four ''short-term residential (STR) facilities'' (La Cañada in Tucson; Mountain Manor in Baltimore; Our Youth Our Future in Shiprock, New Mexico; and Thunder Road in  Oakland), c 30 day residential package with outpatient follow up - variety of interventions - Family, individual, milieu, some designed specifically for ethnic sub-groups (N american Indians, etc)
#four ''outpatient (OP) programs''(Chestnut Health Systems in Bloomington, Illinois; Epoch Counseling Center in Baltimore County; Teen Substance Abuse Treatment in Maricopa County, Arizona; and The Village in Miami), include Chestnut who have two OP programmes, standard and intensive, variety of FAmily/iundiv programmes. The Village (Liddle et al) had too few cases registered to inclue in analysis here. 

Because of the small number of cases available for analysis at one ATM outpatient program, treatment effect estimates were not calculated for it.

@@weighting system to adjust for pre-treatment differnces between patients admitted to diff programmes at the same level of care@@

When considering these 86 important pretreatment measures, the various programs appear to
be serving distinctly different populations. Before weighting there were large and significant
differences between every target program and its corresponding comparison programs. These
differences were often for clearly important variables such as pretreatment substance use and
the use of needles and opiates. Weighting by the propensity scores removes many of these differences
but after weighting, several target programs continued to differ from their comparison
group on potentially important risk factors. - @@Often difficult to attain the power to identify what are quite small differnces in effect sizes between programmes@@

"The findings of this report are similar to those reported from the Cannabis Youth Treatment project (Dennis et al., 2004) and Project MATCH (Matching Alcoholism Treatment to Client Heterogeneity) (Project Match Research Group, 1997). @@Specifically, differential treatment effects are not found, even though programs are compared, in some cases, to interventions involving fairly minimal treatment@@"

might be because all the studied groups were accepted because they are in some way exemplary...

our @@failure to find strong and persuasive evidence of treatment effectiveness@@ 
could indicate that we were looking for that evidence in the wrong place. Large and significant treatment effects might exist for each evaluated treatment program, but these might be no longer detectable 12 months after treatment admission. McLellan et al. (2005) have argued, for instance, that for chronic, relapsing conditions like substance abuse, the treatment effects
of interest are chiefly those observed during treatment. By analogy, they note that treatments for other chronic conditions, like diabetes or schizophrenia, are typically evaluated in terms of symptom management during treatment, not by whether or not such benefits remain detectable long after treatments are withdrawn...

''Methodological/sample problems:''

#case mix adjustment - who is accepted into programmes under study...
#rates of follow up data collection - high percentage vs low percentage
#rates of institutionalisation post Rx - (difficult to estimate effectiveness if a youngster is in prison and unable to access drugs!) - see [[Godley et al 2004]]
#@@''In this report, no program was found to consistently outperform any other, across outcomes. Indeed, few program differences were noted on any outcome, even though 70 percent of these analyses had sufficient power to detect effect sizes of 0.40 or greater.''@@ - would need larger sample sizes to get the power to distinguish smaller outcome differences 
#SOME of the kids in the long term rehab settings were STILL IN Rx at the time of the 12/12 "follow up" measures... these are still measured as "outcomes"...


"Because we wish to examine treatment effects 12 months post-admission, the sample was restricted to just those 1,545 cases with completed 12-month assessments."

#recovery, (a dichotomous measure indicating that the youth is living in the community and experiencing few symptoms of substance use, abuse, or dependence. Specifically, recovery is 1 if the respondent is not in detention at the time of the interview, has not been in any other controlled environment for more than 15 of the last 90 days, and reports no symptoms of substance abuse or dependence in the past month.)
#substance problems, (measured via GAIN)
#substance use frequency,(measured via GAIN)
#illegal acts,(measured via GAIN)
#emotional problems,(measured via GAIN)
#time in controlled environments (measured via GAIN)

@@''Minimal postive findings:''@@
"Across the 66 program and outcome pairings, only 11 statistically significant treatment effects were observed, and the
target facility had a positive effect relative to the comparison facilities in only five of these pairs.

In these pairs, adolescent outcomes following treatment in the target facility were better than those of comparable cases in the comparison facility. The remaining statistically significant effects were negative. That is, adolescent outcomes following treatment in the target facility were worse than those of comparable cases in the comparison facility, which does not imply that outcomes were worse than they would have been without treatment..."
Includes Motivational interviewing
Miller and Rollnick basic principles
For interventions directed at more than one level/dimension/system 
#Combinations of therapies (FT and CBT , or MET and CBT, for instance) 
#A conceptually  unitary therapy that is nonetheless directed at different settings/constituent parts of the milieu, designed to address multiple domains/dimensions simultanesoulsy (i.e MDFT, MST, CRA, EBFT)
Trials pitting different therapies against each other
! A Uni-dimensional construct
No longer abuse, or dependent use
Single category of use disorder - mild, moderate, severe

!11 Criteria:
1.	Increasing volume of substance use, or using it for longer than initially intended
2.	Wanting (and failing) to cut down or stop use.
3.	Spending a lot of time accessing, using, or recovering from use.
4.	Cravings to use the substance
5.	Negative functional impact (at work, home or school) because of use.
6.	Continued use, despite relationship problems it causes.
7.	Withdrawal from important social, occupational, recreational activities in exchange for use
8.	Continued use despite knowledge of associated danger
9.	Continued use, despite acknowledgement that physical/psychological problems are being caused or exacerbated by this.
10.	Requiring more of the substance to achieve the desired effects (tolerance)
11.	Presence of withdrawal symptoms (relieved by using more).

Mislabled As Alcoholic?

According to the new criteria, a college student who binge drinks on weekends and occasionally misses a class would be diagnosed with mild alcohol abuse disorder. And this is where the controversy lies, according to critics of the manual revisions.

Critics say the revised criteria could lead to college or underage binge drinkers to be mislabeled as mild alcoholics, a diagnosis the could follow them into their later years.

Dr. Allen Frances, who chaired the task force that wrote the earlier edition of the DSM, said, //“The DSM-5 decision to lump beginning drinkers with end-stage alcoholics was driven by researchers who are not sensitive to how the label would play out in young people’s lives.”// (Quoted in TIME)
!Cautious Support: 
[[Edwards, et al (2013) Assessment of a Modified DSM-5 Diagnosis of Alcohol Use Disorder]]

<<tag [[Neuroscience of addiction]]>>
Mental health outcomes following naltrexone implant treatment for heroin-dependence
Hanh T.T. Ngo⁎,1, Robert J. Tait 2, Diane E. Arnold-Reed 3, Gary K. Hulse
Progress in Neuro-Psychopharmacology & Biological Psychiatry 31 (2007) 605–612

Retrospective cohort study, ''addressing the effectiveness of Naltrexone implants, especially in relation to concerns that they may contribute to depression/other MH probs in users'' 

("Of particular interest is the suggestion that naltrexone is associated with depression or dysphoria, possibly through its antagonistic action on both exogenous and endogenous opioids receptors")

@@primarily an adult study@@ - 
total of 359 patients considered in this study, 
143 (39.8%) were females, with minimum age being 16.0 years and maximum 50.3 years (mean=26.7, SD=7.95). 
Males’ age ranged from 16.8 to 53.0 years (mean=28.5, SD=7.19). The median of
the sex-combined age distributionwas 26.1 and inter-quartile range 22.2–31.2 years.

Measured clinical records of admission, mortality and morbidity data records - both pre-Rx (back to the 1960's) and post Treatment, for a sample of patients treated between 2001-2002 with Naltexone Implants (Go Medical 2.2 g naltrexone
implant, fitted at a private community-based drug treatment clinic in Perth, Western Australia.)

"...there was strong indication that @@young, female users, or those with pre-existing mental illness were more vulnerable to mental health admissions following treatment.@@ These findings strongly emphasise the need for the potential patient to be sufficiently psychosocially prepared and supported prior to and during treatment, as well as to have their mental status closely monitored, especially in the earlier stage of treatment. Such cautions are particularly important when treatment involves the more vulnerable patient groups."

''Pre-existing mood disorder history'' or 
''being relatively young at the time of treatment'' generally increased the risk of experiencing a mood disorder following implant treatment. However, unfavourable effects of prior history decreased with older age at treatment. For example, between two otherwise similar patients aged 22 years at treatment, the odds ratio (of one with history versus one without) was approximately 3.57; however, at age 31 when treated, the odds ratio decreased to .925.

"This research was supported by the National Health
and Medical Research Council (353545) and the Office of
Mental Health, Department of Health Western Australia."

Bupropion may support Psychosocial treatment of Nicotine-dependent adolescents: preliminary results
Pharmacotherapy 2004, 24 (11): 1524 - 1528
Niederhofer and Huber

Bupropion trial - prospective double blind RCT

Rationale for Bupropion rahter than [[NRT]] is that adolescents have less physical dependence (less time on tobacco)

Bupropion is a selective Norepinephrine and DA reuptake inhibitor - minimal efect of Serotonin.  chronc exposure to Bupropion in rats increases DA concentrations in the Nucleus Acumbens (primary compaonent of the reward pathway).

Adult trial evidence suggests effective for tobacco dependency

30 patients screened in 1/12 in clinic - 3 excluded (coexisitng disease) and 27 randomized
5 randomized patients DNA's assessment on day 0 - excluded.
22 pts -> IN-PT NICOTINE WITHDRAWAL  Rx (NRT) - NB @@In-patient admission for Tobacco??!!@@

5 days abstinent

assigned Placebo or Bupropion 150mg (adult dose is 300mg) (11 in each group)
">15 cigs over 3 days = relapse" @@pretty loose definition of RELAPSE!!!@@
CO levels recorded (correlation w/ self report was 100%)

90 day duration of trial

Well matched groups

Abstinence at day 90:
6/11 (55%) of Bupropion group
2/11 (18%) of placebo group (p= 0.0014)
Cumulative abstinence duration (days (mean +/-SD)): 
Bupropion group = 78.4 +/- 39.6 
Placebo = 30.2 +/- 19.2

"may support abstinence in some adolescents"... need "continuous monitoring by experinced clinicians" because of potential adverse effects (hepatotoxicity and haematological)

@@DB- small numbers, in-pt episode is unfeasible, not strong results@@

Comparison of disulfiram and placebo in treatment of alcohol
dependence of adolescents
Drug and Alcohol Review (September 2003), 22, 295 – 297

About 50% of alcoholic patients relapse within 3 months of treatment. Previous studies have suggested that disulfiram may help to
prevent such relapse. The aim of our study was @@to assess the efficacy and safety of long-term disulfiram treatment in alcohol
dependence of adolescents.@@ 

In this @@double-blind, placebo-controlled study@@ we recruited  @@N = 26 adolescents@@, aged @@16 – 19 years@@, with chronic or episodic alcohol dependence.

Patients were allocated treatment randomly with disulfiram (200 mg daily) or placebo for 90 days. 

Patients were @@assessed@@ on the day @@treatment started@@ and on @@days 30 and 90@@ by 
#questionnaire and
#laboratory screening. 
Patients were classified as 
#relapsing or 

Time to first treatment failure (relapse or non-attendance) was the primary outcome measure. 
The disulfiram (n =13) and placebo (n = 13) groups were well matched in terms of baseline demographic and alcohol-related variables. 

Thirteen disulfiram-treated and 13 placebo-treated patients completed the treatment phase; 
#seven (1 vs. 6) relapsed, 
#five (3 vs. 2) refused to continue treatment, 
#three (1 vs. 2) had concurrent illness and 
#two (1 vs. 1) had adverse side effects. 

At the end of treatment, seven disulfiram-treated and two placebotreated patients had been abstinent continuously (p= 0.0063). 

Mean cumulative abstinence duration was significantly greater in the disulfiram group than in the placebo group [68.5 (SD 37.5) vs. 29.7 (19.0) days; p =0.012]. Apart from occasional diarrhoea, there was no difference in side effects between groups. In some cases, disulfiram may be an effective and well-tolerated pharmacological adjunct to psychosocial and behavioural treatment programmes for treatment of adolescent alcohol-dependent patients.

DB: Very small numbers - power calcs?  Confidence intervals? Effect sizes?
European Child & Adolescent Psychiatry
12:144–148 (2003)

Acamprosate and its efficacy in treating
alcohol dependent adolescents

About 50% of adult alcoholic patients relapse within 3 months of treatment. Previous studies have suggested that acamprosate may help to prevent such relapse. 

@@"Acamprosate (calcium acetylhomotaurinate) has a chemical structure similar to that of amino acid neuromediators such as taurine and GABA [10].Acamprosate has been reported to stimulate inhibitory GABA transmission and to antagonise excitatory amino acids, particularly glutamate [11, 12]. Restoration of the inhibition/excitation balance might be the biochemical basis
of acamprosate’s clinical effects; acamprosate reduces voluntary alcohol intake in alcohol-dependent rats in a dose-dependent way [10–13].Acamprosate does not enhance alcohol toxicity [14], has no abuse potential itself, and has no hypnotic, anxiolytic, or muscle-relaxant properties [15]. Acamprosate is absorbed through the gastrointestinal tract and a steady state is reached after 7 days; the drug is not metabolised and the kidney is probably the only route of excretion. Pharmacokinetic variables are not modified by hepatic dysfunction (LIPHA unpublished data). Several clinical trials [16–19] of acamprosate (using only adults) have been promising. However, most reported only 3 months’ treatment and used endpoints other than continuous (e. g. glutamyl transpeptidase, reduction in alcoholic drinks),but there are also papers which deny significant effects of acamprosate [20–22].We therefore undertook a double-blind, placebo-controlled trial of 90 days’ treatment with acamprosate."@@

The aim of our study was to assess the efficacy and safety of long-term acamprosate treatment in alcohol dependence of adolescents. 

In this, double-blind, placebo-controlled study, we recruited 26 patients, aged 16–19 years,with chronic or episodic alcohol dependence. 

@@"Eligible patients were those who presented to our hospital that treats inpatients with alcohol dependence of chronic or episodic type (DSM-IV criteria).Patients had to be aged 16–19 years; to have been abstinent for at least 5 days before the study; to have a γGT value of at least twice the upper limit of the normal range or a mean corpuscular volume of 93 fl or more, or both; and they as well as their parents gave written informed consent.We used the CAGE questionnaire [24] – four clinical interview questions on cutting down, annoyance by criticism, guilty feelings, and eye-openers and the Michigan
alcoholism screening test to assess the severity of patients’ alcoholism."@@

Patients were randomly allocated treatment with acamprosate (1332 mg daily) or placebo for 90 days. Patients  were assessed on the day treatment started and on days 30, and 90 by interview, self report, questionnaire, and laboratory screening. 
13 acamprosate-treated and 13 placebotreated patients completed the treatment phase: of those withdrawn, 11 (1 vs 6) relapsed, 5 (3 vs 2) refused to continue treatment, 3 (1 vs 2) had concurrent illness, and 2 (1 vs 1) had adverse side-effects. At the end of treatment, 7 acamprosate treated and 2 placebotreated patients had been continuously abstinent (p= 0.0076).Mean cumulative abstinence duration was significantly greater in the acamprosate group than in the placebo group (79.8 [SD 37.5] vs 32.8 [19.0] days; p= 0.012). 
Acamprosate is an effective and well-tolerated pharmacological adjunct to psychosocial treatment programmes. 

Note: Niederhofer quotes research on NALTREXONE as an alternative possible anti-craving medication - but no research on adolescent patients completed and his acamprosate research appeared on the surface to get higher success even though he didn't use "motivation" as an aceptance criterion:

"Volpicelli and colleagues’ [2] study led to the registration
of naltrexone, an opioid antagonist, for treatment
of alcohol dependence in the USA. In their 12-
week placebo-controlled, double-blind study, there was
a significant difference in rates of relapse (defined as
clinically significant) drinking between naltrexone and
placebo groups of adult patients; the relapse rate with
naltrexone was 23%.By comparison, in our study on assessment
day 90 (the nearest assessment to Volpicelli
and colleagues’ 12 weeks), the relapse rate with acamprosate
was 19%. We believe acamprosate compares
favourably with naltrexone, because we had a less selective
study sample; motivation was not an inclusion criterion
as it was in Volpicelli and collegues’ study."

Alcohol & Alcoholism Vol. 38, No. 1, pp. 50–53, 2003

DB: - Small numbers, limited power, kids needed high level supervision and note hepatotoxicity og Cyanamide - unlkiely to be a practical choice... 3Star only

"Cyanamide is an aldehyde dehydrogenase (ALDH) inhibitor
used as a pharmacological adjunct in the aversive treatment of
chronic alcoholism. Its elimination half-life and total plasma
clearance values range from 42.2 to 61.3 min and its oral
bioavailability is 70 at a 1.0 mg/kg dose (Colom et al., 1999).
Cyanamide blocks ethanol metabolism by inhibition of both
the low- and high-Km forms of ALDH (Loomis and Brian,
1983a,b; Cederbaum and Dicker, 1985) in a pH-dependent
manner [at pH < 7.5 formation of an irreversible form, at
pH > 8.5 formation of a reversible form (DeMaster et al., 1998)].
As a result of this inhibition an increase is induced in acetaldehyde
concentrations in blood and liver. This is responsible
for the alcohol deterrent activity of cyanamide, because it
induces a severe reaction (the toxic acetaldehyde syndrome)
characterized by tachycardia, hypotension, flushing and
dyspnea (Brien et al., 1978, 1979)."

NB Colin Brewer (Alcohol & Alcoholism Vol. 38, No. 5, pp. 442–445, 2003) criticises choice of Cyanamide and the lack of reference to Disulfiram as an alternative:
"However, despite the obvious similarities in mode of action between cyanamide
and disulfiram, I am puzzled that the above authors made
absolutely no mention of the use of disulfiram in treatment.
Ironically, their only reference to disulfiram is to a paper
which compares its hepatotoxicity with that of cyanamide. Yet
the literature strongly suggests that, whereas cyanamide causes
histological changes in many patients, disulfiram causes only
rare and idiosyncratic hepatotoxicity, which is commoner in
women and is probably due to nickel sensitivity from costume
jewellery (Brewer and Hardt, 1999).... ...Finally, it would be interesting to know @@why Niederhofer
et al. (2003) chose a drug which needs to be given three times
daily when they could have used disulfiram, which only needs
to be given once daily or even thrice weekly.@@ Nevertheless, I
congratulate them on a well-planned study in a group of patients
who are often resistant to treatment."

Abstract — Aims: About 50% of alcoholic patients relapse within 3 months of treatment. Previous studies have suggested that cyanamide
may help to prevent such relapse. The aim of our study was to assess the efficacy and safety of long-term cyanamide treatment in
alcohol dependence of adolescents. Methods: In this, double-blind, placebo-controlled study, we recruited 26 patients, aged 16–19
years, with chronic (frequent and regular) or episodic (frequent, but irregular) alcohol dependence. Patients were randomly allocated
treatment with cyanamide (200 mg daily) or a placebo for 90 days. Patients were assessed on the day the treatment was started, and
on days 30 and 90, by interview, self-report, questionnaire and laboratory screening. Patients were classified as abstinent, relapsing or
non-attending. Time to first treatment failure (relapse or non-attendance) was the primary outcome measure. Results: The cyanamide
(n = 13) and placebo (n = 13) groups were well matched in terms of baseline demographic and alcohol-related variables. Mean cumulative
abstinence duration was significantly greater in the cyanamide group than in the placebo group. Apart from occasional diarrhoea, there
was no difference in side effects between groups. 

Cyanamide seems to be an effective and well tolerated pharmacological adjunct to psychosocial and behavioural treatment programmes for the treatment of some adolescent alcohol-dependent patients. @@Because of reported hepatotoxic, haematological and dermatological side effects, patients should be observed continuously by experienced clinicians.@@ Further studies are necessary to prove the efficacy of cyanamide in adolescents.
Trial reported in ''letter to the editor'':
Alcohol Clin Exp Res, Vol 27, No 1, 2003: p 136

We used the Michigan alcoholism screening test (Selzer,
1971) to assess the severity of alcoholism of 26 inpatients
without serious coexisting diseases or receiving drugs acting
on the central nervous system (after written informed consent).
They were 16–19 years of age, abstinent for at least
5 days before the study, with alcohol dependence of chronic
or episodic type (DSM-IV criteria), whose yGT value was
at least twice the upper limit of the normal range, and
whose mean corpuscular volume was 93 fl or more. They
were randomly assigned to tianeptine or placebo, while
psychosocial treatment (psychotherapy three times a week,
physiotherapy and ergotherapy) was started. Patients received
37.5 mg tianeptine or Placebo daily. They were
classified as abstinent or relapsed according to his or her
self-report 30 and 90 days after the first administration of
tianeptine. We checked the red and white blood count,
serum concentrations of sodium, potassium, chloride, calcium,
phosphate, blood urea nitrogen, creatinine, uric acid,
fasting blood glucose, alkaline phosphatase, total bilirubin,
cholesterol, triglycerides, and albumin. There were no initial
differences between tianeptine (n  13) and placebo
groups (n  13) in quantity and frequency of drinking, and
Hamilton depression scores.
Although our sample of adolescents was relatively small
and the time of abstinence was relatively short, our data
show, that the proportion of patients who remained abstinent
was higher in the tianeptine group than in the placebo
group throughout the 90 days of treatment. On day 90, 2 of
the placebo-treated patients, compared with 5 tianeptinetreated
patients, had been continuously abstinent (Mantel-
Cox test; p  0.0063). Mean cumulative abstinence duration
was also significantly greater in the tianeptine group
than in the placebo group (69.2 [SD 38.3] vs 31.4 [17.9]
days; p  0.012). There were no remarkable side effects in
both groups. Tianeptine had no effect on hematology or
serum biochemistry.
!From the Independent Scientific Committee on Drugs 
(Prof David Nutt's Group)

!Nitrous Oxide: harm reduction advice

Drug Information - Nitrous Oxide/ Laughing Gas / N2O

!What is Nitrous oxide?

Nitrous oxide, (N20) is a gas with pain-relieving properties. It has been used as a recreational drug for over 200 years; about as long as it has been used in medicine. Nitrous oxide mixed with oxygen is the ‘gas and air’ given to women in labour, and is used in dentistry to relieve pain and anxiety. It has become widely and easily available for recreational use because it can be legally sold for the purpose of making whipped cream quickly.

!Patterns of Use

Since the ‘laughing gas parties’ held by the upper classes in the Georgian era, nitrous oxide is a drug most associated with occasional social use.  It is popular at house parties and music festivals, where balloons filled with the gas may cost around £1.50. Whilst some people do take it alone (sometimes to enhance sexual pleasure), few make it a regular part of their lives. However, very occasionally, people become dependent and take it persistently.

!Appearance and effects

Nitrous oxide itself is a colourless gas that is slightly sweet-smelling and tasting. Recreational users normally get it from whipped-cream chargers, sometimes called ‘whippits’, which are single-use, finger-length steel cartridges containing 8g of highly pressurised nitrous oxide. Whippits are usually discharged into a balloon with a kind of whipped cream dispenser or a smaller widget called a ‘cracker’.  Nitrous oxide is also found in supermarket cans of whipped cream. Other sources include full sized gas cylinders, intended for medical or industrial use.

When someone inhales nitrous oxide, the gas rapidly dissolves into the bloodstream, and hits the brain within seconds. Effects vary between people and are rarely quite the same twice, but a rush of dizziness and euphoria is normal, and people often burst out laughing. Sound is oddly distorted, voices and music often turning into a throbbing roar like a helicopter.

Nitrous oxide is a ‘dissociative’ drug, so the user might feel like they are becoming apart from the situation they were in, or even their own body, and sounds and sights can seem to fade into the distance. Hallucinations are possible, from simple moving bright dots to complete detailed dreamscapes, although most users do not experience complex hallucinations. Coordination is affected and users may fall over if they are not sitting or lying down. The experience ends almost as swiftly as it began, with the peak lasting just seconds and the user back to normal within about 2 minutes. Sometimes, people take many ‘hits’ of nitrous oxide over a few hours.

Aside from these mental effects, when inhaled recreationally in the usual (and safest) way, from a balloon, the gas in the lungs displaces air, temporarily preventing a normal amount of oxygen getting into the blood. This may cause the heart to beat faster, and limbs to feel tingly or heavy.

!Harms, and avoiding them

Nitrous oxide use can cause harm and even death but most problems result from dangerous methods of use and not the drug itself. If the user is in good health, understands the risks, and avoids dangerous methods, nitrous oxide is one of the least risky drugs. It is very much less dangerous than other commonly used inhalants such as household solvents (e.g. butane and toluene). The foremost risk is of brain damage and death by asphyxiation. Secondly, addiction is a serious but very rare outcome of nitrous oxide use. These, and other lesser risks are described in detail below, with advice on how they can be avoided.

The greatest risks from inhaling this drug come from using it in a way that causes uncontrolled and prolonged oxygen deprivation. Inhaling nitrous oxide in a dangerous way may not cause any warning symptoms until the user suffers sudden unconsciousness, then brain damage, followed by death within minutes. This risk requires some explanation. With knowledge, this risk can be easily avoided.

If you hold your breath, your body is deprived of the oxygen it needs from the air. However, holding your breath is not very dangerous, because within seconds, the body’s automatic alarm system kicks in, making you feel uncomfortable, and before too long, it forces you to breathe. Surprisingly, this life-preserving system doesn’t work by directly monitoring falling oxygen levels, but instead detects the simultaneously rising levels of carbon dioxide which your body would normally breathe out.

If you have your head in a bag of nitrous oxide, or even a bag of nitrous oxide mixed with air, you are still able to breathe out carbon dioxide freely, so your body is tricked into thinking that it is breathing normally. So you may feel no discomfort, and be enjoying the drug effects, right up to the moment when you black out. Unconscious with a bag over your head, it takes just a couple of minutes for brain cells to begin dying, and another couple of minutes before you are dead. Because the gas reduces anxiety and coordination even before causing unconsciousness, it may be impossible to escape from such a situation even if you realise your mistake.

Several people have died in this exact way, and also from opening tanks of nitrous oxide in confined spaces such as cars, or strapping on medical gas masks attached to cylinders of pure N2O. It is vital to note that a person can suffocate like this even if they have access to some air; for example if they deliberately left the bag loose around their neck, or left their car window slightly open. Getting some oxygen, but not enough, will have the same fatal effect, although perhaps more gradually. Pressurised gas from whippits and gas cylinders takes up much more space than might be expected when it is released; pushing air out of gaps where the user might have thought it would come in.

These risks of death or brain damage by asphyxiation are very easy to avoid. What the potentially fatal methods have in common is that if the user passes out, they will continue to inhale the gas or a low-oxygen gas and air mixture instead of pure air, leading eventually to death. With the common balloon method, (condoms are usable too) oxygen levels in the body still drop, but if the user gets too close to passing out, they will be unable to hold the balloon to their lips, and will automatically breathe air again. With this method, delivery of the gas is not automatic and continual so asphyxiation is virtually impossible. Even with this method, users often get a headache, which may be from not taking enough breaths of air, or from not leaving several minutes between balloons for recovery of oxygen levels, as well as from the effects of the gas on blood vessels in the head.

Gas at pressure is dangerous, so care must be taken when filling balloons. Faulty dispensers (especially cheap ‘crackers’), or incorrect use, could cause explosions. When gas is released from pressurised containers, the gas and the metal of the container briefly becomes intensely cold (-40°C). People have given themselves frostbite of the lips, mouth and even vocal chords through inhaling laughing gas directly from the whippit ‘cracker’, or the nozzle of gas cylinders, and further serious damage could be done to the lungs if the gas came out at high pressure. Dispensing several whippits consecutively with one cracker can cause cold burns to hands.

There is a risk of falling when taking nitrous oxide whilst standing or dancing. It is safest to get comfortable on a sofa or bed.

It is possible that some mental health problems might be worsened, or relapses triggered, by the trippy effects of nitrous oxide, although there is no specific evidence of this.

People with heart conditions or abnormal blood pressure may be at higher risk as the drop in oxygen levels caused by inhaling nitrous oxide raises the heart rate and can cause arrhythmias (skipped beats), which are usually not problematic, but could cause heart attacks and similar emergencies in susceptible people. For similar reasons, it would be inadvisable to mix laughing gas with other drugs, especially stimulants, as effects on blood pressure and heart rate could be unpredictable.

There is a risk of contamination of the gas with harmful substances. Tanks of nitrous oxide intended for use in cars are usually contaminated with sulphur dioxide and other toxins. It has been noticed that some brands of whipped-cream chargers leave an oily residue inside the dispenser, suggesting that they contain some impurities. No specific evidence of harm from this exists, and many people have used the chargers with no health problems, but there can be no guarantees of safety when using this product in a way not intended by the manufacturers.

!Addiction and harms from long-term use
Because the effects of nitrous oxide are pleasurable but short-lasting, people are often tempted to take it repeatedly over a short space of time. Very occasionally people become psychologically addicted to nitrous oxide and find it difficult to resist taking it every day. People with mental health issues may be at additional risk of addictive behaviours. 

Nitrous oxide is not particularly addictive compared to other drugs, and addictions usually require a combination of a psychological vulnerability, (such as low moods or worries that the drug briefly relieves), and easy access to the gas. Stressed dentists and anaesthetists who work with the substance always at hand have become addicted. Although addiction is unlikely, if it occurs it can be very harmful.

Aside from the disruption that maintaining a drug addiction causes to lives, it has been found that nitrous oxide can be physically and mentally damaging when taken many times each day for long periods as it gradually inactivates the vitamin B12 reserves in the body. Individuals who inhaled large amounts of nitrous oxide daily for long periods have suffered nerve and brain damage because vitamin B12 is essential for the maintenance of a healthy nervous system. The symptoms of such damage vary, and have included severe weakness of the arms and legs in some, and in a handful of cases, episodes of mental illness. Treatment with high doses of B12 is effective, but some damage can be irreversible. It is likely that less severe vitamin B12 deficiencies caused by nitrous oxide overuse go undiagnosed, but cause milder symptoms, such as depression, forgetfulness and tiredness. If you are struggling to control your use of any substance you should see your doctor.

It is illegal to sell nitrous oxide to under-18s, and selling it to anyone you suspect may use it for the purposes of inhalation is illegal under the Medicines Act. However, it is widely and legally sold as a means to whip cream. Possession of whippits is legal, but if the police found you with large amounts of whippits without a cream-preparation-based explanation, you could be charged with intending to supply it for inhalation.
Noel, Pamela E. (2006) 'The Impact of Therapeutic Case Management on Participation in Adolescent Substance Abuse Treatment', 
The American Journal of Drug and Alcohol Abuse, 32:3, 311 - 327

from abstract:
"Ninety adolescent women enrolled in substance abuse treatment were randomly assigned to receive or to not receive case management. Treatment fidelity was measured using the Case Management Quality Inventory. Cox regression analyses revealed that higher fidelity of case management implementation predicted a decreased risk of dropping out of the substance abuse treatment program (RR = - 11.21, p < 0.02). Higher proportions of total case management time spent on case management core functions predicted a decreased risk of dropping out of treatment (RR = 4.32, p < 0.03).

''Case Management definitions'':
"the following core elements are generally present: 
#assessment of the need for health and social services; 
#planning and coordination; 
#monitoring to ensure that services are received and are satisfactory; and 
#advocacy on behalf of the client. 
More comprehensive case management programs also provide counseling/psychotherapy, transportation, and home visitation."

#participants ''who receive case management'' stay in treatment longer than participants who do not receive case management;
#higher ''fidelity'' of case management implementation predicts a lower probability of dropping out of substance abuse treatment;
#higher ''intensity'' of case management service predicts a lower probability of dropping out of treatment.

90 adolescent females (mean age 16)
Assenting to group SUD programme, mixed ethnicities, @@NB some question about the severity of the "SUD" they were receiving Rx for... "Most participants (52%) had used at least one substance to get high in the 3 months prior assessments"...@@ not clear if they had DSM IV SUD diagnoses or not...

RAndomly assigned to CASE MANGAMENT of NOT - no stat diff between groups

"the ''case manager''’s relationship to the client was primarily therapeutic, and the case management functions (e.g., assessment, service planning, linking to resources, coordination, advocacy etc.) were undertaken as a part of the therapeutic intervention. Cognitive-behavioral therapeutic techniques were used to accomplish the goals of therapy of which the primary goal was to prevent, reduce, or ameliorate the effects of alcohol and other drug use in the client’s life."

Attempted ethnicity matching with ase managers and clients

''Training of Case managers:'' 
"Case managers were master’s level social workers with at least one year of prior work experience in the field. Case managers underwent a full week of intensive training on the case management model, record keeping procedures, and the overall research protocol prior to implementing the program. In addition, case managers participated in workshops on a variety of topics geared towards their professional development. Case managers received both individual and group supervision on a regular basis."

Outcome measures:
Personal Experince Inventroy (incl self report drug/alc use)
Child Depression Inventroy, etc

Fidelity to CAse Management Model - not on a validated scale (as far as I can see) - 100 point scale

Survival Analyses (variable is "time until an event happens"...)

(a) the survival distribution for the case-managed and noncase-managed groups was significantly different ( p < 0.05). The median survival time for noncase-managed participants was 8 sessions, and the median for the case-managed group was 12 sessions.
(b) Only fidelity of case management implementation, and proportion of total case management time spent on case management core functions (i.e., outreach, assessment, service planning and resource identification, linking clients to services, service coordination, monitoring service delivery, and advocacy) had a statistically significant impact on attrition. With each unit increase in the case management fidelity score, the risk for dropping out of substance abuse treatment decreased by 21% ( p = 0.02). In other words, ''higher case management fidelity scores predicted lower risk fordropping out of substance abuse treatment.'' With each unit increase in the proportion of total case management time spent performing case management
core functions, the risk of dropping out of treatment decreased by 32% ( p = 0.03). In other words, ''higher proportions of total case management time spent on case management core functions predicted lower risk for dropping out of treatment''.

#@@But did staying in Rx have any effet on Rx OUTCOMES for the clients????@@
#"The current study did not measure implementation of the control group. By not measuring implementation of the control group, the author of the current study may not have captured the full impact of case management on attrition.
#Small numbers - difficult to generalise but intersting hypoothesis - gets 3 stars

Commentary on [[Marsch et al 2005]]

"The Food and Drug
Administration is currently considering
a depot preparation of naltrexone
that is effective with monthly injections.
If this treatment becomes
available, it will provide an effective
option for maintaining longterm
abstinence from opiates among
opiate-abusing adolescents"
From [[Dawes and Johnson 2004]]:
5-HT3 antagonists: ondansetron. The 5-HT3 receptor has
been implicated in the molecular mechanisms regulating
alcohol consumption and mediating the actions of alcohol,
alcohol reinforcement and ondansetron treatment response.
Behavioural pharmacological studies have shown that the
rewarding effects of alcohol are modulated by ethanol-induced
activation of mesocorticolimbic DA receptors interacting with
5-HT3 receptors in the midbrain and cortex (Johnson and
Cowen, 1993; Barnes and Sharp, 1999; McBride et al., 2004).

Ondansetron has been shown in studies from two different
research groups to decrease alcohol consumption (Johnson
et al., 2000b; Kranzler et al., 2003) in adults with early-onset
alcohol dependence. Johnson et al. (2000b) showed in a sample
of 321 alcohol-dependent individuals that ondansetron, at 1, 4
and 16 g/kg twice per day, was superior to placebo in decreasing
drinks per day and drinks per drinking day. The 4 g/kg
b.i.d. dose, compared with placebo, also significantly increased
percentage of days abstinent and total days abstinent per study
week (Johnson et al., 2000b). In a prospective, open-label study
of ondansetron in early- versus late-onset alcohol-dependent
adults (n = 40; 20 early-onset alcohol-dependent adults, EOA;
20 late-onset alcohol-dependent adults, LOA), together with
weekly relapse prevention therapy, EOA reported significantly
greater decreases in drinks per day and drinks per drinking day,
and reductions in alcohol-related problems, compared with
LOA (Kranzler et al., 2003). Results from a recent open-label
study of adolescents with alcohol use disorders (n = 12) who
received 4 microg/kg b.i.d. also showed significant within-group
decreases in self-reported alcohol consumption (Dawes et al.,
unpublished observations). Side-effects were mild....

Twelve-step and cognitive-behavioral treatment for substance abuse: A comparison of treatment effectiveness.
By Ouimette, Paige Crosby; Finney, John W.; Moos, Rudolf H.
Journal of Consulting and Clinical Psychology. 1997 Apr Vol 65(2) 230-240

NB not for adoelscents

The comparative effectiveness of 12-step and cognitive-behavioral (C-B) models of substance abuse treatment was examined among 3,018 patients from 15 programs at the US Department of Veterans Affairs Medical Centers. Across program types, participants showed significant improvements in functioning from treatment admission to a 1-year follow-up. Although 12-step patients were somewhat more likely to be abstinent at the 1-year follow-up, 12-step, C-B, and combined 12-Step-C-B treatment programs were equally effective in reducing substance use and improving most other areas of functioning. The finding of equal effectiveness was consistency over several treatment subgroups: Patients attending the "purest" 12-step and C-B treatment programs, and patients who had received the "full dose" of treatment. Also, patients with only substance abuse diagnoses, those with concomitant psychiatric diagnoses, and patients who were mandated to treatment showed similar improvement at the 1-year follow-up, regardless of type of treatment received. These data provide important new evidence supporting the effectiveness of 12-step treatment. (PsycINFO Database Record (c) 2007 APA, all rights reserved)

<div class='header'>
	<div id='sidebarSearch'>
		<span macro='search'></span>
	<div class='headerForeground'>
		<span class='siteTitle' refresh='content' tiddler='SiteTitle'></span>
		<span class='siteSubtitle' refresh='content' tiddler='SiteSubtitle'></span>
	<div class='clearFloat'></div>

<div id='menuBar'>
	<div id='mainMenu' refresh='content' tiddler='MainMenu'></div>
	<div id='sidebarOptions' refresh='content' tiddler='SideBarOptions'></div>
<div id='displayArea'>
	<div id='messageArea'></div>
	<div id='tiddlerDisplay'></div>
	<div id='sidebarTabs' refresh='content' force='true' tiddler='SideBarTabs'></div>

Peggy L. Peterson, John S. Baer, Elizabeth A. Wells, Joshua A. Ginzler, and Sharon B. Garrett (2006)
!Short-Term Effects of a Brief Motivational Intervention to Reduce Alcohol and Drug Risk Among Homeless Adolescents
Psychology of Addictive Behaviors 2006, Vol. 20, No. 3, 254-264

ditto [[Baer et al 2007]] - an earlier report on same study - 

Conceptualises Brief Motivational Enhancement as a tool for outreach engagement .  

Guided by TRANSTHEORETICAL MODEL (Stages of Change - Prochaska and DiClemente) … & THEORY of REASONED ACTION (Morrison et al 2002) 

Single session with FEEDBACK	

285 (13- 19 yrs olds) recruited actively and passively from outreach projects, word of mouth, criteria for at risk status re. SUD. 

NB financial incentives:  Up to $90 cash payments for attendances.   

Most subjects at "pre-contemplation" stage of change  re "abstinence" (77.6% and 84.5% for drugs and alcohol) but for "reduce use" more were in contemplation and preparation stages (only 50.3% and 52.9%  in pre-contemplation  for alc and drugs) 	

Randomised (urn) , partial repeated measures design  
3 groups: -
(a) active Rx, (ME) 
(b) Assessment only (AO) but WITH NO FEEDBACK) , and 
(c) assessment at follow-up only (AFO).  AFO got initial brief screen and gave contact details, then were randomised but not given baseline assesst until //follow up//  at 1 m,  and 3 m.  

Urine drug screen at 3 m. for all.

Multiple measures using valid instruments and checks on validity (recorded sessions and supervision - tho recordings low quality and not resourced to do formal checks on model fidelity. 

Retention rate of 80% at 3 m. follow up = "quite good"	

"No evidence of effectiveness on drug use (alcohol or CBS) altho Rx group reported reduced other illicit drug use (at  1/12 only).  

Theorise that this is a fucntion of supporting 'natural change' processes and therefore worth further pursuing.  

Variability in treatment response could be predicted by therapist ratings of ENAGEMENT in Rx. (Note: [[McCambridge and Strang 2004]] noted
that //practitioner ratings// of discussions of change predicted outcomes for marijuana use in a nontreatment sample.)  

On the other hand - not necesarily the case that homeless SUD adols need/would benefit from more intensive treatments - poor engagment in these too... potential probs relating to the extent to which the trial intervention was SEPARATE from existing street agencies, as opposed to integrated."
Studies funded by Pharmaceutical companies

D. Polsky, H. A. Glick, J. Yang, G. A. Subramaniam, S. A. Poole and G. E. Woody

Cost-effectiveness of extended buprenorphine-naloxone treatment for opioid-dependent youth: data from a randomized trial

Journal: Addiction
Volume: 105
Issue: 9
Pages: 1616-24

The objective is to estimate cost, net social cost and cost-effectiveness in a clinical trial of extended buprenorphine-naloxone (BUP) treatment versus brief detoxification treatment in opioid-dependent youth. 
Economic evaluation of a clinical trial conducted at six community out-patient treatment programs from July 2003 to December 2006, who were randomized to 12 weeks of BUP or a 14-day taper (DETOX). BUP patients were prescribed up to 24 mg per day for 9 weeks and then tapered to zero at the end of week 12. DETOX patients were prescribed up to 14 mg per day and then tapered to zero on day 14. All were offered twice-weekly drug counseling. 
152 patients aged 15-21 years. 
Data were collected prospectively during the 12-week treatment and at follow-up interviews at months 6, 9 and 12. 
The 12-week out-patient study treatment cost was $1514 (P < 0.001) higher for BUP relative to DETOX. One-year total direct medical cost was only $83 higher for BUP (P = 0.97). The cost-effectiveness ratio of BUP relative to DETOX was $1376 in terms of 1-year direct medical cost per quality-adjusted life year (QALY) and $25,049 in terms of out-patient treatment program cost per QALY. The acceptability curve suggests that the cost-effectiveness ratio of BUP relative to DETOX has an 86% chance of being accepted as cost-effective for a threshold of $100,000 per QALY. 
Extended BUP treatment relative to brief detoxification is cost effective in the US health-care system for the outpatient treatment of opioid-dependent youth.

<<tag Prevention>>
Research into the "how" of why a therapy works - i.e. the focus in sessions, the therapeutic alliance, the deployment of specific techniques as opposed to a reified "thing-called-XYZ-therapy"...

<<tag [[Psychology of addiction]]>>
SMMGP (Substance misuse management for GP's) - diploma and certificate courses - in some depth.
Reference for multi-professional Primary Care teams focusing on Substance Misuse Rx. in GP prcatices.

!General Outline Structure
Intro @@(DR)@@
Focus on pragmatics rather than academic theory

!!!1. Preparatory work @@(DR)@@
* Legal framework
**Children Act and Safeguarding (partners who are older, exploitation/ sex-working)
**MH Act
**Confidentiality and Competence - Fraser guidelines
*Performing a Local Service audit 
**What services are there in your area? - establishing consultation, relevant websites..
**Specialist Midwife services
**Local Education Authority resources
**CAMHs and lcoal drug services - division of labour
**EIP teams

!!!2. Epidemiology and Natural History @@(DB)@@
Trends in usage
Rationale for intervening (risks) and Adolescence as a critical developmental period
Complexity - "See MH think Substances, See Substances think MH (and everything else that could be going wrong.)

!!!3. Identification of cases @@(DR)@@
The necessity of Opportunistic screening (risk groups - children in care, COSUP's, etc..) - we are asking you to ask because there are things that you and others can do.
Typical presentations in primary care
*Adolescent inflation of drug reports
**Drug-seeking behaviours (Methadone - look for older partner)
*Any MH presentations (ED, ADHD, OCD, CD, Depression/Anx)
**Identifying USING youth (intervention)
**Identifying AT RISK youth (primary prevention)
*Prescription drugs - abuse of
*Physical presentations that might suggest SUD
**Bladder (K)
**Weight loss/gain
**Psychosexual presentations/Sexually transmitted Diseases
*Crises: Help-seeking behaviour, Acute intoxication, Acute withdrawal, Parental "revelation", Overdoses...
*Special classes: Anabolic steroids

!!!3. Special situations @@(DB)@@
Children in Care
Children with MH problems - Children in need of longer term CAMHS input.
ADHD and medication
Out of formal education
Ethical dilemmas - 

!!!4. Interventions
(i) Engagement as the //sine qua non// - ).  Use of direct and indirect approaches (style of communication - attunement to Stage of Change and picking the appropriate mode of discourse, parallel work on physical health etc..).  Managing Drug jargon (one-down stance). @@(DB)@@
(ii) Primary prevention - communal and family - social ecology.  YP who get missed most easily (Asian females, cultures with prohibition built in etc) @@(DR)@@
(iii) Single session "there and then" interventions (MI and harm reduction) @@(DB)@@
(iv) Planned local work (brief Harm reduction/CBT/MET/Family work/Reinforcing protective and resilience features - developing pro-social and abstinent activities, Network work - Liaison with other YP services - CAMHS, Education, Social care)@@(DB)@@
(v) When to refer (brief overview of specialist services) @@(DR)@@
(vi) Prescribing - do's and don'ts (both!...)

@@Share drafts by First week of March!@@

Multisystemic therapy: A treatment for violent substance-abusing and substance-dependent juvenile offenders
Jeff Randall*, Phillippe B. Cunningham
Addictive Behaviors 28 (2003) 1731–1739

Good [[Review]] of MST for violent and SU adolescents

includes description of the addition of [[ACRA]] to [[MST]] to boost SUD effectiveness:
CRA has strong empirical support, and it is theoretically compatible with MST. Key
components of CRA are the following: (a) consistent tracking of substance use through
frequent urine screens, with vouchers used as rewards for clean drug screens; (b) functional
analyses of drug use to identify triggers for drug use; (c) self management plans consisting of
cognitive behavioral interventions that focus on addressing the emotional, behavioral, and
environmental triggers to drug use for the individual; and (d) development of drug avoidance
skills. In contrast to MST, which focuses primarily on broader environmental risk and
protective factors, CRA focuses very specifically on substance use. Pilot testing of an
integration of MST and CRA was conducted in a randomized MST trial that evaluated the
MST as an alternative to emergency psychiatric hospitalization (Henggeler, Rowland, et al.,
1997, 1999; Henggeler et al., 2003) and in a quasi-experimental neighborhood-level
intervention project (Randall, Swenson, & Henggeler, 1999)
Jeff Randall, Scott W. Henggeler, Phillippe B. Cunningham, Melisa D. Rowland, and Cynthia C. Swenson (2001) //Adapting Multisystemic Therapy to Treat Adolescent
Substance Abuse More Effectively// Cognitive and Behavioral Practice 8, 359-366, 2001
The article illustrates an adaptation of multisystemic therapy (MST) coupled with community reinforcement plus vouchers approach
(CRA ) to treat adolescent substance abuse and dependency. Key features of CRA enable the MST therapist and adolescent caregiver to
mare specifically detect and address adolescent substance use. These features include frequent random urine screens to detect drug use,
functional analyses to identify triggers for drug use, self-management plans to address identified triggers, and development of drug
avoidance skills. To highlight the integration of MST and CRA in treating substance abusing or dependent adolescents, a case example
is provided. Prior to the case example, an overview of clinical and program features of MST and substance-related outcomes is presented.
|''Description''|Adds a random color palette to TiddlyWiki|
|''Author''|Jon Robson|
Sets and saves a random color palette on execution

Creates a button, which when clicked will change the color palette
More information at
RGB.prototype.toRGBString = function() {
	return "rgb(%0,%1,%2)".format(parseInt(this.r * 255, 10),
		parseInt(this.g * 255, 10), parseInt(this.b * 255, 10))
function HSL_TO_RGB(h, s, l) { // h (hue) between 0 and 360, s (saturation) & l (lightness) between 0 and 1
	var c = l <= 0.5 ? 2 * l * s : ( 2 - (2 * l)) * s;
	var h1 = h / 60;
	var x = c * (1 - Math.abs((h1 % 2) - 1)); 
	var r, g, b;
	if(typeof(h) == 'undefined') {
		r = 0;
		g = 0;
		b = 0;
	} else if(0 <= h1 && h1 < 1) {
		r = c;
		g = x;
		b = 0;
	} else if(1 <= h1 && h1 < 2) {
		r = x;
		g = c;
		b = 0;
	} else if(2 <= h1 && h1 < 3) {
		r = 0;
		g = c;
		b = x;
	} else if(3 <= h1 && h1 < 4) {
		r = 0;
		g = x;
		b = c;
	} else if(4 <= h1 && h1 < 5) {
		r = x;
		g = 0;
		b = c;
	} else if(5 <= h1 && h1 < 6) {
		r = c;
		g = 0;
		b = x;
	m = l - (0.5 * c);
	return new RGB(r + m, g + m, b + m);

	var macro = config.macros.RandomColorPalette = {
		messagesOn: false, 
		changedPaletteText: "We have assigned you a random theme by adjusting the [[ColorPalette]] tiddler.\nDon't like it? Click <<RandomColorPalette>> for another one.", 
		handler: function(place, macroName, params, wikifier, paramString, tiddler) {
			paramString = paramString || "";
			var options = macro.getOptions(paramString);
			macro.generatePalette(options, true);
		optionTypes: {
			floats: ["hue", "saturation", "darkest", "lightness", "huevariance", "dark", "pale", "light", "mid",
				"saturation_light", "saturation_pale", "saturation_mid", "saturation_dark"
		getOptions: function(paramString) {
			var args = paramString.parseParams("name", null, true, false, true)[0];
			var options = {};
			var numbers = macro.optionTypes.floats;
			for(var i in args) {
				options[i] = numbers.indexOf(i) > -1 ? parseFloat(args[i][0], 10) : args[i][0];
			return options;
		generateRandomNumber: function(min, max, info) {
			var num = (Math.random() * 1);
			info = !info ? { attempts:0 } : info;
			info.attempts += 1;
			var good = true;
			if(min == max) {
				return max;
			if(min && num < min) {
				good = false;
			} else if(max && num > max) {
				good = false;
			if(!good) {
				if(info.attempts < 5) {
					return macro.generateRandomNumber(min, max, info);
				} else {
					if(max) {
						return max;
					} else if(min) {
						return min;
					} else {
						return 1;
			return num;
		getExistingPalette: function(asJSON) {
			var title = "ColorPalette";
			var tiddlerText;
			if(store.tiddlerExists(title)) {
				tiddlerText = store.getTiddlerText(title);
			} else if(store.isShadowTiddler(title)){
				tiddlerText = config.shadowTiddlers[title];
			if(asJSON) {
				var json = {};
				if(tiddlerText) {
					var lines = tiddlerText.split("\n");
					for(var i = 0; i < lines.length; i++) {
						var definition = lines[i].split(":");
						if(definition.length == 2) {
							var name = definition[0].trim();
							var value = definition[1].trim();
							json[name] = value;
				return json;
			} else {
				return tiddlerText;
		generatePalette: function(options, save) {
			var outputRGB = options.rgb;
			var palette = macro.getExistingPalette(true);
			var hue = options.hue || Math.floor(Math.random() * 359);
			var saturation = options.saturation || macro.generateRandomNumber(0.3, 0.7);
			var dark = options.dark || options.darkest || macro.generateRandomNumber(0, 0.10);
			var pale = options.pale || options.lightness || macro.generateRandomNumber(0.90, 1);
			var delta = ( ( pale - dark ) / 3 );
			var mid = options.mid || dark + delta;
			var light = options.light || dark + (delta * 2);
			var lightness_values = {Dark: dark, Mid: mid, Light: light, Pale: pale};
			var saturation_values = {};
			for(i in lightness_values) {
				if(true) {
					saturation_values[i] = options["saturation_" + i.toLowerCase()] || saturation;

			var opposite_hue = (hue + 180) % 360;
			var seed = options.huevariance || Math.floor((85 * Math.random()) + 5); // we want it to be at least 5 degrees
			var huetwo = (opposite_hue + seed) % 360;
			var huethree = (opposite_hue - seed) % 360;
			if(huetwo < 0) {
				huetwo = 360 + huetwo;
			if(huethree < 0) {
				huethree = 360 + huethree;
			for(var j in lightness_values) {
				if(true) {
					var saturation = saturation_values[j];
					palette["Primary" + j] = HSL_TO_RGB(hue, saturation, lightness_values[j]);
					palette["Secondary" + j] = HSL_TO_RGB(huetwo, saturation, lightness_values[j]);
					palette["Tertiary" + j] = HSL_TO_RGB(huethree, saturation, lightness_values[j]);
			palette.Background = HSL_TO_RGB(hue, saturation, 0.92);
			palette.Foreground = HSL_TO_RGB(hue, saturation, 0.08);
			palette.ColorPaletteParameters = ["HSL([", hue, "|", seed, "], [", saturation_values.Pale, "|",
				saturation_values.Light, "|", saturation_values.Mid, "|", saturation_values.Dark, "],",
				"[", dark, "|", mid, "|", light, "|", pale, "])"].join("");
			// construct new ColorPalette
			var text = ["/*{{{*/\n"];
			var colorcode;
			for(var id in palette) {
				if(true) {
					var color = palette[id];
					colorcode = outputRGB ? color.toRGBString() : color.toString();
					text.push("%0: %1\n".format(id, colorcode));
			text = text.join("");
			if(save) {
			return text;
		saveColorPalette: function(text) {
			var tid = store.getTiddler("ColorPalette");
			if(!tid) {
				tid = new Tiddler("ColorPalette");
				tid.fields = merge({}, config.defaultCustomFields);
			} // TODO: detect that the ColorPalette in the space comes from outside recipe
			tid.fields[""] = "false"; // edit conflicts dont matter

			// save the color palette in tid
			tid = store.saveTiddler(tid.title, tid.title, text, tid.modifier, tid.modified,
				tid.tags, tid.fields, false, tid.created, tid.creator);
			// an interval is used to cope with users clicking on the palette button quickly.
			if(macro._nextSave) {
			macro._nextSave = window.setTimeout(function() {
					autoSaveChanges(null, [tid]);
				}, 2000);
			// temporary workaround for IE.
			$.twStylesheet.remove({ id: "StyleSheetColors" });
			$.twStylesheet.remove({ id: "StyleSheet" });
			return tid;
		reportChange: function() {
			if(macro.messagesOn) { // only display message once..
				var msgPlace = getMessageDiv();
				if(!$(".changedPalette", msgPlace)[0]) {
					var tempPlace = document.createElement("div");
					wikify("{{changedPalette{" + macro.changedPaletteText + "}}}", tempPlace);
	var btnMacro = config.macros.RandomColorPaletteButton = {
			text: "New ColorPalette",
			tooltip: "Generate a random colour scheme for your TiddlyWiki",
			makeButton: function(place, options) {
				var btnHandler = function(ev) {
					var t = $(;
					var options ="options");
					macro.generatePalette(options, true);
					return false;
				var btn = createTiddlyButton(place, this.text, this.tooltip, btnHandler);
				$(btn).data("options", options);
				return btn;
			handler: function(place, macroName, params, wikifier, paramString, tiddler) {
				var options = macro.getOptions(paramString);
				btnMacro.makeButton(place, options);
[[Hierarchy of Evidence]]
(function($) {

var cmd = config.commands.refreshTiddler = {
	text: "refresh",
	locale: {
		refreshing: "Refreshing tiddler..."
	tooltip: "refresh this tiddler to be the one on the server",
	handler: function(ev, src, title) {
		var tiddler = store.getTiddler(title);
		if(!tiddler) {
			tiddler = new Tiddler(title);
			merge(tiddler.fields, config.defaultCustomFields);
		var dirtyStatus = store.isDirty();
		story.loadMissingTiddler(title, {
			"server.workspace": tiddler.fields["server.recipe"]  ? "recipes/" + tiddler.fields["server.recipe"] :
				tiddler.fields["server.workspace"] || "bags/"+tiddler.fields["server.bag"],
			"": tiddler.fields[""],
			"server.type": tiddler.fields["server.type"]
		}, function() {

|Description:|Allows you to easily rename or delete tags across multiple tiddlers|
|Version:|3.0 ($Rev: 3861 $)|
|Date:|$Date: 2008-03-08 10:53:09 +1000 (Sat, 08 Mar 2008) $|
|Author:|Simon Baird <>|
Rename a tag and you will be prompted to rename it in all its tagged tiddlers.
config.renameTags = {

	prompts: {
		rename: "Rename the tag '%0' to '%1' in %2 tidder%3?",
		remove: "Remove the tag '%0' from %1 tidder%2?"

	removeTag: function(tag,tiddlers) {
		for (var i=0;i<tiddlers.length;i++) {

	renameTag: function(oldTag,newTag,tiddlers) {
		for (var i=0;i<tiddlers.length;i++) {
			store.setTiddlerTag(tiddlers[i].title,false,oldTag); // remove old
			store.setTiddlerTag(tiddlers[i].title,true,newTag);  // add new

	storeMethods: {

		saveTiddler_orig_renameTags: TiddlyWiki.prototype.saveTiddler,

		saveTiddler: function(title,newTitle,newBody,modifier,modified,tags,fields) {
			if (title != newTitle) {
				var tagged = this.getTaggedTiddlers(title);
				if (tagged.length > 0) {
					// then we are renaming a tag
					if (confirm(config.renameTags.prompts.rename.format([title,newTitle,tagged.length,tagged.length>1?"s":""])))

					if (!this.tiddlerExists(title) && newBody == "")
						// dont create unwanted tiddler
						return null;
			return this.saveTiddler_orig_renameTags(title,newTitle,newBody,modifier,modified,tags,fields);

		removeTiddler_orig_renameTags: TiddlyWiki.prototype.removeTiddler,

		removeTiddler: function(title) {
			var tagged = this.getTaggedTiddlers(title);
			if (tagged.length > 0)
				if (confirm(config.renameTags.prompts.remove.format([title,tagged.length,tagged.length>1?"s":""])))
			return this.removeTiddler_orig_renameTags(title);


	init: function() {



Taken as a whole, studies suggest there may be many effective types of treatment for this population (Dennis et al 2004).

Past treatment reviews ( from Dennis 2004)
In addition to the large studies of existing practice, numerous randomized and quasi-experimental field studies have evaluated a wide variety of outpatient treatment approaches for adolescents with alcohol or other drug use problems during the past 10 years. These have included:

#''cognitive behavior therapy'' 
##and ''in combination with a motivational interviewing approach'' (Kaminer, Burleson, & Goldberger, 2001, 2002; Waldron, Slesnick, Brody, Turner,& Peterson, 2001); 
#''family education and therapy approaches'' (Azrin et al., 2001; Henggeler et al., 1991; Henggeler, Clingempeel, Brondino, & Pickrel, 2002; Joanning et al., 1992; Lewis, Piercy, Sprenkle, & Trepper, 1990; Liddle et al., 2001; Szapocznik, Kurtines, Foote, Perez-Vidal, & Hervis, 1983; Waldron et al., 2001); 
#''group psychoeducational approaches'' (Kaminer et al., 2002; Liddle et al., 2001; Waldron et al., 2001); individual behavior therapy approaches (Azrin et al., 1994, 2001; Godley, Godley, Dennis, Funk, & Passetti, 2002); 
#''engagement approaches'' (Szapocznik et al., 1988); 
#and ''12-step based or Minnesota Model'' therapy (Winters, Stinchfield, Opland, Weller, & Latimer, 2000). 

Although literature reviews (Ozechowski & Liddle, 2000; Williams & Chang, 2000) and a meta-analysis (Stanton & Shadish, 1997) based on pre-1997 treatment studies suggested there might be a clear advantage to family therapy approaches, a more recent study suggests other interventions can be just as efficacious (Waldron et al., 2001).
<div macro='slideRevision'></div>
<div class='heading'>
	<span class="titleBar">
		<div class='title' macro='view title text'></div>
	<span class='modifierIcon'
		macro='view modifier SiteIcon label:no height:48 width:48 preserveAspectRatio:yes'>
	<div class='toolbar'
		macro='toolbar [[ToolbarCommands::RevisionToolbar]] icons:yes height:48 width:48 more:popup'>
	<div class='tagClear'></div>
<div class='content'>
	<div class='viewer' macro='view text wikified'></div>
<div class='tagInfo'>
	<div class='tidTags' macro='tags'></div>
	<div class='tagging' macro='tagging'></div>
|''Description''|provides access to tiddler revisions|
|''Contributors''|Martin Budden|
Extend [[ToolbarCommands]] with {{{revisions}}}.
!Revision History
!!v0.1 (2009-07-23)
* initial release (renamed from experimental ServerCommandsPlugin)
!!v0.2 (2010-03-04)
* suppressed wikification in diff view
!!v0.3 (2010-04-07)
* restored wikification in diff view
* added link to side-by-side diff view
!To Do
* strip server.* fields from revision tiddlers
* resolve naming conflicts
* i18n, l10n
* code sanitizing
* documentation
(function($) {

jQuery.twStylesheet(".diff { white-space: pre, font-family: monospace }",
	{ id: "diff" });

var cmd = config.commands.revisions = {
	type: "popup",
	hideShadow: true,
	text: "revisions",
	tooltip: "display tiddler revisions",
	revTooltip: "", // TODO: populate dynamically?
	loadLabel: "loading...",
	loadTooltip: "loading revision list",
	selectLabel: "select",
	selectTooltip: "select revision for comparison",
	selectedLabel: "selected",
	compareLabel: "compare",
	linkLabel: "side-by-side view",
	revSuffix: " [rev. #%0]",
	diffSuffix: " [diff: #%0 #%1]",
	dateFormat: "YYYY-0MM-0DD 0hh:0mm",
	listError: "revisions could not be retrieved",

	handlePopup: function(popup, title) {
		title = this.stripSuffix("rev", title);
		title = this.stripSuffix("diff", title);
		var tiddler = store.getTiddler(title);
		var type = _getField("server.type", tiddler);
		var adaptor = new config.adaptors[type]();
		var limit = null; // TODO: customizable
		var context = {
			host: _getField("", tiddler),
			workspace: _getField("server.workspace", tiddler)
		var loading = createTiddlyButton(popup, cmd.loadLabel, cmd.loadTooltip);
		var params = { popup: popup, loading: loading, origin: title };
		adaptor.getTiddlerRevisionList(title, limit, context, params, this.displayRevisions);

	displayRevisions: function(context, userParams) {
		if(context.status) {
			var callback = function(ev) {
				var e = ev || window.event;
				var revision = resolveTarget(e).getAttribute("revision");
				context.adaptor.getTiddlerRevision(tiddler.title, revision, context,
					userParams, cmd.displayTiddlerRevision);
			var table = createTiddlyElement(userParams.popup, "table");
			for(var i = 0; i < context.revisions.length; i++) {
				var tiddler = context.revisions[i];
				var row = createTiddlyElement(table, "tr");
				var timestamp = tiddler.modified.formatString(cmd.dateFormat);
				var revision = tiddler.fields[""];
				var cell = createTiddlyElement(row, "td");
				createTiddlyButton(cell, timestamp, cmd.revTooltip, callback, null,
					null, null, { revision: revision });
				cell = createTiddlyElement(row, "td", null, null, tiddler.modifier);
				cell = createTiddlyElement(row, "td");
				createTiddlyButton(cell, cmd.selectLabel, cmd.selectTooltip,
					cmd.revisionSelected, null, null, null,
					{ index:i, revision: revision, col: 2 });
				cmd.context = context; // XXX: unsafe (singleton)!?
		} else {
			$("<li />").text(cmd.listError).appendTo(userParams.popup);

	revisionSelected: function(ev) {
		var e = ev || window.event;
		e.cancelBubble = true;
		if(e.stopPropagation) {
		var n = resolveTarget(e);
		var index = n.getAttribute("index");
		var col = n.getAttribute("col");
		while(!index || !col) {
			n = n.parentNode;
			index = n.getAttribute("index");
			col = n.getAttribute("col");
		cmd.revision = n.getAttribute("revision");
		var table = n.parentNode.parentNode.parentNode;
		var rows = table.childNodes;
		for(var i = 0; i < rows.length; i++) {
			var c = rows[i].childNodes[col].firstChild;
			if(i == index) {
				if(c.textContent) {
					c.textContent = cmd.selectedLabel;
				} else {
					c.text = cmd.selectedLabel;
			} else {
				if(c.textContent) {
					c.textContent = cmd.compareLabel;
				} else {
					c.text = cmd.compareLabel;
				c.onclick = cmd.compareSelected;

	compareSelected: function(ev) {
		var e = ev || window.event;
		var n = resolveTarget(e);
		var context = cmd.context;
		context.rev1 = n.getAttribute("revision");
		context.rev2 = cmd.revision;
		context.tiddler = context.revisions[n.getAttribute("index")];
		context.format = "unified";
		context.adaptor.getTiddlerDiff(context.tiddler.title, context,
			context.userParams, cmd.displayTiddlerDiffs);

	displayTiddlerDiffs: function(context, userParams) {
		var tiddler = context.tiddler;
		tiddler.title += cmd.diffSuffix.format([context.rev1, context.rev2]);
		tiddler.text = "{{diff{\n" + context.diff + "\n}}}";
		tiddler.tags = ["diff"];
		tiddler.fields.doNotSave = "true"; // XXX: correct?
		if(!store.getTiddler(tiddler.title)) {
		var src = story.getTiddler(userParams.origin);
		var tiddlerEl = story.displayTiddler(src, tiddler);
		var uri = context.uri.replace("format=unified", "format=horizontal");
		var link = $('<a target="_blank" />').attr("href", uri).text(cmd.linkLabel);
		$(".viewer", tiddlerEl).prepend(link);

	displayTiddlerRevision: function(context, userParams) {
		var tiddler = context.tiddler;
		tiddler.title += cmd.revSuffix.format([tiddler.fields[""]]);
		tiddler.fields.doNotSave = "true"; // XXX: correct?
		if(!store.getTiddler(tiddler.title)) {
		var src = story.getTiddler(userParams.origin);
		story.displayTiddler(src, tiddler);

	stripSuffix: function(type, title) {
		var str = cmd[type + "Suffix"];
		var i = str.indexOf("%0");
		i = title.indexOf(str.substr(0, i));
		if(i != -1) {
			title = title.substr(0, i);
		return title;

var _getField = function(name, tiddler) {
	return tiddler.fields[name] || config.defaultCustomFields[name];

Paula D. Riggs (2003) Treating Adolescents for Substance Abuse and Comorbid Psychiatric Disorders Sci Pract Perspect. 2003 August; 2(1): 18–29.

Recent research has identified a cluster of standardized approaches that effectively treat adolescents
with substance abuse disorders. Many of these approaches share elements that may
be adopted to improve outcomes in substance treatment programs. In adolescents, treatment
goals should be informed by a comprehensive assessment that includes the adolescent
patient’s developmental history and evaluation of psychiatric comorbidity. Treatment for
behavioral, psychosocial, and psychiatric problems should be integrated with substance
abuse interventions. The author describes practical clinical guidelines, grounded in current
research, for providing integrated treatment services. Special emphasis is given to strategies
for integrating the treatment of comorbid psychiatric disorders with substance use disorders
in adolescents.


A Randomized Controlled Trial of Fluoxetine and Cognitive Behavioral Therapy in Adolescents With Major Depression, Behavior Problems, and Substance Use Disorders

Paula D. Riggs, MD; Susan K. Mikulich-Gilbertson, PhD; Robert D. Davies, MD;
Michelle Lohman, RN; Constance Klein, MSW; Shannon K. Stover, BA

Arch Pediatr Adolesc Med. 2007;161(11):1026-1034

!''Abstract''  (DB notes in @@highlight@@)

To evaluate the effect of fluoxetine hydrochloride vs placebo on major depressive disorder, substance use disorder (SUD), and conduct disorder(CD)in adolescents receiving cognitive behavioral therapy (CBT) for SUD.
Randomized controlled trial. @@randomised by a small block randomisation - researchers/clinicians blinded thereafter@@  
A single-site study conducted between May 2001 and August 2004.
126 adolescents aged 13 to 19 years recruited from the community and meeting Diagnostic and Statistical Manual of Mental Disorders (Fourth Edition) diagnostic criteria for current major depressive disorder, lifetime CD, and at least 1 nontobacco SUD.
Sixteen weeks of fluoxetine hydrochloride, 20 mg/d, or placebo, with CBT. @@weekly medcation checks (pill count, SE montioring, etc) - CBT session after that.  manualised CBT focussed on SUD (a la [[Waldron et al 2001]])@@ 
''Main Outcome Measures:''
#For depression, __Childhood Depression Rating Scale–Revised__ and __Clinical Global Impression Improvement__; 
#for SUD, self-reported (''TLFB'') nontobacco substance use and weekly ''urine substance use screen'' results in the past 30 days; and 
#for CD, self-reported symptoms in the past 30 days.
@@all analyses were I.T.T.@@
@@328 initial screenings, 143 consented, 126 randomised (loss via various routes - incarceration, pregnancy, etc..) NO stat differences between the 2 groups of 63 each (SSR and Placebo).  Level of Depression: mean baseline CDRS-R raw score was 56.84
(13.42), which translates to a normed t score of 73.38 (8.09) (standardized to a mean of 50 [10]), indicating ''moderate to moderately severe depression'' consistent with the mean CGI-S score rating of 4.76 (0.84).  NB. 20.6% of the sample were mandated to Rx by COURT - but this group similar to rest of group and equally distributed acrss both groups... the rates of Rx completion/no. of sessions each were not staistically differnt... the treatment response and remission rate was HIGHER THAN EXPECTED //across BOTH// groups ... "high levels of treatment response, based on the CGI-I in the fluoxetine-CBT (84.1%) and placebo-CBT groups (77.8%), but the difference between groups was not statistically significant. The estimated risk ratio for fluoxetine responders relative to placebo responders based on the CGI-I was 1.08 (95% confidence interval [CI], 0.91-1.28)"....triggering some post-hoc analyses @@
#Fluoxetine combined with CBT had greater efficacy than did placebo and CBT according to changes on the Childhood Depression Rating Scale–Revised (effect size, 0.78) but not on the Clinical Global Impression Improvement treatment response (76% and 67%, respectively; relative risk, 1.08). 
#There was an overall decrease in self-reported substance use (4.31 days; 95% confidence interval, 2.12-6.50) and CD symptoms (relative risk, 1.20; 95% confidence interval, 0.82-1.59), but neither difference between groups was statistically significant. 
#@@The proportion of substance-free weekly urine screen results was higher in the placebo-CBT group than in the fluoxetine-CBT group (mean difference, 2.10; 95% confidence interval, 0.37-4.15).@@

Fluoxetine and CBT had greater efficacy than did placebo and CBT on one but not both depression measures and was not associated with greater decline in self-reported substance use or CD symptoms. The CBT may have contributed to higher-than-expected treatment response and mixed efficacy findings, despite its focus on SUD. 

@@In conclusion, the results of this study indicate that fluoxetine combined with CBT may have similar safety and efficacy for depression in adolescents with active SUD to that reported for depressed adolescents without SUD.

However, the treatment was not associated with greater reduction in self-reported substance use and CD symptoms compared with placebo combined with CBT. 

Our results also indicate that, in the context of CBT (substance treatment), co-occurring depression may improve or remit without antidepressant pharmacotherapy.

However, if depression does not appear to be improving early in the course of substance treatment, fluoxetine treatment should be considered, even if adolescents are not yet abstinent, with weekly monitoring of treatment adherence, substance use, adverse effects, and target symptom response.@@" - (latter highlighting is of the author's conclusions not DB)

!Funding etc

Financial Disclosure: Dr Davies is @@on the Speakers Bureau for Eli Lilly and Company@@ on the topic of the medication duloxetine hydrochloride (Cymbalta).
Funding/Support: This study was supported by grant NIDA DA13176 from the National Institute on Drug Abuse, National Institutes of Health.
Disclaimer: The sponsoring institution had no role in the design, implementation, data analysis, or preparation of this article.
Henk Rigter, Craig E. Henderson, Isidore Pelc, Peter Tossmann, Olivier Phan, Vincent Hendriks, Michael Schaub, Cindy L. Rowe.  (2013) Multidimensional family therapy lowers the rate of cannabis dependence in adolescents: A randomised controlled trial in Western European outpatient settings.  Drug and Alcohol Dependence.  Volume 130, Issues 1–3, 1 June 2013, Pages 85–93

Noticing a lack of evidence-based programmes for treating adolescents heavily using cannabis in Europe, government representatives from Belgium, France, Germany, The Netherlands, and Switzerland decided to have U.S.-developed multidimensional family therapy (MDFT) tested in their countries in a trans-national trial, called the International Need for Cannabis Treatment (INCANT) study.

INCANT was a 2 (treatment condition) × 5 (time) repeated measures intent-to-treat randomised effectiveness trial comparing MDFT to Individual Psychotherapy (IP). Data were gathered at baseline and 3, 6, 9 and 12 months thereafter. Study participants were recruited at outpatient secondary level addiction, youth, and forensic care clinics in Brussels, Berlin, Paris, The Hague, and Geneva. Participants were adolescents from 13 through 18 years of age with a recent cannabis use disorder. 85% were boys; 40% were of foreign descent. One-third had been arrested for a criminal offence in the past 3 months. Three primary outcomes were assessed: (1) treatment retention, (2) prevalence of cannabis use disorder and (3) 90-day frequency of cannabis consumption.

Positive outcomes were found in both the MDFT and IP conditions. MDFT outperformed IP on the measures of treatment retention (p < 0.001) and prevalence of cannabis dependence (p = 0.015). MDFT reduced the number of cannabis consumption days more than IP in a subgroup of adolescents reporting more frequent cannabis use (p = 0.002).

Cannabis use disorder was responsive to treatment. MDFT exceeded IP in decreasing the prevalence of cannabis dependence. MDFT is applicable in Western European outpatient settings, and may show moderately greater benefits than IP in youth with more severe substance use.
The Efficacy of Structural Ecosystems Therapy With Drug-Abusing/
Dependent African American and Hispanic American Adolescents

190 African-American (n=77) and Hispanic (n=113) adolescents (78% boys), aged 12 - 17yrs, DSM IV diagnisis of SUD or Dependence)were randomized to:
#[[SET]] Structural Ecological Therapy, (n=57)
#FAM (Family process only condition)(n=67)
#CS (Control - Community supervision)(n=66)

Assessments were conducted at Baseline, 3, 6, 12, and 18 months postrandomization.

3 x 5 intent to treat stduy
Urn stratified randomisation

There was statistically significant differential attrition from assessments among African Americans. African Americans in SET were more likely to complete the 18-month assessment (73%) than in FAM (52%) or CS (42%).  No such diffs in the Hispanic group ...hence "dramatic differences between the number of sessions in SET and FAM among African Americans (19.48 in SET vs. 7.64 in FAM) and Hispanics (24.11 in SET vs. 17.66 in FAM)... adjusted for in post hoc analyses but did NOT CHANGE THE RESULTS (i.e. the results were not simply related to differnt DOSES of SET/FAM that diff ethnic groups got.)


''SET was significantly more efficacious than FAM and CS'' in reducing adolescent drug use. Complex calculations... "A statistically significant difference was observed on the linear slope component for the Ethnicity x FAM versus SET contrast (parameter estimate = 0.56), t(160) = 2.86,p = 0.004).

''//However, these improvements were limited to Hispanic adolescents//''. 

The study demonstrates the importance of investigating changes in adolescent drug use as a result of treatment condition across more than 1 racial/ethnic group... It has NOT been proven efficacious with African Americans... this is in spite of the fact that SET ''was'' significantly  efficacious "for African American participants ... in engaging adolescents and family members into treatment and in improving family functioning, //but these improvements did not change drug use.//".. the uathor postulates that this is possibly because African Americans are "less well represented in the power structures" in Miami, and there were therefore less robust ecosystems for the family to link into than was the case for Hispanic families in Miami.

#significant attrition was observed, ranging from 12% (3 months postrandomization) to 33% (18 months postrandomization).
#differential attrition by treatment condition was observed among African Americans
#did not include an empirically validated family therapy intervention (FAM not such an intervention)
#Should have used BSFT instead of FAM?
#it is possible that differences in dosage by ethnicity in SET and FAM may account for the present results. Thus, the observed results may be a function of how much treatment was received rather than what type of treatment was provided.
Structural Ecosystems Therapy - developed as a multisystemic development of BSFT by Szapocznik and Santisteban etc

The “ecosystemic” components of SET (e.g., parent’s relationship with an adolescent’s peers)are also influenced by 
(a) Bronfrenbrenner’s theory of the social ecology (Bronfenbrenner, 1986); 
(b) Hawkins and colleagues’ research on multiple domains of risk and protection
(Hawkins et al., 1992); and 
(c) Henggeler and Borduin’s (1990) research on multisystemic therapy with behavior problem adolescents.

Ecological interventions included 
(a) joining with membersof the ecology, 
(b) tracking ecological relationships, 
(c) reframing problems in the ecology, and 
(d) restructuring ecological relationships.

See [[Szapocznik et al 2000]]
[[Robbins et al 2008]]
!Adolescent Addictions conference - March 2012
CBS and THC induce psychosis-LIKE states
Longe term use incr risk do psychosis

Impairs working and episodic memory 

10% users develop dependence
1% of all adults and >2 % 14-17yr olds show CBS dependence.

About 50% of 16-24 yr olds have tried it
Most get only transitory side effects...

What determines whether a individual is vulnerable to harmful effects of CBS
Age at first use
Level of use
Genetics (uncertain)
Psychosis-proneness - a continuum across the Population

!Variants in CBS subtypes
Main ingredient is THC
Other is Cannabidiol (CBD) - is probably anti psychotic and neuroprotective... An inhibits reputable and hydrolysis of anandamide (endogenous cannabinoids) - ananda = bliss in oriental religious terminology...

!Hair samples
Good objective measure 3cm = 3 months
140 people:
20 had THC only 
26 THC and CBD
86 neither, 
8 CBD only

People with THC only had much higher rates of hallucs and delusions, and less anhedonia

THC and CBD - no differences from no-THC

!600 individuals
Used for >1 year
Tested twice, once when intoxicated with own CBS and once when NOT Intoxicated
Multiple assessments

Low CBD compared with high CBD compared 
* many non-differences
* CBD BLOCKED Memory impairment of THC
* potential memory enhancer?

!response to cannabis stimuli
Pictures testing attetional bias
Skunk much more powerful attentionsl bias

No effect to level of 'stonedness' Whether CBD present or not.
Higher psychosis-like synptomatology in THC only group

Memory generally aided by presence of CBD

Dependency (craving, and time to smoke an eighth) - much higher in Skunk

!cerebrospinal fluid
Signif difference between light and heavy users 
Light use //enhances// presence of Anandamides.
Heavy users //deplete// endogenous cannabinoids.

!Where has all the CBD gone?
CBS has changed ++++ especially in terms of reduced CBD 

Skunk is bad for you
MUSIC and Change - rap is being written to persuade kids to avoid skunk.

Sertraline - only 10 pts - no group diffs shown (both had CBT group Rx as well) [[Deas et al 2000]]
Fluoxetine - benefits in small open lable trial (13 pts) [[Cornelius et al 2001]]
Patricia A. Woicik, Sherry H. Stewart, Robert O. Pihl, Patricia J. Conrod.

The substance use risk profile scale: A scale measuring traits linked to reinforcement-specific substance use profiles. 

Addictive Behaviors 34 (2009) 1042–1055

<html><div align="center"><iframe src="" frameborder="0" width="100%" height="600"></iframe></div></html>

Compared [[BSFT]] with a Psycho Ed group 

in 126 predominantly male (75%) Hispanic adoelscents aged 12 - 18 (Miami Florida)

HIGH DROP OUT RATES: 30% of youhts dropped out of BSFT and 37% dropped out of the Eduucational group.  
NO FOLLOW UP RESULTS (only post treatment)
4 - 20 1hour sessions according to need.

Outcomes measured: Psychiatric/Psychosocial (Incl drug use), problem behaviours, family envirnoment and family structural fucntioning.  

BSFT better results than group in terms of behaviour problems (and decr marijuana, but no significnat effects for alcohol) but ''no clinically signifficnat changes'' (acc [[Austin et al 2005]]) for alcohol or CBS werre associated with either BSFT or the Group Rx.  Small effects sizes for alcohol use (0.21) and drug use (0.21) acc Vaughn for CBS: BSFT v. GGT:d = .58; and for alcohol: BSFT v. GGT: d = –.21)
|Description:|Provides two extra toolbar commands, saveCloseTiddler and cancelCloseTiddler|
|Version:|3.0 ($Rev: 3861 $)|
|Date:|$Date: 2008-03-08 10:53:09 +1000 (Sat, 08 Mar 2008) $|
|Author:|Simon Baird <>|
To use these you must add them to the tool bar in your EditTemplate

	saveCloseTiddler: {
		text: 'done/close',
		tooltip: 'Save changes to this tiddler and close it',
		handler: function(e,src,title) {
			return false;

	cancelCloseTiddler: {
		text: 'cancel/close',
		tooltip: 'Undo changes to this tiddler and close it',
		handler: function(e,src,title) {
			return false;



|Description:|Lets you easily switch theme and palette|
|Version:|1.0 ($Rev: 3646 $)|
|Date:|$Date: 2008-02-27 02:34:38 +1000 (Wed, 27 Feb 2008) $|
|Author:|Simon Baird <>|
* Borrows largely from ThemeSwitcherPlugin by Martin Budden
* Theme is cookie based. But set a default by setting config.options.txtTheme in MptwConfigPlugin (for example)
* Palette is not cookie based. It actually overwrites your ColorPalette tiddler when you select a palette, so beware. 
* {{{<<selectTheme>>}}} makes a dropdown selector
* {{{<<selectPalette>>}}} makes a dropdown selector
* {{{<<applyTheme>>}}} applies the current tiddler as a theme
* {{{<<applyPalette>>}}} applies the current tiddler as a palette
* {{{<<applyTheme TiddlerName>>}}} applies TiddlerName as a theme
* {{{<<applyPalette TiddlerName>>}}} applies TiddlerName as a palette

config.macros.selectTheme = {
	label: {
      		selectTheme:"select theme",
      		selectPalette:"select palette"
	prompt: {
		selectTheme:"Select the current theme",
		selectPalette:"Select the current palette"
	tags: {

config.macros.selectTheme.handler = function(place,macroName)
	var btn = createTiddlyButton(place,this.label[macroName],this.prompt[macroName],this.onClick);
	// want to handle palettes and themes with same code. use mode attribute to distinguish

config.macros.selectTheme.onClick = function(ev)
	var e = ev ? ev : window.event;
	var popup = Popup.create(this);
	var mode = this.getAttribute('mode');
	var tiddlers = store.getTaggedTiddlers(config.macros.selectTheme.tags[mode]);
	// for default
	if (mode == "selectPalette") {
		var btn = createTiddlyButton(createTiddlyElement(popup,'li'),"(default)","default color palette",config.macros.selectTheme.onClickTheme);
	for(var i=0; i<tiddlers.length; i++) {
		var t = tiddlers[i].title;
		var name = store.getTiddlerSlice(t,'Name');
		var desc = store.getTiddlerSlice(t,'Description');
		var btn = createTiddlyButton(createTiddlyElement(popup,'li'),name ? name : title,desc ? desc : config.macros.selectTheme.label['mode'],config.macros.selectTheme.onClickTheme);
	return stopEvent(e);

config.macros.selectTheme.onClickTheme = function(ev)
	var mode = this.getAttribute('mode');
	var theme = this.getAttribute('theme');
	if (mode == 'selectTheme')
	else // selectPalette
	return false;

config.macros.selectTheme.updatePalette = function(title)
	if (title != "") {
		if (title != "(default)")

config.macros.applyTheme = {
	label: "apply",
	prompt: "apply this theme or palette" // i'm lazy

config.macros.applyTheme.handler = function(place,macroName,params,wikifier,paramString,tiddler) {
	var useTiddler = params[0] ? params[0] : tiddler.title;
	var btn = createTiddlyButton(place,this.label,this.prompt,config.macros.selectTheme.onClickTheme);
	btn.setAttribute('mode',macroName=="applyTheme"?"selectTheme":"selectPalette"); // a bit untidy here

config.macros.selectPalette = config.macros.selectTheme;
config.macros.applyPalette = config.macros.applyTheme;

config.macros.refreshAll = { handler: function(place,macroName,params,wikifier,paramString,tiddler) {
	createTiddlyButton(place,"refresh","refresh layout and styles",function() { refreshAll(); });


|''Description''|server-side saving|
This plugin relies on a dedicated adaptor to be present.
The specific nature of this plugin depends on the respective server.
!Revision History
!!v0.1 (2008-11-24)
* initial release
!!v0.2 (2008-12-01)
* added support for local saving
!!v0.3 (2008-12-03)
* added Save to Web macro for manual synchronization
!!v0.4 (2009-01-15)
* removed ServerConfig dependency by detecting server type from the respective tiddlers
!!v0.5 (2009-08-25)
* raised CoreVersion to 2.5.3 to take advantage of core fixes
!!v0.6 (2010-04-21)
* added notification about cross-domain restrictions to ImportTiddlers
!To Do
* conflict detection/resolution
* rename to ServerLinkPlugin?
* document deletion/renaming convention
(function($) {

readOnly = false; //# enable editing over HTTP

var plugin = config.extensions.ServerSideSavingPlugin = {};

plugin.locale = {
	saved: "%0 saved successfully",
	saveError: "Error saving %0: %1",
	saveConflict: "Error saving %0: edit conflict",
	deleted: "Removed %0",
	deleteError: "Error removing %0: %1",
	deleteLocalError: "Error removing %0 locally",
	removedNotice: "This tiddler has been deleted.",
	connectionError: "connection could not be established",
	hostError: "Unable to import from this location due to cross-domain restrictions."

plugin.sync = function(tiddlers) {
	tiddlers = tiddlers && tiddlers[0] ? tiddlers : store.getTiddlers();
	$.each(tiddlers, function(i, tiddler) {
		var changecount = parseInt(tiddler.fields.changecount, 10);
		if(tiddler.fields.deleted === "true" && changecount === 1) {
		} else if(tiddler.isTouched() && !tiddler.doNotSave() &&
				tiddler.getServerType() && tiddler.fields[""]) { // XXX: could be empty string
			delete tiddler.fields.deleted;

plugin.saveTiddler = function(tiddler) {
	try {
		var adaptor = this.getTiddlerServerAdaptor(tiddler);
	} catch(ex) {
		return false;
	var context = {
		tiddler: tiddler,
		changecount: tiddler.fields.changecount,
		workspace: tiddler.fields["server.workspace"]
	var serverTitle = tiddler.fields["server.title"]; // indicates renames
	if(!serverTitle) {
		tiddler.fields["server.title"] = tiddler.title;
	} else if(tiddler.title != serverTitle) {
		return adaptor.moveTiddler({ title: serverTitle },
			{ title: tiddler.title }, context, null, this.saveTiddlerCallback);
	var req = adaptor.putTiddler(tiddler, context, {}, this.saveTiddlerCallback);
	return req ? tiddler : false;

plugin.saveTiddlerCallback = function(context, userParams) {
	var tiddler = context.tiddler;
	if(context.status) {
		if(tiddler.fields.changecount == context.changecount) { //# check for changes since save was triggered
		} else if(tiddler.fields.changecount > 0) {
			tiddler.fields.changecount -= context.changecount;
		plugin.reportSuccess("saved", tiddler);
	} else {
		if(context.httpStatus == 412) {
			plugin.reportFailure("saveConflict", tiddler);
		} else {
			plugin.reportFailure("saveError", tiddler, context);

plugin.removeTiddler = function(tiddler) {
	try {
		var adaptor = this.getTiddlerServerAdaptor(tiddler);
	} catch(ex) {
		return false;
	var context = {
		host: tiddler.fields[""],
		workspace: tiddler.fields["server.workspace"],
		tiddler: tiddler
	var req = adaptor.deleteTiddler(tiddler, context, {}, this.removeTiddlerCallback);
	return req ? tiddler : false;

plugin.removeTiddlerCallback = function(context, userParams) {
	var tiddler = context.tiddler;
	if(context.status) {
		if(tiddler.fields.deleted === "true") {
		} else {
			plugin.reportFailure("deleteLocalError", tiddler);
		plugin.reportSuccess("deleted", tiddler);
	} else {
		plugin.reportFailure("deleteError", tiddler, context);

plugin.getTiddlerServerAdaptor = function(tiddler) { // XXX: rename?
	var type = tiddler.fields["server.type"] || config.defaultCustomFields["server.type"];
	return new config.adaptors[type]();

plugin.reportSuccess = function(msg, tiddler) {

plugin.reportFailure = function(msg, tiddler, context) {
	var desc = (context && context.httpStatus) ? context.statusText :
	displayMessage(plugin.locale[msg].format([tiddler.title, desc]));

config.macros.saveToWeb = { // XXX: hijack existing sync macro?
	locale: { // TODO: merge with plugin.locale?
		btnLabel: "save to web",
		btnTooltip: "synchronize changes",
		btnAccessKey: null

	handler: function(place, macroName, params, wikifier, paramString, tiddler) {
		createTiddlyButton(place, this.locale.btnLabel, this.locale.btnTooltip,
			plugin.sync, null, null, this.locale.btnAccessKey);

// hijack saveChanges to trigger remote saving
var _saveChanges = saveChanges;
saveChanges = function(onlyIfDirty, tiddlers) {
	if(window.location.protocol == "file:") {
		_saveChanges.apply(this, arguments);
	} else {

// override removeTiddler to flag tiddler as deleted -- XXX: use hijack to preserve compatibility?
TiddlyWiki.prototype.removeTiddler = function(title) { // XXX: should override deleteTiddler instance method?
	var tiddler = this.fetchTiddler(title);
	if(tiddler) {
		tiddler.tags = ["excludeLists", "excludeSearch", "excludeMissing"];
		tiddler.text = plugin.locale.removedNotice;
		tiddler.fields.deleted = "true"; // XXX: rename to removed/tiddlerRemoved?
		tiddler.fields.changecount = "1";
		this.notify(title, true);

// hijack ImportTiddlers wizard to handle cross-domain restrictions
var _onOpen = config.macros.importTiddlers.onOpen;
config.macros.importTiddlers.onOpen = function(ev) {
	var btn = $(resolveTarget(ev));
	var url = btn.closest(".wizard").find("input[name=txtPath]").val();
	if(window.location.protocol != "file:" && url.indexOf("://") != -1) {
		var host = url.split("/")[2];
		var macro = config.macros.importTiddlers;
		if(host != {
			btn.text(macro.cancelLabel).attr("title", macro.cancelPrompt);
			btn[0].onclick = macro.onCancel;
			$('<span class="status" />').text(plugin.locale.hostError).insertAfter(btn);
			return false;
	return _onOpen.apply(this, arguments);

!Dr Sarah Creighton - addictions conference 2012

Massive association of crack cocaine and amphetamines in sex trade
quote from [[Diamond et al 2006]]... 

“Overall, they found a moderate effect size (.22), similar to those found in the adult literature, demonstrating that measures of alliance and the therapeutic relationship are predictive of outcome. The association was not moderated by age, behavioral versus non-behavioral treatment, therapy modality, or manualized versus non-manualized treatment. ''In contrast to adult studies, therapist report of alliance was a stronger predictor of outcome than patient report. Furthermore, they noted that child-reported alliance tended to cluster at the positive end of ratings,10 indicating a tendency for appraisals to be positively biased. Also in contrast to adult studies, later alliance ratings had a stronger
relationship with outcome than those taken earlier in treatment''.”

Not reviewed therefore only 1Star
<<tiddler Backstage##Tiddlers>>
|''Description''|displays search results as a simple list of matching tiddlers|
|''License''|[[Creative Commons Attribution-ShareAlike 3.0 License|]]|
!Revision History
!!v0.2.0 (2008-08-18)
* initial release
!!v0.3.0 (2008-08-19)
* added Open All button (renders Classic Search option obsolete)
* sorting by relevance (title matches before content matches)
!!v0.4.0 (2008-08-26)
* added tag matching
!To Do
* tag matching optional
* animations for container creation and removal
* when clicking on search results, do not scroll to the respective tiddler (optional)
* use template for search results
if(!version.extensions.SimpleSearchPlugin) { //# ensure that the plugin is only installed once
version.extensions.SimpleSearchPlugin = { installed: true };

if(!config.extensions) { config.extensions = {}; }

config.extensions.SimpleSearchPlugin = {
	heading: "Search Results",
	containerId: "searchResults",
	btnCloseLabel: "close",
	btnCloseTooltip: "dismiss search results",
	btnCloseId: "search_close",
	btnOpenLabel: "Open all",
	btnOpenTooltip: "open all search results",
	btnOpenId: "search_open",

	displayResults: function(matches, query) {
		story.refreshAllTiddlers(true); // update highlighting within story tiddlers
		var el = document.getElementById(this.containerId);
		query = '"""' + query + '"""'; // prevent WikiLinks
		if(el) {
		} else { //# fallback: use displayArea as parent
			var container = document.getElementById("displayArea");
			el = document.createElement("div"); = this.containerId;
			el = container.insertBefore(el, container.firstChild);
		var msg = "!" + this.heading + "\n";
		if(matches.length > 0) {
			msg += "''" +[matches.length.toString(), query]) + ":''\n";
			this.results = [];
			for(var i = 0 ; i < matches.length; i++) {
				msg += "* [[" + matches[i].title + "]]\n";
		} else {
			msg += "''" +[query]) + "''"; // XXX: do not use bold here!?
		createTiddlyButton(el, this.btnCloseLabel, this.btnCloseTooltip, config.extensions.SimpleSearchPlugin.closeResults, "button", this.btnCloseId);
		wikify(msg, el);
		if(matches.length > 0) { // XXX: redundant!?
			createTiddlyButton(el, this.btnOpenLabel, this.btnOpenTooltip, config.extensions.SimpleSearchPlugin.openAll, "button", this.btnOpenId);

	closeResults: function() {
		var el = document.getElementById(config.extensions.SimpleSearchPlugin.containerId);
		config.extensions.SimpleSearchPlugin.results = null;
		highlightHack = null;

	openAll: function(ev) {
		story.displayTiddlers(null, config.extensions.SimpleSearchPlugin.results);
		return false;

config.shadowTiddlers.StyleSheetSimpleSearch = "/*{{{*/\n" +
	"#" + config.extensions.SimpleSearchPlugin.containerId + " {\n" +
	"\toverflow: auto;\n" +
	"\tpadding: 5px 1em 10px;\n" +
	"\tbackground-color: [[ColorPalette::TertiaryPale]];\n" +
	"}\n\n" +
	"#" + config.extensions.SimpleSearchPlugin.containerId + " h1 {\n" +
	"\tmargin-top: 0;\n" +
	"\tborder: none;\n" +
	"}\n\n" +
	"#" + config.extensions.SimpleSearchPlugin.containerId + " ul {\n" +
	"\tmargin: 0.5em;\n" +
	"\tpadding-left: 1.5em;\n" +
	"}\n\n" +
	"#" + config.extensions.SimpleSearchPlugin.containerId + " .button {\n" +
	"\tdisplay: block;\n" +
	"\tborder-color: [[ColorPalette::TertiaryDark]];\n" +
	"\tpadding: 5px;\n" +
	"\tbackground-color: [[ColorPalette::TertiaryLight]];\n" +
	"}\n\n" +
	"#" + config.extensions.SimpleSearchPlugin.containerId + " .button:hover {\n" +
	"\tborder-color: [[ColorPalette::SecondaryMid]];\n" +
	"\tbackground-color: [[ColorPalette::SecondaryLight]];\n" +
	"}\n\n" +
	"#" + config.extensions.SimpleSearchPlugin.btnCloseId + " {\n" +
	"\tfloat: right;\n" +
	"\tmargin: -5px -1em 5px 5px;\n" +
	"}\n\n" +
	"#" + config.extensions.SimpleSearchPlugin.btnOpenId + " {\n" +
	"\tfloat: left;\n" +
	"\tmargin-top: 5px;\n" +
	"}\n" +
store.addNotification("StyleSheetSimpleSearch", refreshStyles);

// override = function(text, useCaseSensitive, useRegExp) {
	highlightHack = new RegExp(useRegExp ? text : text.escapeRegExp(), useCaseSensitive ? "mg" : "img");
	var matches =, null, "excludeSearch");
	var q = useRegExp ? "/" : "'";
	config.extensions.SimpleSearchPlugin.displayResults(matches, q + text + q);

// override to sort by relevance = function(searchRegExp, sortField, excludeTag, match) {
	var candidates = this.reverseLookup("tags", excludeTag, !!match);
	var primary = [];
	var secondary = [];
	var tertiary = [];
	for(var t = 0; t < candidates.length; t++) {
		if(candidates[t] != -1) {
		} else if(candidates[t].tags.join(" ").search(searchRegExp) != -1) {
		} else if(candidates[t] != -1) {
	var results = primary.concat(secondary).concat(tertiary);
	if(sortField) {
		results.sort(function(a, b) {
			return a[sortField] < b[sortField] ? -1 : (a[sortField] == b[sortField] ? 0 : +1);
	return results;

} //# end of "install only once"
Engaging Young ''Probation-referred'' Marijuana-abusing Individuals in Treatment: A Pilot Trial

Young marijuana abusers rarely seek treatment themselves and are difficult
to engage in treatment when referred by social agencies. To evaluate treatment
engagement strategies in this population, 65 young probation-referred
marijuana abusers were randomly assigned to either three-session
motivational enhancement therapy (MET alone) or three-session
MET plus contingency management (MET/CM), with vouchers for
treatment attendance. A significantly higher number of participants in
the MET/CM condition completed the three-session intervention as compared
with MET alone. Participants in both conditions reported significant reductions in marijuana use and improvement in legal problems.
These findings suggest that young marijuana abusers benefit from
scientifcally validated treatments. (Am J Addict 2003;12:314^323)

18 - 25 yr olds

too old

from publicly funded outpatient 

CM allowed earnings up to $120 for three session attnedances ($5 bonus for turning up within 5 mins of start time)


NO no-treatment control (MET Vs MET/CM)

signficantly higher number of participants in the MET/CM condition completed treatment in 28 days as compared to participants in the MET alone condition (64% vs. 39%, X2=3.85, p<.05).

No treatment effects from main condition (i.e. CM pts didn't do better than non-CM ones)
Adolescent SUD papers and abstracts collated/reviewed and annotated by Dr Dickon Bevington
SUD Treatment Reviews - WWFW
Ecologically based family therapy outcome with substance abusing runaway adolescents
Natasha Slesnick, Jillian L. Prestopnik

''Runaway youth report a broader range and higher severity of substance-related, mental health and
family problems relative to non-runaway youth''. 
In a recent review, Robertson and Toro
(1999) report findings that 48% of a street sample of homeless youth met diagnostic criteria for
alcohol disorder, and 39% met criteria for other drug disorders. In comparing a NewYork City
sample of runaways to adolescents in general (using NIDA data, 1991), Koopman, Rosario, and
Rotheram-Borus (1994) report that runaways are three times more likely to use marijuana (43%
vs. 15%), seven times more likely to use crack/cocaine (19% vs. 2.6%), five times more likely to
use hallucinogens (14% vs. 3.3%), and four times more likely to use heroin (3% vs. 0.7%).
Studies document high rates of physical and sexual abuse (16–60%), depression, teen pregnancy,
and prostitution (Zimet et al., 1995; Johnson, Aschkenasy, Herbers, & Gillenwater, 1996).
Several studies report high rates of comorbid diagnoses among runaway and homeless youth
(Warheit & Biafora, 1991; Schweitzer & Hier, 1993; Unger, Kipke, Simon, Montgomery, &
Johnson, 1997).

Most studies to date have collected self-report data on the family and social history; virtually no research has examined treatment effectiveness with this population.

This study is a treatment development project in which ''124 runaway youth'' (from runaway shelters in Albuquerque, New Mexico) were ''randomly assigned'' (by urn randomisation) to 
(1) ecologically based family therapy (EBFT) or 
(2) service as usual (SAU) through a shelter. 

''up to $150 recompense for attending sessions/assessments''

In the EBFT condition, follow-up rates were as follows: 60/65 (92%) at posttreatment, 58/65 (89%) at 6 months, and 58/65 (89%) at 12 months. In the SAU condition the rates were somewhat lower: 48/59 (81%) at posttreatment, 49/59 (83%) at 6 months, and 52/59 (88%) at 12 months

''Outcome measures:''
Youth completed asessments (TLFB/"Form 90" and urinalysis (1st f/up) and POSIT and multi other valid instruments) at:
#6 months follow-up assessment
#12 months follow-up assessment.

[[EBFT]] - manualised

#Youth assigned to EBFT reported greater reductions in overall substance abuse compared to youth assigned to TAU, (altho //Intent to Treat analysis// (the 53 EBFT, 44 TAU subjects who completed all assesst points even if they didn't get much therapy) found no main effects for time and treatment modality effects, when youth who //had received a set no. of doses of Rx// (at least 4 Rx sessions) were examined (42 EBFT, 44 TAU) significant differneces between EBFT and TAU were found for all drugs (excl tobacco/alc) and CBS ...(overall substance use (tobacco use not included; F(3,81)= 2:91; p<0:05; eta2=0:10), for use excluding tobacco and alcohol (F(3,81)= 2.89, p=0.05; eta2=0.10), and for percentage days of marijuana use(F(3,81)= 2.84; p=0.05; Eta2= 0.10)
#Youth with physical and sexual abuse Histories did better in EBFT than TAU
#While //other problem areas// improved in both conditions. 

Findings suggest that EBFT is an efficacious intervention for this relatively severe population of youth.
"Treatment outcome for street-living, homeless youth"

(A)CRA in Rx of homeless substance using Youth

n=180 homeless youth aged 14 - 22yrs (note age) at Albuqyerque's homeless shelter, with DSM IV SUD (CDISC)
Recruitment began on 11/2/01 and ended on 2/21/05. 

Youth were ''randomly assigned'' (computerised urn) to either :
(1) CRA (N=96) (offered 12 CRA therapy sessions and 4 HIV education/skills practice sessions... mean 6.8 sessions attended, and 18 subjects (c. 1/5 of allocated patients) allocated to CRA attended NONE) or...
(2) TAU, (N=84)

''Rewards'' for attending asessments (survival pack at initial assessment and $50 at last assesst)
''no signif inter-group differences''.
''No Blinding of conditions in assessments''
Manualised inervention (CRA)
Videotape fidelity measures

Multiple valid outcome measures

Youth in CRA showed a 37% reduction in substance use (from 67% days use to 43% days use), while those receiving TAU showed a 17% reduction in substance use (60% to 50% days use).

''Intention to treat analysis'' - 155/180 youths completed both pre treatment and 6/12 assessments.  the 25 who //did// complete all the assessments showed //greater CBS prevalence//, and //less alcohol prevalence// and //lower HIV risk// than those who missed assessments.

Interaction between treatment and percentage days drug use (excl tobacco) at 6/12 reveals positive benefits for CRA over TAU: (F(1, 153)=5.39, p<0.05; d=0.35) - a  small to medium effect. but further analysis on simple main effects youth in CRA had a greater decrease (F(1, 153)=37.29, p<0.001; ''d=1.00'') in drug use than youth in TAU (F(1, 153)=6.89, p<0.05;

NB TIME EFFECTS - TAU pts improved on most measures too, but not as much as CRA.

Limitations - No blinding of assessors to Rx condition, and only assessed at treaetment end; need longer follow up studies.

Type the text for 'Solvents'
!Upload an icon
<<tiddler spaceIcon>>
!Describe your space
If you haven't already done so, you should provide a brief decscription of yourself and what you're using this space for. To do this, just edit the [[SiteInfo]] tiddler (keeping the title the same of course).

!Change the title
<<tiddler spaceTitle>>
!Change the theme
<<tiddler colorScheme>>
!Change the menu
If you'd like to change the menu items along the top, you can edit the [[MainMenu]] tiddler.

!Change the default tiddlers
<<tiddler setDefaultTiddlers>>
!More Advanced customisations
If you know HTML and CSS, you can edit some or all of the following tiddlers to customise your space further:
* PageTemplate
* EditTemplate
* ViewTemplate
* StyleSheet
Tagged here are all the Specific interventions which are represented in trials.

<<tag MotivationalEnhancement>> <<tag MultiSystems>> <<tag TwelveStep>> <<tag CBT>> <<tag EngageAllianceOutreach>> <<tag FamilySystems>> <<tag GroupRx>> <<tag InPatient>> <<tag [[Pharmacology]]>> <<tag [[Prevention]]>> <<tag PsychoEducation>> <<tag [[Innovative]]>>

Author: A. Spirito, H. Sindelar-Manning, S. M. Colby, N. P. Barnett, W. Lewander, D. J. Rohsenow and P. M. Monti
Year: 2011

Title: Individual and family motivational interventions for alcohol-positive adolescents treated in an emergency department: results of a randomized clinical trial

Journal: Archives of Pediatrics & Adolescent Medicine
Volume: 165
Issue: 3
Pages: 269-74

To determine whether a brief individual motivational interview (IMI) plus a family motivational interview (Family Check-Up [FCU]) would reduce alcohol use in adolescents treated in an emergency department after an alcohol-related event more effectively than would an IMI only. 
Two-group randomized design with 3 follow-up time points. 
An urban regional level I trauma center. PARTICIPANTS: Adolescents aged 13 to 17 years (N = 125) with a positive blood alcohol concentration as tested using blood, breath, or saliva. 
Either IMI or IMI plus FCU. 
Drinking frequency (days per month), quantity (drinks per occasion), and frequency of high-volume drinking (>=5 drinks per occasion). 
Both conditions resulted in a reduction in all drinking outcomes at all follow-up points (P < .001 for all), with the strongest effects at 3 and 6 months. Adding the FCU to the IMI resulted in a somewhat better outcome than did the IMI only on high-volume drinking days at 3-month follow-up (14.6% vs 32.1%, P = .048; odds ratio, 2.76; 95% confidence interval, 0.99-7.75). 
Motivational interventions have a positive effect on drinking outcomes in the short term after an alcohol-related emergency department visit. Adding the FCU to an IMI resulted in somewhat better effects on high-volume drinking at short-term follow-up than did an IMI only. ''The cost of extra sessions necessary to complete the FCU should be weighed against the potential benefit of reducing high-volume drinking when considering adding the FCU to an IMI for this population.''
Spirito, A, Monti, PM, Barnett, NP, Colby, SM, Sindelar, H, Rohsenow, DJ, Lewander, W, and Myers M, (2004) 
!“A randomized clinical trial of a brief motivational intervention for alcohol-positive adolescents treated in an emergency department.” 
Journal of Pediatrics;145:396-402

Alcohol	RCT 

single 35 - 45 min MI session Vs. a 5 min "Standard Care" session.  

$20 payment after session.	

3, 6, and 12/12 follow-up with 15, 15 and $25 payments as rewards.	

"The study was described to 287 eligible patients, but 134 (47%) declined to participate or were discharged from the ED before completion of recruitment, resulting in 152 participants.The sample consisted of 97 boys (63.8%) and 55 girls (36.2%) with an average age of 15.6 years (SD = 1.2).  Low pickup rate on ITT..."	

RCT, low reruitment and risk of hawthorn effect and bias due to financial inducements.	

Standardised outcome measures incl Alcohol use, Drinking and Driving incidents, alcohol-related injuries, alc related problems.

"There was no effect on frequency of intoxication or negative alcohol-related consequences.  Nonetheless, the positive effects appear clinically
significant with average number of drinking days per month
about 4 in the MI group compared with 7 in the SC group at
one year, and high-volume drinking days reduced by almost
half at 12 months in the MI group compared with the SC

Benefits only if adolescent reported problem drinking at baseline...  similar to [[McCambridge and Strang 2004]] - most beneficial for those with highest probs - but not about abstaining - just harm minimisation."
Spirito A, Sindelar-Manning H, Colby SM, Barnett NP, Lewander W, Rohsenow DJ, Monti PM (2011) ''Individual and Family Motivational Interventions for Alcohol-Positive Adolescents Treated in an Emergency Department: Results of a Randomized Clinical Trial'' Arch Pediatr Adolesc Med. 2011;165(3):269-274


To determine whether a brief individual motivational
interview (IMI) plus a family motivational interview
(Family Check-Up [FCU]) would reduce alcohol
use in adolescents treated in an emergency department
after an alcohol-related event more effectively than would
an IMI only.
Two-group randomized design with 3 follow-
up time points.
An urban regional level I trauma center.
Adolescents aged 13 to 17 years (N=125)
with a positive blood alcohol concentration as tested using
blood, breath, or saliva.
Either IMI or IMI plus FCU.
!!!Main Outcome Measures: 
Drinking frequency (days per month), quantity (drinks per occasion), and frequency
of high-volume drinking (> or = 5 drinks per occasion).
Both conditions resulted in a reduction in all drinking outcomes at all follow-up points (P<.001 for all), with the strongest effects at 3 and 6 months. 

Adding the FCU to the IMI resulted in a somewhat better outcome than did the IMI only on high-volume drinking days at 3-month follow-up (14.6% vs 32.1%, P=.048; odds ratio,
2.76; 95% confidence interval, 0.99-7.75).


Motivational interventions have a positive
effect on drinking outcomes in the short term after
an alcohol-related emergency department visit. 

Adding the FCU to an IMI resulted in somewhat better effects on high-volume drinking at short-term follow-up than did an IMI only. 

The cost of extra sessions necessary to complete the FCU should be weighed against the potential benefit of reducing high-volume drinking when considering adding the FCU to an IMI for this population.

Reducing STD and HIV Risk Behavior of Substance-Dependent Adolescents: A Randomized Controlled Trial

A randomized controlled trial assessed 3 interventions designed to increase safer sex behaviors of
substance-dependent adolescents. 

!Participants (N = 161) recruited from adoelscent residential drug Rx units
Mean age 16yrs, 2/3 male, 1/3 female
approx 3/4 caucasian, 1/4 African american 
Mississippi, a state with high rates of adolescent STD, HIV, and pregnancy
Mississippi ranked first nationally in births to teenagers, teenage pregnancy, and
syphilis and third nationally in gonorrhea incidence. One third of gonorrhea
cases were diagnosed in 15- to 19-year olds, more than in any other age
group (Mississippi State Department of Health, 1995)

This __motivational manipulation__ was added to address personal perceptions
of risk and to motivate participants to practice safer sex or abstinence,
using a developmentally appropriate and emotion-based strategy.
The emotion-based strategy was implemented as follows: A photograph
of each participant was taken at baseline, using a digital camera. The image
was downloaded into a computer and a color print of the photo was made.
The computer image was then electronically transformed to visually depict
how the adolescent might appear in end-stage AIDS (e.g., extreme wasting,
Kaposi’s sarcoma lesion on his or her face).

received 12 sessions of either 

#a health information intervention (I only), 
#information plus skills-based safer sex training (I+B), or 
#the same experimental condition plus a risk-sensitization manipulation (I+M+B). 

The I+B and I+M+B conditions, as compared with the I only condition, 
(a) produced more favorable attitudes toward condoms; 
(b) reduced the frequency of unprotected vaginal sex; and 
(c) increased behavioral skill performance, frequency of condom-protected sex, percentage of intercourse occasions that were condom
protected, and number of adolescents who abstained from sex. The intervention that included the
risk-sensitization procedure was more resistant to decay.

An unexpected finding was that the I + B and
I + M+B conditions produced substantial increases in sexual abstinence.

<html><div align="center"><iframe src="" frameborder="0" width="100%" height="600"></iframe></div></html>
Click the "new tiddler" button towards the top right of the screen to write something in your space. You'll need to give it a title, some content and, optionally, some tags that will help you identify it later.

!Stuck for ideas?
Not sure what to write about? Not sure what to keep in your space? Other people use ~TiddlySpace for almost anything. How about some of the following:

* [[Save interesting sites|]], images or articles from around the web so that you can refer back to them.
* [[Record your family tree|]], store notes on long lost relatives or ancestors and map their relationship to you.
* [[Make up a pocketbook|]] to store some useful information in, then print it out, [[fold it up|]], and take it with you.
* [[Plan your holiday|]], record where you're planning to go, note down places of interest and refer back to it later.
* [[Create a mindmap|]] to visualise your inner thoughts and see how they relate to each other.
* [[Set up a questionnaire|]] and get all your friends to answer it.

If you don't like any of those ideas, you can still use this space directly to keep notes and link them together, make a todo list and keep track of everything you're doing, or any one of a hundred million other things.

Still stuck? Check out the @featured space for more suggestions.

You can also [[socialise with others|How to socialise]].
Stein, LAR, Colby, SM, Barnett, NP, Monti, PM, Golembeske,C, Lebeau-Craven,R, (2006) 
!“Effects of Motivational Interviewing for Incarcerated Adolescents on Driving Under the Influence after Release”. 
The American Journal on Addictions, 15: 50–57.

Alcohol and CBS	

"The purpose of this study was to explore the
impact of depressed mood on treatment to reduce DUI
and being a passenger with a driver under the influence
(PUI) in substance using incarcerated adolescents.  

Using 2 sessions of M.I. Vs Relaxation therapy"	

Initial (90min) Session and Booster (c.60min) sessions of M.I 


Single session of Relaxation therapy	

"All Adolescents incarcerated in a large State Juvenile Correction cenre in the N.E of USA were screened.  
Of 125 adolescents approached for the study, all met screening criteria and completed consent procedure. 
Of those 125, two adolescents dropped out of the study prior to completing the initial assessment. 
Of the remaining 123, 105 were re-interviewed at 3-month follow-up; 15 could not be located for follow-up after release
from the facility, and three adolescents withdrew from the study prior to completion of the 3-month follow-up. 

Sample (N = 105) was comprised of  27.6% Hispanic, 34.3% African American, 32.4% White, and 5.7% other. 

Most were boys (89.5%), and average age was 17.06 years (standard deviation ¼ 1.08). 

In the last year, 61.0% and 84.8% qualified for alcohol and marijuana use disorders, respectively. 
Over 41% of the sample had been previously incarcerated. 
Eighty-nine and one-half percent (89.5%) of the sample enrolled in the usual substance use programming
offered at the facility (see description below),
following our initial treatment at baseline."	

Single follow up point at 3/12.  

Financial inducements (up to $70)

Manualised training for therapists in both modialities (56 hours). SCID- I, CES-D (Centre for Epidemiological Studies - Depression scale) and others. Risky Behaviours Questionaire. Validated measures.

"In contrast to [[McCambridge and Strang 2004]] - effects most pronounced for LOW depression scores adolescents - 
At high depressive symptoms, no differences were found between treatment groups;    "

"The clinical significance of these findings is of interest:
For adolescents low in depressive symptoms early in incarceration,
at 3 months after release the MI group showed
an 89.1% reduction in DUI-A(Driving under the influence - alcohol), and a 74.2% reduction
in PUI-A (passenger of driver under the influence - alc)  as compared to the RT group. 
Although similar reductions in DUI-Mj (Marijuana) and PUI-MJ were observed, they
were non-significant at the .05 p-level."
"Family based therapy plus cognitive behavioural therapy alone for reducing adolescent drug abuse therapy (CBT) was better than CBT alone or family"

Evid. Based Ment. Health 2002;5;53-

Reviewing [[Waldron et al 2001]] - see Stevens brief paper (EBMH reveiw - one page) for details

In the past decade many studies have investigated the efficacy of various treatment models
among adolescent substance abusers. Of the handful of promising models, only a few have
been identified as exemplary. These models are appropriately theory driven, based on the
previous identification of risk and protective factors for substance abuse, and are empiri­
cally supported by randomised controlled trials (RCTs). Family based models such as
multidimensional family therapy and multisystemic therapy meet this standard of
excellence.1 Other promising family, group, and individual based models include FFT, the
more traditional 12 step model, motivational enhancement therapy, and CBT.
The study by Waldron et al represents the first systematic investigation of FFT in that
it presents the results of an RCT with comparisons between FFT and other treatments.
It provides evidence that FFT, particularly in combination with CBT, is efficacious in
treating substance abusing adolescents. The long term persistence of the treatment
effect remains to be determined. An interesting and unexpected finding was the positive
effect at 7 months with the psychoeducational treatment group. This finding requires
further study, given that it is less costly than the more intensive interventions.
Although the generalisability of the findings to the population at large is limited
because the adolescents were primarily boys who had juvenile justice involvement, pre­
sented with marijuana abuse/dependency, and were treated in an outpatient setting, it
is interesting to note that approximately 50% were Hispanic, which supports the effec­
tiveness of this treatment model among this population.
In general, the results of this RCT show that FFT, particularly in combination with
CBT, is efficacious for treating adolescents who meet DSM­IV criteria for substance
abuse. More specifically, this study shows the efficacy of this combined treatment
approach among a population of adolescent male substance abusers (Hispanic and
Anglo–American). However, further studies of FFT are warranted where larger samples
are included, subgroups are identified within which this therapy is particularly
efficacious, and site effects are examined.
.tiddler .originButton div {
	display: inline-block;

.tiddler .spaceSiteIcon .siteIcon {
	_display: inline; /* IE doesn't like inline-block */

.tiddler .originButton {
	display: block;

.selected .tagging,
.selected .tagging:hover {
	border: none;
	background: none;

.tagging {
	float: none;
	background: none;
	border: none;

.tagging li.listTitle {
	margin-left: 0px;
.tagging li {
	margin: 0 8px;

.tagging .tiddlyLink {
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-o-border-radius: 3px;
	border-radius: 3px;
	padding: 1px 2px;
	line-height: 1.2em;

/* for following */
#popup .siteIcon {
	float: left;
	height: 25px;

.content {
	width: 100%; /* IE */
	font-size: 0.9em;

.editorHeading {
	height: 48px;

.heading {
	left: 0;
	margin-bottom: 40px;
	position: relative;
	top: 32px;

.followButton a {
	display: block;
	margin-top: -20px;

.tiddler .followPlaceHolder {
	display: block;
	position: absolute;
	top: 16px;
	right: 64px;
	_right: 138px; // add width of modifierIcon

.tiddler .followButton {
	position: relative;
	height: 24px;
	text-align: left;
	color: #fff;
	background: [[ColorPalette::PrimaryMid]];
	padding: 10px 0px 0px 10px;
	width: 38px;
	margin: -16px -8px 24px 0;

/* creates the larger triangle */
.followButton:before {
	content: "\00a0";
	display: block; /* reduce the damage in FF3.0 */
	position: relative;
	bottom: -20px;
	right: 0;
	width: 0;
	height: 0;
	border-width: 0 0 20px 20px;
	border-style: solid;
	border-color: transparent [[ColorPalette::PrimaryMid]];

.toolbar svg {
	height: 16px;
	width: 16px;

.toolbar svg .glyph {
	fill: #ccc;

.toolbar a:hover .glyph {
	fill: black;

.toolbar a:active .glyph {
	fill: [[ColorPalette::Background]];

.tiddler .subtitle {
	cursor: pointer;

.editSpaceSiteIcon .originButton {
	cursor: auto;

.tiddler .subtitle:hover {
	font-weight: bold;
	background: none;

.originButton img,
.originButton svg {
	margin-left: 0px;

.modifierIcon {
	position: absolute;
	width: 74px;
	top: 0px;
	right: 0px;
	_right: 74px; /* in IE6 positioning works incorrectly so use -width instead */
	text-align: right;

.modifierIcon img,
.modifierIcon svg {
	margin-right: 8px;

.tiddler .viewer {
	padding-bottom: 16px;
	margin: 0 0 0 56px;
	line-height: 1.4em;

.viewer pre {
	margin-left: 0;

.siteIcon .label {
	color: [[ColorPalette::TertiaryDark]];

.tiddler .spaceSiteIcon {
	float: left;
	margin-right: 0;
	margin-top: 0;
	position: relative;
	display: block;

.tiddler .titleBar {
	display: block;
	margin-right: 136px;
	margin-left: 56px;

.followButton a {
	color: [[ColorPalette::Background]];

.tiddler {
	position: relative;
	padding: 0;
	margin-bottom: 3em;
	border-top: 3px solid [[ColorPalette::PrimaryMid]];
	background: #fff;

.tiddler .editor {
	padding: 0px 8px;

.tiddler .heading .title {
	position: relative;
	display: block;
	word-wrap: break-word;
	font-size: 32px;
	line-height: 32px;
.tiddler .heading .editor.title {
	font-size: 1.7em;
	line-height: normal;

.tiddler .headingClear {
	clear: both;

.tiddler .subtitle {
	font-style: italic;
	font-size: 0.9em;
	color: #a6a59e;
	margin-top: 0;

.toolbar {
	position: absolute;
	padding: 0;
	top: 8px;
	right: -8px;

.toolbar .moreCommand.highlight {
	background: none;

.tiddler .toolbar .button {
	border: none;
	display: inline;
	padding: 0px;
	margin-right: 16px;

.tiddler .toolbar a:hover {
	background: none;

.tiddler .tagged .listTitle {
	display: none;

.revButton {
	float: right;

/*! EditTemplate specific*/
.tiddler .privacySettings {
	text-align: center;
.tiddler .privacySettings .originButton {
	display: inline;

.editSpaceSiteIcon, .privacyEdit {
	float: left;

.editSpaceSiteIcon svg,
.editSpaceSiteIcon img,
.editSpaceSiteIcon .roundelLabel {
	float: left;

.tagTitle {
	position: absolute;
	text-align: center;
	width: 48px;
	top: 0px;
	left: -56px;

.editSpaceSiteIcon .originButton img,
.editSpaceSiteIcon .originButton svg {
	height: 16px;
	margin-left: 24px;
	margin-right: 32px;
	width: 16px;

.tagAnnotation {
	margin-top: 8px;
	padding-bottom: 8px;
.annotationsBox {
	margin-top: 8px;

.editorFooter {
	position: relative;
	padding: 0;
	margin-top: 16px;
	margin-left: 64px;

.tiddler .editorFooter .editor {
	padding-left: 0px;

.heading .editor input {
	width: 100%;
	font-size: 1.5em;

.spaceSiteIcon .externalImage .image a:hover,
.modifierIcon .externalImage .image a:hover {
	background: none;

div.toolbar {

.selected div.toolbar {
	visibility: visible;

.followButton a:hover {
	background: [[ColorPalette::PrimaryMid]];
	text-decoration: underline;

a.image:hover {
	background: transparent;

@media all and (max-device-width: 480px) {
	div.toolbar {
@media only screen and (device-width: 768px) {
	div.toolbar {
@media all and (max-width: 960px) {
	.tiddler .titleBar {
		margin-left: 36px;
		margin-right: 80px;

	.tiddler .heading {
		margin-bottom: 48px;

	.tiddler .heading .title {
		font-size: 32px;
		line-height: 32px;

	.tiddler .modifierIcon img,
	.tiddler .modifierIcon svg,
	.tiddler .spaceSiteIcon .originButton img,
	.originButton svg {
		width: 32px;
		height: 32px;
		margin-left: 0px;
		margin-right: 0px;

	.tiddler .followPlaceHolder {
		right: 48px;

	.tiddler .followButton {
		width: 24px;

	.tiddler .viewer {
		margin: 0px 0px 0px 36px;
		padding-top: 0;

	br {
		line-height: 0.5em;
body {
	font-size: 1em;
	font-family: helvetica, arial, sans-serif;
	background-color: #fff;
	color: [[ColorPalette::Foreground]];

body ul { margin: 0; }

#popup {
	background-color: [[ColorPalette::TertiaryPale]];

#popup.confirmationPopup, .followList {
	font-size: 0.8em;
	padding: 1em;
	border: solid 1px [[ColorPalette::SecondaryMid]];
	background-color: [[ColorPalette::SecondaryPale]];

.followList .listTitle {
	text-decoration: underline;

#popup .followTiddlersList a {
	display: inline;
	padding: 0;

#popup li a {
	color: [[ColorPalette::PrimaryMid]];
	font-weight: bold;

#popup li a:hover {
	color: [[ColorPalette::PrimaryPale]];
	background: [[ColorPalette::PrimaryMid]];

#popup li.listTitle {
	border-bottom: 1px solid #000;
	font-weight: bold;
	margin-bottom: 10px;

#popup.followList {
	margin-left: 50px;
	margin-top: -30px;

.followTiddlersList .label {
	display: block;
	left: 10px;
	top: 0px;
	line-height: 16px;
	position: relative;

#popup .followTiddlersList .siteIcon{
	height: auto;

#popup .followTiddlersList li{
	clear: both;
	display: block;
	height: 48px;
	margin-bottom: 8px;
	position: relative;

#popup .followTiddlersList a{
	display: inline;

#displayArea {
	margin: 0;
	top: 0px;
	left: 0px;
	width: 100%;
	position: relative;

.revisionCloak {
	position: absolute;
	position: fixed !important;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	border: 0;
	margin: 0;
	padding: 0;
	opacity: 0.5;
	filter: alpha(opacity=50);
	background-color: #000;

/* *** Header *** */
.header {
	position: relative;
	background-color: [[ColorPalette::PrimaryMid]];
	_width: 100%; /* ie 6 demands */

.headerForeground {
	background-color: [[ColorPalette::PrimaryMid]];
	float: left;
	margin: 24px 16px 0px 72px;
	padding: 0;
	position: relative;
	top: 0;
	_width: 70%; /*ie6: needed for the background to actually be transparent*/
	_background-color: transparent; /*ie6: needed to show the search box*/

.clearFloat {
	clear: both;

#contentWrapper {
	position: relative;
	padding-top: 1px;
	top: -1px;

#tiddlerDisplay {
	_position: relative; /* ie 6*/

.siteTitle {
	clear: both;
	display: block;
	font-size: 32px;
	font-weight: bold;
	line-height: 32px;

.siteSubtitle {
	display: block;
	font-size: 14px;
	height: 16px;
	margin-bottom: 8px;

#sidebarSearch {
	padding: 0;
	position: absolute;
	right: 80px;
	top: 8px;
	width: 176px;

#sidebarSearch .txtOptionInput {
	width: 100%;
	margin-top: 5px;
	_color: #bbb; /* ie6 danger */

#sidebarSearch .txtOptionInput:focus {
	color: #000;

#sidebarSearch .searchButton {
	display: none;

/* *** Menu Bar *** */

#mainMenu {
	position: static;
	text-align: left;
	margin-left: 72px;
	float: left;
	width: auto;
	padding: 0;
	font-size: 1em;
	line-height: normal;

#mainMenu a {
	color: #fff;
	padding: 8px;
	font-size: 0.9em;
	margin-right: 16px;

#mainMenu a:hover {
	background-color: [[ColorPalette::PrimaryMid]];
	color: [[ColorPalette::Background]]

#sidebarOptions {
	margin-right: 72px;
	float: right;
	font-size: 1.1em;
	line-height: 1.6em;
	min-height: 1em;
	padding-top: 0;

#sidebarOptions a {
	margin-right: 8px;

.confirmationPopup .button,
#sidebarOptions .button {
	cursor: pointer;
	line-height: 1.4em;
	text-align: center;
	margin-right: 8px;

.confirmationPopup .button {
	font-size: 0.9em;
	padding: 2px;

#sidebarOptions .button {
	font-size: 0.7em;
	float: left;
	width: 80px;
	padding: 0px;
        color: #fff;

.confirmationPopup a.button,
#sidebarOptions a {
	border: none;
	margin: 0 0.2em;
	padding: 0.6em 0.25em;
	display: inline;
	color: #666;

.confirmationPopup a.button:hover,
#sidebarOptions a:hover {
	color: #000;

.confirmationPopup a.button:active,
#sidebarOptions a:active {
	border: solid 1px [[ColorPalette::PrimaryMid]];
	background-color: #fff;
	background: -webkit-gradient( linear, left bottom, left top, color-stop(0.1,rgb(200,200,200)), color-stop(1, rgb(100,100,100)));
	background: -moz-linear-gradient(center bottom , rgb(200,200,200) 10%,rgb(100,100,100) 100%) repeat scroll 0 0 transparent;
/* *** Sidebar *** */

#sidebar .wizard table {
	margin: 0px;

.tabContents .listTitle:first-child {
	margin-top: 0px;

#menuBar {
	background: [[ColorPalette::PrimaryLight]];
	left: 0;
	right: 0;
	position: relative;
	margin: 0;
	padding: 0.5em 0 0.5em 0;
	min-height: 1em;
	overflow: hidden;
	_width: 100%; /* for ie 6 */

#sidebarOptions a.button:hover {
	color: [[ColorPalette::PrimaryPale]];
    background: [[ColorPalette::PrimaryMid]];

#tiddlerDisplay, #searchResults {
	margin: 16px 448px 0 72px;

#sidebarTabs {
	position: absolute;
	right: 72px;
	width: 352px;
	top: 0;

#sidebarTabs .tabsetWrapper .tabset {
	width: 87px;
	border-top: 1px solid [[ColorPalette::PrimaryPale]];
	border-left: 1px solid [[ColorPalette::PrimaryPale]];
	border-bottom: 1px solid [[ColorPalette::PrimaryPale]];
	height: auto;
	float: left;
	word-wrap: break-word;
	top: 0;
	padding: 0;

#sidebarTabs .tabsetWrapper .tabContents {
	background-color: [[ColorPalette::PrimaryPale]];
	border: 3px solid [[ColorPalette::PrimaryMid]];
	width: 242px;
	_width: 238px;
	left: -3px;
	_left: -5px;
	position: relative;
	min-height: 34em;
	padding: 8px;
	font-size: 0.8em;

/* ---- Side style --- */

#sidebarTabs .tabsetWrapper .tabset .tab {
	font-size: 0.9em;
	padding: 0.7em 8px 0.5em;
	color: #fff;
	background: [[ColorPalette::PrimaryLight]];
	border: none;
	line-height: 16px;
	position: relative;
	display: block;
	margin: 0;

#sidebarTabs .tabsetWrapper .tabset .tabSelected {
	color: [[ColorPalette::PrimaryMid]];
	background: [[ColorPalette::PrimaryPale]];
	border-top: 3px solid [[ColorPalette::PrimaryMid]];
	border-bottom: 3px solid [[ColorPalette::PrimaryMid]];
	border-left: 3px solid [[ColorPalette::PrimaryMid]];
	z-index: 10;
	margin-top: -1px;
	font-weight: bold;

#sidebarTabs .tabContents li {
	border: none;
	margin-left: 0;
	word-wrap: break-word;

.tabContents .timeline {
	background: [[ColorPalette::PrimaryPale]];
	margin-bottom: 8px;

#sidebarTabs .timeline li.listTitle {
	color: #132E43;
	margin-left: 8px 0;
	padding: 0.3em 0.11em;
	font-size: 1em;
	border-bottom: none;

#sidebarTabs .tabContents li a {
	display: block;
	text-align: left;
	margin: 0 0 1px 0;
	padding: 0.3em 1em;
	background: [[ColorPalette::PrimaryPale]];

#sidebarTabs .tabsetWrapper .tabset a:hover,
#sidebarTabs .tabContents li a:hover {
	color: [[ColorPalette::PrimaryPale]];
	background: [[ColorPalette::PrimaryMid]];

/* Activity Stream */
#sidebarTabs .tabContents .activityStream .feedItem a {
	display: inline-block;
	padding: 0;
	background: none;

/* ---- Tagging box --- */
.tagInfo {
	border: 1px solid #cccccc;
	padding: 10px 15px;
	-moz-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
	box-shadow: 0 2px 2px rgba(0,0,0,0.2);
	color: [[ColorPalette::TertiaryMid]];
	background: -moz-linear-gradient(100% 100% 90deg, #f4f4f4, #e5e5e5);
	background: -webkit-gradient(linear, left top, right top, from(#e5e5e5), to(#f4f4f4));
	margin-top: 1em;
	font-size: 13px;
	margin: 0 0 0 56px;

.tagInfo ul {
	list-style: none;
	padding-left: 2.2em;

.tagInfo ul li {
	display: inline;

.tagInfo ul li.listTitle,
.tagInfo .tagging ul li.listTitle {
	color: [[ColorPalette::PrimaryMid]];
	font-size: 13px;

.tagInfo ul li a {
	border: none;

.tagInfo .tagging ul li {
	float: none;
	display: inline-block;

.tagInfo .tagging {
	padding: 0;

.viewRevision .toolbar {
	right: 48px;
	top: 8px;

.viewRevision .modifierIcon img,
.viewRevision .modifierIcon svg {
	margin-right: 8px;

.viewRevision .toolbar svg {
	width: 32px;
	height: 32px;

/* --- IE hacks from lattice --- */

/* ie hacks */
* html #menuBar {
	margin-bottom: 8px;
.toolbar .svgIconText {
	*display: inline;

div.tiddler .toolbar a {
	cursor: pointer;
	float: left\9;
	display: inline\9;

* html .toolbar {
	right: 8px;
* html .followButton a {
	margin-top: 0px;
	margin-right: 8px;
* html #tiddlerDisplay {
	margin-top: 0px;

/* for printing purposes */
@media print {
	#sidebarSearch .txtOptionInput,
	#sidebarOptions {
		display: none !important;
	#displayArea {
		margin: 1em 1em 0em;
	noscript {
		display:none; /* Fixes a feature in Firefox where print preview displays the noscript content */
	#tiddlerDisplay {
		margin: 16px 16px;

@media all and (max-width: 960px){
	#searchResults {
		margin: 16px 366px 0 16px;

	#mainMenu {
		margin-left: 16px;

	.headerForeground {
		margin-left: 16px;

	#sidebarSearch {
		right: 16px;

	#sidebarOptions {
		margin-right: 16px;

	#sidebarTabs {
		right: 16px;
		width: 326px;

	#sidebarTabs .tabsetWrapper .tabset {
		font-size: 0.9em;
		width: 77px;

	#sidebarTabs .tabsetWrapper .tabContents {
		width: 226px;
		_width: 222px;

	#sidebarTabs .tabContents li a {
		font-size: 0.9em;

See [[ToDo]]

!Summary bullet points 
#Substantive conclusions about the level of support for treatments covered in the chapter
#Mention treatment, condition, and population
#Standardised language across conclusions
*Absence of evidence:
**‘There is no systematic evidence for or against the use of treatment T for condition C in population P’
* Strong evidence in favour:
**‘There is strong evidence to support the use of treatment T for condition C in population P’
* Strong evidence against:
**‘There is strong evidence that treatment T for condition C in population P is ineffective’
* Conflicting evidence:
**‘There is conflicting evidence for the use of treatment T for condition C in population P’
***Briefly elaborate the conflict
****Evidence in need of qualification:
****'There is limited/some evidence to support the use of treatment T for condition C in population P.’
***Explain the way in which the evidence is limited
***Number, type, size, duration, site-number and location of studies

!Implication bullet points
*Treatment recommendations based on summaries of evidence
*Make the link to evidence clear with the use of phrases such as:
>//"Given the evidence for/importance of ...   we suggest ''x''"//
Kah Mirza refers to a "celestial gardener" making the system work more efficiently!
Brief Strategic Family Therapy: Twenty-Five Years of
Interplay Among Theory, Research and Practice in
Adolescent Behavior Problems and Drug Abuse

Szapocznik and Williams

see [[BSFT]]

Discusses developt of BSFT and early trials (not for SUD)

'One Person Family Therapy' - doing BSFT but with only the adolescent there... effective Rx for reducung teenage SUD 
"The results showed that One Person was as efficacious as
conjoint BSFT in significantly reducing youth drug
use and behavior problems as well as improving family
functioning (Szapocznik, Kurtines et al., 1983,1986)"

then describes develloment of Structural Ecosystems Therapy ([[SET]]) as a Multisystemic development of BSFT

"As a multisystemic therapy, Structural Ecosystems
Therapy distinguishes itself in at least two ways.
First, as an adaptation of BSFT, clinical work is
guided by BSFT principles of 

#diagnosing and

and the ecological diagnoses are, consistent
with BSFT, organized into the five structural
dimensions of:

#identified patienthood,
developmental stage and 
#conflict resolution style. 

Hence, the principles of BSFT developed
for intrafamily interventions are applied to social ecological
relationships, including the hypothesized relationship
between social interactional patterns and adolescent
behaviors. Second, consistent with our
contextualist tradition, we place considerable emphasis
on cultural issues (Santisteban et al., in press)."

!Szapocznik papers
Szapocznik, J., & Kurtines, W. M. (1989). Breakthroughs in family therapy with drug abusing
and problem youth. New York: Springer.

Szapocznik, J., Kurtines, W. M., Foote, F., Perez-Vidal, A., & Hervis, O. E. (1983). Conjoint versus one person family therapy: Some evidence for effectiveness of conducting family therapy through one person. Journal ofConsulting and Clinical Psychology, 51, 889-899.

Szapocznik, J., Kurtines, W. M., Foote, F., Perez-Vidal, A., & Hervis, O. E. (1986). Conjoint versus one person family therapy: Further evidence for the effectiveness of conducting family
therapy through one person. Journal ofConsulting and Clinical Psychology, 54, 395-397.

Szapocznik, J., Kurtines, W. M., Santisteban, D. A., & Rio, A. T. (1990). Interplay of advances
between theory, research, andapplication in treatment interventions aimedat behavior problem children and adolescents. Journal ofConsulting and Clinical Psychology, 58, 696-703.

Szapocznik, J., Perez-Vidal, A., Brickman, A., Foote, F. H., Santisteban, D. A., Hervis, O. E., &
Kurtines, W. M. (1988). Engaging adolescent drug abusers and their families into treatment:
A strategic structural systems approach. Journal ofConsulting and Clinical Psychology, 56,

Szapocznik, J., Rio, A. T., Hervis, O. E., Mitrani, V. B., Kurtines, W. M., & Faraci, A. M. (1991).
Assessing change in family functioning as a result of treatment: The Structural Family Systems Rating Scale (SFSR). Journal ofMarital and Family Therapy, 17, 295-310.

Szapocznik, J., Rio, A. T., Murray, E., Cohen, R., Scopetta, M. A., Rivas-Vasquez, A., Hervis, O.
E., & Posada, V. (1989). Structural family versus psychodynamic child therapy for problematic Hispanic boys. Journal ofConsulting and Clinical Psychology, 57, 571-578.
Treatment Episode Data Set (TEDS) 2002
Discharges from Substance Abuse Treatment Services

Office of Applied Studies (OAS). Treatment Episode Data Set
(TEDS) 2002: Discharges from Substance Abuse Treatment Services.
Rockville, MD: Substance Abuse and Mental Health
Services Administration; 2005. (accessed 16.06.08)

Massive data set of treatment episodes:
"The report provides information on treatment
completion, length of stay in treatment, and
demographic and substance abuse characteristics
of approximately 800,000 discharges from
alcohol or drug treatment in facilities that report
to individual State administrative data systems.
The Office of Applied Studies (OAS), Substance
Abuse and Mental Health Services Administration
(SAMHSA), coordinates and manages
collection of TEDS data from the States."

@@''Discharges who were 17 years of age or
older at first use of the primary substance
(vs. those who were younger) were 23
percent more likely to complete treatment
or transfer to further treatment.''@@
<<allTags excludeLists>>
<<tabs txtMoreTab "Tags" "All Tags" TabAllTags "Miss" "Missing tiddlers" TabMoreMissing "Orph" "Orphaned tiddlers" TabMoreOrphans "Shad" "Shadowed tiddlers" TabMoreShadowed>>
<<allTags excludeLists [a-z]>>
A systematic review of the effectiveness of brief interventions with substance using adolescents by type of drug

Up to 2002 papers

Found 11 papers

Seven papers reported outcomes for alcohol interventions and 
Four involved other substances (including one with separate alcohol outcomes). 

The overall effect size was d = 0.126 with borderline homogeneity (Q=14.9, df = 9, p= 0.09).   

[NB a very small effect size: Different people offer different advice regarding how to interpret the resultant effect size, but the most accepted opinion is that of Cohen (1992) where 0.2 is indicative of a small effect, 0.5 a medium and 0.8 a large effect size.]

The effect size from the eight alcohol interventions (n = 1075) was classified as significant but ‘‘small’’
(d = 0.275). 

The remaining non-alcohol studies were considered separately as interventions involving tobacco or multiple
substance use. 

The two interventions with ''tobacco'' involved a substantial sample (n =2626) but had a ''very small effect'' (d = 0.037), 

...while the two interventions addressing ''multiple substances'' //involved few participants// (n =110) but had a ''medium – large effect'' (d = 0.78). 

Across a diverse range of settings (dental clinic, schools, universities, substance treatment centres) and,
therefore, probably diverse clients, BI conferred benefits to adolescent substance users. BI had a small effect on alcohol consumption
and related measures. The data for tobacco interventions suggested a very small reduction, particularly with general community

The effect of BI with multiple substances appears substantial but the small sample cautions against expansive generalization.
Tait, R.J., Hulse, G.K., Robertson, S.I., 2004. Effectiveness of a briefintervention
and continuity of care in enhancing attendance for treatment
by adolescent substance users. Drug Alcohol Depend. 74,

see also [[Tait et al 2005]]
Tait RJ, Hulse GK, Robertson SI, Sprivulis PC, (2005)
!“Emergency department-based intervention with adolescent substance users: 12-month outcomes” 
Drug and Alcohol Dependence 79, 359–363


"emergency brief intervention for adolescents seen in emergency dept for alcohol or other drug (AOD) related emergencies. 
The aim of the intervention was to match the needs of the adolescent with an
appropriate treatment agency, to motivate the adolescent to
attend an appointment and to remove any barriers that might
reduce the likelihood of attendance."	

intervention included referral (in Rx Group as opposed to TAU) to sessions, with phone call and offer of transport or accompanying the YP to first appt.  Check 2004 paper. 

127 adoelscents.  Atteding A&E for emergency relating to SUD.  Nature of SUD not made clear: just an incident/emergency relating to AOD use..	

RCT, Intention to treat analysis, 	

Measures: Reattendance at ED, engagemtn in Rx, GHQ-12, etc...

Improved engagment in SUD treatment, reduced ED events, improved GHQ-12 scores.
Piggy back onto the  [[CYT]]  

Looking at associations between TREATMENT SATISFACTION, and WORKING ALLIANCE… and outcomes post treatment.  

Adult studies suggest Rx Satisfaction asociated with +ve outcome.  

Ditto adult studies on alliance - tho it was alliance at 3/12 into Rx (not in first few weeks) that correlated +vely.	

Diff Rx's compared. Similar 'doses'. See CYT

Not Rx trial per se.  Manualsied Rx's.	

Measures of Treatment Alliance and Satisfaction, and other measures of wellbeing and SUD - no relapse/mild relapse/mod relapse/severe relapse	

!!Treatment SATISFACTION is NOT predictive of outcome success/failure.  

!!Working Alliance is only weakly predictive in the early stages post-treatment (3 and 6/12 f/up)  

At long term follow up nearly half the sample had made improvement (abstinent or unsteady improvement), but at 30/12 just OVER HALF had got worse - trends towards heavier use... and not predicted by either Treatment satisfaction of Working alliance...

Where there was some predictive value it was with working alliance and the mild-mod relapse groups (better W.A. - less relapse) but for the Severe Relapse Group... no relation... ?becasue so many other factors implicated in this small group?  

Worth of measuring Rx Satisfaction.. at all?  Seems worth it, but for obvious reasons other than Rx effectiveness...
multiple substances Review - 
very good summary of brief interventions and M.I. for adolescents	
Brief Rx's - Review - adolescent studies

From Tevyaw 2004:

“As defined by Miller & Sanchez (1994), the common elements of effective brief interventions are
represented best by the acronym FRAMES:
#Personalized ''Feedback'' or assessment results detailing the target behavior and associated effects and consequences on the individual; 
#emphasizing the individual’s personal ''Responsibility'' for change; 
#giving ''Advice'' on how to change; 
#providing a ''Menu'' of options for change; 
#expressing ''Empathy'' through behaviors conveying caring,understanding and warmth; 
#and emphasizing ''Self-efficacy'' for change and instilling hope that change is not only possible but also within reach.”

One brief intervention is M.I…..

 “As Miller (1996) and Miller & Rollnick
(2002, 1991) have said, the term ‘motivational interviewing’
pertains both to a style of relating to others and
a set of techniques to facilitate that process. Its five main
tenets include:
1.	an empathic, non-judgemental stance, 
2.	listening reflectively; 
3.	developing discrepancy,
4.	rolling with resistance and avoiding argument; and 
5.	supporting self-efficacy for change.”

The theoretical basis of motivational enhancement
and motivational interviewing is grounded in clientcentered
therapy, social learning theory and cognitive–
behavioral therapy

Thorough review of Rx studies - broadly supportive of effectiveness of brief interventions
''"results particularly strong for those with heavier substance
use patterns and/or less motivation to change."	''
!use of sex hormones by young LGBT population
Increasing issue with young in Manchester

Easy to overlook.  Disease of poverty...

Girls more likely to take up smoking than boys...

!2009/10 increase in drugs offences in youth
May represent reclassification of CBS...

Thurstone C, Riggs PD, Salomonsen-Sautel S, Mikulich-Gilbertson SK (2010) ''Randomized, Controlled Trial of Atomoxetine for Attention-Deficit/Hyperactivity Disorder in Adolescents With Substance Use Disorder.''  J. Am. Acad. Child Adolesc. Psychiatry, 2010;49(6):573–582.

!Conflicts of interest - none

This project was funded by the American Academy of Child and Adolescent Psychiatry Physician Scientist Program in Substance Abuse K12 Award (DA 000357-06AK12) and National Institute on Drug
Abuse grants U10 DA013732, DA012845, and 5R01DA022284.

Drs. Thurstone, Riggs, and Mikulich-Gilbertson, and Ms. Salomonsen-Sautel report no biomedical financial interests or potential conflicts of interest.
Medication and matching placebo were supplied by Eli Lilly.


To evaluate the effect of atomoxetine hydrochloride versus placebo on attentiondeficit/
hyperactivity disorder (ADHD) and substance use disorder (SUD) in adolescents
receiving motivational interviewing/cognitive behavioral therapy (MI/CBT) for SUD. 
This single-site, randomized, controlled trial was conducted between December 2005 and
February 2008. 

Seventy adolescents (13 through 19 years of age) with Diagnostic and Statistical Manual of Mental Disorders (Fourth Edition) (DSM-IV) ADHD, a DSM-IV ADHD checklist score greater than or equal to 22, and at least one nontobacco SUD were recruited from the

All subjects received 12 weeks of ''atomoxetine hydrochloride'' + ''MI/CBT'' versus
''placebo'' + ''MI/CBT''. 

The main outcome measure for ADHD was self-report DSM-IV ADHD checklist score. 

For SUD, the main outcome was self-report number of days used nontobacco
substances in the past 28 days using the Timeline Followback interview. 


Change in ADHD scores ''__did not differ between__'' atomoxetine + MI/CBT and placebo + MI/CBT (F4,191 = 1.23, p = .2975). 

Change in days used nonnicotine substances in the last 28 days ''__did not differ__'' between groups (F3,100 = 2.06, p = .1103). 


There was no significant difference between the atomoxetine + MI/CBT and placebo + MI/CBT groups in ADHD or substance use change. 

The ''//MI/CBT and/or a placebo effect may have contributed to a large treatment response in the placebo group//''. 

From [[Dawes and Johnson 2004]]:

Pre-synaptic serotonin reuptake enhancers: tianeptine. In
contrast to SSRI, tianeptine enhances pre-synaptic 5-HT
reuptake, decreasing 5-HT availability at the post-synaptic 5-HT
receptor (Curzon et al., 1992). Acutely, tianeptine increases
5-HT uptake in brain synaptosomes (cortex and hippocampus)
(Mennini et al., 1987; Fattaccini et al., 1990), as well as platelets
(Chamba et al., 1991), presumably with the long-term effect of
decreasing serotonin turnover. In addition, chronic tianeptine
treatment decreases the stress response of the hypothalamic–
pituitary–adrenal axis, and modulates neuroendocrine response
to cytokines (Castanon et al., 2003; Nickel et al., 2003).
Tianeptine’s mechanisms of action would, therefore, make it a
promising medication for treating anxiety-related and affective
Thus it is of interest that tianeptine has been shown to be
effective in adults for the treatment of depression with comorbid
alcohol misuse or dependence. In a double-blind, placebocontrolled
study, tianeptine treatment significantly improved
depression after withdrawal compared with placebo (Lôo et al.,
1988). Tianeptine does not appear promising for the treatment
of non-depressed alcohol-dependent individuals. For instance,
in a multi-centre, double-blind, controlled trial, tianeptine
(12.5 mg t.i.d.) showed no difference from placebo after 9 months
of treatment (n = 327) (Favre et al., 1997).
Notably, the use of tianeptine has been piloted as a
treatment for adolescent alcohol use disorders. ([[Niederhofer et al (Tianeptine) 2003]]) reported on a study of 26 adolescent inpatients
with alcohol use disorders, aged 16–19 years, assigned
randomly to 37.5 mg of tianeptine or placebo for 90 days. All
subjects received psychotherapy three times per week,
physiotherapy and ergotherapy. Continuous abstinence and
cumulative abstinence duration were significantly greater for
the tianeptine group compared with placebo. This study did
not, however, report the comparative length of inpatient versus
outpatient care for the two treatment groups. It is therefore
tempting to speculate that tianeptine may be effective in
adolescents with alcohol use disorders, compared with their
adult counterparts, because it treats their relatively higher level
of subsyndromal anxiety-related and affective disorders
|''Author''|Ben Gillies|
|''Description''|Upload a TiddlyWiki file to TiddlyWeb, and import the tiddlers.|
Upload a TiddlyWiki file to TiddlyWeb, and import the tiddlers.
{ //# ensure that the plugin is only installed once
	version.extensions.TiddlyFileImporter = { installed: true };

config.macros.fileImport = {
	reflectorURI: '/reflector?csrf_token=%0',
	incorrectTypeError: 'Incorrect File Type. You must upload a TiddlyWiki',
	uploadLabel: 'Upload',
	uploadLabelPrompt: 'Import tiddlers from this TiddlyWiki',
	step1FileText: 'File:',
	step1PostText: 'In the next screen you will select the tiddlers to import.',
	step1Title: 'Step 1: Pick a TiddlyWiki to import',
	step1TypeChooser: 'Import From:',
	step3Html: ['<input type="hidden" name="markList" />',
		'<input type="hidden" checked="true" name="chkSync" />',
		'<input type="hidden" name="chkSave" />',
		'<input type="hidden" name="txtSaveTiddler" />'].join(),

	handler: function(place, macroName, params, wikifier, paramString) {
		var wizard = new Wizard();
		wizard.createWizard(place, 'Import a TiddlyWiki');

	restart: function(wizard) {
		var me = config.macros.fileImport;
		wizard.addStep(me.step1Title, ['<input type="hidden" ',
			'name="markList" />'].join(""));
		var markList = wizard.getElement('markList');
		var uploadWrapper = document.createElement('div');
		markList.parentNode.insertBefore(uploadWrapper, markList);
		uploadWrapper.setAttribute('refresh', 'macro');
		uploadWrapper.getAttribute('macroName', 'fileImport');
		var iframeName = 'reflectorImporter' + Math.random().toString();
		me.createForm(uploadWrapper, wizard, iframeName);
		$(uploadWrapper).append('<p>' + me.step1PostText + '</p>');
		wizard.setValue('serverType', 'tiddlyweb');
		wizard.setValue('adaptor', new config.adaptors.file());
		wizard.setValue('host', config.defaultCustomFields['']);
		wizard.setValue('context', {});
		var iframe = $(['<iframe name="' + iframeName + '" ',
			'style="display: none" />'].join("")).appendTo(uploadWrapper);
		var onSubmit = function(ev) {
			var uploadType = $('select[name=uploadtype]', wizard.formElem).val();
			if (uploadType == "file") {
				// set an onload ready to hijack the form
				me.setOnLoad(uploadWrapper, wizard, iframe[0]);
				wizard.importType = 'file';
			} else {
				var csrf_token = config.extensions.tiddlyspace.getCSRFToken();
					url: "%0/reflector?csrf_token=%1".format(
						config.defaultCustomFields[""], csrf_token),
					type: "POST",
					dataType: "text",
					data: {
						uri: $("input", ".importFrom", wizard.formElem).val()
					success: function(data, txtStatus, xhr) {
						wizard.POSTResponse = data;
						me.importTiddlers(uploadWrapper, wizard);
					error: function(xhr, txtStatus, error) {
						displayMessage(["There was an error fetching the ",
							'url: ', txtStatus].join(""));
				return false;
			caption: me.uploadLabel,
			tooltip: me.uploadLabelPrompt,
			onClick: onSubmit
		$(wizard.formElem).submit(function(ev) {

	createForm: function(place, wizard, iframeName) {
		var form = wizard.formElem;
		var me = config.macros.fileImport;
		form.action = me.reflectorURI.format(
		form.enctype = 'multipart/form-data';
		form.encoding = 'multipart/form-data';
		form.method = 'POST'; = iframeName;
		onSelectChange = function(e) {
			var changeTo = $(this).val();
			if (changeTo == "file") {
				$(".importFrom").html('%0 <input type="file" name="file" />'.
			} else {
				$(".importFrom").html('URL: <input type="text" name="uri" />'
					+ ' Do you want <a target="_blank" href="">inclusion</a> instead?');
			append($(['<select name="uploadtype"><option value="file" selected="selected">file',
				'<option value="uri">url</select>'].join("")).change(onSelectChange)).
			append('<div class="importFrom">%0<input type="file" name="file" /></div>'.

	setOnLoad: function(place, wizard, iframe) {
		var me = config.macros.fileImport;
		var loadHandler = function() {
			me.importTiddlers.apply(this, [place, wizard, iframe]);
		iframe.onload = loadHandler;
		completeReadyStateChanges = 0;
		iframe.onreadystatechange = function() {
			if (++(completeReadyStateChanges) == 5) {

	importTiddlers: function(place, wizard, iframe) {
		var tmpStore = new TiddlyWiki();
		var POSTedWiki = "";
		if (wizard.importType == "file") {
			try {
				POSTedWiki= iframe.contentWindow
			} catch(e) {
			// now we are done, so remove the iframe
		} else {
			POSTedWiki = wizard.POSTResponse;

		var newTiddlers = tmpStore.getTiddlers();
		var workspace = config.defaultCustomFields['server.workspace'];
		var context = {
			status: true,
			statusText: 'OK',
			httpStatus: 200,
			adaptor: wizard.getValue('adaptor'),
			tiddlers: newTiddlers
		}; = tmpStore;
		wizard.setValue('context', context);
		wizard.setValue('workspace', workspace);
		wizard.setValue('inFileImport', true);
		config.macros.importTiddlers.onGetTiddlerList(context, wizard);

var _onGetTiddler = config.macros.importTiddlers.onGetTiddler;
config.macros.importTiddlers.onGetTiddler = function(context, wizard) {
	if (wizard.getValue('inFileImport')) {
		var me = config.macros.importTiddlers;
			displayMessage("Error in importTiddlers.onGetTiddler: " + context.statusText);
		var tiddler = context.tiddler;
		var fields = tiddler.fields;
		merge(fields, config.defaultCustomFields);
		fields["server.workspace"] = wizard.getValue('workspace');
		delete fields['server.permissions'];
		delete fields['server.bag'];
		fields[''] = 'false';
		delete fields['server.recipe'];
		fields.changecount = 1;
		store.saveTiddler(tiddler.title, tiddler.title, tiddler.text,
			tiddler.modifier, tiddler.modified, tiddler.tags, tiddler.fields,
			false, tiddler.created);
		var remainingImports = wizard.getValue("remainingImports")-1;
		if(remainingImports === 0) {
			if(context.isSynchronous) {
					{caption: me.doneLabel, tooltip: me.donePrompt, onClick: me.onClose}
	} else {
		_onGetTiddler.apply(this, arguments);

var _onCancel = config.macros.importTiddlers.onCancel;
config.macros.importTiddlers.onCancel = function(e)
	var wizard = new Wizard(this);
	if (!wizard.getValue('inFileImport')) {
		return _onCancel.apply(this, arguments);
	var place = wizard.clear();
	return false;

var _step3Html = config.macros.importTiddlers.step3Html;
var _onGetTiddlerList = config.macros.importTiddlers.onGetTiddlerList;
config.macros.importTiddlers.onGetTiddlerList = function(context, wizard) {
	var fileImport = config.macros.fileImport;
	var importTiddlers = config.macros.importTiddlers;
	if (wizard.getValue('inFileImport')) {
		importTiddlers.step3Html = fileImport.step3Html;
	} else {
		importTiddlers.step3Html = _step3Html;
	_onGetTiddlerList.apply(this, arguments);
|''Description''|Provides a TiddlySpace version of the backstage and a homeLink macro|
|''Contributors''|Jon Lister, Jon Robson, Colm Britton|
|''Requires''|TiddlySpaceConfig ImageMacroPlugin TiddlySpaceViewTypes|
.tiddler .error.annotation .button{
	display: inline-block;

#backstageArea {
	z-index: 49;
	color: white;
	background-color: black;
	background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #222),color-stop(0.5, #333),color-stop(1, #555));
	background: -moz-linear-gradient(center bottom,#222 0%, #333 50%, #555 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ff555555, endColorstr=#ff222222);
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#ff555555, endColorstr=#ff222222)";
	height: 25px;
	padding: 0;

#backstageButton {
	overflow: hidden;

#backstageButton #backstageShow,
#backstageButton #backstageHide {
	margin: 0px;
	padding: 0px;

#backstageButton #backstageShow:hover,
#backstageButton #backstageHide:hover {
	background: none;
	color: none;

#backstageButton img,
#backstageButton svg {
	width: 24px;
	height: 24px;

#messageArea {
	top: 50px;

#backstageToolbar {
	position: relative;

#backstageArea a {
	padding: 0px;
	margin-left: 0px;
	color: white;
	background: none;

#backstageArea a:hover {
	background-color: white;

#backstage ol,
#backstage ul {
	padding: auto;

#backstageButton a {
	margin: 0;

.backstagePanelBody ul {
	padding: 5px;
	margin: 5px;

#backstage #backstagePanel {
	margin-left: 5%;
	padding: 0em;
	margin-right: 5%;

#backstageToolbar a {
	position: relative;

#backstageArea a.backstageSelTab,
#backstageToolbar .backstageTask {
	line-height: 25px;
	color: #767676;

.backstageTask .externalImage,
.backstageTask .image {
	display: inline;

#backstageToolbar a span {
	z-index: 2;

a.backstageTask {
	display: inline;
        margin-left: 1em !important;

.backstagePanelBody .button {
	display: inline-block;
	margin-right: 10px;

.backstagePanelBody {
	margin: 0 0 0 0.6em;
	padding: 0.4em 0.5em 1px 0.5em;

#backstage table {
	margin: auto;

#backstage .wizard table {
	border: 0px;
	margin: 0;

#backstage div  li.listLink {
	border: 0px;
	width: 78%;
	font-size: 0.7em;

#backstage div li.listTitle {
	font-weight: bold;
	text-decoration: underline;
	font-size: 1em;
	background: #ccc;
	width: 100%;

#backstage fieldset {
	border: solid 1px [[ColorPalette::Background]];

#backstage .viewer table,#backstage table.twtable {
	border: 0px;

#backstageToolbar img {
	padding: 0;

#backstage .wizard,
#backstage .wizardFooter {
	background: none;

.viewer td, .viewer tr, .twtable td, .twtable tr {
	border: 1px solid #eee;

#backstage .inlineList ul li {
	background-color: [[ColorPalette::Background]];
	border: solid 1px [[ColorPalette::TertiaryMid]];
	display: block;
	float: left;
	list-style: none;
	margin-right: 1em;
	padding: 0.5em;

.backstageClear, .inlineList form {
	clear: both;
	display: block;
	margin-top: 3em;

.tiddlyspaceMenu {
	text-align: center;

span.chunkyButton {
	display: inline-block;
	padding: 0;
	margin: 0;
	border: solid 2px #000;
	background-color: #04b;

span.chunkyButton a.button, span.chunkyButton a:active.button {
	white-space: nowrap;
	font-weight: bold;
	font-size: 1.8em;
	color: #fff;
	text-align: center;
	padding: 0.5em 0.5em;
	margin: 0;
	border-style: none;
	display: block;

span.chunkyButton:hover {
	background-color: #014;

span.chunkyButton a.button:hover {
	border-style: none;
	background: none;
	color: #fff;

#backstage .unpluggedSpaceTab .wizard,
.unpluggedSpaceTab .wizard {
	background: white;
	border: 2px solid #CCC;
	padding: 5px;

.syncKey .keyItem {
	border: 1px solid black;
	display: inline-block;
	margin: 0.2em;
	padding: 0.1em 0.1em 0.1em 0.1em;

.keyHeading {
	font-size: 2em;
	font-weight: bold;
	margin: 0.4em 0em -0.2em;

.unpluggedSpaceTab .putToServer,
.unpluggedSpaceTab .notChanged {
	display: none;

.tiddlyspaceMenu ul {
	margin: 0;
	padding: 0;

.tiddlyspaceMenu ul li {
	list-style: none;

.unsyncedChanges .unsyncedList {
	display: block;

.unsyncedList {
	display: none;
(function ($) {
    var name = "StyleSheet" + tiddler.title;
    config.shadowTiddlers[name] = "/*{{{*/\n%0\n/*}}}*/".
        format(store.getTiddlerText(tiddler.title + "##StyleSheet")); // this accesses the StyleSheet section of the current tiddler (the plugin that contains it)
    store.addNotification(name, refreshStyles);

    if (!config.extensions.tiddlyweb.status.tiddlyspace_version) { // unplugged
        config.extensions.tiddlyweb.status.tiddlyspace_version = "<unknown>";
        config.extensions.tiddlyweb.status.server_host = {
   }; // TiddlySpaceLinkPlugin expects this
    var disabled_tasks_for_nonmembers = ["tiddlers", "plugins", "batch", "sync"];

    var tweb = config.extensions.tiddlyweb;
    var tiddlyspace = config.extensions.tiddlyspace;
    var currentSpace =;
    var imageMacro = config.macros.image;

    if (config.options.chkBackstage === undefined) {
        config.options.chkBackstage = false;

// Set up Backstage
    config.tasks = {};
    config.tasks.status = {
        tooltip:"TiddlySpace Info",
        content:"<<tiddler Backstage##Menu>>"
    config.tasks.tiddlers = {
        tooltip:"tiddlers control panel",
        content:"<<tiddler Backstage##BackstageTiddlers>>"
    config.tasks.plugins = {
        tooltip:"Manage installed plugins",
        content:"<<tiddler Backstage##Plugins>>"
    config.tasks.batch = {
        tooltip:"Batch manage public/private tiddlers",
        content:"<<tiddler Backstage##BatchOps>>"
    config.tasks.tweaks = {
        tooltip:"Tweak TiddlyWiki behaviors",
        content:"<<tiddler Backstage##Tweaks>>"
    config.tasks.exportTiddlers = {
        tooltip:"Import/export tiddlers from/to a TiddlyWiki",
        content:"<<tiddler Backstage##ImportExport>>"
    config.tasks.sync = {
        tooltip:"Check Sync status",
        content:"<<tiddler Backstage##SpaceUnplugged>>"

    if (window.location.protocol === "file:") {
        config.unplugged = true;

    config.backstageTasks = ["status", "tiddlers", "plugins",
        "batch", "tweaks", "exportTiddlers", "sync"];

    config.messages.backstage.prompt = "";
// initialize state
    var _show =; = function () {
        // selectively hide backstage tasks and tabs based on user status
        var tasks = $("#backstageToolbar .backstageTask").show();
        var bs = backstage.tiddlyspace;
        if (!config.unplugged) {
            tweb.getUserInfo(function (user) {
                if (user.anon) {
                    jQuery.each(disabled_tasks_for_nonmembers, function (i, task) {
                        var taskIndex = config.backstageTasks.indexOf(task);
                        if (taskIndex !== -1) {
                            config.backstageTasks.splice(taskIndex, 1);
                    config.messages.memberStatus = bs.locale.loggedout;
                } else {
                    config.messages.memberStatus = readOnly ?
                        bs.locale.nonmember : bs.locale.member;
        } else {
            config.messages.memberStatus = bs.locale.unplugged;

        // display backstage
        return _show.apply(this, arguments);
    if (readOnly) {
        jQuery.each(disabled_tasks_for_nonmembers, function (i, task) {
            var taskIndex = config.backstageTasks.indexOf(task);
            if (taskIndex !== -1) {
                config.backstageTasks.splice(taskIndex, 1);

    var tasks = config.tasks;
    var commonUrl = "/bags/common/tiddlers/%0";

    backstage.tiddlyspace = {
            member:"You are a member of this space.",
            nonmember:"You are not a member of this space.",
            loggedout:"You are currently logged out of TiddlySpace.",
            unplugged:"You are unplugged."
        showButton:function () {
            var showBtn = $("#backstageShow")[0];
            var altText = $(showBtn).text();
            imageMacro.renderImage(showBtn, "backstage.svg",
                { altImage:commonUrl.format("backstage.png"), alt:altText});
        hideButton:function () {
            var hideBtn = $("#backstageHide")[0];
            var altText = $(hideBtn).text();
            imageMacro.renderImage(hideBtn, "close.svg",
                { altImage:commonUrl.format("close.png"), alt:altText, width:24, height:24 });

    var _init = backstage.init;
    backstage.init = function () {
        _init.apply(this, arguments);
        var init = function (user) {
            var bs = backstage.tiddlyspace;

    var home = config.macros.homeLink = {
            linkText:"your home space"
        handler:function (place) {
            var container = $("<span />").appendTo(place)[0];
            tweb.getUserInfo(function (user) {
                if (!user.anon && !== currentSpace) {
                    createSpaceLink(container,, null, home.locale.linkText);

    config.macros.exportSpace = {
        handler:function (place, macroName, params) {
            var filename = params[0] ||
            $('<a class="button">download</a>').// XXX: i18n
                attr("href", filename).appendTo(place);

(function() {
var getCSRFToken = function(window) {
	// XXX: should not use RegEx - cf.
	var regex = /^(?:.*; )?csrf_token=([^(;|$)]*)(?:;|$)/;
	var match = regex.exec(document.cookie);
	var csrf_token = null;
	if (match && (match.length === 2)) {
		csrf_token = match[1];

	return csrf_token;

if (typeof config !== 'undefined' && config.extensions &&
		config.extensions.tiddlyspace &&
		config.extensions.tiddlyspace.getCSRFToken === null) {
	config.extensions.tiddlyspace.getCSRFToken = getCSRFToken;
} else {
	window.getCSRFToken = getCSRFToken;
|''Description''|provides a toolbar command for cloning external tiddlers|
|''Requires''|TiddlySpaceConfig TiddlySpaceFilters|
(function($) {

var cmd = config.commands;
var tiddlyspace = config.extensions.tiddlyspace;

var fieldsCache = {};

cmd.cloneTiddler = {
	text: cmd.editTiddler.text,
	tooltip: "Create a copy of this tiddler in the current space",
	errorMsg: "Error publishing %0: %1",

	isEnabled: function(tiddler) {
		return ! && !readOnly;
	handler: function(ev, src, title) {
		var tiddler = store.getTiddler(title);
		if(tiddler) {
			fieldsCache[title] = $.extend({}, tiddler.fields);
			tiddler.fields["server.workspace"] = tiddlyspace.getCurrentWorkspace(config.options.chkPrivateMode ?
		"private" : "public");
			tiddler.fields["server.permissions"] = "read, write, create"; // no delete
			delete tiddler.fields[""];
			delete tiddler.fields["server.title"];
			delete tiddler.fields["server.etag"];
			// special handling for pseudo-shadow tiddlers
			if(tiddlyspace.coreBags.contains(tiddler.fields["server.bag"])) {
		} else { // ensure workspace is the current space
			var el = story.findContainingTiddler(src);
			el = $(el);
			var fields = el.attr("tiddlyfields");
			if(fields) { // inherited via TiddlyLink
				fields = fields.decodeHashMap();
				fields["server.workspace"] = config.
			} else {
				fields = config.defaultCustomFields;
			fields = String.encodeHashMap(fields);
			el.attr("tiddlyfields", fields);
		cmd.editTiddler.handler.apply(this, arguments);
		if(tiddler) {
			tiddler.fields["server.permissions"] += ", delete";
		return false;

cmd.editTiddler.isEnabled = function(tiddler) {
	return !cmd.cloneTiddler.isEnabled.apply(this, arguments);

// hijack cancelTiddler to restore original fields
var _cancelHandler = cmd.cancelTiddler.handler;
cmd.cancelTiddler.handler = function(ev, src, title) {
	var tiddler = store.getTiddler(title);
	if(tiddler) {
		tiddler.fields = fieldsCache[title] || tiddler.fields;
		delete fieldsCache[title];
	return _cancelHandler.apply(this, arguments);

// hijack saveTiddler to clear unused fields stash
var _saveHandler = cmd.saveTiddler.handler;
cmd.saveTiddler.handler =  function(ev, src, title) {
	delete fieldsCache[title];
	return _saveHandler.apply(this, arguments);

|''Description''|TiddlySpace configuration|
|''Requires''|TiddlyWebConfig ServerSideSavingPlugin TiddlyFileImporter|
(function($) {

var tweb = config.extensions.tiddlyweb;

var recipe = config.defaultCustomFields["server.workspace"].split("recipes/")[1];
var currentSpace; // assigned later

var disabledTabs = [];

var coreBags = ["system", "tiddlyspace"];
var systemSpaces = ["plugins", "info", "images", "theme"];
systemSpaces = $.map(systemSpaces, function(item, i) {
	return "system-%0_public".format(item);

// hijack search macro to add custom attributes for mobile devices
var _search =; = function(place, macroName, params) {
	_search.apply(this, arguments);
	$(".searchField:input", place).
		attr({ autocapitalize: "off", autocorrect: "off" });

// arg is either a container name or a tiddler object
// if fuzzy is truthy, space may be inferred from workspace (for new tiddlers)
// returns space object or false
var determineSpace = function(arg, fuzzy) {
	if(typeof arg == "string") { // container name
		var space = split(arg, "_", "r");
		return ["public", "private"].contains(space.type) ? space : false;
	} else if(arg) { // tiddler
		var container = determineContainer(arg, fuzzy);
		return container ? determineSpace(, fuzzy) : false;
	} else {
		return false;

// if fuzzy is truthy, container may be inferred from workspace for new tiddlers
// returns container object or false
var determineContainer = function(tiddler, fuzzy) { // TODO: expose?
	var bag = tiddler.fields["server.bag"];
	var recipe = tiddler.fields["server.recipe"]; // XXX: unused/irrelevant/redundant!?
	if(bag) {
		return { type: "bag", name: bag };
	} else if(recipe) {
		return { type: "recipe", name: recipe };
	} else if(fuzzy) { // new tiddler
		var workspace = tiddler.fields["server.workspace"];
		if(workspace) {
			var container = split(workspace, "/", "l");
			return ["bags", "recipes"].contains(container.type) ? container : false;
		} else {
			return false;
	} else {
		return false;

// hijack removeTiddlerCallback to restore tiddler from recipe cascade -- TODO: move into TiddlyWebWiki?
var sssp = config.extensions.ServerSideSavingPlugin;
var _removeTiddlerCallback = sssp.removeTiddlerCallback;
sssp.removeTiddlerCallback = function(context, userParams) {
	var title = context.tiddler.title;
	var recipe = context.tiddler.fields["server.recipe"];
	_removeTiddlerCallback.apply(this, arguments);
	if(recipe) {
		context.workspace = "recipes/" + recipe;
		var callback = function(context, userParams) {
			if(context.status) {
				var dirty = store.isDirty();
			} else {
				store.notify(title, true);
		context.adaptor.getTiddler(title, context, null, callback);

// splits a string once using delimiter
// mode "l" splits at the first, "r" at the last occurrence
// returns an object with members type and name
var split = function(str, sep, mode) {
	mode = mode == "r" ? "pop" : "shift"; // TODO: use +/-1 instead of "l"/"r"?
	var arr = str.split(sep);
	var type = arr.length > 1 ? arr[mode]() : null;
	return { type: type, name: arr.join(sep) };

var plugin = config.extensions.tiddlyspace = {
	currentSpace: determineSpace(recipe),
	coreBags: coreBags.concat(systemSpaces),

	determineSpace: determineSpace,
	isValidSpaceName: function(name) {
		return name.match(/^[a-z][0-9a-z\-]*[0-9a-z]$/) ? true : false;
	getCurrentBag: function(type) {
		return "%0_%1".format(currentSpace, type);
	getCurrentWorkspace: function(type) {
		return "bags/" + this.getCurrentBag(type);
	// returns the URL for a space's avatar (SiteIcon) based on a server_host
	// object and an optional space name
	// optional nocors argument prevents cross-domain URLs from being generated
	getAvatar: function(host, space, nocors) {
		if(space && typeof space != "string") { // backwards compatibility -- XXX: deprecated
			space =;
		var subdomain = nocors ? currentSpace : space;
		host = host ? this.getHost(host, subdomain) : "";
		var bag = space ? "%0_public".format(space) : "tiddlyspace";
		return "%0/bags/%1/tiddlers/SiteIcon".format(host, bag);
	// returns the URL based on a server_host object (scheme, host, port) and an
	// optional subdomain
	getHost: function(host, subdomain) {
		if(host === undefined) { // offline
			tweb.status.server_host = {}; // prevents exceptions further down the stack -- XXX: hacky workaround, breaks encapsulation
			return null;
		subdomain = subdomain ? subdomain + "." : "";
		var url = "%0://%1%2".format(host.scheme, subdomain,;
		var port = host.port;
		if(port && !["80", "443"].contains(port)) {
			url += ":" + port;
		return url;
	disableTab: function(tabTiddler) {
		if(typeof(tabTiddler) == "string") {
		} else {
			for(var i = 0; i < tabTiddler.length; i++) {
    checkSyncStatus: function(tiddler) {
		if(tiddler) {
			var title = typeof(tiddler) === "string" ? tiddler : tiddler.title;
			var el = story.getTiddler(title) || false;
			if(el) {
	isDisabledTab: function(tabTitle) {
		var match = new RegExp("(?:\\[\\[([^\\]]+)\\]\\])", "mg").exec(tabTitle);
		var tabIdentifier = match ? match[1] : tabTitle;
		return disabledTabs.contains(tabIdentifier);
	getCSRFToken: window.getCSRFToken || null // this may not have been processed yet

currentSpace =;

tweb.serverPrefix ="/")[3] || ""; // XXX: assumes root handler
tweb.getStatus(function(status) {
	var url = plugin.getHost(status.server_host);
	tweb.status.server_host.url = url;
	config.messages.tsVersion = status.version;

if(window.location.protocol == "file:") {
	// enable AutoSave by default
	config.options.chkAutoSave = config.options.chkAutoSave === undefined ?
		true : config.options.chkAutoSave;
} else {
	// set global read-only mode based on membership heuristics
	var indicator = store.getTiddler("SiteTitle") || tiddler;
	readOnly = !(recipe.split("_").pop() == "private" ||
		tweb.hasPermission("write", indicator));
	// replace TiddlyWiki's ImportTiddlers due to cross-domain restrictions
	if(config.macros.fileImport) {
		$.extend(config.macros.importTiddlers, config.macros.fileImport);

// hijack saveChanges to ensure SystemSettings is private by default
var _saveChanges = saveChanges;
saveChanges = function(onlyIfDirty, tiddlers) {
	if(tiddlers && tiddlers.length == 1 &&
			tiddlers[0] && tiddlers[0].title == "SystemSettings") {
		var fields = tiddlers[0].fields;
		delete fields["server.recipe"];
		fields["server.bag"] = plugin.getCurrentBag("private");
		fields["server.workspace"] = plugin.getCurrentWorkspace("private");
	return _saveChanges.apply(this, arguments);

// ensure backstage is always initialized
// required to circumvent TiddlyWiki's read-only based handling
config.macros.backstageInit = {
	init: function() {
		showBackstage = true;

// disable evaluated macro parameters for security reasons
config.evaluateMacroParameters = "none";
var _parseParams = String.prototype.parseParams;
String.prototype.parseParams = function(defaultName, defaultValue, allowEval,
		noNames, cascadeDefaults) {
	if(config.evaluateMacroParameters == "none") {
		arguments[2] = false;
	return _parseParams.apply(this, arguments);

var _tabsMacro = config.macros.tabs.handler;
config.macros.tabs.handler = function(place, macroName, params) {
	var newParams = [params[0]]; // keep cookie name
	for(var i = 1; i < params.length; i += 3) {
		var tabTitle = params[i + 2];
			newParams = newParams.concat(params[i], params[i + 1], tabTitle);
	_tabsMacro.apply(this, [place, macroName, newParams]);

// disable ControlView for XHRs by default
	beforeSend: function(xhr) {
		xhr.setRequestHeader("X-ControlView", "false");
// TiddlyWeb adaptor currently still uses httpReq, which needs extra magic -- XXX: obsolete this!
var _httpReq = httpReq;
httpReq = function(type, url, callback, params, headers, data, contentType,
		username, password, allowCache) {
	headers = headers || {};
	headers["X-ControlView"] = "false";
	_httpReq.apply(this, arguments);

// register style sheet for backstage separately (important)
store.addNotification("StyleSheetBackstage", refreshStyles);

// option for default privacy setting
config.optionsDesc.chkPrivateMode = "Set your default privacy mode to private";
config.optionsSource.chkPrivateMode = "setting";
config.options.chkPrivateMode = config.options.chkPrivateMode || false;
saveSystemSetting("chkPrivateMode", true);
config.defaultCustomFields["server.workspace"] = plugin.
	getCurrentWorkspace(config.options.chkPrivateMode ? "private" : "public");

config.paramifiers.follow = {
	onstart: function(v) {
		if(!readOnly) {
			var bag = "%0_public".format(currentSpace);
			story.displayTiddler(null, v, DEFAULT_EDIT_TEMPLATE, null, null,
				"server.bag:%0 server.workspace:bags/%0".format(bag));
			story.setTiddlerTag(v, "follow", 1);
			story.focusTiddler(v, "text");

var fImport = config.macros.fileImport;
if(fImport) {
	fImport.uploadTo = "Upload to: ";
	var _createForm = config.macros.fileImport.createForm;
	config.macros.fileImport.createForm = function(place, wizard, iframeName) {
		var container = $("<div />").text(fImport.uploadTo).appendTo(place);
		var select = $('<select name="mode" />').appendTo(container)[0];
		$('<option value="private" selected>private</a>').appendTo(select);
		$('<option value="public">public</a>').appendTo(select);
		wizard.setValue("importmode", select);
		_createForm.apply(this, [place, wizard, iframeName]);

	var _onGet = config.macros.importTiddlers.onGetTiddler;
	config.macros.importTiddlers.onGetTiddler = function(context, wizard) {
		var type = $(wizard.getValue("importmode")).val();
		var ws =  plugin.getCurrentWorkspace(type);
		wizard.setValue("workspace", ws);
		_onGet.apply(this, [context, wizard]);

config.extensions.ServerSideSavingPlugin.reportSuccess = function(msg, tiddler) {
	msg = config.extensions.ServerSideSavingPlugin.locale[msg];
	var link = "/" + encodeURIComponent(tiddler.title);
	displayMessage(msg.format([tiddler.title]), link);

|''Description''|provide TiddlySpace-specific filter extensions|
|''Author''|Jon Robson|
<<tsList Private>>
<<tsList Public>>
<<tsList Draft>>
(function($) {

var tiddlyspace = config.extensions.tiddlyspace;
var privateBag = tiddlyspace.getCurrentBag("private");
var publicBag = tiddlyspace.getCurrentBag("public");

config.filterHelpers = {
	is: {
		"private": function(tiddler) {
			var bag = tiddler.fields["server.bag"];
			return bag == privateBag;
		"public": function(tiddler) {
			var bag = tiddler.fields["server.bag"];
			return bag == publicBag;
		draft: function(tiddler) {
			var fields = tiddler.fields;
			var bag = fields["server.bag"];
			return (privateBag == bag && fields[""]) ? true : false;
		local: function(tiddler) {
			return["public"](tiddler) ||["private"](tiddler);
		unsynced: function(tiddler) {
			return tiddler ? tiddler.isTouched() : false;
}; = function(results, match) {
	var candidates = store.getTiddlers("title");
	var type = match[3];
	for (var i = 0; i < candidates.length; i++) {
		var tiddler = candidates[i];
		var helper =[type];
		if(helper && helper(tiddler)) {
	return results;

|''Description''|Provides a following macro|
|''Author''|Jon Robson|
|''Requires''|TiddlySpaceConfig TiddlySpaceTiddlerIconsPlugin ErrorHandler|
Tag a tiddler with "follow" to express a list of followers.
Using the {{{<<followTiddlers X>>}}}
will reveal the number of tiddlers with name X in the set of spaces the *current* user viewing your space follows.
{{{<<following jon>>}}} will list all the users following Jon.
{{{<<followers jon>>}}} will list all the followers of jon.
{{{<linkedTiddlers>>}}} will list all tiddlers across TiddlySpace linked to the current tiddler
{{{<linkedTiddlers follow:yes>>}}} will list all tiddlers across TiddlySpace that come from your list of followers
adds spaceLink view type {{{<<view server.bag spaceLink>>}}} creates a link to the space described in server.bag
{{{<<view server.bag spaceLink title>>}}} makes a link to the tiddler with title expressed in the field title in space server.bag
If no name is given eg. {{{<<following>>}}} or {{{<<follow>>}}} it will default the current user.
.followTiddlersList li {

.followButton {
	width: 2em;

.followTiddlersList li .siteIcon {
	width: 48px;

#sidebarTabs .followers li a,
.followers .siteIcon,
.followers .siteIcon div {
	display: inline;

.followTiddlersList li .externalImage, .followTiddlersList li .image {
	display: inline;

.scanResults li {
	list-style: none;
(function($) {

var tweb = config.extensions.tiddlyweb;
var tiddlyspace = config.extensions.tiddlyspace;
var currentSpace =;

var shadows = config.shadowTiddlers;
config.annotations.ScanTemplate = "This tiddler is the default template used in the display of tiddlers founding using the tsScan macro. To access attributes use the view macro e.g. {{{<<view title text>>}}}";
shadows.ScanTemplate = "<<view modifier SiteIcon width:24 height:24 spaceLink:yes label:no>> <<view title link>>";
shadows.FollowersTemplate = "<<view server.bag SiteIcon width:24 height:24 spaceLink:yes label:no>> <<view server.bag spaceLink>>";
shadows.FollowingTemplate = "<<view title SiteIcon width:24 height:24 spaceLink:yes label:no>> <<view title spaceLink>>";
shadows.FollowTiddlersBlackList = "";
shadows.FollowTiddlersHeading = "There are tiddlers in spaces you follow using the follow tag which use the title <<view title text>>";
shadows.FollowTiddlersTemplate = ["* <<view SiteIcon width:24 height:24 spaceLink:yes label:no>> ",
	"<<view spaceLink title external:no>> modified by <<view modifier spaceLink>> ",
	"in the <<view spaceLink>> space (<<view modified date>> @ <<view modified date 0hh:0mm>>).\n"].join("");

var name = "StyleSheetFollowing";
shadows[name] = "/*{{{*/\n%0\n/*}}}*/".
	format(store.getTiddlerText(tiddler.title + "##StyleSheet"));
store.addNotification(name, refreshStyles);

// provide support for sucking in tiddlers from the server
tiddlyspace.displayServerTiddler = function(src, title, workspace, callback) {
	var adaptor = store.getTiddlers()[0].getAdaptor();
	var localTitle = tiddlyspace.getLocalTitle(title, workspace);
	var tiddler = new Tiddler(localTitle);
	tiddler.text = "Please wait while this tiddler is retrieved...";
	tiddler.fields.doNotSave = "true";
	src = story.displayTiddler(src || null, tiddler.title);
	tweb.getStatus(function(status) {
		var context = {
			host:, // TODO: inherit from source tiddler?
			workspace: workspace,
			headers: { "X-ControlView": "false" }
		var getCallback = function(context, userParams) {
			var tiddler = context.tiddler;
			tiddler.title = localTitle;
			story.refreshTiddler(localTitle, null, true); // overriding existing allows updating
			if(callback) {
				callback(src, tiddler);
		adaptor.getTiddler(title, context, null, getCallback);

tiddlyspace.scroller = {
	runHandler: function(title, top, bottom, height) {
		var i;
		var handlers = tiddlyspace.scroller.handlers;
		var tidEl = story.getTiddler(title);
		if(tidEl) {
			var topEl = $(tidEl).offset().top + 20;
			if(top === false || (topEl > top && topEl < bottom)) {
				var h = handlers[title];
				for(i = 0; i < h.length; i++) {
		} else {
	clearHandlers: function(title) {
		tiddlyspace.scroller.handlers[title] = [];
	registerIsVisibleEvent: function(title, handler) {
		tiddlyspace.scroller.handlers[title] = tiddlyspace.scroller.handlers[title] || [];
	init: function() {
		this.handlers = {};
		this.interval = window.setInterval(function() {
			var top = $(window).scrollTop();
			var height = $(window).height();
			var bottom = top + height;
			var title;
			for(title in tiddlyspace.scroller.handlers) {
				if(title) {
					tiddlyspace.scroller.runHandler(title, top, bottom, height);
		}, 2000); // every 2 seconds check scroll position

var followMacro = config.macros.followTiddlers = {
	locale: {
		followListHeader: "Here are tiddlers from spaces you follow using the follow tag which use this title.",
		noTiddlersFromFollowers: "None of the spaces you follow contain a tiddler with this name.",
		errorMessage: "There was a problem retrieving tiddlers from the server. Please try again later."
	init: function() {
		followMacro.lookup = {};
	followTag: "follow",
	getHosts: function(callback) {
		tweb.getStatus(function(status) {
			callback(, tiddlyspace.getHost(status.server_host, "%0"));
	getBlacklist: function() {
		return store.getTiddlerText("FollowTiddlersBlackList").split("\n");
	handler: function(place, macroName, params, wikifier, paramString, tiddler) {
		var args = paramString.parseParams("anon")[0];
		var containingTiddler = story.findContainingTiddler(place).getAttribute('tiddler');
		var title = (args.anon && args.anon[0]) || tiddler.fields["server.title"] || tiddler.title;
		var tid = store.getTiddler(title);
		var user = params[1] || false;
		if(tid) {
			followMacro.makeButton(place, {
				url: "/search?q=title:%22" + encodeURIComponent(title) + "%22",
				containingTiddler: containingTiddler,
				blacklisted: followMacro.getBlacklist(), title: title, user: user,
				consultFollowRelationship: (args.follow &&
					args.follow[0] === 'false') ? false : true });
	makeButton: function(place, options) { // this is essentially the same code in TiddlySpaceFollowingPlugin
		var title = options.title;
		var blacklisted = options.blacklisted;
		var tiddler = store.getTiddler(title);
		var btn = $('<div class="followButton" />').addClass("notLoaded").appendTo(place)[0];
		if(blacklisted.contains(title)) {
		} else {
			var user = options.user;
			window.setTimeout(function() { // prevent multiple calls due to refresh
				tiddlyspace.scroller.registerIsVisibleEvent(options.containingTiddler, function() {
					var mkButton = function(followers, ignore) {
						if(!followers && !ignore) {
						} else {
							$("<a />").appendTo(btn);
							var scanOptions = { url: options.url,
								spaceField: options.spaceField || "bag", template: null, sort: "-modified",
								callback: function(tiddlers) {
									followMacro.constructInterface(btn, tiddlers);
							if(!ignore) {
								scanOptions.showBags = followMacro._getFollowerBags(followers);
							scanOptions.hideBags = [tiddler.fields["server.bag"]];
							scanMacro.scan(null, scanOptions, user);
					if(options.consultFollowRelationship) {
					} else {
						mkButton([], true);
			}, 1000);
	constructInterface: function(container, tiddlers) {
		var txt = tiddlers.length;
		var className = txt > 0 ? "hasReplies" : "noReplies";
		var el = $(story.findContainingTiddler(container));
		var btn = $("<a />").addClass("followedTiddlers").text(txt).
			click(function(ev) {
			}).appendTo('<div class="followedTiddlers" />').appendTo(container)[0];
		$.data(btn, "tiddlers", tiddlers);
	followingOnClick: function(ev) {
		var target =;
		var locale = followMacro.locale;
		var el = $('<div class="followTiddlersList" />')[0];
		var popup = Popup.create(target,"div");
		$(popup).addClass("taggedTiddlerList followList").click(function(ev) { // make it so only clicking on the document outside the popup removes the popup
			if( != document) {
		var tiddlers = $.data(target, "tiddlers") || [];
		scanMacro.template(el, tiddlers.slice(0,1), "FollowTiddlersHeading");
		scanMacro.template(el, tiddlers, "FollowTiddlersTemplate");
		if(tiddlers.length === 0) {
			$("<li />").text(locale.noTiddlersFromFollowers).appendTo(el);
		return popup;
	_getFollowerBags: function(followers) { // XXX: private or not?
		return $.map(followers, function(name, i) {
			return name != currentSpace ? "%0_public".format(name) : null;
	getFollowers: function(callback, username) {
		// returns a list of spaces being followed by the existing space
		var followersCallback = function(user) {
			if(!user.anon) {
				scanMacro.scan(null, { 
					url: "/search?q=bag:%0_public tag:%1 _limit:%2".format(, followMacro.followTag, LIMIT_FOLLOWING),
					spaceField: "title", template: null, cache: true,
					callback: function(tiddlers) {
						var followers = [];
						for(var i = 0; i < tiddlers.length; i++) {
			} else {
		return !username ? tweb.getUserInfo(followersCallback) : followersCallback({ name: username });

var scanMacro = config.macros.tsScan = {
	init: function () {
		this.scanned = {};
	_tiddlerfy: function(jsontiddlers, options) {
		var tiddlers = [];
		var spaceField = options.spaceField || "bag"; // TODO: phase out use view types instead
		$.each(jsontiddlers, function(i, t) {
			var use = false;
			if(!options.showBags || (options.showBags && options.showBags.contains(t.bag))) {
				use = true;
			if(options.hideBags && options.hideBags.contains(t.bag)) {
				use = false;
			if(use) {
				var spaceName = t[spaceField];
				var tiddler = config.adaptors.tiddlyweb.toTiddler(t,;
				tiddler.fields[""] = tiddlyspace.resolveSpaceName(spaceName);
		return tiddlers;
	_scanCallback: function(place, jsontiddlers, options) {
		var locale = followersMacro.locale;
		var tiddlers = scanMacro._tiddlerfy(jsontiddlers, options);
		if(options.sort) {
			tiddlers = store.sortTiddlers(tiddlers, options.sort);
		if(options.filter) {
			var _store = new TiddlyWiki();
			config.lastStore = _store;
			for(var i = 0; i < tiddlers.length; i++) {
				var clone = tiddlers[i];
				clone.title = tiddlyspace.getLocalTitle(clone.title, clone.fields['server.workspace']);
			tiddlers = _store.filterTiddlers(options.filter);
		if(place) {
			var list = $("<ul />").appendTo(place)[0];
			scanMacro.template(list, tiddlers, options.template);
			if(tiddlers.length === 0) {
				$("<li />").text(options.emptyMessage || locale.noone).appendTo(list);
		if(options.callback) {
	constructSearchUrl: function(host, options) {
		if(options.url) {
			return options.url;
		var inputs = options.searchValues;
		var tag = options.tag;
		var searchField = options.searchField || "title";
		var searchQuery = [];
		for(var i = 0; i < inputs.length; i++) {
			searchQuery.push('%0:"%1"'.format(searchField, inputs[i]));
		var query = searchQuery.join(" OR ");
		query = tag ? "(%0) AND tag:%1".format(query, tag) : query;
		query = options.query ? "%0;%1;".format(query, options.query) : query;
		query = options.fat ? "%0&fat=1".format(query) : query;
		return '%0/search?q=%1'.format(host, query);
	scan: function(place, options) { // TODO: make use of list macro with url filter
		var locale = followersMacro.locale;
		options.template = options.template ? options.template : "ScanTemplate";
		followMacro.getHosts(function(host, tsHost) {
			options = options ? options: {};
			var url = scanMacro.constructSearchUrl(host, options);
			if(options.cache && scanMacro.scanned[url]) {
				var tiddlers = scanMacro.scanned[url].tiddlers;
				var run = function(tiddlers) {
					scanMacro._scanCallback(place, tiddlers, options);
				if(tiddlers) {
				} else {
			} else {
				var callback = function(tiddlers) {
					scanMacro._scanCallback(place, tiddlers, options);
				if(scanMacro.scanned[url] && scanMacro.scanned[url].callbacks) {
				} else {
					scanMacro.scanned[url] = {
						callbacks: [callback]
					url: url,
					dataType: "json",
					success: function(tiddlers) {
						scanMacro.scanned[url].tiddlers = tiddlers;
						var callbacks = scanMacro.scanned[url].callbacks;
						while(callbacks.length > 0) {
					error: function(xhr) {
						$("<span />").addClass("annotation error").text(locale.error.format(xhr.status)).appendTo(place);
	template: function(place, tiddlers, template) { // TODO: make use of list macro.
		for(var i = 0; i < tiddlers.length; i++) {
			var tiddler = tiddlers[i];
			var item = $('<li class="spaceName" />').appendTo(place)[0];
			var spaceName = tiddler.fields[""] || "";
			var templateText = store.getTiddlerText(template).replace(/\$1/mg, spaceName);
			wikify(templateText, item, null, tiddler);
	getOptions: function(paramString, tiddler) {
		var args = paramString.parseParams("name", null, true, false, true)[0];
		var options = { query: false, sort: false, tag: false, template: false, showBags: || false,
			hideBags: args.hide || false, filter: false, spaceField: "bag", searchField: "title", fat: false,
			emptyMessage: false };
		for(var name in args) {
			if(name != "name") {
				if(name == "fat") {
					options[name] = true;
				} else {
					options[name] = args[name][0];
		// if user has set searchField to modifier, then use the modifiers value if available otherwise use searchValues.
		var searchField = options.searchField;
		var searchValues = args[searchField] ? args[searchField] : args.searchValues;
		// if neither of those were used use the first parameter
		var defaultValues = tiddler ? [ tiddler.title ] : [];
		options.searchValues = searchValues ? searchValues : ( ? [[0]] : defaultValues);
		return options;
	handler: function(place, macroName, params, wikifier, paramString, tiddler) {
		var container = $("<div />").addClass("scanResults resultsArea").appendTo(place)[0];
		var options = scanMacro.getOptions(paramString, tiddler);
		scanMacro.scan(container, options);

var followersMacro = config.macros.followers = {
	locale: {
		loggedOut: "Please login to see the list of followers",
		noSupport: "We were unable to retrieve followers as your browser does not support following.",
		pleaseWait: "Please wait while we look this up...",
		error: "Error %0 occurred whilst retrieving data from server",
		noone: "None."
	handler: function(place, macroName, params, wikifier, paramString, tiddler) {
		var locale = followersMacro.locale;
		var args = paramString.parseParams("name", null, true, false, true)[0];
		var username = ?[0] : false;
		var container = $('<div class="followers" />').text(locale.pleaseWait).
		var followersCallback = function(user) {
			if(user.anon) {
				$("<span />").text(locale.loggedOut).appendTo(container);
			} else {
				var options = scanMacro.getOptions(paramString);
				$.extend(options, {
					url: "/search?q=title:@%0 OR title:%0 tag:%1 _limit:%2".
						format(, followMacro.followTag, LIMIT_FOLLOWING),
					spaceField: "bag",
					template: options.template ? options.template : "FollowersTemplate"
				scanMacro.scan(container, options);
		return !username ? followersCallback({ name: currentSpace }) : followersCallback({ name: username });

var followingMacro = config.macros.following = {
	locale: {
		pleaseWait: followersMacro.locale.pleaseWait,
		loggedOut: "Please login to see who you are following",
		noSupport: followersMacro.locale.noSupport,
		error: followersMacro.locale.error,
		noone: followersMacro.locale.noone
	handler: function(place, macroName, params, wikifier, paramString, tiddler) {
		var locale = followingMacro.locale;
		var args = paramString.parseParams("name", null, true, false, true)[0];
		var fat = args.fat ? true : false;
		var username = ?[0] : false;
		var container = $('<div class="following" />').text(locale.pleaseWait).
		var followingCallback = function(user) {
			if(user.anon) {
				$("<span />").text(locale.loggedOut).appendTo(container);
			} else {
				var options = scanMacro.getOptions(paramString);
				$.extend(options, {
					url: "/search?q=bag:%0_public tag:%1 _limit:%2".format(, followMacro.followTag, LIMIT_FOLLOWING),
					spaceField: "title",
					template: options.template ? options.template : "FollowingTemplate"
				scanMacro.scan(container, options);
		return !username ? followingCallback({ name: currentSpace }) : followingCallback({ name: username });

var linkedMacro = config.macros.linkedTiddlers = {
	handler: function(place, macroName, params, wikifier, paramString, tiddler) {
		var args = paramString.parseParams("anon")[0];
		var title = params[0] || tiddler.fields["server.title"] || tiddler.title;
		var tid = store.getTiddler(title);
		var containingTiddler = story.findContainingTiddler(place).getAttribute('tiddler');
		if(tid) {
			followMacro.makeButton(place, {
				spaceField: "recipe",
				url: "/bags/%0/tiddlers/%1/backlinks".format(tid.fields['server.bag'],
				blacklisted: followMacro.getBlacklist(),
				title: title,
				containingTiddler: containingTiddler,
				user: params[1] || false,
				consultFollowRelationship: args.follow ? true : false });

if(config.options.chkFollowTiddlersIsLinkedTiddlers) {
	merge(config.macros.followTiddlers, config.macros.linkedTiddlers);
	config.shadowTiddlers.FollowTiddlersHeading = "These are the other tiddlers that link to this tiddler.";

|''Description''|Initializes new TiddlySpaces the first time they are created|
|''Requires''|TiddlySpaceConfig RandomColorPalettePlugin chrjs ImageMacroPlugin|
* robust error notification and recovery
<link href="/bags/%0_public/tiddlers.atom" rel="alternate"
	type="application/atom+xml" title="%0's public feed" />
<link rel="canonical" href="%1/" />
(function($) {

var versionField = "tiddlyspaceinit_version";
var markupPreHead = store.getTiddlerText(tiddler.title + "##MarkupPreHead", "");
var tiddlyspace = config.extensions.tiddlyspace;
var currentSpace = tiddlyspace.currentSpace;
var tweb = config.extensions.tiddlyweb;

var plugin = config.extensions.TiddlySpaceInit = {
	version: "0.6",
	SiteTitle: "%0",
	SiteSubtitle: "a TiddlySpace",
	flagTitle: "%0SetupFlag",
	flagWarning: "Please do not modify this tiddler; it was created " +
		"automatically upon space creation.",

	dispatch: function(ev) {
		var title = plugin.flagTitle.format([]);
		config.annotations[title] = plugin.flagWarning;
		if(currentSpace.type != "private") {
		var tiddlers = [];
		var tid = store.getTiddler(title);
		if(tid) {
			curVersion = parseFloat(tid.fields[versionField]);
			reqVersion = parseFloat(plugin.version);
			if(curVersion < reqVersion) {
				plugin.update(curVersion, tid);
				tid.fields[versionField] = plugin.version;
				tid = store.saveTiddler(tid);
		} else { // first run
			tid = new Tiddler(title);
			tid.tags = ["excludeLists", "excludeSearch", "excludePublisher"];
			tid.fields = $.extend({}, config.defaultCustomFields);
			tid.fields[versionField] = plugin.version;
			tid.text = "@@%0@@".format([plugin.flagWarning]);
			tid = store.saveTiddler(tid);
			tiddlers = tiddlers.concat(plugin.firstRun(), tid);
		autoSaveChanges(null, tiddlers);
	update: function(curVersion, flagTiddler) {
		if(curVersion < 0.2) {
		if(curVersion < 0.3) {
			flagTiddler.tags.pushUnique("excludePublisher"); // XXX: never persisted
		if(curVersion < 0.5) { // v0.4 was faulty
		if(curVersion < 0.6) {
	pubTid: {
		tags: ["excludeLists", "excludeSearch"],
		fields: $.extend({}, config.defaultCustomFields, {
			"server.workspace": tiddlyspace.getCurrentWorkspace("public")
	makeTiddlerIfNot: function(tiddler) {
		if (!store.tiddlerExists(tiddler.title)) {
			$.extend(true, tiddler, plugin.pubTid);
			return [store.saveTiddler(tiddler)];
		} else {
			return [];
	firstRun: function() {
		var tiddlers = [];
		// generate Site*itle
		$.each(["SiteTitle", "SiteSubtitle"], function(i, item) {
			var tid = new Tiddler(item);
			tid.text = plugin[item].format([]);
		// generate public ColorPalette
		var tid = new Tiddler("ColorPalette");
		tid.text = config.macros.RandomColorPalette.generatePalette({
			saturation_pale: 0.67, saturation_light: 0.53,
			saturation_mid: 0.43, saturation_dark: 0.06,
			pale: 0.99, light: 0.85, mid: 0.5, dark: 0.31
		tiddlers.push.apply(tiddlers, plugin.makeTiddlerIfNot(tid));
		return tiddlers;
	// remove _cookie slices (TiddlyWiki 2.6.2 beta 6 remnants)
	purgeSystemSettings: function() {
		var ss = store.getTiddler("SystemSettings");
		if(ss) {
			var lines = ss.text.split("\n");
			var persistentOptions = $.grep(lines, function(line, i) {
				return line.indexOf("_cookie:") == -1;
			ss.text = persistentOptions.join("\n");
			ss = store.saveTiddler(ss);
			autoSaveChanges(null, [ss]);
	createAvatar: function() {
		var avatar = "SiteIcon";
		var host =;
		var notify = function(xhr, error, exc) {
			displayMessage("ERROR: could not create avatar - " + // TODO: i18n
				"%0: %1".format([xhr.statusText, xhr.responseText]));
			// TODO: resolve!?

		var pubBag = tiddlyspace.getCurrentBag("public");
		var tid = new tiddlyweb.Tiddler(avatar);
		tid.bag = new tiddlyweb.Bag(pubBag, host);

		var callback = function(data, status, xhr) {}; // avatar already exists; do nothing
		var errback = function(xhr, error, exc) {
			if(xhr.status != 404) {
			// copy default avatar
			var _notify = function(tid, status, xhr) {
				displayMessage("created avatar"); // TODO: i18n
				var image = config.macros.image;
				if(image && image.refreshImage) {
					var uri = "/%0/tiddlers/SiteIcon".
			var _callback = function(tid, status, xhr) {
				tid.title = avatar; = pubBag;
				delete tid.etag;
				tid.put(_notify, notify); // TODO: add to current session document (via adaptor?)
			tweb.getUserInfo(function(user) {
				var avatarTitle = == ?
					"defaultUserIcon" : "defaultSiteIcon";
				var tid = new tiddlyweb.Tiddler(avatarTitle);
				tid.bag = new tiddlyweb.Bag("common", host);
				tid.get(_callback, notify);
		tid.get(callback, errback);
	savePublicTiddlerText: function(title, text, pubWorkspace) {
		var tid = new Tiddler(title);
		tid.text = text;
		tid.tags = ["excludeLists"];
		tid.fields = $.extend({}, config.defaultCustomFields);
		tid.fields["server.workspace"] = pubWorkspace;
		tid.fields[""] = "false";
		tid = store.saveTiddler(tid);
		autoSaveChanges(null, [tid]);
	setupMarkupPreHead: function() {
		var pubWorkspace = tiddlyspace.getCurrentWorkspace("public");
		var existing = store.getTiddler("MarkupPreHead");
		if(!existing || existing.fields["server.workspace"] != pubWorkspace) {
			var context = this;
			tweb.getStatus(function(status) {
				var text = markupPreHead.format(,
				context.savePublicTiddlerText("MarkupPreHead", text,
		// also set up DefaultTiddlers
		var title = "DefaultTiddlers";
		existing = store.getTiddler(title) || new Tiddler(title);
		if(existing.fields["server.workspace"] != pubWorkspace) {
			var text = existing.text || store.getShadowTiddlerText(title);
			this.savePublicTiddlerText(title, text, pubWorkspace);

$(document).bind("startup", plugin.dispatch);

|''Description:''|Formatter to reference other spaces from wikitext |
|''Author:''|PaulDowney (psd (at) osmosoft (dot) com) |
|''License:''|[[BSD License|]] |
|''Comments:''|Please make comments at |
This plugin provides wikitext formatters for referencing another [[space|Space]] on the same TiddlySpace server, as in the following examples:
  {{{@space}}} -- @space 
  {{{~@space}}} -- ~@space 
  {{{Tiddler@space}}} -- Tiddler@space
  {{{[[Tiddler Title]]@space}}} -- [[Tiddler Title]]@space 
  {{{[[Link text|Tiddler Title]]@space}}} -- [[Link text|Tiddler Title]]@space
Links to tiddlers with a title begining with an "@" remain as tiddlyLinks:
  {{{[[@tiddler]]}}} -- [[@tiddler]]
and these may be changed into a space link using {{{@@}}}:
  {{{[[@@space]]}}} -- [[@@space]]
  {{{[[Link to an another space|@@space]]}}} -- [[Link to another space|@@space]]
  {{{[[@space|@@space]]}}} -- [[@space|@@space]]
TiddlySpace includes the [[TiddlySpaceLinkPlugin]] which provides WikiText markup for linking to other spaces on the same server. For example @glossary is a link to the {{{glossary}}} space and [[Small Trusted Group]]@glossary a link to an individual tiddler in the @glossary space. Prefixing the link with a tilde escapes the link, for example {{{~@space}}}.
Email addresses, for example and should be unaffected.
The plugin provides external links decorated so that other plugins may be included to add features such as the ability to dynamically pull externally linked tiddlers into the current TiddlyWiki.
Wikitext linking to a space on another server, for example from a tiddler in a space on to a tiddler or a space on, isn't currently supported. 
/*jslint onevar: false nomen: false plusplus: false */
/*global jQuery config createTiddlyText createExternalLink createTiddlyLink */

function createSpaceLink(place, spaceName, title, alt, isBag) {
	var link, a, currentSpaceName, label;
	try {
		if (spaceName === {
			title = title || spaceName;
			a = createTiddlyLink(place, title, false);
			jQuery(a).text(alt || title);
			return a;
	} catch (ex1) {
		currentSpaceName = false;

	a = jQuery("<a />").addClass('tiddlySpaceLink externalLink').appendTo(place)[0];
	if(title) {
		jQuery(a).attr('tiddler', title);
	if(isBag) {
		jQuery(a).attr('bag', spaceName);
	} else {
		jQuery(a).attr('tiddlyspace', spaceName);

	config.extensions.tiddlyweb.getStatus(function(status) {
		link = status.server_host.url;
		if (title) {
			label = alt || title;
			link = link + "/" + encodeURIComponent(title);
		} else {
			label = alt || spaceName;
		// assumes a http URI without user:pass@ prefix
		if(!isBag) {
			link = link.replace("http://", "http://" + spaceName.toLowerCase() + ".");
		} else {
			link += "/bags/" + spaceName + "/";
		jQuery(a).attr("href", link).text(label);
	return a;

(function ($) {

	config.textPrimitives.spaceName = "[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]";
	config.textPrimitives.spaceNameStrict = "[a-z][a-z0-9-]*";
	config.textPrimitives.bareTiddlerLetter = config.textPrimitives.anyLetterStrict;

	config.formatters.splice(0, 0, {
		name: "spacenameLink",
		match: config.textPrimitives.unWikiLink + "?" + config.textPrimitives.bareTiddlerLetter + "*@" + config.textPrimitives.spaceName + "\\.?.?",
		lookaheadRegExp: new RegExp(config.textPrimitives.unWikiLink + "?(" + config.textPrimitives.bareTiddlerLetter + "*)@(" + config.textPrimitives.spaceName + ")", "mg"),
		handler: function (w) {
			if (w.matchText.substr(w.matchText.length - 2, 1) === '.' && w.matchText.substr(w.matchText.length - 1, 1).match(/[a-zA-Z]/)) {
				w.outputText(w.output, w.matchStart, w.nextMatch);
			if (w.matchText.substr(0, 1) === config.textPrimitives.unWikiLink) {
				w.outputText(w.output, w.matchStart + 1, w.nextMatch);
			this.lookaheadRegExp.lastIndex = w.matchStart;
			var lookaheadMatch = this.lookaheadRegExp.exec(w.source);
			if (lookaheadMatch && lookaheadMatch.index === w.matchStart) {
				createSpaceLink(w.output, lookaheadMatch[2], lookaheadMatch[1]);
				w.nextMatch = this.lookaheadRegExp.lastIndex;
		name: "tiddlySpaceLink",
		match: "\\[\\[[^\\|\\]]*\\|*@@" + config.textPrimitives.spaceName + "\\]",
		lookaheadRegExp: new RegExp("\\[\\[(.*?)(?:\\|@@(.*?))?\\]\\]", "mg"),
		handler: function (w) {
			this.lookaheadRegExp.lastIndex = w.matchStart;
			var lookaheadMatch = this.lookaheadRegExp.exec(w.source);
			if (lookaheadMatch && lookaheadMatch.index === w.matchStart) {
				var alt = lookaheadMatch[2] ? lookaheadMatch[1] : lookaheadMatch[1].replace(/^@@/, "");
				var space = lookaheadMatch[2] || alt;
				createSpaceLink(w.output, space, "", alt);
				w.nextMatch = this.lookaheadRegExp.lastIndex;
		name: "tiddlyLinkSpacenameLink",
		match: "\\[\\[[^\\[]*\\]\\]@",
		lookaheadRegExp: new RegExp("\\[\\[(.*?)(?:\\|(.*?))?\\]\\]@(" + config.textPrimitives.spaceName + ")", "mg"),
		handler: function (w) {
			this.lookaheadRegExp.lastIndex = w.matchStart;
			var lookaheadMatch = this.lookaheadRegExp.exec(w.source);
			if (lookaheadMatch && lookaheadMatch.index === w.matchStart) {
				var title = lookaheadMatch[2] || lookaheadMatch[1];
				var alt = lookaheadMatch[1] || lookaheadMatch[2];
				createSpaceLink(w.output, lookaheadMatch[3], title, alt);
				w.nextMatch = this.lookaheadRegExp.lastIndex;

	// ensure space links don't appear as missing links
	config.textPrimitives.brackettedLink = "\\[\\[([^\\]][^@\\]][^\\]]*)\\]\\](?=[^@])";
	config.textPrimitives.titledBrackettedLink = "\\[\\[([^\\[\\]\\|]+)\\|([^\\[\\]\\|]+)\\]\\](?=[^@])";

	// reevaluate derrived expressions ..
	config.textPrimitives.tiddlerForcedLinkRegExp = new RegExp("(?:" + config.textPrimitives.titledBrackettedLink + ")|(?:" +
		config.textPrimitives.brackettedLink + ")|(?:" +
		config.textPrimitives.urlPattern + ")","mg");
	config.textPrimitives.tiddlerAnyLinkRegExp = new RegExp("("+ config.textPrimitives.wikiLink + ")|(?:" +
		config.textPrimitives.titledBrackettedLink + ")|(?:" +
		config.textPrimitives.brackettedLink + ")|(?:" +
		config.textPrimitives.urlPattern + ")","mg");

	// treat space links in titledBracketedLink as external links
	var missingTiddlySpaceLink = new RegExp("^@@" + config.textPrimitives.spaceName + "$", "");
	var isExternalLink = config.formatterHelpers.isExternalLink;
	config.formatterHelpers.isExternalLink = function(link) {
		return missingTiddlySpaceLink.test(link) || isExternalLink(link);

|''Description''|toolbar commands for drafting and publishing|
|''Author''|Jon Robson|
|''Requires''|TiddlySpaceConfig TiddlySpaceFilters|
Provides changeToPrivate, changeToPublic and saveDraft commands
Provides TiddlySpacePublisher macro.
{{{<<TiddlySpacePublisher type:private>>}}} make lots of private tiddlers public.
{{{<<TiddlySpacePublisher type:public>>}}} make lots of public tiddlers public.
* add public argument?
(function($) {

var tiddlyspace = config.extensions.tiddlyspace;
var originMacro = config.macros.tiddlerOrigin;

tiddlyspace.getTiddlerStatusType = function(tiddler) {
	var isShadow = store.isShadowTiddler(tiddler.title);
	var exists = store.tiddlerExists(tiddler.title);
	if(isShadow && !exists) {
		return "shadow";
	} else if(!exists) {
		return "missing";
	} else {
		var types = ["private", "public"];
		var type = "external";
		for(var i = 0; i < types.length; i++) {
			var t = types[i];
			type =[t](tiddler) ? t : type;
		if( {
			type = type == "private" ? "unsyncedPrivate" : "unsyncedPublic";
		return type;

var cmd = config.commands.publishTiddler = {
	text: "make public",
	tooltip: "Change this private tiddler into a public tiddler",
	errorMsg: "Error publishing %0: %1",

	isEnabled: function(tiddler) {
		return !readOnly &&["private"](tiddler);
	handler: function(ev, src, title) {
		var tiddler = store.getTiddler(title);
		if(tiddler) {
			var newBag = cmd.toggleBag(tiddler.fields["server.bag"]);
			this.moveTiddler(tiddler, {
				title: tiddler.fields[""] || tiddler.title,
				fields: { "server.bag": newBag }
	toggleBag: function(bag, to) {
		var newBag;
		if(typeof bag != typeof "") {
			var tiddler = bag;
			bag = tiddler.fields["server.bag"];
		if(bag.indexOf("_private") > -1) { // should make use of endsWith
			to = to ? to : "public";
			newBag = bag.replace("_private", "_" + to);
		} else {
			to = to ? to : "private";
			newBag = bag.replace("_public", "_" + to);
		return newBag;
	copyTiddler: function(title, newTitle, newBag, callback) {
		var original = store.getTiddler(title);
		newTitle = newTitle ? newTitle : title;
		var adaptor = original.getAdaptor();
		var publish = function(original, callback) {
			var tiddler = $.extend(new Tiddler(newTitle), original);
			tiddler.fields = $.extend({}, original.fields, {
				"server.bag": newBag,
				"server.workspace": "bags/%0".format(newBag),
				"": "false"
			delete tiddler.fields["server.title"];
			tiddler.title = newTitle;
			adaptor.putTiddler(tiddler, null, null, callback);
		publish(original, callback);
	moveTiddler: function(tiddler, newTiddler, callback) {
			var info = {
			copyContext: {},
			deleteContext: {}
		var _dirty = store.isDirty();
		var adaptor = tiddler.getAdaptor();
		var newTitle = newTiddler.title;
		var oldTitle = tiddler.title;
		delete tiddler.fields["server.workspace"];
		var oldBag = tiddler.fields["server.bag"];
		var newBag = newTiddler.fields["server.bag"];
		var newWorkspace = "bags/%0".format(newBag);
		cmd.copyTiddler(oldTitle, newTitle, newBag, function(ctx) {
				info.copyContext = ctx;
				var context = {
					tiddler: tiddler,
					workspace: newWorkspace
				tiddler.title = oldTitle; // for cases where a rename occurs
				if(ctx.status) { // only do if a success
					if(oldBag != newBag) {
						adaptor.deleteTiddler(tiddler, context, {}, function(ctx) {
							info.deleteContext = ctx;
							var el;
							if(tiddler) {
								tiddler.fields["server.workspace"] = newWorkspace;
								tiddler.fields["server.bag"] = newBag;
							el = el ? el : story.refreshTiddler(oldTitle, null, true);
							if(oldTitle != newTitle) {
								store.notify(oldTitle, true);
							if(el) {
								story.displayTiddler(el, newTitle);
							if(oldTitle != newTitle) {
							if(callback) {
					} else {
						if(callback) {

var changeToPrivate = config.commands.changeToPrivate = {
	text: "make private",
	tooltip: "turn this public tiddler into a private tiddler",
	isEnabled: function(tiddler) {
		return !readOnly &&["public"](tiddler);
	handler: function(event, src, title) {
		var tiddler = store.getTiddler(title);
		var newBag = cmd.toggleBag(tiddler, "private");
		var newTiddler = { title: title, fields: { "server.bag": newBag }};
		cmd.moveTiddler(tiddler, newTiddler);
config.commands.changeToPublic = cmd;

/* Save as draft command */
var saveDraftCmd = config.commands.saveDraft = {
	text: "save draft",
	tooltip: "Save as a private draft",
	isEnabled: function(tiddler) {
		return changeToPrivate.isEnabled(tiddler);
	getDraftTitle: function(title) {
		var draftTitle;
		var draftNum = "";
		while(!draftTitle) {
			var suggestedTitle = "%0 [draft%1]".format(title, draftNum);
			if(store.getTiddler(suggestedTitle)) {
				draftNum = !draftNum ? 2 : draftNum + 1;
			} else {
				draftTitle = suggestedTitle;
		return draftTitle;
	createDraftTiddler: function(title, gatheredFields) {
		var tiddler = store.getTiddler(title);
		var draftTitle = saveDraftCmd.getDraftTitle(title);
		var draftTiddler = new Tiddler(draftTitle);
		if(tiddler) {
			$.extend(true, draftTiddler, tiddler);
		} else {
			$.extend(draftTiddler.fields, config.defaultCustomFields);
		for(var fieldName in gatheredFields) {
			if(TiddlyWiki.isStandardField(fieldName)) {
				draftTiddler[fieldName] = gatheredFields[fieldName];
			} else {
				draftTiddler.fields[fieldName] = gatheredFields[fieldName];
		var privateBag = tiddlyspace.getCurrentBag("private");
		var privateWorkspace = tiddlyspace.getCurrentWorkspace("private");
		draftTiddler.title = draftTitle;
		draftTiddler.fields[""] = title;
		draftTiddler.fields["server.workspace"] = privateWorkspace;
		draftTiddler.fields["server.bag"] = privateBag;
		draftTiddler.fields["server.title"] = draftTitle;
		draftTiddler.fields[""] = "false";
		delete draftTiddler.fields["server.etag"];
		return draftTiddler;
	handler: function(ev, src, title) {
		var tiddler = store.getTiddler(title); // original tiddler
		var tidEl = story.getTiddler(title);
		var uiFields = {};
		story.gatherSaveFields(tidEl, uiFields);
		var tid = saveDraftCmd.createDraftTiddler(title, uiFields);
		tid = store.saveTiddler(tid.title, tid.title, tid.text, tid.modifier,
			new Date(), tid.tags, tid.fields);
		autoSaveChanges(null, [tid]);
		story.displayTiddler(src, title);
		story.displayTiddler(src, tid.title);

var macro = config.macros.TiddlySpacePublisher = {
	locale: {
		title: "Batch Publisher",
		changeStatusLabel: "Make %0",
		noTiddlersText: "No tiddlers to publish",
		changeStatusPrompt: "Make all the selected tiddlers %0.",
		description: "Change tiddlers from %0 to %1 in this space"

	listViewTemplate: {
		columns: [
			{ name: "Selected", field: "Selected", rowName: "title", type: "Selector" },
			{ name: "Tiddler", field: "tiddler", title: "Tiddler", type: "Tiddler" },
			{ name: "Status", field: "status", title: "Status", type: "WikiText" }
		rowClasses: []

	changeStatus: function(tiddlers, status, callback) { // this is what is called when you click the publish button
		var publicBag;
		for(var i = 0; i < tiddlers.length; i++) {
			var tiddler = tiddlers[i];
			var newTiddler = {
				title: tiddler.title,
				fields: { "server.bag": cmd.toggleBag(tiddler, status) }
			cmd.moveTiddler(tiddler, newTiddler, callback);
	getMode: function(paramString) {
		var params = paramString.parseParams("anon")[0];
		var status = params.type ?
			(["public", "private"].contains(params.type[0]) ? params.type[0] : "private") :
		var newStatus = status == "public" ? "private" : "public";
		return [status, newStatus];
	handler: function(place, macroName, params, wikifier, paramString, tiddler) {
		var wizard = new Wizard();
		var locale = macro.locale;
		var status = macro.getMode(paramString);
		wizard.createWizard(place, locale.title);
		wizard.addStep(macro.locale.description.format(status[0], status[1]),
			'<input type="hidden" name="markList" />');
		var markList = wizard.getElement("markList");
		var listWrapper = $("<div />").addClass("batchPublisher").
			attr("refresh", "macro").attr("macroName", macroName).
			attr("params", paramString)[0];
		markList.parentNode.insertBefore(listWrapper, markList);
		$.data(listWrapper, "wizard", wizard);
	getCheckedTiddlers: function(listWrapper, titlesOnly) {
		var tiddlers = [];
		$(".chkOptionInput[rowName]:checked", listWrapper).each(function(i, el) {
			var title = $(el).attr("rowName");
			if(titlesOnly) {
			} else {
		return tiddlers;
	refresh: function(listWrapper) {
		var checked = macro.getCheckedTiddlers(listWrapper, true);
		var paramString = $(listWrapper).empty().attr("params");
		var wizard = $.data(listWrapper, "wizard");
		var locale = macro.locale;
		var params = paramString.parseParams("anon")[0];
		var publishCandidates = [];
		var status = macro.getMode(paramString);
		var pubType = status[0];
		var newPubType = status[1];
		var tiddlers = params.filter ? store.filterTiddlers(params.filter[0]) :
		var enabled = [];
		for(var i = 0; i < tiddlers.length; i++) {
			var tiddler = tiddlers[i];
			var title = tiddler.title;
			if(!tiddler.tags.contains("excludePublisher") && title !== "SystemSettings") {
				publishCandidates.push({ title: title, tiddler: tiddler, status: pubType});
			if(checked.contains(title)) {

		if(publishCandidates.length === 0) {
			createTiddlyElement(listWrapper, "em", null, null, locale.noTiddlersText);
		} else {
			var listView = ListView.create(listWrapper, publishCandidates, macro.listViewTemplate);
			wizard.setValue("listView", listView);
			var btnHandler = function(ev) {
				var tiddlers = macro.getCheckedTiddlers(listWrapper);
				var callback = function(status) {
					$(".batchPublisher").each(function(i, el) {
				macro.changeStatus(tiddlers, newPubType, callback);
				caption: locale.changeStatusLabel.format(newPubType),
				tooltip: locale.changeStatusPrompt.format(newPubType),
				onClick: btnHandler
			$(enabled.join(",")).attr("checked", true); // retain what was checked before

|''Description''|Revert to a previous revision|
|''Requires''|TiddlyWebAdaptor TiddlySpaceRevisionView|
Add a control button to revert to a particular revision.

The button must be called from within a revision, as generated by TiddlySpaceRevisionView
(function($) {

config.commands.revert = {
	text: "revert",
	tooltip: "make this revision the current one",
	handler: function(ev, src, title) {
		var revElem = story.getTiddler(title);
		var tidToRevert = store.getTiddler($(revElem).attr("revName"));

		var revision = store.getTiddler(title);
		if ((revision) && (tidToRevert)) {
			tidToRevert.text = revision.text;
			var newFields = merge({}, revision.fields);
			for (var fieldName in newFields) {
				if (fieldName.substr(0, 7) === "server.") {
					delete newFields[fieldName];
			merge(tidToRevert.fields, newFields);
			tidToRevert.tags = merge([], revision.tags);
			tidToRevert.fields.changecount = 1;
			delete tidToRevert.fields.doNotSave;

			store.saveTiddler(tidToRevert.title, tidToRevert.title,
				tidToRevert.text, null, null, tidToRevert.tags,
				tidToRevert.fields, false, tidToRevert.created, tidToRevert.creator);


|''Description''|Show tiddler revisions in a stack of cards view|
The viewRevisions macro can be attached to any element, which should be passed
in as a parameter.

For example:

&lt;&lt;viewRevisions page:10 link:"<<view modified date>>"&gt;&gt;

would show the revisions "stack of cards" view, 10 at a time, when the modified
date is clicked.
(function($) {

var me = config.macros.viewRevisions = {
	revisionTemplate: "RevisionTemplate",
	revSuffix: " [rev. #%0]", // text to append to each tiddler title
	defaultPageSize: 5, // default number of revisions to show
	defaultLinkText: "View Revisions", // when there's nothing else to use
	offsetTop: 30, // in px
	offsetLeft: 10, // in px
	shiftDownDelay: 50, // in ms
	visibleSlideAmount: 20, // amount of revisions to show on left hand edge after sliding
	zIndex: 100, // default z-index
	handler: function(place, macroName, params, wikifier, paramString, tiddler) {
		params = paramString.parseParams(null, null, true)[0];
		var tiddlerElem = story.findContainingTiddler(place);

		var revButton;
		var pageSize = parseInt([0], 10) || me.defaultPageSize;
		var linkObj = ?[0] || me.defaultLinkText : false;
		if(linkObj) {
			revButton = $('<span class="button openRevisions" />')
			wikify(linkObj, revButton[0], null, tiddler);
		} else {
			revButton = place;

		$(revButton).click(function() {
			if (!$(tiddlerElem).hasClass("revisions")) {
				me.showRevisions(tiddlerElem, tiddler, pageSize);
			} else {

	// initialisation for revision view
	showRevisions: function(tiddlerElem, tiddler, pageSize) {
		var context = {
			host: tiddler.fields[""],
			workspace: tiddler.fields["server.workspace"]
		$(tiddlerElem).addClass("revisions").attr("revName", tiddler.title);
		// ensure toolbar commands deactivate RevisionsView
		$("a", ".toolbar", tiddlerElem).each(function(index, btn) {
			var _onclick = btn.onclick;
			btn.onclick = function(e) {
				_onclick.apply(this, arguments);
		// ensure default action deactivates RevisionsView
		var _ondblclick = tiddlerElem.ondblclick;
		tiddlerElem.ondblclick = function(e) {
			_ondblclick.apply(this, arguments);
		var type = tiddler.fields["server.type"];
		var adaptor = new config.adaptors[type]();
		var userParams = {
			tiddlerElem: tiddlerElem,
			pageSize: pageSize,
			title: tiddler.title
		adaptor.getTiddlerRevisionList(tiddler.title, null, context, userParams,
				function(context, userParams) {
					// strip the current revision
					me.expandStack(context, userParams);

	// fetch the actual revision and put it in the tiddler div
	showRevision: function(place, revision, callback) {
		var context = {
			host: revision.fields[""],
			workspace: revision.fields["server.workspace"]
		var userParams = {
			revElem: place
		var type = revision.fields["server.type"];
		var adaptor = new config.adaptors[type]();
		var revNo = revision.fields[""];
		adaptor.getTiddlerRevision(revision.title, revNo, context, userParams,
			function(context, userParams) {
				var tiddler = context.tiddler;
				tiddler.title += me.revSuffix
				tiddler.fields.doNotSave = true;
				if (store.getTiddler(tiddler.title)) {

				//now, populate the existing div
				var revElem = userParams.revElem;
				$(revElem).attr("id", story.tiddlerId(tiddler.title));
				$(revElem).attr("refresh", "tiddler");
				var getTemplate = function() {
					var themeName = config.options.txtTheme;
					if (themeName) {
						return store.getTiddlerSlice(themeName,
							me.revisionTemplate) || me.revisionTemplate ||
					} else {
						return (store.getTiddler(me.revisionTemplate)) ?
							me.revisionTemplate : "ViewTemplate";
				var template = getTemplate();
				story.refreshTiddler(tiddler.title, template, true);

	createCloak: function(promoteElem) {
		var el = $(promoteElem);
		// cache styles for resetting later{
			top: el.css("top"),
			left: el.css("left"),
			zIndex: el.css("z-index")

		$('<div class="revisionCloak" />').css("z-index", me.zIndex)
			.click(function() {

		el.css("z-index", me.zIndex + 1);

	// clean up, removing all evidence of revision view
	closeRevisions: function(promoteElem) {
		var el = $(promoteElem);
		// revert the original tiddler back to its previous state

		// remove any revisions still in the store
		var revisions = $(".revisions");
		revisions.each(function(index, revision) {
			var revAttributes = revision.attributes;
			if ((revAttributes.revname) &&
					(revAttributes.revision)) {
				var revName = revAttributes.revname.value;
				var revNo = revAttributes.revision.value;
				var title = revName + me.revSuffix.format([revNo]);

				if (store.getTiddler(title)) {

		// delete the previous revisions

		// remove the cloak

	// calback from getting list of revisions
	expandStack: function(context, userParams) {
		var pageSize = userParams.pageSize;

		var from = userParams.from || 0;
		var tiddlerElem = userParams.tiddlerElem;

		userParams.defaultHeight = $(tiddlerElem).height();
		userParams.defaultWidth = $(tiddlerElem).width();
		if (from < context.revisions.length) {
			me.displayNextRevision(tiddlerElem, userParams, context, from,
				from + pageSize - 1);

	// place the next div above and behind the previous one
	displayNextRevision: function(tiddlerElem, userParams, context, from, to) {
		var revision = context.revisions[from];
		var callback = function() {
			var revText = revBtn.getRevisionText(tiddlerElem, revision);
			tiddlerElem = me.createRevisionObject(tiddlerElem, context,
				userParams, revText);
				.attr("revision", (context.revisions.length - from));
			if ((from < to) && ((from + 1) < context.revisions.length)){
				me.displayNextRevision(tiddlerElem, userParams, context,
					from + 1, to);
			} else if ((context.revisions.length - 1) > to) {
				me.showMoreButton(tiddlerElem, context, userParams, to + 1);
		me.shiftVisibleDown(userParams.title, callback);

	createRevisionObject: function(tiddlerElem, context, userParams, text) {
		var newPosition = me.calculatePosition(tiddlerElem, context);
		return $('<div class="revisions tiddler" />')
				position: "absolute",
				left: newPosition.left,
				"z-index": me.zIndex + 1,
				height: userParams.defaultHeight,
				width: userParams.defaultWidth
			.attr("revName", userParams.title)

	// move the already present revisions down by 1 to fit the next one in
	shiftVisibleDown: function(title, callback) {
		var revisions = $("[revName='%0'].revisions".format([title]));
		var revisionCount = revisions.length;

		$(revisions).animate({top: "+=" + me.offsetTop},
				me.shiftDownDelay, function() {
					revisionCount -= 1;
					if ((callback) && (!revisionCount)) {

	// where we put the new revision
	calculatePosition: function(elem, context) {
		var offset = $(elem).offset();
		var currentPosition = $(elem).position();
		var newPosition = {
			top: - me.offsetTop
		if ((context.restrictLeft) ||
				((offset.left - me.offsetLeft) <
				$("#contentWrapper").offset().left)) {
			newPosition.left = $(elem).position().left;
			context.restrictLeft = true;
		} else {
			newPosition.left = currentPosition.left - me.offsetLeft;
		return newPosition;

	// equivalent of displayNextRevision, but for the more button
	showMoreButton: function(tiddlerElem, context, userParams, moreIndex) {
		userParams.from = moreIndex + 1;
		me.shiftVisibleDown(userParams.title, function() {
			var btn = me.createRevisionObject(tiddlerElem, context, userParams,

			var more = createTiddlyButton(btn[0], "more...", "show more revisions",
				function() {
					if ($(".viewRevision").length) {
					userParams.tiddlerElem = btn[0];
							.getRevisionText(btn[0], context.revisions[moreIndex]))
						.attr("revision", context.revisions.length - moreIndex);
					me.expandStack(context, userParams);
			$(more).css("float", "right");

	stripRevFromTitle: function(revisionTitle) {
		return revisionTitle.split(/ ?\[rev\. #[0-9]+\]$/)[0];

	onClickRevision: function(revElem, revision, callback) {
		// don't do anything if we are still loading
		if ($(".revisions").hasClass("loading")) {
			return null;

		var origTitle = me.stripRevFromTitle(revision.title);
		if ($(revElem).hasClass("viewRevision")) {
			me.slideIn(revElem, revision, origTitle, function() {
				revision.title = origTitle;
				if (callback) {
		} else {
			var viewRevision = function() {
				var prevPos = $(revElem).position().left;
				$(revElem).addClass("viewRevision").attr("prevPos", prevPos);
				me.showRevision(revElem, revision, function(rev) {
					me.slideOut(revElem, rev, origTitle, function() {
			// make sure another revision isn't already out
			if ($(".viewRevision").length) {
				var newRevElem = $(".viewRevision")[0];
				var newRevision = store.getTiddler($(newRevElem)
				me.onClickRevision(newRevElem, newRevision, viewRevision);
			} else {

	slideOut: function(revElem, revision, title, callback) {
		var leftMostPos = $("[revName='%0'].revisions".format([title]))
		var width = $(revElem).width();
		var originalLeftPos = $(story.getTiddler(title))

		var slideAmount = leftMostPos + width - me.visibleSlideAmount;
			.animate({left: "-=" + slideAmount}, 1000);
			.attr("baseHeight", $(revElem).css("height"))
			.css("height", "auto")
			.animate({left: originalLeftPos}, 1000, callback);

	slideIn: function(revElem, revision, title, callback) {
		var slideAmount = $(revElem).offset().left -
		var origRevPos = $(revElem).attr("prevPos");

			.animate({left: "+=" + slideAmount}, 1000);
		$(revElem).animate({left: origRevPos}, 1000, function() {
				.css("height", $(revElem).attr("baseHeight"))

var revBtn;
config.macros.slideRevision = revBtn = {
	btnText: "created by %0 at %1 on %2",
	handler: function(place, macroName, params, wikifier, paramString, tiddler) {
		var btn = revBtn.getRevisionText(place, tiddler);

	getRevisionText: function(place, revision) {
		var text = revBtn.btnText.format([revision.modifier,
			revision.modified.formatString("0DD MMM YYYY")]);
		var btn = $('<a href="javascript:;" class="button revButton" />')
			.click(function() {
				var revElem = story.findContainingTiddler(this);
				me.onClickRevision(revElem, revision);
		return btn;

|''Description''|Sanitisation for dynamically pulling tiddlers into your space and displaying them|
Works both inside and outside TiddlyWiki. Uses the HTML Sanitizer provided by the Google Caja project
(see for more on this), which is licensed under
an Apache License (see
(function($) {

var cleanURL = function(url) {
	var regexp = /^(?:http|https|mailto|ftp|irc|news):\/\//;
	return (regexp.test(url)) ? url : null;

$.sanitize = function(html) {
	return html_sanitize(html, cleanURL);

 * HTML Sanitizer, provided by Google Caja

/* Copyright Google Inc.
 * Licensed under the Apache Licence Version 2.0
 * Autogenerated at Tue May 17 17:39:24 BST 2011
 * @provides html4
 */var html4={};html4.atype={NONE:0,URI:1,URI_FRAGMENT:11,SCRIPT:2,STYLE:3,ID:4,IDREF:5,IDREFS:6,GLOBAL_NAME:7,LOCAL_NAME:8,CLASSES:9,FRAME_TARGET:10},html4.ATTRIBS={"*::class":9,"*::dir":0,"*::id":4,"*::lang":0,"*::onclick":2,"*::ondblclick":2,"*::onkeydown":2,"*::onkeypress":2,"*::onkeyup":2,"*::onload":2,"*::onmousedown":2,"*::onmousemove":2,"*::onmouseout":2,"*::onmouseover":2,"*::onmouseup":2,"*::style":3,"*::title":0,"a::accesskey":0,"a::coords":0,"a::href":1,"a::hreflang":0,"a::name":7,"a::onblur":2,"a::onfocus":2,"a::rel":0,"a::rev":0,"a::shape":0,"a::tabindex":0,"a::target":10,"a::type":0,"area::accesskey":0,"area::alt":0,"area::coords":0,"area::href":1,"area::nohref":0,"area::onblur":2,"area::onfocus":2,"area::shape":0,"area::tabindex":0,"area::target":10,"bdo::dir":0,"blockquote::cite":1,"br::clear":0,"button::accesskey":0,"button::disabled":0,"button::name":8,"button::onblur":2,"button::onfocus":2,"button::tabindex":0,"button::type":0,"button::value":0,"canvas::height":0,"canvas::width":0,"caption::align":0,"col::align":0,"col::char":0,"col::charoff":0,"col::span":0,"col::valign":0,"col::width":0,"colgroup::align":0,"colgroup::char":0,"colgroup::charoff":0,"colgroup::span":0,"colgroup::valign":0,"colgroup::width":0,"del::cite":1,"del::datetime":0,"dir::compact":0,"div::align":0,"dl::compact":0,"font::color":0,"font::face":0,"font::size":0,"form::accept":0,"form::action":1,"form::autocomplete":0,"form::enctype":0,"form::method":0,"form::name":7,"form::onreset":2,"form::onsubmit":2,"form::target":10,"h1::align":0,"h2::align":0,"h3::align":0,"h4::align":0,"h5::align":0,"h6::align":0,"hr::align":0,"hr::noshade":0,"hr::size":0,"hr::width":0,"iframe::align":0,"iframe::frameborder":0,"iframe::height":0,"iframe::marginheight":0,"iframe::marginwidth":0,"iframe::width":0,"img::align":0,"img::alt":0,"img::border":0,"img::height":0,"img::hspace":0,"img::ismap":0,"img::name":7,"img::src":1,"img::usemap":11,"img::vspace":0,"img::width":0,"input::accept":0,"input::accesskey":0,"input::align":0,"input::alt":0,"input::autocomplete":0,"input::checked":0,"input::disabled":0,"input::ismap":0,"input::maxlength":0,"input::name":8,"input::onblur":2,"input::onchange":2,"input::onfocus":2,"input::onselect":2,"input::readonly":0,"input::size":0,"input::src":1,"input::tabindex":0,"input::type":0,"input::usemap":11,"input::value":0,"ins::cite":1,"ins::datetime":0,"label::accesskey":0,"label::for":5,"label::onblur":2,"label::onfocus":2,"legend::accesskey":0,"legend::align":0,"li::type":0,"li::value":0,"map::name":7,"menu::compact":0,"ol::compact":0,"ol::start":0,"ol::type":0,"optgroup::disabled":0,"optgroup::label":0,"option::disabled":0,"option::label":0,"option::selected":0,"option::value":0,"p::align":0,"pre::width":0,"q::cite":1,"select::disabled":0,"select::multiple":0,"select::name":8,"select::onblur":2,"select::onchange":2,"select::onfocus":2,"select::size":0,"select::tabindex":0,"table::align":0,"table::bgcolor":0,"table::border":0,"table::cellpadding":0,"table::cellspacing":0,"table::frame":0,"table::rules":0,"table::summary":0,"table::width":0,"tbody::align":0,"tbody::char":0,"tbody::charoff":0,"tbody::valign":0,"td::abbr":0,"td::align":0,"td::axis":0,"td::bgcolor":0,"td::char":0,"td::charoff":0,"td::colspan":0,"td::headers":6,"td::height":0,"td::nowrap":0,"td::rowspan":0,"td::scope":0,"td::valign":0,"td::width":0,"textarea::accesskey":0,"textarea::cols":0,"textarea::disabled":0,"textarea::name":8,"textarea::onblur":2,"textarea::onchange":2,"textarea::onfocus":2,"textarea::onselect":2,"textarea::readonly":0,"textarea::rows":0,"textarea::tabindex":0,"tfoot::align":0,"tfoot::char":0,"tfoot::charoff":0,"tfoot::valign":0,"th::abbr":0,"th::align":0,"th::axis":0,"th::bgcolor":0,"th::char":0,"th::charoff":0,"th::colspan":0,"th::headers":6,"th::height":0,"th::nowrap":0,"th::rowspan":0,"th::scope":0,"th::valign":0,"th::width":0,"thead::align":0,"thead::char":0,"thead::charoff":0,"thead::valign":0,"tr::align":0,"tr::bgcolor":0,"tr::char":0,"tr::charoff":0,"tr::valign":0,"ul::compact":0,"ul::type":0},html4.eflags={OPTIONAL_ENDTAG:1,EMPTY:2,CDATA:4,RCDATA:8,UNSAFE:16,FOLDABLE:32,SCRIPT:64,STYLE:128},html4.ELEMENTS={a:0,abbr:0,acronym:0,address:0,applet:16,area:2,b:0,base:18,basefont:18,bdo:0,big:0,blockquote:0,body:49,br:2,button:0,canvas:0,caption:0,center:0,cite:0,code:0,col:2,colgroup:1,dd:1,del:0,dfn:0,dir:0,div:0,dl:0,dt:1,em:0,fieldset:0,font:0,form:0,frame:18,frameset:16,h1:0,h2:0,h3:0,h4:0,h5:0,h6:0,head:49,hr:2,html:49,i:0,iframe:4,img:2,input:2,ins:0,isindex:18,kbd:0,label:0,legend:0,li:1,link:18,map:0,menu:0,meta:18,nobr:0,noframes:20,noscript:20,object:16,ol:0,optgroup:0,option:1,p:1,param:18,pre:0,q:0,s:0,samp:0,script:84,select:0,small:0,span:0,strike:0,strong:0,style:148,sub:0,sup:0,table:0,tbody:1,td:1,textarea:8,tfoot:1,th:1,thead:1,title:24,tr:1,tt:0,u:0,ul:0,"var":0},html4.ueffects={NOT_LOADED:0,SAME_DOCUMENT:1,NEW_DOCUMENT:2},html4.URIEFFECTS={"a::href":2,"area::href":2,"blockquote::cite":0,"body::background":1,"del::cite":0,"form::action":2,"img::src":1,"input::src":1,"ins::cite":0,"q::cite":0},html4.ltypes={UNSANDBOXED:2,SANDBOXED:1,DATA:0},html4.LOADERTYPES={"a::href":2,"area::href":2,"blockquote::cite":2,"body::background":1,"del::cite":2,"form::action":2,"img::src":1,"input::src":1,"ins::cite":2,"q::cite":2};var html=function(a){function x(b,c,d){var e=[];w(function(b,e){for(var f=0;f<e.length;f+=2){var g=e[f],h=e[f+1],i=null,j;if((j=b+"::"+g,a.ATTRIBS.hasOwnProperty(j))||(j="*::"+g,a.ATTRIBS.hasOwnProperty(j)))i=a.ATTRIBS[j];if(i!==null)switch(i){case a.atype.NONE:break;case a.atype.SCRIPT:case a.atype.STYLE:h=null;break;case a.atype.ID:case a.atype.IDREF:case a.atype.IDREFS:case a.atype.GLOBAL_NAME:case a.atype.LOCAL_NAME:case a.atype.CLASSES:h=d?d(h):h;break;case a.atype.URI:h=c&&c(h);break;case a.atype.URI_FRAGMENT:h&&"#"===h.charAt(0)?(h=d?d(h):h,h&&(h="#"+h)):h=null;break;default:h=null}else h=null;e[f+1]=h}return e})(b,e);return e.join("")}function w(b){var c,d;return v({startDoc:function(a){c=[],d=!1},startTag:function(e,f,g){if(!d){if(!a.ELEMENTS.hasOwnProperty(e))return;var h=a.ELEMENTS[e];if(h&a.eflags.FOLDABLE)return;if(h&a.eflags.UNSAFE){d=!(h&a.eflags.EMPTY);return}f=b(e,f);if(f){h&a.eflags.EMPTY||c.push(e),g.push("<",e);for(var i=0,j=f.length;i<j;i+=2){var k=f[i],l=f[i+1];l!==null&&l!==void 0&&g.push(" ",k,'="',r(l),'"')}g.push(">")}}},endTag:function(b,e){if(d)d=!1;else{if(!a.ELEMENTS.hasOwnProperty(b))return;var f=a.ELEMENTS[b];if(!(f&(a.eflags.UNSAFE|a.eflags.EMPTY|a.eflags.FOLDABLE))){var g;if(f&a.eflags.OPTIONAL_ENDTAG)for(g=c.length;--g>=0;){var h=c[g];if(h===b)break;if(!(a.ELEMENTS[h]&a.eflags.OPTIONAL_ENDTAG))return}else for(g=c.length;--g>=0;)if(c[g]===b)break;if(g<0)return;for(var i=c.length;--i>g;){var h=c[i];a.ELEMENTS[h]&a.eflags.OPTIONAL_ENDTAG||e.push("</",h,">")}c.length=g,e.push("</",b,">")}}},pcdata:function(a,b){d||b.push(a)},rcdata:function(a,b){d||b.push(a)},cdata:function(a,b){d||b.push(a)},endDoc:function(a){for(var b=c.length;--b>=0;)a.push("</",c[b],">");c.length=0}})}function v(c){return function(d,e){d=String(d);var f=null,g=!1,h=[],j=void 0,l=void 0,m=void 0;c.startDoc&&c.startDoc(e);while(d){var n=d.match(g?t:u);d=d.substring(n[0].length);if(g){if(n[1]){var o=b(n[1]),p;if(n[2]){var q=n[3];switch(q.charCodeAt(0)){case 34:case 39:q=q.substring(1,q.length-1)}p=k(i(q))}else p=o;h.push(o,p)}else if(n[4]){l!==void 0&&(m?c.startTag&&c.startTag(j,h,e):c.endTag&&c.endTag(j,e));if(m&&l&(a.eflags.CDATA|a.eflags.RCDATA)){f===null?f=b(d):f=f.substring(f.length-d.length);var r=f.indexOf("</"+j);r<0&&(r=d.length),l&a.eflags.CDATA?c.cdata&&c.cdata(d.substring(0,r),e):c.rcdata&&c.rcdata(s(d.substring(0,r)),e),d=d.substring(r)}j=l=m=void 0,h.length=0,g=!1}}else if(n[1])c.pcdata&&c.pcdata(n[0],e);else if(n[3])m=!n[2],g=!0,j=b(n[3]),l=a.ELEMENTS.hasOwnProperty(j)?a.ELEMENTS[j]:void 0;else if(n[4])c.pcdata&&c.pcdata(n[4],e);else if(n[5]&&c.pcdata)switch(n[5]){case"<":c.pcdata("&lt;",e);break;case">":c.pcdata("&gt;",e);break;default:c.pcdata("&amp;",e)}}c.endDoc&&c.endDoc(e)}}function s(a){return a.replace(m,"&amp;$1").replace(n,"&lt;").replace(o,"&gt;")}function r(a){return a.replace(l,"&amp;").replace(n,"&lt;").replace(o,"&gt;").replace(p,"&#34;").replace(q,"&#61;")}function k(a){return a.replace(j,g)}function i(a){return a.replace(h,"")}function g(a,b){return f(b)}function f(a){a=b(a);if(c.hasOwnProperty(a))return c[a];var f=a.match(d);if(f)return String.fromCharCode(parseInt(f[1],10));if(!!(f=a.match(e)))return String.fromCharCode(parseInt(f[1],16));return""}var b;"script"==="SCRIPT".toLowerCase()?b=function(a){return a.toLowerCase()}:b=function(a){return a.replace(/[A-Z]/g,function(a){return String.fromCharCode(a.charCodeAt(0)|32)})};var c={lt:"<",gt:">",amp:"&",nbsp:"240",quot:'"',apos:"'"},d=/^#(\d+)$/,e=/^#x([0-9A-Fa-f]+)$/,h=/\0/g,j=/&(#\d+|#x[0-9A-Fa-f]+|\w+);/g,l=/&/g,m=/&([^a-z#]|#(?:[^0-9x]|x(?:[^0-9a-f]|$)|$)|$)/gi,n=/</g,o=/>/g,p=/\"/g,q=/\=/g,t=new RegExp("^\\s*(?:(?:([a-z][a-z-]*)(\\s*=\\s*(\"[^\"]*\"|'[^']*'|(?=[a-z][a-z-]*\\s*=)|[^>\"'\\s]*))?)|(/?>)|[\\s\\S][^a-z\\s>]*)","i"),u=new RegExp("^(?:&(\\#[0-9]+|\\#[x][0-9a-f]+|\\w+);|<!--[\\s\\S]*?-->|<!\\w[^>]*>|<\\?[^>*]*>|<(/)?([a-z][a-z0-9]*)|([^<&>]+)|([<&>]))","i");return{escapeAttrib:r,makeHtmlSanitizer:w,makeSaxParser:v,normalizeRCData:s,sanitize:x,unescapeEntities:k}}(html4),html_sanitize=html.sanitize

// stop here if we're not in TiddlyWiki
// XXX: is this the correct way of checking for TiddlyWiki?
if (!window.TiddlyWiki || ! || !store instanceof TiddlyWiki) {

var tiddlyspace = config.extensions.tiddlyspace;

var _subWikify = Wikifier.prototype.subWikify;

var cleanedTitle = 'This section has been cleaned of any potentially harmful code';

var replaceFunctions = {
	html: function(w) {
		var sanitizedHTML, spanEl;
		this.lookaheadRegExp.lastIndex = w.matchStart;
		var lookaheadMatch = this.lookaheadRegExp.exec(w.source);
		if(lookaheadMatch && lookaheadMatch.index == w.matchStart) {
			sanitizedHTML = $.sanitize(lookaheadMatch[1]);
			spanEl = createTiddlyElement(w.output, 'span', null, 'sanitized');
			spanEl.innerHTML = sanitizedHTML;
			spanEl.setAttribute('title', cleanedTitle);
			w.nextMatch = this.lookaheadRegExp.lastIndex;
	customFormat: function(w) {
		switch(w.matchText) {
			case '@@':
				var e = createTiddlyElement(w.output, 'span');
				var styles = config.formatterHelpers.inlineCssHelper(w);
				if (styles.length === 0) {
					e.className = 'marked';
				w.subWikifyTerm(e, /(@@)/mg);
			case '{{':
				var lookaheadRegExp = /\{\{[\s]*([\w]+[\s\w]*)[\s]*\{(\n?)/mg;
				lookaheadRegExp.lastIndex = w.matchStart;
				var lookaheadMatch = lookaheadRegExp.exec(w.source);
				if(lookaheadMatch) {
					w.nextMatch = lookaheadRegExp.lastIndex;
					e = createTiddlyElement(w.output,lookaheadMatch[2] == "\n" ? "div" : "span",null,lookaheadMatch[1]);

Wikifier.prototype.subWikify = function(output, terminator) {
	var tid = this.tiddler,
		spaceName =,
		tidSpace, recipeName, stripped;
	try {
		recipeName = tid.fields['server.recipe'] ||
		tidSpace = tiddlyspace.resolveSpaceName(recipeName);
		if (tidSpace !== spaceName) {
			// external tiddler, so replace dangerous formatters
			stripped = stripHTML(tid, this.formatter);
	} catch(e) {
		// do nothing. There's no tiddler, so assume it's safe (?!?!?)

	_subWikify.apply(this, arguments);

	if (stripped) {
		// change back to the original function
		unstripHTML(stripped, this.formatter);

// replace potentially unsafe formatters with versions that strip bad HTML/CSS
var stripHTML = function(tid, formatter) {
	var popped = {}, _handler;
	for (var i = 0; i < formatter.formatters.length; i++) {
		var f = formatter.formatters[i];
		if (replaceFunctions[]) {
			_handler = f.handler;
			popped[] = _handler;
			f.handler = replaceFunctions[];

	return popped;

// put the original formatters back where they belong
var unstripHTML = function(stripped, formatter) {
	for (var i = 0; i < formatter.formatters.length; i++) {
		var f = formatter.formatters[i];
		if (stripped[]) {
			f.handler = stripped[];

|''Requires''|TiddlySpaceConfig TiddlySpaceFollowingPlugin|
(function($) {
var tiddlyspace = config.extensions.tiddlyspace;
var tsScan = config.macros.tsScan;

config.shadowTiddlers.SearchTemplate = "<<view server.bag SiteIcon label:no width:24 height:24 preserveAspectRatio:yes>> <<view server.bag spaceLink title external:no>> in space <<view server.bag spaceLink>>";
config.shadowTiddlers.StyleSheetSearch = [".resultsArea .siteIcon { display: inline; }",
	".searchForm {text-align: left;}"].join("\n");
store.addNotification("StyleSheetSearch", refreshStyles);

var search = config.macros.tsSearch = {
	locale: {
		advanced: "Advanced Options",
		header: "Search",
		resultsHeader: "Results (%0)",
		find: "find",
		noResults: "No tiddlers matched your search query",
		query: "QUERY: ",
		error: "please provide a search query or a tag, modifier or title!",
		titleAdvanced: "where the title is",
		modifierAdvanced: "where the last modifier is",
		spaceAdvanced: "only in the space: ",
		notspaceAdvanced: "but not in the spaces: ",
		tagsAdvanced: "with the tags: "
	andConstructor: function(container, label, fieldname, negationMode) {
		var tags = $("<div />").appendTo(container);
		$('<span />').text(label).appendTo(tags);
		var id = "area" + Math.random();
		container = $("<span />").attr("id", id).appendTo(tags)[0];
		function add(container) {
			var el = $('<input type="text" />').attr("field", fieldname).appendTo(container);
			if(negationMode) {
				el.attr("negation", "true");
		var el = $("<button />").text("AND").click(function(ev) {
		$(el).data("container", container);
	fieldConstructor: function(container, label, field) {
		container = $("<div />").appendTo(container)[0];
		$("<span />").text(label).appendTo(container);
		$("<input />").attr("text", "input").attr("field", field).appendTo(container);
	advancedOptions: function(form) {
		var locale = search.locale;
		var container = $("<div />").addClass("tsAdvancedOptions").appendTo(form)[0];
		$("<h2/ >").text(search.locale.advanced).appendTo(container);
		$("<div />").addClass("separator").appendTo(container);
		search.fieldConstructor(container, locale.titleAdvanced, "title");
		search.fieldConstructor(container, locale.modifierAdvanced, "modifier");
		search.fieldConstructor(container, locale.spaceAdvanced, "space");
		search.andConstructor(container, locale.notspaceAdvanced, "space", true);
		search.andConstructor(container, locale.tagsAdvanced, "tag");
	constructSearchQuery: function(form) {
		var data = [], select = [];
		var query = $("[name=q]", form).val();
		if(query) {

		// add tags, fields etc..
		$("[field]", form).each(function(i, el) {
			var val = $(el).val();
			var name = $(el).attr("field");
			var negate = $(el).attr("negation") == "true";
			if(val && name) {
				val = encodeURIComponent(val);
				val = negate ? "!" + val : val;
				if(name == "space") {
					val += "_public";
					name = "bag";
				if(negate) {
				} else {
					var prefix = data.length === 0 ? "q=" : "";
					data.push('%0%1:"%2"'.format(prefix, name, val));
		var dataString = data.join(" ");
		if(dataString.length === 0 && !query) {
			return false;
		var selectStatement = select.join("&");
		if(dataString.length > 0 && selectStatement.length > 0) {
			dataString += "&";
		dataString += selectStatement;
		return "/search?%0".format(dataString);
	constructForm: function(place) {
		var locale = search.locale;
		$("<h1 />").text(locale.header).appendTo(place);
		var form = $("<form />").appendTo(place)[0];
		$('<input type="text" name="q" />').appendTo(form);
		$('<input type="submit" />').val(locale.find).appendTo(form);
		var query = $('<h2 class="query"/>').appendTo(place)[0];
		var results = $("<div />").appendTo(place).addClass("resultsArea")[0];
		var lookup = function(url) {
			if(!url) {
			config.extensions.tiddlyweb.getStatus(function(status) {
				var href = status.server_host.url + url;
				$("<a />").attr("href", href).text(href).appendTo(query);
				tsScan.scan(results, { url: url, emptyMessage: search.locale.noResults, cache: true,
					template: "SearchTemplate", sort: "title", callback: function(tiddlers) {
						$("<h2 />").text(locale.resultsHeader.format(tiddlers.length)).prependTo(results);
		$(form).submit(function(ev) {
			var url = search.constructSearchQuery(form);
			config.macros.tsSearch.lastSearch = url;
		if(search.lastSearch) {
		return form;
	handler: function(place) {
		var container = $("<div />").addClass("searchForm").appendTo(place)[0];

<<groupBy server.bag>>

<<list filter [is[private]]>>

<<list filter [is[public]]>>

<<list filter [is[draft]]>>
|''Author''|Jon Robson|
|''Description''|Provides ability to render SiteIcons and icons that correspond to the home location of given tiddlers|
|''Requires''|TiddlySpaceConfig BinaryTiddlersPlugin ImageMacroPlugin TiddlySpacePublishingCommands|
{{{<<tiddlerOrigin>>}}} shows the origin of the tiddler it is being run on.
In TiddlySpace terms this means it will determine whether the tiddler is external, public or private.
Where private it will analyse whether a public version exists and distinguish between the different scenarios.
If a tiddler is external, the SiteIcon of that external space will be shown

width / height : define a width or height of the outputted icon
label: if label parameter is set to yes, a label will accompany the icon.
(function($) {

if(!config.macros.image) {
	throw "Missing dependency: ImageMacroPlugin";

var imageMacro = config.macros.image;
var tiddlyspace = config.extensions.tiddlyspace;
var tweb = config.extensions.tiddlyweb;
var cmds = config.commands;
var cmd = cmds.publishTiddler;
tiddlyspace.resolveSpaceName = function(value) {
	var endsWith = config.extensions.BinaryTiddlersPlugin.endsWith;
	if(value) {
		value = value.indexOf("bags/") === 0 ? value.substr(5) : value;
		value = value.indexOf("recipes/") === 0 ? value.substr(8) : value;
		if(value.indexOf("@") === 0) {
			value = value.substr(1);
		if(endsWith(value, "_public")) {
			value = value.substr(0, value.length - 7);
		} else if(endsWith(value, "_private")) {
			value = value.substr(0, value.length - 8);
		value = value.toLowerCase();
	return value;

tiddlyspace.renderAvatar = function(place, value, options) {
	options = options ? options : {};
	options.labelOptions = options.labelOptions ? options.labelOptions : { include: false, height: 48, width: 48 };
	options.imageOptions = options.imageOptions ? options.imageOptions : {};
	options.imageOptions.altImage = "/bags/common/tiddlers/defaultUserIcon";
	var container = $('<div class="siteIcon" />').appendTo(place);
	value = tiddlyspace.resolveSpaceName(value);

	tweb.getStatus(function(status) {
		var link, noLabel;
		if(!value || value == config.views.wikified.defaultModifier ||
			value == config.views.wikified.shadowModifier) {
			var icon = config.views.wikified.shadowModifier == value ? "shadowIcon" : "missingIcon";
			if(store.tiddlerExists(icon)) {
				imageMacro.renderImage(container, icon, options.imageOptions);
			} else {
				noLabel = true;
		} else {
			var spaceURI;
			if(value != {
				spaceURI = options.notSpace ? tiddlyspace.getHost(status.server_host) :
					tiddlyspace.getHost(status.server_host, value);
			link = spaceURI ? $("<a />").attr("href", spaceURI) : $("<span />");

			var imageOptions = options.imageOptions;
			if(options.spaceLink && ! { = spaceURI;
			var avatar = options.notSpace ? false : value;
			var uri = tiddlyspace.getAvatar(status.server_host, avatar);
			imageMacro.renderImage(container, uri, options.imageOptions);
			if(!value) {
				value = "tiddlyspace";
		if(!noLabel && options.labelOptions.include) {
			var prefix = $("<span />").text(options.labelOptions.prefix || "")[0];
			var suffix = $("<span />").text(options.labelOptions.suffix || "")[0];
			$('<div class="label" />').append(prefix).append(link).
	if(value) {
		var prefix = options.labelOptions.prefix || "";
		var suffix = options.labelOptions.suffix || "";
		var label = "%0%1%2".format(prefix, value, suffix);
		$(container).attr("title", label);

var originMacro = config.macros.tiddlerOrigin = {
	locale: {
		"shadow": "shadow tiddler",
		"missing": "missing tiddler",
		"private": "private",
		"unknown": "unknown state",
		"public": "public",
		"unsyncedPrivate": "unsynced and private",
		"unsyncedPublic": "unsynced and public",
		externalPrefix: "from ",
		externalBagSuffix: " bag",
		externalSuffix: " space",
		publishPrivateDeletePrivate: "Are you sure you want to make this tiddler public?",
		moveToPrivate: "Are you sure you want to make this tiddler private? Only members will be able to see it.",
		pleaseWait: "please wait..",
		keepPublic: "keep public",
		cannotPublishDirtyTiddler: "The current tiddler is unsaved so cannot be published. Please save the tiddler first.",
		keepPrivate: "keep private",
		makePublic: "make public",
		makePrivate: "make private"
	handler: function(place, macroName, params,wikifier, paramString, tiddler){
		var adaptor = tiddler.getAdaptor();
		var btn = $("<div />").addClass("originButton").attr("params", paramString).
			attr("refresh", "macro").attr("macroName", macroName).appendTo(place)[0];
		$(btn).data("tiddler", tiddler);
	refresh: function(btn) {
		var paramString = $(btn).attr("params");
		var tiddler = $(btn).data("tiddler");
		var options = originMacro.getOptions(paramString);
		var type = tiddlyspace.getTiddlerStatusType(tiddler);
		originMacro.renderIcon(tiddler, type, btn, options);
	getOptions: function(paramString) {
		paramString = "%0 label:no width:48 height:48 spaceLink:yes preserveAspectRatio:yes".format(paramString);
		var parsedParams = paramString.parseParams("name");
		var params = parsedParams[0].name;
		var options = {
			labelOptions: originMacro._getLabelOptions(parsedParams),
			imageOptions: imageMacro.getArguments(paramString, []),
			noclick: parsedParams[0].interactive &&
				parsedParams[0].interactive[0] == "no" ? true : false
		if(!options.noclick) {
			var spaceLink = parsedParams[0].spaceLink;
			options.spaceLink = spaceLink && spaceLink[0] == "no" ? false : true;
		} else {
			options.spaceLink = false;
		return options;
	_getLabelOptions: function(parsedParams) {
		parsedParams = parsedParams[0];
		var includeLabel = !parsedParams.label || ( parsedParams.label && parsedParams.label[0] == "yes" );
		var prefix = parsedParams.labelPrefix ? parsedParams.labelPrefix[0] : false;
		var suffix = parsedParams.labelSuffix ? parsedParams.labelSuffix[0] : false;
		return { include: includeLabel, suffix: suffix, prefix: prefix };
	_isSpace: function(value) {
		value = value ? value : "";
		var endsWith = config.extensions.BinaryTiddlersPlugin.endsWith;
		if(endsWith(value, "_private") || endsWith(value, "_public")) {
			return true;
		} else {
			return false;
	renderIcon: function(tiddler, type, button, options) {
		var locale = originMacro.locale;
		originMacro.annotateTiddler(button, type);
		if(type != "external") {
			originMacro.showPrivacyRoundel(tiddler, type, button,
		} else {
			var prefix = options.labelOptions.prefix, suffix = options.labelOptions.suffix;
			var space = tiddler.fields["server.bag"];
			options.notSpace = !originMacro._isSpace(space);
			options.labelOptions.prefix = prefix ? prefix : locale.externalPrefix;
			options.labelOptions.suffix = suffix ? suffix : (options.notSpace ? locale.externalBagSuffix : locale.externalSuffix);

			tiddlyspace.renderAvatar(button, space, options);
	showPrivacyRoundel: function(thisTiddler, privacyType, button, options) {
		// there is a public tiddler as well as the current tiddler!
		// TODO: not this is not enough.. we also need to check if the public tiddler is the same as..
		// .. the private tiddler to determine whether this is a draft
		// use of hashes would be useful here.
		var icon = "%0Icon".format(privacyType);
		if(privacyType.indexOf("unsynced") === 0 && !store.tiddlerExists(icon)) {
			icon = "unsyncedIcon";
		if(privacyType == "shadow") {
			if(!store.tiddlerExists(icon)) {
				icon = "bags/tiddlyspace/tiddlers/SiteIcon";
		if(privacyType == "missing" && !store.tiddlerExists(icon)) {
			return; // the user is not making use of the missingIcon
		} else {
			imageMacro.renderImage(button, icon, options.imageOptions);
			originMacro.showLabel(button, privacyType, options.labelOptions);
			var cmd = originMacro.iconCommands[privacyType];
			if(cmd && thisTiddler && !options.noclick) {
				$(button).click(function(ev) {
					cmd(ev, thisTiddler);
	annotateTiddler: function(place, type) {
		var tidEl = $(story.findContainingTiddler(place));
			removeClass("private public external privateAndPublic privateNotPublic shadow").
	showLabel: function(button, type, options) {
		var locale = originMacro.locale;
		var label = options.label ? options.label : locale[type];
		label = label ? label : locale.unknown;
		if(options && options.include) {
			$('<div class="roundelLabel" />').html(label).appendTo(button);
		$(button).attr("title", label);
	confirm: function(ev, msg, onYes, options) {
		options = options ? options : {};
		onYes = onYes ? onYes : function(ev) {};
		var btn = $(".originButton", $([0];
		var popup = Popup.create(btn);
		$("<div />").addClass("message").text(msg).appendTo(popup);
		$("<button />").addClass("button").text(options.yesLabel || "yes").appendTo(popup).click(onYes);
		$("<button />").addClass("button").text(options.noLabel || "no").click(function(ev) {
		return false;
	alert: function(ev, msg) {
		var popup = Popup.create(;
		$(popup).addClass("confirmationPopup alert");
		$("<div />").addClass("message").text(msg).appendTo(popup);;
	reportDirty: function(el) {
		originMacro.alert(el, originMacro.locale.cannotPublishDirtyTiddler);
	iconCommands: {
		"public": function(ev, tiddler) {
			if(!readOnly) {
				var locale = originMacro.locale;
				var msg = locale.moveToPrivate;
				if(story.isDirty(tiddler.title)) {
				} else {
					originMacro.confirm(ev, msg, function(ev) {
						var target = $(;
						var onComplete = function(info) {};
						var privateBag = cmd.toggleBag(tiddler, "private");
						cmd.moveTiddler(tiddler, {
							title: tiddler.title,
							fields: { "server.bag": privateBag }
						}, onComplete);
					}, { yesLabel: locale.makePrivate, noLabel: locale.keepPublic });
		"private": function(ev, tiddler) {
			if(!readOnly) {
				var locale = originMacro.locale;
				var adaptor = tiddler.getAdaptor();
				var publishTo = tiddler.fields[""] || tiddler.title;
				var workspace = "bags/%0".format(tiddler.fields["server.bag"]);
				tiddler.fields["server.workspace"] = workspace;
				var publicBag = cmd.toggleBag(tiddler, "public");
				var msg;
				msg = locale.publishPrivateDeletePrivate;
				var title = tiddler.title;
				var newTitle = publishTo || tiddler.title;
				tiddler.fields[""] = "false";
				if(story.isDirty(tiddler.title)) {
				} else {
					originMacro.confirm(ev, msg, function(ev) {
						var onComplete = function(info) {};
						cmd.moveTiddler(tiddler, {
							title: newTitle,
							fields: { "server.bag": publicBag }
						}, onComplete);
					}, { yesLabel: locale.makePublic, noLabel: locale.keepPrivate });

|''Description''|augments tiddler toolbar commands with SVG icons|
|''Keywords''|toolbar icons SVG|
replaces tiddler toolbar commands with SVG icons if available
requires [[ImageMacroPlugin|]]

SVG icons are drawn from tiddlers titled {{{<command>.svg}}}
In readonly mode a tiddler called {{{<command>ReadOnly.svg}}} will be used if it exists.
* rename (IconToolbarPlugin?)
* support more than one more popup menu in the toolbar.
(function($) {

if(!config.macros.image) {
	throw "Missing dependency: ImageMacroPlugin";

var macro = config.macros.toolbar;

macro.icons = {
	cloneTiddler: "editTiddler"

var _handler = macro.handler;
macro.handler = function(place, macroName, params, wikifier,
		paramString, tiddler) {
	var toolbar = $(place);
		refresh: "macro",
		macroName: macroName
	}).data("args", arguments);
	var status = _handler.apply(this, arguments);
	if(tiddler.isReadOnly()) {
	} else {
	var parsedParams = paramString.parseParams("name")[0];
	if(parsedParams.icons && parsedParams.icons == "yes") {
	if(parsedParams.more && parsedParams.more == "popup") {
		// note we must override the onclick event like in createTiddlyButton
		// otherwise the click event is the popup AND the slider
		$(".moreCommand", place).each(function(i, el) {
			el.onclick = macro.onClickMorePopUp;
		// buttons that are after a less command should not be in more menu.
		$(".lessCommand ~ .button", place).appendTo(place);
		$(".lessCommand", place).remove();
	return status;

macro.refresh = function(place, params) {
	var args = $(place).empty().data("args");
	this.handler.apply(this, args);

var imageMacro = config.macros.image;
macro.augmentCommandButtons = function(toolbar) {
	$(".button", toolbar).each(function(i, el) {
		var cmd = $(el).attr("commandname");
		cmd = cmd ? cmd : "moreCommand"; // XXX: special-casing of moreCommand due to ticket #1234
		var icon = store.tiddlerExists(cmd) ? cmd : macro.icons[cmd];
		var text = $(el).text();
		if(readOnly) {
			var readOnlyAlternative = "%0ReadOnly".format([icon]);
			if(store.tiddlerExists(readOnlyAlternative)) {
				icon = readOnlyAlternative;
		if(store.tiddlerExists(icon)) {
			$(el).css({display: "inline-block"}).empty();
			imageMacro.renderImage(el, icon, { alt: text });

// provide onClickMore to provide extra commands in a popup
macro.onClickMorePopUp = function(ev) {
	ev = ev || window.event;
	var sibling = this.nextSibling;
	if(sibling) {
		var commands = sibling.childNodes;
		var popup = Popup.create(this);
		for(var i = 0; i < commands.length; i++) {
			var li = createTiddlyElement(popup, "li", null);
			var oldCommand = commands[i];
			var command = oldCommand.cloneNode(true);
			command.onclick = oldCommand.onclick;
	ev.cancelBubble = true;
	if(ev.stopPropagation) {
	return false;

|''Description''|Provides TiddlySpace specific view types|
|''Author''|Jon Robson|
|''Requires''|TiddlySpaceConfig TiddlySpaceTiddlerIconsPlugin|
Provides replyLink, spaceLink and SiteIcon view types.
!!SiteIcon view parameters
* labelPrefix / labelSuffix : prefix or suffix the label with additional text. eg. labelPrefix:'modified by '
* spaceLink: if set to "yes" will make any avatars link to the corresponding space. {{{<<originMacro spaceLink:yes>>}}}

(function($) {

var tiddlyspace = config.extensions.tiddlyspace;
var originMacro = config.macros.tiddlerOrigin;
var tweb = config.extensions.tiddlyweb;

config.macros.view.replyLink = {
	locale: {
		label: "Reply to this tiddler"

var _replyButtons = [];
var _replyInitialised, _replyScriptLoaded;
config.macros.view.views.replyLink = function(value, place, params, wikifier,
		paramString, tiddler) {
	var valueField = params[0];
	var imported;
	if(valueField == "title") { // special casing for imported tiddlers
		var localTitle = tiddler.title;
		var serverTitle = tiddler.fields["server.title"];
		if(serverTitle && localTitle != serverTitle) {
			value = serverTitle ? serverTitle : localTitle;
			imported = true;
	} else {
		title = tiddler[valueField] ? tiddler[valueField] : tiddler.fields[valueField];
	var args = paramString.parseParams("anon")[0];
	var label = (args.label) ? args.label : config.macros.view.replyLink.locale.label;
	var space;
	if(tiddler) {
		var bag = tiddler.fields["server.bag"];
		space = tiddlyspace.resolveSpaceName(bag);
	var container = $('<span class="replyLink" />').appendTo(place)[0];

	tweb.getUserInfo(function(user) {
		if ((!user.anon) && ((space && != space && != || imported)) {
			var link = $("<a />")

			if(typeof(createReplyButton) === "undefined") {
			if(_replyInitialised) {
			} else if(!_replyScriptLoaded) {
				_replyScriptLoaded = true;
					function() {
						_replyInitialised = true;
						for(var i = 0; i < _replyButtons.length; i++) {
						_replyButtons = [];


config.macros.view.views.spaceLink = function(value, place, params, wikifier,
		paramString, tiddler) {
		var spaceName = tiddlyspace.resolveSpaceName(value);
		var isBag = params[0] == "server.bag" && value === spaceName ? true : false;
		var args = paramString.parseParams("anon")[0];
		var titleField = args.anon[2];
		var labelField = args.labelField ? args.labelField[0] : false;
		var label;
		if(labelField) {
			label = tiddler[labelField] ? tiddler[labelField] : tiddler.fields[labelField];
		} else {
			label = args.label ? args.label[0] : false;
		var title = tiddler[titleField] ? tiddler[titleField] : tiddler.fields[titleField];

		var link = createSpaceLink(place, spaceName, title, label, isBag);
		if(args.external && args.external[0] == "no") {
			$(link).click(function(ev) {
				var el = $(;
				var title = el.attr("tiddler");
				var bag = el.attr("bag");
				var space = el.attr("tiddlyspace");
				bag = space ? space + "_public" : bag;
				if(title && bag) {
					tiddlyspace.displayServerTiddler(el[0], title,
						"bags/" + bag);
				return false;

config.macros.view.views.SiteIcon = function(value, place, params, wikifier,
		paramString, tiddler) {
	var options = originMacro.getOptions(paramString);
	if(!tiddler || value == "None") { // some core tiddlers lack modifier
		value = false;
	var field = params[0];
	if(field == "server.bag") {
		options.notSpace = !originMacro._isSpace(value);
	tiddlyspace.renderAvatar(place, value, options);

|''Description''|adaptor for interacting with TiddlyWeb|
|''Contributors''|Chris Dent, Martin Budden|
|''Keywords''|serverSide TiddlyWeb|
This plugin includes [[jQuery JSON|]].
!To Do
* createWorkspace
* document custom/optional context attributes (e.g. filters, query, revision) and tiddler fields (e.g. server.title, origin)
(function($) {

var adaptor = config.adaptors.tiddlyweb = function() {};

adaptor.prototype = new AdaptorBase();
adaptor.serverType = "tiddlyweb";
adaptor.serverLabel = "TiddlyWeb";
adaptor.mimeType = "application/json";

adaptor.parsingErrorMessage = "Error parsing result from server";
adaptor.noBagErrorMessage = "no bag specified for tiddler";
adaptor.locationIDErrorMessage = "no bag or recipe specified for tiddler"; // TODO: rename

// retrieve current status (requires TiddlyWeb status plugin)
adaptor.prototype.getStatus = function(context, userParams, callback) {
	context = this.setContext(context, userParams, callback);
	var uriTemplate = "%0/status";
	var uri = uriTemplate.format([]);
	var req = httpReq("GET", uri, adaptor.getStatusCallback, context,
		null, null, null, null, null, true);
	return typeof req == "string" ? req : true;

adaptor.getStatusCallback = function(status, context, responseText, uri, xhr) {
	context.status = responseText ? status : false;
	try {
		context.statusText = xhr.statusText;
	} catch(exc) { // offline (Firefox)
		context.status = false;
		context.statusText = null;
	context.httpStatus = xhr.status;
	if(context.status) {
		context.serverStatus = $.evalJSON(responseText); // XXX: error handling!?
	if(context.callback) {
		context.callback(context, context.userParams);

// retrieve a list of workspaces
adaptor.prototype.getWorkspaceList = function(context, userParams, callback) {
	context = this.setContext(context, userParams, callback);
	context.workspaces = [];
	var uriTemplate = "%0/recipes"; // XXX: bags?
	var uri = uriTemplate.format([]);
	var req = httpReq("GET", uri, adaptor.getWorkspaceListCallback,
		context, { accept: adaptor.mimeType }, null, null, null, null, true);
	return typeof req == "string" ? req : true;

adaptor.getWorkspaceListCallback = function(status, context, responseText, uri, xhr) {
	context.status = status;
	context.statusText = xhr.statusText;
	context.httpStatus = xhr.status;
	if(status) {
		try {
			var workspaces = $.evalJSON(responseText);
		} catch(ex) {
			context.status = false; // XXX: correct?
			context.statusText = exceptionText(ex, adaptor.parsingErrorMessage);
			if(context.callback) {
				context.callback(context, context.userParams);
		context.workspaces = { return { title: itm }; });
	if(context.callback) {
		context.callback(context, context.userParams);

// retrieve a list of tiddlers
adaptor.prototype.getTiddlerList = function(context, userParams, callback) {
	context = this.setContext(context, userParams, callback);
	var uriTemplate = "%0/%1/%2/tiddlers%3";
	var params = context.filters ? "?" + context.filters : "";
	if(context.format) {
		params = context.format + params;
	var workspace = adaptor.resolveWorkspace(context.workspace);
	var uri = uriTemplate.format([, workspace.type + "s",
		adaptor.normalizeTitle(, params]);
	var req = httpReq("GET", uri, adaptor.getTiddlerListCallback,
		context, merge({ accept: adaptor.mimeType }, context.headers), null, null, null, null, true);
	return typeof req == "string" ? req : true;

adaptor.getTiddlerListCallback = function(status, context, responseText, uri, xhr) {
	context.status = status;
	context.statusText = xhr.statusText;
	context.httpStatus = xhr.status;
	if(status) {
		context.tiddlers = [];
		try {
			var tiddlers = $.evalJSON(responseText); //# NB: not actual tiddler instances
		} catch(ex) {
			context.status = false; // XXX: correct?
			context.statusText = exceptionText(ex, adaptor.parsingErrorMessage);
			if(context.callback) {
				context.callback(context, context.userParams);
		for(var i = 0; i < tiddlers.length; i++) {
			var tiddler = adaptor.toTiddler(tiddlers[i],;
	if(context.callback) {
		context.callback(context, context.userParams);

// perform global search
adaptor.prototype.getSearchResults = function(context, userParams, callback) {
	context = this.setContext(context, userParams, callback);
	var uriTemplate = "%0/search?q=%1%2";
	var filterString = context.filters ? ";" + context.filters : "";
	var uri = uriTemplate.format([, context.query, filterString]); // XXX: parameters need escaping?
	var req = httpReq("GET", uri, adaptor.getSearchResultsCallback,
		context, { accept: adaptor.mimeType }, null, null, null, null, true);
	return typeof req == "string" ? req : true;

adaptor.getSearchResultsCallback = function(status, context, responseText, uri, xhr) {
	adaptor.getTiddlerListCallback(status, context, responseText, uri, xhr); // XXX: use apply?

// retrieve a particular tiddler's revisions
adaptor.prototype.getTiddlerRevisionList = function(title, limit, context, userParams, callback) {
	context = this.setContext(context, userParams, callback);
	var uriTemplate = "%0/%1/%2/tiddlers/%3/revisions";
	var workspace = adaptor.resolveWorkspace(context.workspace);
	var uri = uriTemplate.format([, workspace.type + "s",
		adaptor.normalizeTitle(, adaptor.normalizeTitle(title)]);
	var req = httpReq("GET", uri, adaptor.getTiddlerRevisionListCallback,
		context, merge({ accept: adaptor.mimeType }, context.headers), null, null, null, null, true);
	return typeof req == "string" ? req : true;

adaptor.getTiddlerRevisionListCallback = function(status, context, responseText, uri, xhr) {
	context.status = status;
	context.statusText = xhr.statusText;
	context.httpStatus = xhr.status;
	if(status) {
		context.revisions = [];
		try {
			var tiddlers = $.evalJSON(responseText); //# NB: not actual tiddler instances
		} catch(ex) {
			context.status = false; // XXX: correct?
			context.statusText = exceptionText(ex, adaptor.parsingErrorMessage);
			if(context.callback) {
				context.callback(context, context.userParams);
		for(var i = 0; i < tiddlers.length; i++) {
			var tiddler = adaptor.toTiddler(tiddlers[i],;
		var sortField = "";
		context.revisions.sort(function(a, b) {
			return a.fields[sortField] < b.fields[sortField] ? 1 :
				(a.fields[sortField] == b.fields[sortField] ? 0 : -1);
	if(context.callback) {
		context.callback(context, context.userParams);

// retrieve an individual tiddler revision -- XXX: breaks with standard arguments list -- XXX: convenience function; simply use getTiddler?
adaptor.prototype.getTiddlerRevision = function(title, revision, context, userParams, callback) {
	context = this.setContext(context, userParams, callback);
	context.revision = revision;
	return this.getTiddler(title, context, userParams, callback);

// retrieve an individual tiddler
//# context is an object with members host and workspace
//# callback is passed the new context and userParams
adaptor.prototype.getTiddler = function(title, context, userParams, callback) {
	context = this.setContext(context, userParams, callback);
	context.title = title;
	if(context.revision) {
		var uriTemplate = "%0/%1/%2/tiddlers/%3/revisions/%4";
	} else {
		uriTemplate = "%0/%1/%2/tiddlers/%3";
	if(!context.tiddler) {
		context.tiddler = new Tiddler(title);
	context.tiddler.fields["server.type"] = adaptor.serverType;
	context.tiddler.fields[""] = AdaptorBase.minHostName(;
	context.tiddler.fields["server.workspace"] = context.workspace;
	var workspace = adaptor.resolveWorkspace(context.workspace);
	var uri = uriTemplate.format([, workspace.type + "s",
		adaptor.normalizeTitle(, adaptor.normalizeTitle(title),
	var req = httpReq("GET", uri, adaptor.getTiddlerCallback, context,
		merge({ accept: adaptor.mimeType }, context.headers), null, null, null, null, true);
	return typeof req == "string" ? req : true;

adaptor.getTiddlerCallback = function(status, context, responseText, uri, xhr) {
	context.status = status;
	context.statusText = xhr.statusText;
	context.httpStatus = xhr.status;
	if(status) {
		try {
			var tid = $.evalJSON(responseText);
		} catch(ex) {
			context.status = false;
			context.statusText = exceptionText(ex, adaptor.parsingErrorMessage);
			if(context.callback) {
				context.callback(context, context.userParams);
		var tiddler = adaptor.toTiddler(tid,;
		tiddler.title = context.tiddler.title;
		tiddler.fields["server.etag"] = xhr.getResponseHeader("Etag");
		// normally we'd assign context.tiddler = tiddler here - but we can't do
		// that because of IE, which triggers getTiddler in putTiddlerCallback,
		// and since ServerSideSavingPlugin foolishly relies on persistent
		// object references, we need to merge the data into the existing object
		$.extend(context.tiddler, tiddler);
	if(context.callback) {
		context.callback(context, context.userParams);

// retrieve tiddler chronicle (all revisions)
adaptor.prototype.getTiddlerChronicle = function(title, context, userParams, callback) {
	context = this.setContext(context, userParams, callback);
	context.title = title;
	var uriTemplate = "%0/%1/%2/tiddlers/%3/revisions?fat=1";
	var workspace = adaptor.resolveWorkspace(context.workspace);
	var uri = uriTemplate.format([, workspace.type + "s",
		adaptor.normalizeTitle(, adaptor.normalizeTitle(title)]);
	var req = httpReq("GET", uri, adaptor.getTiddlerChronicleCallback,
		context, { accept: adaptor.mimeType }, null, null, null, null, true);
	return typeof req == "string" ? req : true;

adaptor.getTiddlerChronicleCallback = function(status, context, responseText, uri, xhr) {
	context.status = status;
	context.statusText = xhr.statusText;
	context.httpStatus = xhr.status;
	if(status) {
		context.responseText = responseText;
	if(context.callback) {
		context.callback(context, context.userParams);

// store an individual tiddler
adaptor.prototype.putTiddler = function(tiddler, context, userParams, callback) {
	context = this.setContext(context, userParams, callback);
	context.title = tiddler.title;
	context.tiddler = tiddler; = || this.fullHostName(tiddler.fields[""]);
	var uriTemplate = "%0/%1/%2/tiddlers/%3";
	try {
		context.workspace = context.workspace || tiddler.fields["server.workspace"];
		var workspace = adaptor.resolveWorkspace(context.workspace);
	} catch(ex) {
		return adaptor.locationIDErrorMessage;
	var uri = uriTemplate.format([, workspace.type + "s",
	var etag = adaptor.generateETag(workspace, tiddler);
	var headers = etag ? { "If-Match": etag } : null;
	var payload = {
		type: tiddler.fields["server.content-type"] || null,
		text: tiddler.text,
		tags: tiddler.tags,
		fields: $.extend({}, tiddler.fields)
	delete payload.fields.changecount;
	$.each(payload.fields, function(key, value) {
		if(key.indexOf("server.") == 0) {
			delete payload.fields[key];
	payload = $.toJSON(payload);
	var req = httpReq("PUT", uri, adaptor.putTiddlerCallback,
		context, headers, payload, adaptor.mimeType, null, null, true);
	return typeof req == "string" ? req : true;

adaptor.putTiddlerCallback = function(status, context, responseText, uri, xhr) {
	context.status = [204, 1223].contains(xhr.status);
	context.statusText = xhr.statusText;
	context.httpStatus = xhr.status;
	if(context.status) {
		var loc = xhr.getResponseHeader("Location");
		var etag = xhr.getResponseHeader("Etag");
		if(loc && etag) {
			var bag = loc.split("/bags/").pop().split("/")[0];
			context.tiddler.fields["server.bag"] = bag;
			context.tiddler.fields["server.workspace"] = "bags/" + bag;
			var rev = etag.split("/").pop().split(/;|:/)[0];
			context.tiddler.fields[""] = rev;
			context.tiddler.fields["server.etag"] = etag;
			if(context.callback) {
				context.callback(context, context.userParams);
		} else { // IE
			context.adaptor.getTiddler(context.tiddler.title, context,
				context.userParams, context.callback);
	} else if(context.callback) {
		context.callback(context, context.userParams);

// store a tiddler chronicle
adaptor.prototype.putTiddlerChronicle = function(revisions, context, userParams, callback) {
	context = this.setContext(context, userParams, callback);
	context.title = revisions[0].title;
	var headers = null;
	var uriTemplate = "%0/%1/%2/tiddlers/%3/revisions";
	var host = || this.fullHostName(tiddler.fields[""]);
	var workspace = adaptor.resolveWorkspace(context.workspace);
	var uri = uriTemplate.format([host, workspace.type + "s",
	if(workspace.type == "bag") { // generate ETag
		var etag = [adaptor.normalizeTitle(,
			adaptor.normalizeTitle(context.title), 0].join("/"); //# zero-revision prevents overwriting existing contents
		headers = { "If-Match": '"' + etag + '"' };
	var payload = $.toJSON(revisions);
	var req = httpReq("POST", uri, adaptor.putTiddlerChronicleCallback,
		context, headers, payload, adaptor.mimeType, null, null, true);
	return typeof req == "string" ? req : true;

adaptor.putTiddlerChronicleCallback = function(status, context, responseText, uri, xhr) {
	context.status = [204, 1223].contains(xhr.status);
	context.statusText = xhr.statusText;
	context.httpStatus = xhr.status;
	if(context.callback) {
		context.callback(context, context.userParams);

// store a collection of tiddlers (import TiddlyWiki HTML store)
adaptor.prototype.putTiddlerStore = function(store, context, userParams, callback) {
	context = this.setContext(context, userParams, callback);
	var uriTemplate = "%0/%1/%2/tiddlers";
	var host =;
	var workspace = adaptor.resolveWorkspace(context.workspace);
	var uri = uriTemplate.format([host, workspace.type + "s",
	var req = httpReq("POST", uri, adaptor.putTiddlerStoreCallback,
		context, null, store, "text/x-tiddlywiki", null, null, true);
	return typeof req == "string" ? req : true;

adaptor.putTiddlerStoreCallback = function(status, context, responseText, uri, xhr) {
	context.status = [204, 1223].contains(xhr.status);
	context.statusText = xhr.statusText;
	context.httpStatus = xhr.status;
	if(context.callback) {
		context.callback(context, context.userParams);

// rename an individual tiddler or move it to a different workspace -- TODO: make {from|to}.title optional
//# from and to are objects with members title and workspace (bag; optional),
//# representing source and target tiddler, respectively
adaptor.prototype.moveTiddler = function(from, to, context, userParams, callback) { // XXX: rename parameters (old/new)?
	var self = this;
	var newTiddler = store.getTiddler(from.title) || store.getTiddler(to.title); //# local rename might already have occurred
	var oldTiddler = $.extend(true, {}, newTiddler); //# required for eventual deletion
	oldTiddler.title = from.title; //# required for original tiddler's ETag
	var _getTiddlerChronicle = function(title, context, userParams, callback) {
		return self.getTiddlerChronicle(title, context, userParams, callback);
	var _putTiddlerChronicle = function(context, userParams) {
		if(!context.status) {
			return callback(context, userParams);
		var revisions = $.evalJSON(context.responseText); // XXX: error handling?
		// change current title while retaining previous location
		for(var i = 0; i < revisions.length; i++) {
			delete revisions[i].revision;
			if(!revisions[i].fields.origin) { // NB: origin = "<workspace>/<title>"
				revisions[i].fields.origin = ["bags", revisions[i].bag, revisions[i].title].join("/");
			revisions[i].title = to.title;
		// add new revision
		var rev = $.extend({}, revisions[0]);
		$.each(newTiddler, function(i, item) {
			if(!$.isFunction(item)) {
				rev[i] = item;
		rev.title = to.title;
		rev.created = rev.created.convertToYYYYMMDDHHMM();
		rev.modified = new Date().convertToYYYYMMDDHHMM();
		delete rev.fields.changecount;
		if(to.workspace) {
			context.workspace = to.workspace;
		} else if(context.workspace.substring(0, 4) != "bags") { // NB: target workspace must be a bag
			context.workspace = "bags/" + rev.bag;
		var subCallback = function(context, userParams) {
			if(!context.status) {
				return callback(context, userParams);
			context.adaptor.getTiddler(newTiddler.title, context, userParams, _deleteTiddler);
		return self.putTiddlerChronicle(revisions, context, context.userParams, subCallback);
	var _deleteTiddler = function(context, userParams) {
		if(!context.status) {
			return callback(context, userParams);
		$.extend(true, newTiddler, context.tiddler);
		context.callback = null;
		return self.deleteTiddler(oldTiddler, context, context.userParams, callback);
	callback = callback || function() {};
	context = this.setContext(context, userParams); = || oldTiddler.fields[""];
	context.workspace = from.workspace || oldTiddler.fields["server.workspace"];
	return _getTiddlerChronicle(from.title, context, userParams, _putTiddlerChronicle);

// delete an individual tiddler
adaptor.prototype.deleteTiddler = function(tiddler, context, userParams, callback) {
	context = this.setContext(context, userParams, callback);
	context.title = tiddler.title; // XXX: not required!?
	var uriTemplate = "%0/bags/%1/tiddlers/%2";
	var host = || this.fullHostName(tiddler.fields[""]);
	var bag = tiddler.fields["server.bag"];
	if(!bag) {
		return adaptor.noBagErrorMessage;
	var uri = uriTemplate.format([host, adaptor.normalizeTitle(bag),
	var etag = adaptor.generateETag({ type: "bag", name: bag }, tiddler);
	var headers = etag ? { "If-Match": etag } : null;
	var req = httpReq("DELETE", uri, adaptor.deleteTiddlerCallback, context, headers,
		null, null, null, null, true);
	return typeof req == "string" ? req : true;

adaptor.deleteTiddlerCallback = function(status, context, responseText, uri, xhr) {
	context.status = [204, 1223].contains(xhr.status);
	context.statusText = xhr.statusText;
	context.httpStatus = xhr.status;
	if(context.callback) {
		context.callback(context, context.userParams);

// compare two revisions of a tiddler (requires TiddlyWeb differ plugin)
//# if context.rev1 is not specified, the latest revision will be used for comparison
//# if context.rev2 is not specified, the local revision will be sent for comparison
//# context.format is a string as determined by the TiddlyWeb differ plugin
adaptor.prototype.getTiddlerDiff = function(title, context, userParams, callback) {
	context = this.setContext(context, userParams, callback);
	context.title = title;

	var tiddler = store.getTiddler(title);
	try {
		var workspace = adaptor.resolveWorkspace(tiddler.fields["server.workspace"]);
	} catch(ex) {
		return adaptor.locationIDErrorMessage;
	var tiddlerRef = [workspace.type + "s",, tiddler.title].join("/");

	var rev1 = context.rev1 ? [tiddlerRef, context.rev1].join("/") : tiddlerRef;
	var rev2 = context.rev2 ? [tiddlerRef, context.rev2].join("/") : null;

	var uriTemplate = "%0/diff?rev1=%1";
	if(rev2) {
		uriTemplate += "&rev2=%2";
	if(context.format) {
		uriTemplate += "&format=%3";
	var host = || this.fullHostName(tiddler.fields[""]);
	var uri = uriTemplate.format([host, adaptor.normalizeTitle(rev1),
		adaptor.normalizeTitle(rev2), context.format]);

	if(rev2) {
		var req = httpReq("GET", uri, adaptor.getTiddlerDiffCallback, context, null,
			null, null, null, null, true);
	} else {
		var payload = {
			title: tiddler.title,
			text: tiddler.text,
			modifier: tiddler.modifier,
			tags: tiddler.tags,
			fields: $.extend({}, tiddler.fields)
		}; // XXX: missing attributes!?
		payload = $.toJSON(payload);
		req = httpReq("POST", uri, adaptor.getTiddlerDiffCallback, context,
			null, payload, adaptor.mimeType, null, null, true);
	return typeof req == "string" ? req : true;

adaptor.getTiddlerDiffCallback = function(status, context, responseText, uri, xhr) {
	context.status = status;
	context.statusText = xhr.statusText;
	context.httpStatus = xhr.status;
	context.uri = uri;
	if(status) {
		context.diff = responseText;
	if(context.callback) {
		context.callback(context, context.userParams);

// generate tiddler information
adaptor.prototype.generateTiddlerInfo = function(tiddler) {
	var info = {};
	var uriTemplate = "%0/%1/%2/tiddlers/%3";
	var host = || tiddler.fields[""]; // XXX: obsolete?
	host = this.fullHostName(host);
	var workspace = adaptor.resolveWorkspace(tiddler.fields["server.workspace"]);
	info.uri = uriTemplate.format([host, workspace.type + "s",
	return info;

// create Tiddler instance from TiddlyWeb tiddler JSON
adaptor.toTiddler = function(json, host) {
	var created = Date.convertFromYYYYMMDDHHMM(json.created);
	var modified = Date.convertFromYYYYMMDDHHMM(json.modified);
	var fields = json.fields;
	fields["server.type"] = adaptor.serverType;
	fields[""] = AdaptorBase.minHostName(host);
	fields["server.bag"] = json.bag;
	fields["server.title"] = json.title;
	if(json.recipe) {
		fields["server.recipe"] = json.recipe;
	if(json.type && json.type != "None") {
		fields["server.content-type"] = json.type;
	fields["server.permissions"] = json.permissions.join(", ");
	fields[""] = json.revision;
	fields["server.workspace"] = "bags/" + json.bag;
	var tiddler = new Tiddler(json.title);
	tiddler.assign(tiddler.title, json.text, json.modifier, modified, json.tags,
		created, json.fields, json.creator);
	return tiddler;

adaptor.resolveWorkspace = function(workspace) {
	var components = workspace.split("/");
	return {
		type: components[0] == "bags" ? "bag" : "recipe",
		name: components[1] || components[0]

adaptor.generateETag = function(workspace, tiddler) {
	var revision = tiddler.fields[""];
	var etag = revision == "false" ? null : tiddler.fields["server.etag"];
	if(!etag && workspace.type == "bag") {
		if(typeof revision == "undefined") {
			revision = "0";
		} else if(revision == "false") {
			return null;
		etag = [adaptor.normalizeTitle(,
			adaptor.normalizeTitle(tiddler.title), revision].join("/");
		etag = '"' + etag + '"';
	return etag;

adaptor.normalizeTitle = function(title) {
	return encodeURIComponent(title);


 * jQuery JSON Plugin
 * version: 1.3
 * source:
 * license: MIT (
(function($){function toIntegersAtLease(n)
{return n<10?'0'+n:n;}
{return this.getUTCFullYear()+'-'+
toIntegersAtLease(this.getUTCDate());};var escapeable=/["\\\x00-\x1f\x7f-\x9f]/g;var meta={'\b':'\\b','\t':'\\t','\n':'\\n','\f':'\\f','\r':'\\r','"':'\\"','\\':'\\\\'};$.quoteString=function(string)
{var c=meta[a];if(typeof c==='string'){return c;}
{var type=typeof(o);if(type=="undefined")
return"undefined";else if(type=="number"||type=="boolean")
return o+"";else if(o===null)
{return $.quoteString(o);}
if(type=="object"&&typeof o.toJSON=="function")
return o.toJSON(compact);if(type!="function"&&typeof(o.length)=="number")
{var ret=[];for(var i=0;i<o.length;i++){ret.push($.toJSON(o[i],compact));}
return"["+ret.join(", ")+"]";}
if(type=="function"){throw new TypeError("Unable to convert object of type 'function' to json.");}
var ret=[];for(var k in o){var name;type=typeof(k);if(type=="number")
name='"'+k+'"';else if(type=="string")
continue;var val=$.toJSON(o[k],compact);if(typeof(val)!="string"){continue;}
ret.push(name+": "+val);}
return"{"+ret.join(", ")+"}";};$.compactJSON=function(o)
{return $.toJSON(o,true);};$.evalJSON=function(src)
{return eval("("+src+")");};$.secureEvalJSON=function(src)
{var filtered=src;filtered=filtered.replace(/\\["\\\/bfnrtu]/g,'@');filtered=filtered.replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,']');filtered=filtered.replace(/(?:^|:|,)(?:\s*\[)+/g,'');if(/^[\],:{}\s]*$/.test(filtered))
return eval("("+src+")");else
throw new SyntaxError("Error parsing JSON, source is not valid.");};})(jQuery);
|''Description''|configuration settings for TiddlyWebWiki|
|''Requires''|TiddlyWebAdaptor ServerSideSavingPlugin|
|''Keywords''|serverSide TiddlyWeb|
(function($) {

if(!config.extensions.ServerSideSavingPlugin) {
	throw "Missing dependency: ServerSideSavingPlugin";
if(!config.adaptors.tiddlyweb) {
	throw "Missing dependency: TiddlyWebAdaptor";

if(window.location.protocol != "file:") {
	config.options.chkAutoSave = true;

var adaptor = tiddler.getAdaptor();
var recipe = tiddler.fields["server.recipe"];
var workspace = recipe ? "recipes/" + recipe : "bags/common";

var plugin = config.extensions.tiddlyweb = {
	host: tiddler.fields[""].replace(/\/$/, ""),
	username: null,
	status: {},

	getStatus: null, // assigned later
	getUserInfo: function(callback) {
		this.getStatus(function(status) {
				name: plugin.username,
				anon: plugin.username ? plugin.username == "GUEST" : true
	hasPermission: function(type, tiddler) {
		var perms = tiddler.fields["server.permissions"];
		if(perms) {
			return perms.split(", ").contains(type);
		} else {
			return true;

config.defaultCustomFields = {
	"server.type": tiddler.getServerType(),
	"server.workspace": workspace

// modify toolbar commands

config.shadowTiddlers.ToolbarCommands = config.shadowTiddlers.ToolbarCommands.
	replace("syncing ", "revisions syncing ");

config.commands.saveTiddler.isEnabled = function(tiddler) {
	return plugin.hasPermission("write", tiddler) && !tiddler.isReadOnly();

config.commands.deleteTiddler.isEnabled = function(tiddler) {
	return !readOnly && plugin.hasPermission("delete", tiddler);

// hijack option macro to disable username editing
var _optionMacro = config.macros.option.handler;
config.macros.option.handler = function(place, macroName, params, wikifier,
		paramString) {
	if(params[0] == "txtUserName") {
		params[0] = "options." + params[0];
		var self = this;
		var args = arguments;
		args[0] = $("<span />").appendTo(place)[0];
		plugin.getUserInfo(function(user) {
			config.macros.message.handler.apply(self, args);
	} else {
		_optionMacro.apply(this, arguments);

// hijack isReadOnly to take into account permissions and content type
var _isReadOnly = Tiddler.prototype.isReadOnly;
Tiddler.prototype.isReadOnly = function() {
	return _isReadOnly.apply(this, arguments) ||
		!plugin.hasPermission("write", this);

var getStatus = function(callback) {
	if(plugin.status.version) {
	} else {
		var self = getStatus;
		if(self.pending) {
			if(callback) {
		} else {
			self.pending = true;
			self.queue = callback ? [callback] : [];
			var _callback = function(context, userParams) {
				var status = context.serverStatus || {};
				for(var key in status) {
					if(key == "username") {
						plugin.username = status[key];
							"value", plugin.username, "input");
					} else {
						plugin.status[key] = status[key];
				for(var i = 0; i < self.queue.length; i++) {
				delete self.queue;
				delete self.pending;
			adaptor.getStatus({ host: }, null, _callback);
(plugin.getStatus = getStatus)(); // XXX: hacky (arcane combo of assignment plus execution)

<<tag ToDo>>

Note that many of the [[Pharmacology]] trials obtain trends towards significant effects re reaching abstinence, but signicificnat effects re REDUCTION in use of cigarrettes and this itself may be a predisposing facotre for successful cessation at a later date...
|''Description''|Allows you to set the privacy of new tiddlers and external tiddlers within an EditTemplate, and allows you to set a default privacy setting|
When used in conjunction with TiddlySpaceTiddlerIconsPlugin changing the privacy setting will also interact with any privacy icons.

Currently use of
{{{<<setPrivacy defaultValue:public>>}}} is in conflict with {{{<<newTiddler fields:"server.workspace:x_private">>}}}

There is an option, found in the tweak tab of the backstage, called txtPrivacyMode. Set this to either ''public'' or ''private'' depending on your security preference. If you choose not to set it then it will default to ''public''.
Allows you to set the default privacy value (Default is private)

(function($) {

	var tiddlyspace = config.extensions.tiddlyspace,
	macro = config.macros.setPrivacy = {
		handler: function(place, macroName, params, wikifier, paramString, tiddler) {
			if(readOnly) {
			var el = $(story.findContainingTiddler(place)),
				args = paramString.parseParams("name",
					null, true, false, true)[0],
				container = $("<div />").
				currentSpace =,
				currentBag = tiddler ? tiddler.fields["server.bag"] : false,
				// XXX: is the following reliable?
				isNewTiddler = el.hasClass("missing") || !currentBag,
				tiddlerStatus = tiddlyspace.getTiddlerStatusType(tiddler),
				customFields = el.attr("tiddlyfields"),
				defaultValue = "public",
				options = config.macros.tiddlerOrigin ?
						config.macros.tiddlerOrigin.getOptions(paramString) :
			customFields = customFields ? customFields.decodeHashMap() : {};
			if(isNewTiddler || !["public", "private", "unsyncedPrivate",
					"unsyncedPublic"].contains(tiddlerStatus)) {
				if(args.defaultValue) {
					defaultValue = args.defaultValue[0].toLowerCase();
				} else {
					defaultValue = config.options.chkPrivateMode ?
							"private" : "public";
				defaultValue = defaultValue ?
						"%0_%1".format(currentSpace, defaultValue) :
				this.createRoundel(container, tiddler, currentSpace,
						defaultValue, options);
		updateEditFields: function(tiddlerEl, bag) {
			var saveBagField = $('[edit="server.bag"]', tiddlerEl),
				saveWorkspaceField = $('[edit="server.workspace"]', tiddlerEl),
				input = $("<input />").attr("type", "hidden"),
				workspace = "bags/" + bag;
			if(saveBagField.length === 0) {
				input.clone().attr("edit", "server.bag").val(bag).
			} else {
			// reset to prevent side effects
			$(tiddlerEl).attr("tiddlyFields", "");
			if(saveWorkspaceField.length === 0) {
				input.clone().attr("edit", "server.workspace").
			} else {
		setBag: function(tiddlerEl, newBag, options) {
			var bagStatus,
				title = $(tiddlerEl).attr("tiddler"),
				tiddler = store.getTiddler(title),
				originButton = $(".originButton", tiddlerEl)[0],
				newWorkspace = "bags/" + newBag,
				rPrivate = $("input[type=radio].isPrivate", tiddlerEl),
				rPublic = $("input[type=radio].isPublic", tiddlerEl);
			refreshIcon = function(type) {
				var originMacro = config.macros.tiddlerOrigin;
				if(originButton && originMacro) {
					options.noclick = true;
					originMacro.showPrivacyRoundel(tiddler, type,
							originButton, options);
			macro.updateEditFields(tiddlerEl, newBag);
			if(tiddler) {
				tiddler.fields["server.bag"] = newBag;
				// for external tiddlers
				tiddler.fields["server.workspace"] = newWorkspace;
			if(newBag.indexOf("_public") > -1) {
				rPrivate.attr("checked", false);
				rPublic.attr("checked", true);
				bagStatus = "public";
			} else {
				rPublic.attr("checked", false); // explicitly do this for ie
				rPrivate.attr("checked", true);
				bagStatus = "private";
		createRoundel: function(container, tiddler, currentSpace,
							   defaultValue, options) {
			var privateBag = "%0_private".format(currentSpace),
				publicBag = "%0_public".format(currentSpace),
				rbtn = $("<input />").attr("type", "radio").
					attr("name", tiddler.title),
				el = story.findContainingTiddler(container);
			$("<label />").text("private").appendTo(container); // TODO: i18n
			$("<label />").text("public").appendTo(container); // TODO: i18n
			$("[type=radio]", container).click(function(ev) {
				var btn = $(;
				tiddler.fields[""] = "false";
				if(btn.hasClass("isPrivate")) { // private button clicked.
					macro.setBag(el, privateBag, options);
				} else {
					macro.setBag(el, publicBag, options);
			window.setTimeout(function() {
				macro.setBag(el, defaultValue, options);
			}, 100);
			// annoyingly this is needed as customFields are added to end of EditTemplate so are not present yet
			// and don't seem to respect any existing customFields.

|~ViewToolbar|+editTiddler +cloneTiddler > fields refreshTiddler changeToPublic changeToPrivate revisions syncing permalink references jump closeOthers < closeTiddler|
|~EditToolbar|+saveTiddler saveDraft -cancelTiddler deleteTiddler|
|~RevisionToolbar|> fields revert|

The worth of urine testing ([[Latimer et al 2003]]) – (it makes subjects tell the truth in questioning!)

"urinalysis results were rarely useful for detecting the recent use of substances other than marijuana because of the inability of urine testing to detect even heavy alcohol use within the past 24 hours and because rates of recent drug use other than alcohol or marijuana were uniformly low across referred youth. Nonetheless, rates of concordance between youth self-report of substance use during the past month and urinalysis results exceeded 95% at baseline and each follow-up assessment point. Thus, collection of urine samples likely improved the validity of youth self-report of recent substance use even though the urinalysis results themselves rarely added information that assisted with making a diagnostic decision. Rather, the value of collecting urine samples appeared to involve engendering the accurate impression by our youth  participants that mis-representation of their recent substance use would likely be detected."
Research on Social Work Practice 2004; 14; 325

Adolescent Substance Abuse Treatment: A Synthesis of Controlled Evaluations

Review paper - good summary table

''TABLE 4: Evidence Summary (ES) of Interventions for Adolescent Substance Abuse Treatment''

''A. Evidence of clinically meaningful effect (ES > .20) with at least 1-year follow-up or replication and using relatively strong designs.''
#Multidimensional family therapy (MDFT)
#Cognitive-behavioral group treatment (CBGT)
''B. Evidence of clinically meaningful effect (ES > .20) with relatively strong designs and less than 1-year follow-up and no
#Behavioral therapy (BT)
#Combined cognitive-behavioral therapy and functional family therapy (CBT & FFT)
#Family systems therapy (FST)
#Functional family therapy (FFT)a
#Multisystemic treatment (MST)a
#Combined Botvin life-skills training (BLST), Prothrow-Stith Anti-Violence Program (PSAV), and Values Clarification Program (VC)
#Psycho-educational therapy (PET)
''C. Evidence of negligible or undesired effect with less strong designs.''
#Supportive group counseling (SG)
#Interactional group treatment (IGT)
#Aftercare services (AS)
#Residential treatment services with multiple and variable components (RST)
''D. Evidence of negligible or undesired effect with relatively strong designs.''
#Individual counseling (IC)
#Family education (FE; multidimensional educational intervention [MEI])
#Adolescent group treatment (AGT)
#Individual cognitive-behavioral treatment (CBT)
''I. Evidence of indeterminate effect, mixed or incomplete findings.''
#Parent group method (PG)
#Minnesota Model 12-Step Program (MM)b
#Coping skills training (CST)
#Brief strategic family therapy (BSFT)
#General group treatment (GGT)
#Purdue brief family therapy (PBFT)b
#Training in parenting skills (TIPS)b

NOTE: MQRS = Methodological Quality Rating Scale.
One to 8 points on MQRS = less strong design; 9 to 16 points on MQRS = relatively strong design
a. Shown to be effective in other studies with reducing adolescent violence and problem behavior.
b. Insufficient data available to calculate effect sizes.
<div class='toolbar'
	macro='toolbar [[ToolbarCommands::ViewToolbar]] icons:yes height:16 width:16 more:popup'>
<div class='heading'>
	<span class='spaceSiteIcon'
		macro='tiddlerOrigin label:no spaceLink:yes height:48 width:48 preserveAspectRatio:yes'>
	<span class="titleBar">
		<div class='title' macro='view title text'></div>
		<span class="subtitle" macro='viewRevisions page:5'>
			last modified on
			<span macro="view modified date"></span>
		<div macro="view title replyLink"></div>
	<span class='followPlaceHolder' macro='followTiddlers'></span>
	<span class='modifierIcon'
		macro='view modifier SiteIcon label:no spaceLink:yes height:48 width:48 preserveAspectRatio:yes'>
	<div class='tagClear'></div>
<div class='content'>
	<div class='viewer' macro='view text wikified'></div>
<div class='tagInfo'>
	<div class='tidTags' macro='tags'></div>
	<div class='tagging' macro='tagging'></div>
"On the learning curve: the emerging evidence supporting cognitive–behavioral therapies for adolescent substance abuse"
Addiction, 99 (Suppl. 2), 93–105

Good review of hiugh quality studies - 5Star


"Not a unitary approach"
Behaviourist - conditioned responses
operant conditioning
Social Learning 

''Reviews main controlled trials of CBT in which:''
(1) at least one form of CBT was compared to one or more other comparison conditions; 
(2) substance use was measured through self-report and/or biological assay as a primary outcome variable; 
(3) participants were assigned randomly to treatment; 
(4) treatments were manual-guided;
(5) samples were clearly specified

#[[Liddle et al 2001]]- MDFT and CBT showed improvements but these seemed better sustained in MDFT group than CBT at 12/12.
#[[Waldron et al 2001]] - 4 Rx's: CBT, Behavioural Group, FT, combined FT + CBT.  behaviural gp - dealyed but substantial improvts, EFFECT SIZE FOR THE GROUP BEHAVIOURAL Rx at 19/12 was 0.93... only 0.67 at the same time point for the FAMILY INTERVENTION... Individual CBT - better initial ABSTINENCE rates (early.. but theses died away by the 7/12 follow up.
#and Waldron reports "a second trial already under way" ("Of the 160 adolescents to be enrolled in the trial, 45 have completed treatment and 5-and 8-month follow-up assessments")
#[[Liddle 2002]] - CBT VS MDFT - both did well but MDFT gains continued while indiv CBT levelled off
#[[Kaminer et al 2002]] - at 3/12 CBT better than PET, but similar gains at 12/12
#[[Dennis et al 2002]] - the CYT MET/CBT came out as best value for money.

''Re the Individual Vs Group Question'' - cf. [[Dishion et al 1999]]
"Dishion and colleagues focused their research
efforts on preventive interventions for youths who were
at risk for substance use, not for those who had already
developed a substance use disorder as in each of the samples
of the treatment outcome studies reviewed. The negative
consequences experienced by adolescents diagnosed
with substance abuse or dependence would be expected
to influence treatment motivation."

''Re. Rx of Comorbidity''
CBT effective in getting quick gains in, say depression

"studies examining the efficacy of
various components of CBT to elucidate mechanisms of
change or therapy-process variables associated with
change are virtually nonexistent in youths"...

Waldron HB, Slesnick N, Brody JL.Treatment outcomes for adolescent substance abuse at 4– and 7–month assessments.
J Consult Clin Psychol 2001 Oct;69:802–13

@@NB reviewed in [[Waldron and Kaminer 2004]]@@

@@Very good summary of findings in [[Stevens 2002]] - EBMH@@

__CBS Rx's__ other drugs were looked at but usage rates were not large enough to draw conclusions

CBT (+ 2 MET) 
FFT = Functional Family therapy
integrated FFT and CBT 
Group = Drug and Education -based similar to preventative models

Manualised Rx's

Range of validated outcome measures incl CBCL, TLFB, urine drug screens

12 hrs therapy in each condition, and 24hrs in joint condition, and up to 2 hrs additional to resolve crises	
114 out of 120 referred. 13 - 17 yr oldsliving at home with promary carer willing to pasticipate.
//Most adolescents mandated to attend by court or school//
89.8% at or above mean scores of delinquent behaviour in comparison group of referred adoelscents, similarly 29.7% anxious/depressed, etc. but excluded if needed other than OP provision, sibling in study, considered 'enrolled' if attended one session.
Smallish no.s (114) no placebo (unethical), randomised.	

All intervetions have positive effects sizes:

individual modailites: 

[[FFT]] is based, in large part, on
family systems theory, which assumes that problem
behaviors occur in the context of family relationships and
serve some core function within these family relationships.
In addition to a family systems perspective, the
FFT model relies heavily on cognitive behavioral theory
and techniques. FFT takes a multisystemic approach to
intervention by focusing on the multiple domains and
systems in which the adolescent lives.

FFT consistently best results: change in heavy to minmal use from pre-Rx to 4/12 post-Rx - 86.6% vs 55.2%, z=2.89. p<0.004, and at 7/12 86.6% vs 62.1%, z= 2.53, p<0.011)
FFT appears tpo promote longer lasting changes than CBT, which was good at 4/12 (heavy to minmal use from pre Rx to 4/12 post; 96.8% vs 72.4%, z=2.65. p<.008) but less good than group at 7/12)
FFT better than Group earlier on: Group do OK but only at 7/12 (96.7% vs 69.0%, z=2.53, p<.011), not at 4/12 (this contradicts [[Dishion et al 1999]] who claim group Rx has iatrogenic effects (but they were looking at preventive intervention for at risk youth, not diagnosed SUD)
!!The //Joint// FFT+CBT is best outcome, though the adolescents had twice as many sessions - but the authors point out that youths in the group intervention still reduced their intake signif at 7/12 - so not just dose dependent. (89.7% vs 55.6%, z=2.71, p<.007)

...some outcome measures change according to when they are taken - some Rx's only reveal benefit later..

"Brief ME for  CBS-using adolescents recruited voluntarily (mostly - 74% - self-referral via school, after an educational presentation.)   

After assessment, MET-style feedback: Feedback consisted of the
following domains: 
#normative comparisons of marijuana use, 
#patterns of marijuana use, 
#positive and negative aspects of marijuana use, 
#marijuana expectancies, 
#problems related to use, 
#quantity and frequency of alcohol and other drug use, 
#social support, 
#life goals and their relationship with marijuana use, 
#costs and benefits of reducing their use, and 
#self-efficacy for resisting use."	

"2 sessions c. 1 week apart.  
Ninety-four percent of MET participants completed Session 1, and 77% completed Session 2"	

"184 screening interviews, 102 (55%) eligible,  97  consented (95% of eligible)  to recruitment to study.  

Criteria: Inclusion criteria were 
(a) 14–19 years of age, 
(b) in Grades 9–12, and 
(c) used marijuana on at least 9 of the last 30 days. This frequency criterion was intended to enroll a sample of regular, that is, “more than weekend only,” users. 
Participants were excluded if they 
(a) were not fluent in English, 
(b) showed evidence of a thought disorder that precluded participation, or 
(c) refused to accept randomization to condition. 

Payments: $15 per feedack session (2 for each subject) and $20 per third/final  assessment"

"Trained therapists (""health educators"") and manualised Rx.  Following baseline assessment, participants were stratified on stage of
change (precontemplator/contemplator vs. preparation/action/maintenance)
and grade level (9th/10th vs. 11th/12th) and then randomly assigned
to receive the intervention immediately (MET) or after a 3-month delay
(delayed feedback control [DFC])."

"Global Appraisal of Individual Needs—Initial version
(GAIN-I; Dennis, 1998) poorly defined outcome meqsures"

"Approx 1/3 of Rx and delayed Feedback Control (DFC) groups were in pre-contemplation stage of change (did well to recruit these)…. 

But no signif change in CBS use between groups at 3/12 F/up… although SIGNIFICANT REDUCTIONS OF CBS USE WERE FOUND ACROSS ALL GROUPS during the assesst period... 

meaningful change in 45% of MET and 33% of DFC groups (non sig.)  "

"Given that this program reached and engaged
a population that was otherwise not being seen, continued interest
in this program is warranted."

Limitations to these conclusions. 

#Gift certificates
for participation in the intervention sessions may account for
some of the appeal, and additional studies are needed to assess
participation under different incentive conditions. 

#The lack of assessment measures related to harm reduction of marijuanarelated
behaviors and the reliance on self-reports may have provided
an incomplete picture of outcomes. 

#Finally, a larger sample size is needed to adequately explore differential effects in subgroups
defined by age and motivation for change, given the likelihood
of smaller effect sizes in adolescent drug users without
extrinsic motivations for change."
Pharmacotherapy of Adolescent Substance
Use Disorders: A Review of the Literature
James G. Waxmonsky, M.D.,1 and Timothy E. Wilens, M.D.2

Volume 15, Number 5, 2005 pp 810 - 825

Literature Review - useful TABLES in the paper itself

Major points:

Youths who develop bipolar disorder in adolescence are at increased risk for early onset of substance use and development of SUD (Wilens et al. 1999, 2004). Unlike ADHD, this elevated risk for SUD appears independent of conduct disorder. Although the data are limited, our review of the literature suggests that youths with comorbid bipolar spectrum disorders appear to be the group that is most likely to respond to pharmacological interventions for SUD. Specifically, one randomized, controlled and one open study have reported that lithium and valproic acid significantly reduced substance use in bipolar youths while positively impacting functioning (Donovan et al. 1996, 1997; Geller et al. 1998). These data support the simultaneous treatment of mood disorders and SUD in youths.

!Affective disorder (Depression)
"adolescent studies have found that abstinence from substances typically does not lead to remission of depressive symptoms, as is the case for many adults (Riggs et al. 1995; Grella et al. 2001; Brown and Schuckit 1998), highlighting the need for additional mood-specific treatments in comorbidly ill youth with SUD. The limited dataset on antidepressants for adolescents
with MDD and SUD demonstrates that these medications can be safely implemented and generally well tolerated with no evidence
of worsening moods. However, the efficacy data are mixed. Open trials of fluoxetine and bupropion have observed significant reductions in depressive symptoms and associated improvements in SUD symptoms (Cornelius et al. 2001, 2004b, 2005; Riggs et al. 1997; Solhkhah et al. 2001). However, the one controlled study (n = 10) addressing this issue (Deas et al. 2000) found that the addition of sertraline to group CBT did not lead to greater improvements in mood or SUD symptoms. However, the small
N, the dosing paradigm (maximum dose, 100 mg) and the robust response to the CBT intervention may have limited the medication effect." - @@NB give same warings as for SSRI's etc in non-SUD depression@@

"The literature is mixed regarding the impact of ADHD treatment in youths with SUD. Three open studies (n = 31) and one controlled study (n = 69) have shown that pharmacotherapywith pemoline or bupropion improves ADHD symptoms in youths with active SUD (Riggs et al. 1996; Riggs et al. 1998b; Riggs et al. 2001; Solhkhah et al. 2001). 

Similar to studies in adults (Grabowski et al. 1997; Schubiner et al. 2002; Wilens 2004), the data do not show a convincing
reduction in SUD symptoms and, therefore, support the earlier recommendation by Riggs (Riggs 1998a) that ADHD pharmacotherapy
should be delayed until the SUD has been addressed. However, the differential outcomes of ADHD pharmacotherapy in stabilized
versus unstabilized SUD youths needs to be further evaluated....

If ''stimulants'' are to be used for adolescents with SUD, ''extended-release preparations'' may be less likely to be abused than those with a shorter duration (Ciccone 2002; Jaffe 2002). Atomoxetine, bupropion, and pemoline have minimal abuse liability. While bupropion and atomoxetine lack significant interactions with substances of abuse, pemoline has been associated with hepatic toxicity in non-SUD patients. Therefore, ''pemoline is not recommended as a first choice for youths with SUD''.

''Atomoxetine'' is FDA-approved for both pediatric and adult ADHD and appears to have minimal abuse potential (Heil et al. 2002). Therefore, it should be considered as a possible alternative to stimulant treatment in youths with ADHD and SUD,
but formal treatment studies of atomoxetine in youth with these comorbidities are needed."

!Anti-craving medication
"The anticraving agents, such as naltrexone, acamprosate, bupropion, and ondansetron, may have a potential role in the treatment of youths with SUD. Case reports suggest that ''naltrexone'' may reduce alcohol craving in adolescents with SUD (Wold et al. 1997; Lifrak et al. 1997), but there are no controlled data at present.

''Acamprosate'' was recently approved for use in adults with alcohol dependency, and there is one published trial in adolescents (Niederhofer and Staffen 2003b). 

''Bupropion'' has been approved for smoking cessation in adults and may be similarly helpful in adolescents (Moolchan et al. 2000). However, several open studies have produced mixed results when assessing bupropion’s efficacy for craving reduction for other substances of abuse in psychiatrically ill adults and teens (Riggs et al. 1998; Levin et al. 2002; Prince et al. 2002; Solhkhah et al. 2001).  

Preliminary findings in adults with early-onset SUD suggest that ''ondansetron'' may be similarly useful for craving reduction in youths with SUD (Johnson et al. 2000b, 2002, 2003b; Kranzler et al. 2003). Moreover, it appears to be adequately
tolerated by youths (Toren et al. 2005), making it a good candidate for further investigation as a SUD treatment in adolescents..... Larger controlled trials are warranted in youths, including those of promising pharmacological agents for the treatment of adult SUD, such as ondansetron and acamprosate."
Documents 7 extra sessions of CBT in the ~MET/CBT12

Webb, C., Scudder, M., Kaminer, Y., Kadden, R. & Tawfik, Z.
(2002) The MET/CBT 5 Supplement: 7 Sessions of Cognitive
Behavioral Therapy (CBT 7) for Adolescent Cannabis Users.
(DHHS Publication No. (SMA) 02-3659, Cannabis Youth
Treatment (CYT) Manual Series, Volume 2). Rockville, MD:
Center for Substance Abuse Treatment, Substance Abuse and
Mental Health Services Administration. Available at: http://
Pediatrics 2003;111;179-185
Does Stimulant Therapy of Attention-Deficit/Hyperactivity Disorder Beget Later Substance Abuse? A Meta-analytic Review of the Literature
Timothy E. Wilens, Stephen V. Faraone, Joseph Biederman and Samantha Gunawardene


Concerns exist that stimulant therapy of youths with attention-deficit/hyperactivity disorder (ADHD) may result in an increased risk for subsequent substance use disorders (SUD). We investigated all long-term studies in which pharmacologically
treated and untreated youths with ADHD were examined for later SUD outcomes.
A search of all available prospective and retrospective studies of children, adolescents, and adults with ADHD that had  information relating childhood exposure to stimulant therapy and later SUD outcome in adolescence or adulthood was conducted through PubMed supplemented with data from scientific presentations. Meta-analysis was used to evaluate the relationship
between stimulant therapy and subsequent SUD in youths with ADHD in general while addressing specifically differential effects on alcohol use disorders or drug use disorders and the potential effects of covariates. 
Six studies — 2 with follow-up in adolescence and 4 in young adulthood were included and comprised 674 medicated subjects and 360 unmedicated subjects who were followed at least 4 years. The pooled estimate of the odds ratio @@indicated a 1.9-fold reduction in risk for SUD in youths who were treated with stimulants compared with youths who did not receive pharmacotherapy for ADHD (z=2.1; 95% confidence interval for odds ratio [OR]: 1.1–3.6).

@@ We found @@similar reductions in risk for later drug and alcohol use disorders (z = 1.1).@@ 

Studies that reported follow-up into adolescence showed a //greater protective effect// on the development of SUD (OR: 5.8) than studies that followed subjects into adulthood (OR: 1.4)....
@@(from discussion: "Our finding of a less robust protective effect of ADHD pharmacotherapy in reducing SUD in adulthood (OR: 1.4) relative to adolescence (OR: 5.8) is noteworthy. Although data on duration of exposure to pharmacotherapy were not available, it is possible that the adult samples—because of dated recommendations to discontinue treatment in adolescence had experienced more years without treatment than the adolescent samples. If so, then it may be that lack of medication coverage in adulthood reduced the overall protective effect of earlier stimulant treatment. Alternatively, enhanced parental monitoring of youths who receive medications may have a preferential effect in adolescents compared with young adults. It may also be that adolescents have not fully passed through the age of risk to develop SUD given that retrospectively derived data from adults indicate that the mean onset of SUD is at 19 years in individuals with ADHD.39 Clearly, more work to disentangle these issues is warranted..."@@

Additional analyses showed that the results could not be accounted for by any single study or by publication bias.
Our results suggest that stimulant therapy in childhood is associated with a reduction in the risk for subsequent drug and alcohol use disorders.
Meta-analysis of brief interventions for heavy drinkers (adults)	
Brief interventions	
Adult samples - 19 + yrs		
clearly designed criteria for studies to be included (12 fitted criteria)		
looks at 12 RCT's that fitted criteria - concludes //they are effective and cost-efficient//
''Attention-Deficit/Hyperactivity Disorder and Early-Onset Substance Use Disorders''
Wilson and Levin
Volume 15, Number 5, 2005 Pp. 751–763

@@Review paper - very good coverage of ADHD and SUD@@

__Treating ADHD comorbid with SUD:__
Atomoxetine is a promising norepinephrine reuptake inhibitor with little abuse potential and proven effectiveness in treating child and adult ADHD, although no currently published trials address its effectiveness in adolescents with SUD. Some investigators are actively pursuing studies of the effectiveness of atomoxetine during adolescent drug treatment, and results should be available in the next few years. A recent report demonstrated that atomoxetine may be helpful in reducing both ODD, and ADHD symptoms (Newcorn et al. 2005), which may be relevant to adolescents with SUD, ODD and ADHD. Despite the lack of controlled trials, the safety profile of this medication, and its low abuse liability, suggest promise for this medication in the treatment of ADHD with SUD.

Bupropion has been suggested to be a firstline medication in this population because of its safety, high tolerability, and limited abuse potential (Wilson and Levin 2001). In one open trial, bupropion has been shown to reduce hyperactivity scores among nondepressed boys in a residential treatment program for delinquent substance abusers (Riggs et al. 1998). However, it is noteworthy that in a laboratory study of adults with marijuana use disorders that bupropion appeared to increase irritability (Haney et al. 2001). This could theoretically be problematic in patients experiencing withdrawal symptoms of irritability secondary to abstaining from marijuana (Haney et al. 1999), but studies specific to adolescents are limited and inconclusive regarding this risk in adolescents. In the Riggs et al. 1998 study, one of the adolescents developed hypomania and irritability, but this participant did have a family history of mood disorder. In another open trial of adult substance abusers, bupropion reduced cocaine use and ADHD symptoms (Levin et al. 1998). Some authors have suggested that bupropion may be more effective for cocaine use disorders that are comorbid with depression or anxiety (Levin et al. 1998; Margolin et al. 1995). In any case, bupropion is currently the only  nonstimulant medication with some evidence of efficacy in the treatment of ADHD with SUD in adolescents.

Other nonstimulant medications. The use of ''desipramine'',
despite its proven effectiveness, is
@@limited somewhat because of the tendency of
tricyclic antidepressants to increase the QTc interval.
There are reports of sudden death@@ in
children treated with this medication. Although
all of these deaths were associated with underlying
heart defects, electrocardiograms are currently
recommended at initiation and at each
dose change by the American Academy of Child
and Adolescent Psychiatry. Some clinicians prefer
to use other tricyclic agents, such as ''nortriptiline'',
with fewer side effects and no reported
deaths in children, although there is no empirical
evidence for their effectiveness. Because of
poor judgment and impulsivity in adolescent
substance abusers, and the @@potentially lethal
toxicity of trycyclic antidepressants@@, this medication
may be @@ill-advised in poorly monitored
clinical situations@@. 

''Pemoline'' is more effective
than placebo in treating both child and adult
ADHD, but the @@risk of life-threatening liver
toxicity severely limits its use@@ given the availability
of safer, more effective agents. 

Alpha-2 adrenergic agents such as ''clonidine'' have been
shown to reduce hyperactivity and impulsivity, but have little, and possibly a negative, affect on attention. The sedating effect of this
medication with active SUD may be a relative
contraindication of this agent. 

Potentially ''promising agents'' include ''nodafonil'', ''venlafaxine'',
and ''beta-adrenergic blockers'', although
their effectiveness has not been demonstrated
in controlled trials.

__Stimulants with concurrent ADHD and SUD__
Stimulant pharmacotherapy in the context of SUD.
There are some data to support the treatment
of ADHD to improve substance abuse treatment
response. Two positive double-blind
studies comparing methylphenidate (MPH) to
placebo for the treatment of adult ADHD did
include a small number of substance abusers
(Spencer et al. 1995; Mattes et al. 1984). There
are also promising data suggesting that MPH
(in the sustained-release formulation) is an efficacious
treatment for treatment-seeking cocaine
abusers with ADHD (Levin et al. 1998).
In this study, which used divided daily doses
ranging from 40 to 80 mg/day of sustainedrelease
MPH, both ADHD symptoms and
cocaine use were decreased. (Individual relapse
prevention therapy was also provided.)
Methylphenidate does not appear to have an
effect on cocaine use among adults without
ADHD (Grabowski et al. 1997). The most common
side effects observed were jitteriness and
decreased appetite, but the medication was
tolerated, and discontinuation of treatment
was not required. Additional pilot studies
have also reported that MPH might reduce cocaine
use and ADHD symptoms (Castenada et
al. 2000). However, these are open trials;
double-blind controlled trials are clearly warranted.
No studies were found at the time of
this literature search that utilized the extendedrelease
preparations of methylphenidate. Because
of the possible enhancement of compliance
and extension of behavioral effect, these preparations
may prove to be more useful in reducing
drug use over the entire day.

__Treatment recommendations for ADHD and SUD__
any treatment of
ADHD needs to be individualized. Until more
research is available regarding the safety of
using stimulants in adolescents with ADHD
and SUD, we recommend bupropion and atomoxetine
as first-line treatments. The main
concern with these agents is that they may not
be as effective for ADHD as stimulant medications.
However, the authors believe their lack
of abuse ability makes them a first-line treatment
except in clinical situations where stabilization
of the ADHD is imperative. After a
sufficient trial of atomoxetine and/or bupropion,
if maladaptive ADHD symptoms remain,
a clinician should then consider a
stimulant trial. The safety of such a trial may
be enhanced through careful monitoring of the
prescriptions, frequent visits and urinalyses,
and the use of once-daily medication that can
be monitored by a parent, guardian, or significant
other. In cases with significant depression,
venlafaxine may be indicated. In rare cases, a tricyclic
may be considered, but the safety profile
of a tricyclic must be weighed against the
abuse potential and safety profile of a stimulant.
For some impulsive adolescents, a tricyclic
may be more dangerous and may also be
abused when taken with other medications.

Ken C Winters, Randy D Stinchfield, Elizabeth Opland, Christine Weller, William W Latimer (2000) The effectiveness of the Minnesota Model approach in the treatment of adolescent drug abusers 
Addiction 95 (4) , 601–612 

The effectiveness of the Minnesota Model approach in the treatment of adolescent drug abusers 
•	Ken C. Winters, 
•	Randy D. Stinchfield, 
•	Elizabeth Opland, 
•	Christine Weller, 
•	William W. Latimer

Not a randomised trial as far as I can make out

The treatment outcome of drug-abusing adolescents treated with a 12-Step approach. 
The study compares drug use outcome data at 6 and 12 months post-treatment among three groups of adolescents: 
#those who completed treatment, 
#those who did not and 
#those on a waiting list. 
Also, among treatment completers, residential and outpatient samples were compared on outcome. 
The treatment site is located in the Minneapolis/St Paul area of Minnesota. 
Two hundred and forty-five drug clinic-referred adolescents (12–18 years old), all of whom met at least one DSM-III-R substance dependence disorder. 
One hundred and seventy-nine subjects received either complete or incomplete 12-Step, Minnesota Model treatment and 
66 were waiting list subjects. 

''NO RANDOMISATION'' as far as it appears

In addition to demographics and clinical background variables, measures included treatment involvement, treatment setting and drug use frequency at intake and follow-up. 

#Absolute and relative outcome analyses indicated that ''completing treatment was associated with far superior outcome compared to those who did not complete treatment or receive any at all''. 
#The percentage of treatment completers who reported either abstinence or a minor lapse for the 12 months following treatment was 53%, compared to 15 and 28% for the incompleter and waiting list groups, respectively. 

#Favorable treatment outcome for drug abuse was about two to three times more likely if treatment was completed. 
#Also, there were no outcome differences between residential and outpatient groups. 
#Alcohol was the most common drug used during the follow-up period, despite cannabis being the preferred drug at intake. 
Evaluation of an Internet virtual world chat room
for adolescent smoking cessation
Susan I. Woodruff, Terry L. Conway, Christine C. Edwards, Sean P. Elliott, Jim Crittenden.

Addictive Behaviors 32 (2007) 1769–1786

Good simple study with interesting Rx model - real time motivational therapist acting via internet chat room "BREAthing Room" - as far as authors know the first assessment of Real time counselling on-line in virtual reality.
Mixture of stages of change, nptivational, social learning. psychoeducation and interactive (moderated by the counsellor)

NB Limitations: 
#self report outcomes and payments to take part (risk of bias as kids might say "I smoke!" for the money and curiosity...?
#"The groups differed significantly on several baseline smoking variables. Compared to control subjects, intervention participants had started smoking at a younger age, had smoked more cigarettes per day during the previous week, and had smoked more days in the previous week."... so the intervention group were if anything more hard core smokers...
#VEry low participation - high drop out rate: "77 intervention participants averaged about 3 online sessions. About 19% (n=15) never logged on to any session, and 9% (n=7) received all 7 sessions."  Despite that @@89% of participants said they would recommend it to another.@@... paradox!

@@Authors suggst it may have been more effective as an ADJUNCT to face to face work... NB [[Longshore et al 2006]] synergistic effect of national media campaign and school based prevention...@@

Abstract (only)
The goal of this longitudinal study was to test an innovative approach to smoking cessation that might be
particularly attractive to adolescent smokers. The study was a participatory research effort between academic and
school partners. 

The intervention used an Internet-based, virtual reality world combined with motivational interviewing conducted in real-time by a smoking cessation counselor. 

Participants were 136 adolescent smokers recruited from high schools randomized to the intervention or a measurement-only control condition. 

Those who participated in the program were significantly more likely than controls to report at the immediate post-intervention assessment 
#that they had abstained from smoking during the past week (p≤.01), 
#smoked fewer days in the past week (p≤.001), 
#smoked fewer cigarettes in the past week (p≤.01), and 
#considered themselves a former smoker (p≤.05). 

Only the number of times quit was statistically significant at a one-year follow-up assessment (p≤.05).

The lack of longer-term results is discussed, as are methodological challenges in conducting a cluster-randomized
smoking cessation study.
Preventive Effects of Treatment of Disruptive
Behavior Disorder in Middle Childhood on Substance
Use and Delinquent Behavior
Objective: Disruptive behavior disorder (DBD) is a well-known risk factor for substance abuse and delinquent behavior in
adolescence. Therefore, the long-term preventive effects of treatment of DBD in middle childhood on beginning substance
use and delinquency in early adolescence were investigated. Method: Children with DBD (8Y13 years old) had been
randomly assigned to manualized behavior therapy (Utrecht Coping Power Program; UCPP) or to care as usual (CU) in the
Netherlands. Five years (2003Y2005) after the start of treatment (1996Y1999), substance use and delinquency were
monitored in 61 of the initial 77 adolescents and compared with a matched healthy control group by means of self-report
questionnaires. One-factor analyses of variance and Pearson_s x2 analyses were performed. Results: Differences in
substance use were revealed in favor of the UCPP, with more adolescents in the CU group smoking cigarettes in the last
month (UCPP 17%, CU 42%; x2 = 4.7; p < .03) and more adolescents in the CU group having ever used marijuana (UCPP
13%, CU 35%; x2 = 4.0; p < .045). Moreover, in this respect, the UCPP fit in the range of the matched healthy control group.
Both treatment groups were comparable to the matched healthy control group in delinquent behavior. Conclusions:
Manualized behavior therapy for DBD in middle childhood seems to be more powerful than CU in reducing substance use
in early adolescence. Both treatment conditions show a beneficial long-term preventive effect on delinquency. J. Am. Acad.
Child Adolesc. Psychiatry, 2007;46(1):33Y39. Key Words: disruptive behavior disorder, behavior therapy, substance use,
prevention, delinquency

!The intervention
The Coping Power Program (CPP; Lochman and Wells, 1996) is a preventive program applied to children at risk for delinquency and substance abuse because of their aggressive behavior. The CPP combines a cognitive behavioral intervention for the child with parent management training.
!Inclusion Criteria
They had to meet the criteria for DBD in accordance with the
DSM-IV (American Psychiatric Association, 1994), and they had
to fulfill the additional inclusion criteria: They had to live within
a family structure; outpatient care should be feasible; and their IQ
had to be at least 80 (according to the subtests Vocabulary and
Block design of the WISC-RN, Vandersteene et al., 1986;
Wechsler, 1974). Comorbidity of ADHD was allowed. The
comorbidity was not treated with psychotherapy but with
psychostimulants (methylphenidate). The clinical diagnoses of
DBD and ADHD were based on extensive diagnostic assessment
(psychiatric interviews, psychological assessment, interviews with
parents, and information from the child_s teacher) and were given
by a board-certified child psychiatrist.
!Drug use BEFORE treatment:
Before the start of treatment, there were no significant differences
in substance use between the UCPP and CU groups: 3 of 30 UCPP
patients and 2 of 31 CU patients had ever smoked, and 1 of 30
UCPP patients and 2 of 31 CU patients had ever drunk alcohol. No
one in either group had ever used marijuana. However, patients
were asked retrospectively for their age at first use, and their
retrospective report could have been distorted. Table 1 provides a
description at pretreatment of both groups.

SUD was reduced in active intervention (UCPP) cf. the CU @ 5 years follow up
No difference in delinquency between UCPP and CU and Healthy controls...
<!DOCTYPE html>
	<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
	<link href="/bags/common/tiddlers/profile.css" type='text/css' rel='stylesheet' >
	<link href="/bags/common/tiddlers/admin.css" type='text/css' rel='stylesheet' >
	<link href="/bags/common/tiddlers/jquery-ui.custom.css" type='text/css' rel='stylesheet' >

<div id="container">
	<div class="main section">
		<a class="app" href="/">home</a>
		<div class="left">
		<div id="siteiconArea">
		<h2>User Icon</h2>
			<img id="siteicon" class="siteicon">
			<form id="upload" method="POST" enctype="multipart/form-data">
				<input type="hidden" name="title" value="SiteIcon" />
				<input type="hidden" name="tags" value="excludeLists">
				<input type="hidden" name="csrf_token" class="csrf" />
				<input type="file" name="file" accept="image/*" />
				<input type="submit" value="upload" />
			<div id="dropzone">Drop file here
				<img class="notloading" src="/bags/common/tiddlers/ajax-loader.gif" alt="submitting SiteIcon" />
		<h2>Find Space</h2>
		<form class="spaceSearch">
			<input class="inputBox" type="text" placeholder="find space" />
			<a href="" class="help"
				title="What is a space?">What is a space?</a>
			<button>view all</button>
		<div class='list-container'>
			You are a member of the following spaces:
			<ul class='ts-space-search'>
		<h2>Create New Space</h2>
		<form class="ts-spaces">
			<input class="inputBox" type="text" name="spacename" placeholder="space name"><span class="hostSuffix"></span>
			<input type="submit" value="Create Space" />
		<div class="right">
		<h2>Change Password</h2>
		<form class="ts-password">
			<input class="inputBox" placeholder="existing password" type="password" name="password">
			<input class="inputBox" placeholder="new password" type="password" name="new_password">
			<input class="inputBox" placeholder="new password"	type="password" name="new_password_confirm">
			<input type="submit" value="Change password">
		<h3>Why OpenID?</h3>
		<a href=""><img src="/bags/common/tiddlers/openid.png" alt="openid" ></a><br />
		Use just one username and password across hundreds of OpenID-enabled sites.<br />
		It's an open standard.<br />
		<a href="">learn more</a>
		<ul class="ts-identities"></ul>
		<form class="ts-openid" target="_top">
				Add an openid:
			<input class="inputBox" type="text" name="openid" placeholder="your openid" />
			<input type="submit" value="Register" />
			<a href="" class="help"
			title="What is an open id?">What is an open id?</a>
		<div class="clear"></div>
<script src="/bags/common/tiddlers/backstage.js"></script>
<script src='/bags/common/tiddlers/jquery.js'></script>
<script src='/bags/tiddlyspace/tiddlers/chrjs'></script>
<script src='/bags/common/tiddlers/'></script>
<script src='/bags/common/tiddlers/chrjs.users'></script>
<script src='/bags/common/tiddlers/chrjs.identities'></script>
<script src="/bags/common/tiddlers/jquery-ui.custom.js"></script>
<script src='/bags/common/tiddlers/jquery-form.js'></script>
<script src="/bags/common/tiddlers/siteiconupload.js"></script>
<script src='/bags/common/tiddlers/ts.js'></script>
<script src="/status.js"></script>
<script type="text/javascript">
 * jQuery UI Autocomplete HTML Extension
 * Copyright 2010, Scott González (
 * Dual licensed under the MIT or GPL Version 2 licenses.
(function( $ ) {

var proto = $.ui.autocomplete.prototype,
	initSource = proto._initSource;

function filter( array, term ) {
	var matcher = new RegExp( $.ui.autocomplete.escapeRegex(term), "i" );
	return $.grep( array, function(value) {
		return matcher.test( $( "<div>" ).html( value.label || value.value || value ).text() );

$.extend( proto, {
	_initSource: function() {
		if ( this.options.html && $.isArray(this.options.source) ) {
			this.source = function( request, response ) {
				response( filter( this.options.source, request.term ) );
		} else { this );

	_renderItem: function( ul, item) {
		return $( "<li></li>" )
			.data( "item.autocomplete", item )
			.append( $( "<a></a>" )[ this.options.html ? "html" : "text" ]( item.label ) )
			.appendTo( ul );

})( jQuery );

_accounts application specific javascript
var link;
ts.init(function(ts) {
	if(ts.user.anon) { // redirect to homepage when user not logged in
		window.location = ts.getHost();
	} else if( === ts.currentSpace){
	} else {
		link = $("<a />").attr("href", ts.getHost( + "/_account").text("Change User Icon");
		$("#siteiconArea div").empty().append(link);
	$(".hostSuffix").text("." + ts.getHost("").split("//")[1]);
	ts.getSpaces(function(spaces) {
		$("<div class='info' />").text("You have " + spaces.length + " spaces.").insertBefore($(".spaceSearch")[0]);
		$("form.spaceSearch input").autocomplete({
			html: true,
			source: function(req, response) {
				ts.getSpaces(function(spaces) {
					var selected = [];
					for(var i = 0; i < spaces.length; i++) {
						var space = spaces[i];
						if( > -1) {
							var host = ts.getHost( ;
							var img = host + "/SiteIcon";
								label: '<a href="' + host + '" target="_parent" class="autocompleteLink"><img src="' + img + '" style="height:24px;width:auto;max-height:24px;max-width:24px;"/>' + + '</a>'
			select: function(event, ui) { = ts.getHost(ui.item.value);

		var $ul = $('.ts-space-search');
		$.each(spaces, function(i, space) {
			$ul.append($('<li/>').html($('<a/>').attr('href', space.uri)

		$('form.spaceSearch button').click(function(ev) {
			return false;

if(window != {
	$("a").live("click",function(ev) {
		$("target", "_parent");
<!--[if lt IE 8]>
<script type="text/javascript" src="/bags/common/tiddlers/json2.js"></script>
<!DOCTYPE html>
<html lang="en">
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<link rel="stylesheet" href="//">
		body {
			overflow: hidden;
			background-color: transparent;

		#container {
			/* prevent a fouc if no images present */
			display: none;

		.modal-header {
			border-bottom: none;
			padding: 5px 0 0;
			position: absolute;
			width: 100%;
			background-color: #e0e0e0;
			-webkit-border-radius: 6px 6px 0 0;
			-moz-border-radius: 6px 6px 0 0;
			border-radius: 6px 6px 0 0;
			cursor: move;

		.form-actions {
			position: absolute;
			bottom: 0;
			box-sizing: border-box;
			-moz-box-sizing: border-box;
			width: 100%;
			margin: 0;
			border-radius: 0 0 6px 6px;
			background-color: #e0e0e0;
			border-top: 1px solid gray;

		.form-actions input.btn {
			width: auto;
			float: right;
			margin: 0 0.2em;

		.closeBtn {
			background-color: #DCE7F1 !important;

		.primary {
			background-color: #09F !important;

		h1 {
			margin-bottom: 9px;
			margin-top: 9px;

		body {
			width: 100%;
			height: 100%;
			position: absolute;

		.modal {
			margin: 10px;
			top: 0;
			left: 0;
			bottom: 0;
			width: 510px;
			position: absolute;
			box-shadow: #444 0px 0px 10px 2px;
			border-radius: 6px;
			background-color: white;
			border: 1px solid gray;
			background-color: #F0F4F8;

		label em {
			cursor: pointer;

		.modal-body {
			overflow: auto;
			position: absolute;
			top: 0;
			bottom: 0;
			left: 0;
			right: 0;
			margin: 65px 20px 67px;
			background-color: transparent;

		.nav-tabs {
			padding-left: 1%;
			margin: 0;
			width: 99%;
			border-color: gray;

		.nav-tabs > li {
			cursor: pointer;

		.nav-tabs > li > a {
			line-height: 2.4em;
			font-weight: bold;
			font-size: 100%;

		.nav-tabs > > a{
			background-color: #F0F4F8;
			border-color: gray;
			border-bottom-color: #F0F4F8;

		.active {
			display: block;

		.uneditable-input {
			color: #606060;

		.imagePicker {
			-moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
			-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
			box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
			border: 1px solid #CCC;
			height: 110px;
			overflow: auto;
			-webkit-border-radius: 3px;
			-moz-border-radius: 3px;
			border-radius: 3px;
			margin-left: 0;

		.imagePicker img {
			margin: 5px;
			border: 2px solid transparent;

		.imagePicker .current {
			border: 2px dotted #555;

		label {
			font-weight: bold;

		.form-actions label {
			float: left;
			margin-top: 0.75em;

		fieldset input,
		fieldset textarea {
			width: 90%;
			border-color: gray;

		@media all and (max-width: 550px) {
			.modal {
				width: 95%;

		#help {
			position: absolute;
			border: 0;
			right: 4px;
			top: 5px;
			text-indent: -9999px;
			color: transparent;
			height: 16px;
			width: 16px;
			background: none;
			background-image: url(/bags/common/tiddlers/help.png);
			background-repeat: no-repeat;
			background-color: white;
			z-index: 2;
			border-radius: 10px;

		#help-info {
			padding: 0;
			border: 1px solid gray;
			width: 60%;
			height: 50px;
			color: #404040;
			background-color: white;
			position: absolute;
			top: 5px;
			right: 5px;
			z-index: 1;
			cursor: auto;
			border-radius: 5px;


		#help-info p {
			padding: 10px 25px;
			margin-bottom: 0;
	<div id="container">
		<form action="#" class="modal">
			<div class="modal-header">
				<button id="help">help</button>
				<div id="help-info" style="display:none;"><p>
				Found something interesting? Write about it in your own space. <a href="// to this Tiddler" target="_blank">Find out more</a>
				<ul class="nav nav-tabs" data-tabs="tabs">
					<li class="active" data-tab-name="post"><a href="#postForm">Reply</a></li>

			<fieldset id="postForm" class="modal-body">
					<input type="text" name="title">
				<input type="hidden" name="url">
					<textarea name="text" rows="8"></textarea>
					<input type="text" name="tags" value="">

			<div class="form-actions">
				<label class="checkbox">
					<input type="checkbox" name="private" val="private">
					keep private
				<input type="submit" class="btn primary btn-large" value="Done">
				<input type="button" class="btn btn-large closeBtn" value="Cancel">

	<script type="text/javascript"
	<script type="text/javascript" src="/bags/tiddlyspace/tiddlers/chrjs"></script>
	<script type="text/javascript" src="/bags/common/tiddlers/_reply.js"></script>
<!DOCTYPE html>
	<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
	<title>This Space</title>
	<link href="/bags/common/tiddlers/profile.css" type='text/css' rel='stylesheet' >
	<link href="/bags/common/tiddlers/admin.css" type='text/css' rel='stylesheet' >
	<!--[if lte IE 8]>
	<script type="text/javascript" src="/bags/common/tiddlers/json2.js"></script>
	<script type="text/javascript" src="/bags/common/tiddlers/es5-shim.min.js"></script>
<div id="container">
	<div id="text-html" class="main section">
		<a class="app" href="/">home</a>
		<div class="left">
		<h2>About this space <button class='toggleNext'></button></h2>
		<div id="siteinfo"></div>
		<h2>Site Icon</h2>
			<img id="siteicon" class="siteicon">
			<form id="upload" method="POST" enctype="multipart/form-data">
				<input type="hidden" name="title" value="SiteIcon" />
				<input type="hidden" name="tags" value="excludeLists">
				<input type="hidden" name="csrf_token" class="csrf" />
				<input type="file" name="file" accept="image/*" />
				<input class="btn" type="submit" value="upload" />
			<div id="dropzone">Drop file here
				<img class="notloading" src="/bags/common/tiddlers/ajax-loader.gif" alt="submitting SiteIcon" />
		<h2>Vital Statistics</h2>
		<div id="info">please wait while information is loaded about this space...</div>
		<button class="spacereset">Reset Space</button>
		<div class="reset-confirm-wrap messageArea">
			<button class="close-btn" title="cancel reset">×</button>
			<p>Are you sure you want to reset the space? You can't go back! This will remove all the content from the space!</p>
			<form class="cf">
				<label for="reset-confirm">Enter the space name to confirm.</label>
				<input type="text" name="reset-confirm" class="reset-confirm-input inputBox" />
				<button type="submit">Reset Now</button>
			<div class="reset-message-area">
				<p class="performing">Resetting...</p>
				<p class="finished">Reset Done!</p>
				<p class="recipe-error-msg">Error removing includes. Please remove manually.</p>
		<div class="right">
		<div class="ts-membership">
				Add Member
				<a href="" title="What is a Member?" class="help">What is a Member?</a>
				<p>Add a new member to your space by entering their name below. Enter a space name instead and prefix with @ to add everyone who is already a member of that space.</p>
				<form class="ts-members">
					<input class="inputBox" type="text" name="username">
					<input type="submit" value="Add Member" class="btn" />
				Existing Members <button class='toggleNext'></button>
				Your space currently has the following members: 
				<ul class="ts-members"></ul>
				Include Space
				<a class="help" href="" title="What is inclusion?">What is Inclusion?</a>
			<form class="ts-includes">
				<input class="inputBox" type="text" name="spacename">
				<input type="submit" value="Include Space" class="btn" />
			<h2>Included Spaces <button class='toggleNext'></button></h2>
			This space includes the following spaces:
			<ul class="ts-includes"></ul>
		<div class="clear"></div>
<script src='/bags/common/tiddlers/backstage.js'></script>
<script src='/bags/common/tiddlers/jquery.js'></script>
<script src='/bags/tiddlyspace/tiddlers/chrjs'></script>
<script src='/bags/common/tiddlers/'></script>
<script src='/bags/common/tiddlers/chrjs.users'></script>
<script src='/bags/common/tiddlers/chrjs.identities'></script>
<script src='/bags/tiddlyspace/tiddlers/TiddlySpaceCSRF'></script>
<script src='/bags/common/tiddlers/jquery-form.js'></script>
<script src="/bags/common/tiddlers/siteiconupload.js"></script>
<script src="/bags/common/tiddlers/ts.js"></script>
<script src="/status.js"></script>
<script src="/bags/common/tiddlers/space.js"></script>
<!DOCTYPE html>
<html lang="en">
	<meta charset="utf-8"/>
	<title>TiddlySpace Apps</title>
	<link rel="stylesheet" href="/bags/common/tiddlers/reset.css" />
	<link rel="stylesheet" href="/bags/common/tiddlers/appspage.css" />
	<!--[if lt IE 7 ]>
	<link rel="stylesheet" href="/bags/common/tiddlers/appspageie6.css" />
	<div id="wrapper">
		<div id="TSbar"></div>
		<div id="main-content">
			<div id="space-details">
				<a href="/_space"><img class="siteicon"></a>
				<div id="title-subtitle">
					<h1 class="spaceaddress">
						<span class="spaceName"></span><span class="hostName"></span>
					<p class="tagline"><span class="subTitle"></span><a class="managespaces" href="/_space">manage space</a></p>
			<div id="holder">
				<div id="appswitcher-wrapper">
					<div id="appswitcher">
						<h2>Your Apps</h2>
						<ul id="app-list">
							<li class="htmlserialisation">
								<a href="/tiddlers.html?select=tag:!excludeLists;sort=-modified">
									<img src="/bags/common/tiddlers/browse_read_blue.png" alt="Icon for the HTML Serialisation" class="app-img" />
							<li class="tiddlywiki">
								<a href="/">
									<img src="/bags/common/tiddlers/tiddlywiki2_blue.png" alt="Icon for TiddlyWiki" class="app-img" />
						<div id="addapp">
							<button class="inactive">Add More!</button>
					<div id="app-desc">
							<li class="htmlserialisationdesc"><p>an easy to understand HTML representation of your content.</p></li>
							<li class="tiddlywikidesc"><p>use TiddlyWiki to create, edit and organise your content.</p></li>
					<div style="clear: both;"></div>
		<div id="footer"><!-- ie doesn't support footer tag -->
			<div id="footer-content">
				<div class="links">
					<a href="">blog</a>
					<a href="">featured</a>
					<a href="">documentation</a>
					<a href="">source</a>
				<p>TiddlySpace 2011, created by <a href="">Osmosoft</a></p>
	<script type="text/javascript" src="/bags/common/tiddlers/backstage.js"></script>
	<script type="text/javascript" src="/bags/common/tiddlers/jquery.js"></script>
	<script type="text/javascript" src="/bags/tiddlyspace/tiddlers/chrjs"></script>
	<script type="text/javascript" src="/bags/common/tiddlers/chrjs-store.js"></script>
	<script type="text/javascript" src="/bags/common/tiddlers/jquery-json.js"></script>
	<script type="text/javascript" src="/bags/common/tiddlers/appspage.js"></script>
<svg xmlns:rdf="" xmlns="" height="100%" width="100%" version="1.1" xmlns:cc="" xmlns:dc="" viewBox="0 0 40 40"><metadata><rdf:RDF><cc:Work rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type rdf:resource=""/><dc:title/></cc:Work></rdf:RDF></metadata><defs><linearGradient id="lG3826" x1="7.0996" gradientUnits="userSpaceOnUse" y1="18.829" gradientTransform="matrix(1.5858347,0,0,1.8078238,1098.1851,351.13716)" x2="1.5461" y2="-0.95166"><stop stop-color="#000" offset="0"/><stop stop-color="#9c9b99" offset="1"/></linearGradient><linearGradient id="lG3828" y2="372.44" gradientUnits="userSpaceOnUse" y1="375.7" x2="1111.7" x1="1097.7"><stop style="stop-color:#ac9393;" offset="0"/><stop style="stop-color:#c8b7b7;" offset="1"/></linearGradient></defs><g transform="translate(-1080.9375,-357.3329)"><path style="stroke-width:0;stroke-miterlimit:4;fill:url(#lG3826);" d="m1080.9,357.32,39.996-0.0426-0.01,40.008c-15.507-25.519-15.36-25.95-39.988-39.965z"/><path style="stroke-dashoffset:0;stroke:#7aa3be;stroke-linecap:round;stroke-miterlimit:4;stroke-width:1.49999988;fill:#c1e6fd;" d="m1091.9,363.55c6.5716-6.4925,16.576-7.3925,23.147-0.90003,6.5717,6.4925,6.5717,17.019,0,23.511-4.4424-8.6113-12.288-15.713-23.147-22.611z"/><path style="stroke-dashoffset:0;stroke:#ce81b0;stroke-linecap:round;stroke-miterlimit:4;stroke-width:1.5;fill:#f4c4e2;" d="m1110.2,367.62c3.217,3.2168,3.217,8.4323,0,11.649-3.8194-4.2357-8.3307-8.1824-11.649-11.649,3.217-3.2168,8.4325-3.2168,11.649-0.00002z"/><path style="stroke-linejoin:bevel;stroke:#000000;stroke-linecap:round;stroke-dasharray:none;stroke-miterlimit:4;stroke-width:0.80000001;fill:url(#lG3828);" d="m1081,357.34c18.79,6.4752,32.53,16.56,39.894,39.892-11.19-17.028-14.878-19.19-27.352-14.96,6.2984-12.098,3.9371-13.19-12.542-24.932z"/></g></svg>
<svg xmlns="" xmlns:xl="" version="1.1" viewBox="72 648 70 70" 
width="30" height="30">
<g stroke="none" stroke-opacity="1" stroke-dasharray="none" fill="none" fill-opacity="1">
		<path d="M 77.59005 669.34003 C 71.532745 681.90424 73.714462 697.4441 84.135193 707.86475 
		C 97.315445 721.0451 118.684715 721.0451 131.8649 707.86475 
		C 145.04515 694.68457 145.04515 673.31537 131.8649 660.13513 
		C 121.4441 649.7141 105.90419 647.53253 93.339905 653.5899 L 102.047455 662.2976 
		C 109.58637 660.2373 117.987976 662.16803 123.90997 668.08997 
		C 132.69673 676.8767 132.69673 691.12317 123.90997 699.90985 
		C 115.12313 708.6966 100.87699 708.6966 92.09012 699.90985 
		C 86.168266 693.98804 84.23744 685.58643 86.297653 678.04755 Z M 72 648 L 72 668.25 L 78.75 661.49957 
		L 99.00019 681.7502 L 105.750175 675.00006 L 85.50013 654.75012 L 92.249985 648 Z" fill="black"
// TiddlyWeb adaptor
// v0.14.3

/*jslint vars: true, unparam: true, nomen: true, white: true */
/*global jQuery */

var tiddlyweb = (function($) {

"use strict";

var tw = {
	routes: {
		// host is the TiddlyWeb instance's URI (including server_prefix)
		// placeholders "_type" & "name" refer to the respective bag/recipe
		root     : "{host}/",
		bags     : "{host}/bags",
		bag      : "{host}/bags/{name}",
		recipes  : "{host}/recipes",
		recipe   : "{host}/recipes/{name}",
		tiddlers : "{host}/{_type}s/{name}/tiddlers",
		tiddler  : "{host}/{_type}s/{name}/tiddlers/{title}",
		revisions: "{host}/{_type}s/{name}/tiddlers/{title}/revisions",
		revision : "{host}/{_type}s/{name}/tiddlers/{title}/revisions/{revision}",
		search   : "{host}/search?q={query}"

var convertTimestamp, supplant;

// host (optional) is the URI of the originating TiddlyWeb instance
tw.Resource = function(type, host) {
	if(arguments.length) { // initialization
		this._type = type;
		if(host !== false) { = host !== undefined ? host.replace(/\/$/, "") : null;
$.extend(tw.Resource.prototype, {
	// retrieves resource from server
	// callback is passed resource, status, XHR (cf. jQuery.ajax success)
	// errback is passed XHR, error, exception, resource (cf. jQuery.ajax error)
	// filters is an optional filter string (e.g. "select=tag:foo;limit=5")
	get: function(callback, errback, filters) {
		var uri = this.route();
		if(filters) {
			var separator = uri.indexOf("?") === -1 ? "?" : ";";
			uri += separator + filters;
		var self = this;
		return $.ajax({
			url: uri,
			type: "GET",
			dataType: "json",
			success: function(data, status, xhr) {
				var resource = self.parse(data);
				resource.etag = xhr.getResponseHeader("Etag");
				callback(resource, status, xhr);
			error: function(xhr, error, exc) {
				errback(xhr, error, exc, self);
	// sends resource to server
	// callback is passed data, status, XHR (cf. jQuery.ajax success)
	// errback is passed XHR, error, exception, resource (cf. jQuery.ajax error)
	put: function(callback, errback) {
		var self = this;
		var options = {
			url: this.route(),
			type: "PUT",
			contentType: "application/json",
			data: JSON.stringify(this.baseData()),
			success: function(data, status, xhr) {
				callback(self, status, xhr);
			error: function(xhr, error, exc) {
				errback(xhr, error, exc, self);
		if(this.ajaxSetup) {
		return $.ajax(options);
	// deletes resource on server
	// callback is passed data, status, XHR (cf. jQuery.ajax success)
	// errback is passed XHR, error, exception, resource (cf. jQuery.ajax error)
	"delete": function(callback, errback) {
		var self = this;
		var options = {
			url: this.route(),
			type: "DELETE",
			success: function(data, status, xhr) {
				callback(self, status, xhr);
			error: function(xhr, error, exc) {
				errback(xhr, error, exc, self);
		if(this.ajaxSetup) {
		return $.ajax(options);
	// returns an object carrying only the essential information of the resource
	baseData: function() {
		var data = {},
			self = this;
		$.each(, function(i, item) {
			var value = self[item];
			if(value !== undefined) {
				data[item] = value;
		return data;
	// returns corresponding instance from a raw object (if applicable)
	parse: function(data) {
		return data;
	// list of accepted keys in serialization
	data: [],
	// returns resource's URI
	route: function() {
		return supplant(tw.routes[this._type], this);

var Container = function(type, name, host) {
	if(arguments.length) { // initialization
		tw.Resource.apply(this, [type, host]); = name;
		this.desc = "";
		this.policy = new tw.Policy({});
Container.prototype = new tw.Resource();
$.extend(Container.prototype, {
	tiddlers: function() {
		return new tw.TiddlerCollection(this);
	parse: function(data) {
		var type = tw._capitalize(this._type),
			container = new tw[type](,;
		data.policy = new tw.Policy(data.policy);
		return $.extend(container, data);
	data: ["desc", "policy"]

// attribs is an object whose members are merged into the instance (e.g. query)
tw.Collection = function(type, host, attribs) {
	if(arguments.length) { // initialization
		tw.Resource.apply(this, [type, host]);
		$.extend(this, attribs);
tw.Collection.prototype = new tw.Resource();

tw.TiddlerCollection = function(container, tiddler) {
	if(arguments.length) { // initialization
		tw.Collection.apply(this, [tiddler ? "revisions" : "tiddlers"]);
		this.container = container || null;
		this.tiddler = tiddler || null;
tw.TiddlerCollection.prototype = new tw.Collection();
$.extend(tw.TiddlerCollection.prototype, {
	parse: function(data) {
		var container = this.container;
		return $.map(data, function(item, i) {
			var tiddler = new tw.Tiddler(item.title, container),
				bag = item.bag;
			tiddler = tw.Tiddler.prototype.parse.apply(tiddler, [item]);
			if(!tiddler.bag && bag) { // XXX: bag always present!?
				tiddler.bag = new tw.Bag(bag,;
			if(!tiddler.recipe && item.recipe) {
				tiddler.recipe = new tw.Recipe(item.recipe,;
			delete item.recipe;
			return $.extend(tiddler, item);
	route: function() {
		var params = this.container;
		if(this.tiddler) {
			var container = this.tiddler.bag || this.tiddler.recipe;
			params = {
				_type: container._type,
				title: this.tiddler.title
		return supplant(tw.routes[this._type], params);

tw.Search = function(query, host) {
	tw.Collection.apply(this, ["search", host]);
	this.query = query;
tw.Search.prototype = new tw.Collection();
$.extend(tw.Search.prototype, {
	parse: function(data) {
		this.container = { // XXX: hacky
			_type: "bag",
		var tiddlers = tw.TiddlerCollection.prototype.parse.apply(this, arguments);
		delete this.container;
		return tiddlers;

// title is the name of the tiddler
// container (optional) is an instance of either Bag or Recipe
// optionally accepts a single object representing tiddler attributes
tw.Tiddler = function(title, container) {
	tw.Resource.apply(this, ["tiddler", false]);
	this.title = title;
	this.bag = container && container._type === "bag" ? container : null;
	this.recipe = container && container._type === "recipe" ? container : null;
	var self = this;
	$.each(, function(i, item) {
		self[item] = undefined; // exposes list of standard attributes for inspectability
	if(title && title.title) { // title is an object of tiddler attributes
		$.extend(this, title);
tw.Tiddler.prototype = new tw.Resource();
$.extend(tw.Tiddler.prototype, {
	revisions: function() {
		return new tw.TiddlerCollection(this.bag || this.recipe, this);
	route: function() {
		var container = this.bag || this.recipe;
		var params = $.extend({}, this, {
			host: container ? : null,
			_type: this.bag ? "bag" : (this.recipe ? "recipe" : null),
			name: container ? : null
		return supplant(tw.routes[this._type], params);
	parse: function(data) {
		var tiddler = new tw.Tiddler(this.title),
			container = this.bag || this.recipe;
		if(data.bag) {
			tiddler.bag = new tw.Bag(data.bag,;
			delete data.bag;
		delete data.recipe;
		tiddler.created = data.created ? convertTimestamp(data.created) : new Date();
		delete data.created;
		tiddler.modified = data.modified ? convertTimestamp(data.modified) : new Date();
		delete data.modified;
		if(this.recipe) {
			tiddler.recipe = this.recipe;
		return $.extend(tiddler, data);
	data: ["created", "creator", "modifier", "modified", "tags", "type", "text",
	ajaxSetup: function(options) {
		var self = this;
		if(this.etag && (options.type === "PUT" || options.type === "DELETE")) {
			options.beforeSend = function(xhr) {
				xhr.setRequestHeader("If-Match", self.etag);
		if(options.type === "PUT") {
			var callback = options.success;
			options.success = function(data, status, xhr) {
				var loc = xhr.getResponseHeader("Location"),
					etag = xhr.getResponseHeader("Etag");
				if(loc && etag) {
					self.etag = etag;
					if(!self.bag) {
						var bag = loc.split("/bags/").pop().split("/")[0];
						self.bag = new tw.Bag(bag,;
					callback(self, status, xhr);
				} else { // IE
					self.get(callback, options.error);

tw.Revision = function(id, tiddler) {
	var container = tiddler.bag || tiddler.recipe;
	tw.Tiddler.apply(this, [tiddler.title, container]);
	this._type = "revision";
	this.revision = id;
tw.Revision.prototype = new tw.Tiddler();
$.extend(tw.Revision.prototype, {
	revisions: false,
	data: false,
	put: false,
	"delete": false

tw.Bag = function(name, host) {
	Container.apply(this, ["bag", name, host]);
tw.Bag.prototype = new Container();

tw.Recipe = function(name, host) {
	Container.apply(this, ["recipe", name, host]);
	this.recipe = [];
tw.Recipe.prototype = new Container();
$.extend(tw.Recipe.prototype, {
	data: ["recipe"].concat(

tw.Policy = function(constraints) { // TODO: validation?
	var self = this;
	$.each(this.constraints, function(i, item) {
		self[item] = constraints[item];
tw.Policy.prototype.constraints = ["read", "write", "create", "delete",
	"manage", "accept", "owner"];

 * utilities

tw._capitalize = function(str) {
	return str.charAt(0).toUpperCase() + str.slice(1);

// convert YYYYMMDDhhmmss timestamp to Date instance
convertTimestamp = function(t) {
	if (t.match(/^\d{12,17}$/)) {
		return new Date(Date.UTC(
			parseInt(t.substr(0, 4), 10),
			parseInt(t.substr(4, 2), 10) - 1,
			parseInt(t.substr(6, 2), 10),
			parseInt(t.substr(8, 2), 10),
			parseInt(t.substr(10, 2), 10),
			parseInt(t.substr(12, 2) || "0", 10),
			parseInt(t.substr(14, 3) || "0", 10)
	} else {
		return new Date(Date.parse(t));

// adapted from Crockford (
supplant = function(str, obj) {
	return str.replace(/{([^{}]*)}/g, function (a, b) {
		var r = obj[b];
		r = typeof r === "string" || typeof r === "number" ? r : a;
		return $.inArray(b, ["host", "query"]) !== -1 ? r : encodeURIComponent(r); // XXX: special-casing

return tw;

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape ( -->

   viewBox="918 510 14 14"
           rdf:resource="" />
         offset="0" />
         offset="1" />
       gradientTransform="matrix(11.473944,0,0,11.473944,922.3752,513.7837)" />
         d="m 929.6952,512.9018 c -2.5384,-2.53843 -6.654,-2.53843 -9.1924,0 -2.5384,2.5384 -2.5384,6.654 0,9.19238 2.5384,2.53839 6.654,2.53839 9.1924,0 2.5384,-2.53838 2.5384,-6.65398 0,-9.19238 m -4.5962,2.8407 2.07733,-2.07734 1.75547,1.75549 -2.0773,2.07735 2.0773,2.07732 -1.75547,1.75548 -2.07733,-2.07732 -2.07733,2.07732 -1.75547,-1.75548 2.0773,-2.07732 -2.0773,-2.07735 1.75547,-1.75549 z"
         style="fill:url(#Obj_Gradient)" />
         d="m 927.61447,515.38354 a 4.51205,4.2590378 0 1 1 -9.0241,0 4.51205,4.2590378 0 1 1 9.0241,0 z"
         style="fill:#000000;fill-opacity:0;fill-rule:evenodd;stroke:none;stroke-width:5;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
<svg xmlns="" xmlns:xl="" version="1.1" viewBox="78 222 60 60" 
width="30" height="30">
<g stroke="none" stroke-opacity="1" stroke-dasharray="none" fill="none" fill-opacity="1">
		<path d="M 107.92718 244.14815 L 86.651474 222.89253 L 78.85206 230.69925 L 100.120415 251.9476 L 78.774 273.27396 
		L 86.57342 281.08075 L 107.927216 259.74707 L 129.39981 281.19946 L 137.19922 273.39267 L 115.73397 251.94763 
		L 137.121155 230.58054 L 129.32175 222.77374 Z" fill="black" class="glyph"/>
Unless you're delighted with the default theme you can make some quick changes by generating a new random color palette, hit this button to cycle through some alternatives.

<<RandomColorPaletteButton saturation_pale:0.67 saturation_light:0.53
saturation_mid:0.43 saturation_dark:0.06 pale:0.99 light:0.85 mid:0.5 dark:0.31>>

You can also change the look and feel completely by installing a new theme. To do this, find one you like in the @themes space, note down the name, and include it in this space by going to the space menu. You can reach the space menu by clicking on the blue and pink circle at the top-right of the page and chooshing "THIS SPACE". Here are a few to check out:
* @pip
* @caspian-ii
* @basalt
* @simplicity
* @cheesecake
* @jelly-doughnut

(//Note that if you are using a custom TiddlySpace install, these themes may not be present.//)
<svg xmlns="" xmlns:xl="" version="1.1" viewBox="450 366 38 57"
width="30" height="30">
	<g stroke="none" stroke-opacity="1" stroke-dasharray="none" fill="none" fill-opacity="1">
			<path d="M 452.1094 421.2422 L 450 421.2422 L 450 423 L 487.9688 423 L 487.9688 421.2422 L 485.8595 421.2422 
			L 485.8595 377.29688 L 487.9688 377.29688 L 487.9688 375.53906 L 485.8595 375.53906 
			C 485.8595 375.53906 481.12463 371.59341 473.02023 370.52802 C 472.6824 368.9689 471.72098 366.75 468.9844 366.75 
			C 466.24783 366.75 465.28638 368.9689 464.94864 370.52802 
			C 456.84418 371.59341 452.1094 375.53906 452.1094 375.53906 L 450 375.53906 L 450 377.29688 L 452.1094 377.29688 
			Z M 467.12247 370.32086 L 467.12247 370.32086 C 467.3805 369.42395 467.90762 368.50781 468.9844 368.50781 
			C 470.0612 368.50781 470.5883 369.42395 470.84634 370.32086 
			C 470.24136 370.2848 469.62054 370.26562 468.9844 370.26562 
			C 468.34827 370.26562 467.72748 370.2848 467.12247 370.32086 Z M 454.21875 420.92804 L 454.21875 420.92804 
			C 455.46762 420.42087 456.32816 419.35281 456.32816 418.11716 L 456.32816 377.29688 L 458.4375 377.29688 
			L 458.4375 421.2422 L 454.21875 421.2422 Z M 460.5469 420.92804 L 460.5469 420.92804 
			C 461.79578 420.42087 462.65625 419.35281 462.65625 418.11716 L 462.65625 377.29688 L 464.76566 377.29688 
			L 464.76566 421.2422 L 460.5469 421.2422 Z M 466.87503 420.92804 L 466.87503 420.92804 
			C 468.1239 420.42087 468.9844 419.35281 468.9844 418.11716 L 468.9844 377.29688 L 471.09378 377.29688 
			L 471.09378 421.2422 L 466.87503 421.2422 Z M 473.2032 420.92804 L 473.2032 420.92804 
			C 474.45203 420.42087 475.31256 419.35281 475.31256 418.11716 L 475.31256 377.29688 L 477.4219 377.29688 
			L 477.4219 421.2422 L 473.2032 421.2422 Z M 479.5313 420.92804 L 479.5313 420.92804 
			C 480.78018 420.42087 481.64066 419.35281 481.64066 418.11716 L 481.64066 377.29688 L 483.75006 377.29688 
			L 483.75006 421.2422 L 479.5313 421.2422 Z" fill="black" class="glyph"/>
<svg xmlns="" xmlns:xl="" version="1.1" viewBox="301 225 48 52"
width="30" height="30">
<g stroke="none" stroke-opacity="1" stroke-dasharray="none" fill="none" fill-opacity="1">
		<path d="M 333.00003 234 L 306 258.75003 L 301.5 270 L 312.75 265.50003 L 339.75 240.74998 Z M 337.5 229.50002 
		L 335.24988 231.75008 L 341.99997 238.50003 L 344.24997 236.24995 Z M 342 225.00003 L 339.74988 227.25009 
		L 346.5 234.00005 L 348.75 231.75003 Z M 301.5 273.9719 C 301.5 273.9719 309.59888 277.99927 317.70013 273.97183 
		C 325.80066 269.94437 341.99997 276.65686 341.99997 276.65686 L 341.99997 273.97195 
		C 341.99997 273.97195 325.80014 267.2594 317.70013 271.28687 C 309.6 275.31451 301.5 271.28683 301.5 271.28683 Z" 
		fill="#101010" class="glyph"/>
<svg xmlns="" xmlns:xl="" version="1.1" viewBox="506 234 68 36" width="30" height="30"><metadata xmlns:dc=""><dc:date>2010-09-16 14:51Z</dc:date><!-- Produced by OmniGraffle Professional 5.2.3 --></metadata><defs></defs><g strok