// TIPSTER v3.1 RC (c) 2001-2006 Angus Turnbull, http://www.twinhelix.com
// Altering this notice or redistributing this file is prohibited.

// Welcome to Tipster! Before you start, make sure you've read and agree to the
// "Conditions of Use" in the HTML document below.

// This script is object orientated.
// It works by creating "tip objects", each of which corresponds to a DIV in the page below.
// Each object contains a 'template' used for formatting tips, and settings for that object.
// Here are some examples to get you started:


// First, create a new tip object, and pass it its own name so it can reference itself.
var docTips = new TipObj('docTips');
with (docTips)
{
 // Next, we set the appearance and style of the tips displayed by this tip object.
 // Each tip object must have a string called 'template' that contains some specially-formatted
 // HTML to write to its DIV. This example has two nested tables, a border and a background.
 // The special bits are the %2%, %3% and so on halfway through. These correspond to values we
 // set in the tips.tipName arrays later: %0% is the X value, %1% is Y, and %2% onwards are
 // whatever other info we have in there (width, text etc...). This example sets the width %2%
 // of the table, and inserts some content which is the text %3%.
 // You might want to put extra information in the tip arrays, and use %4%, %5% onwards in the
 // template for tip headers, footers, customisable colours etc... see the next tip object for
 // another example.

 template = '<table bgcolor="#003366" cellpadding="1" cellspacing="0" width="%2%" border="0">' +
  '<tr><td><table bgcolor="#6699CC" cellpadding="3" cellspacing="0" width="100%" border="0">' +
  '<tr><td class="tipClass">%3%</td></tr></table></td></tr></table>';

 // Next, you can list one or more named tips to call later on in your page. This is useful if
 // you want to show the same tip several times in the page, or on several pages.
 //
 // We organise tips in arrays like so: tips.tipName = new Array(X, Y, width, text, ....);
 // The first two parameters, X and Y, are the distances of the tip from the mouse cursor position
 // if they're set as numbers. If they're strings ('in quotes'), the script calculates them as
 // expressions and ignores the mouse position. They are the only compulsory parameters.
 // You can also use the 'page' object included with this script for fancy positioning
 // effects. Functions include 'page.winW()' and 'page.winH()' to get the window area dimensions,
 // and 'page.scrollX()' and 'page.scrollY()' for the current scroll position, so you can align
 // your tips however you want... see the examples below.
 //
 // Alternatively, you can also create tips inline later in the page like so:
 // <tag onmouseover="tipObjectName.newTip('tipName', X, Y, ....and so on....)">
 // This automatically creates and shows a new tip (just give them random names).
 // Make sure you don't use HTML formatting inside HTML tag event handlers for your tip text.
 //
 // And if you don't want to do *that*, see below for an optional function that can convert
 // TITLE="..." attributes into tips automatically.


 // This 'mysite' tip will show 75px left of the cursor and 15px below. As you can see %2% is
 // a width of 150px, and %3% is a text string, according to our template above.
 tips.mysite = new Array(-75, 15, 150, 'Visit this for updates, help and more info');
 tips.welcome = new Array(5, 5, 100, 'Hope you like it...');
 tips.useful = new Array(5, 5, 150, 'This can add important context information to any link...');
 // This next tip uses a formula to position the tip 110 pixels from the right edge of the screen.
 tips.formulae = new Array('page.scrollX() + page.winW() - 110', -20, 100,
  'This tip is always on the right edge...');
 tips.format = new Array(5, 5, 150, 'That means <i>italics</i>...<br /><hr />...etc');


 // Finally, you can set some optional properties to customise the behavious of this object.
 //
 // How much of a delay do you want between pointing and action? Defaults are:
 //showDelay = 50;
 //hideDelay = 200;
 //
 // False will hide tips instantaneously. Fading only works under IE/Win and NS6+.
 //doFades = false;
 // You can change the minimum and maximum opacity percentages, defaults:
 //minAlpha = 0;
 //maxAlpha = 100;
 //
 // How fast the transparency changes (between 1 and 100), higher means faster fades.
 //fadeInSpeed = 20;
 //fadeOutSpeed = 20;
 //
 // Tip stickiness, from 0 to 1, defines how readily the tip follows the cursor. 1 means it
 // follows it perfectly (the default), 0 is a static tip, and decimals are 'floating' tips.
 //tipStick = 0.2;
 //
 // IE 5.5+ select box fix. This will enable tips to appear over <SELECT> elements in the page.
 //IESelectBoxFix = true;
}

// Later in the document, use this syntax to show tips from links or other HTML tags:
// <a href="file.html" onmouseover="tipObjName.show('tipName')" onmouseout="tipObjName.hide()">

function getkrpos(where, which, additionalOffset)
	{
	return(where[which]+additionalOffset);
	}


// Here's a second demo tip object. Feel free to delete it if you're not using it!
// I've included a tip header here in this template, %3% is the header text and %4% is
// now the main text. As you can see you can basically format your tips any way you want.
// This tip also includes mouse event handlers to show a second-level tip, just like in
// the body of the page below, so you can nest tips within tips, and a 'tipStick' of 0 so
// it never follows the mouse.
var staticTip = new TipObj('staticTip');
with (staticTip)
{
 // I'm using tables here for legacy NS4 support, but feel free to use styled DIVs.
 template = '<div class="toolTipBox">%2%%3%%4%</div>';

 minAlpha = 50;
 maxAlpha = 100;

 // HIERARCHIAL TIPS: To call one tip object from within another tip object, make sure you
 // pass the a reference to the current object as the second parameter to the show() function.

var templateLeft1 = '<table border="0" cellpadding="0" cellspacing="0" class="widgetPop"><tr><td><div class="toolTipBoxOuterLeft"><div class="toolTipBoxInnerLeft"><div class="innerMost">';

var templateLeft2 = '</div></div></div></td></tr></table>';

var templateRight1 = '<table border="0" cellpadding="0" cellspacing="0" class="widgetPop"><tr><td><div class="toolTipBoxOuterRight"><div class="toolTipBoxInnerRight"><div class="innerMost">';

var templateRight2 = '</div></div></div></td></tr></table>';



/* ----------------------------- */
/* BEGIN POSITIVE PARENTING TIPS */
/* ----------------------------- */

/* MORNING TIPS */

var templateMornings = 
					'<div class="popHead">Tips for Smoother Mornings</div>' +
					'<div class="popListContainer">' +
					'<div class="popListItem">Sign permission slips, pack bags, and leave essentials on a "launch pad" near the front door the night before.</div>' +
					'<div class="popListItem">Draw up a checklist that spells out your child&rsquo;s morning routine.</div>' +
					'</div><!-- end popListContainer -->' +
					'<div class="toolTipMore"><a href="/widgets/pop_parenting_tips.html" onclick="centered(this.href); return false;" target="_blank">more &raquo;</a></div>';

tips.mornings = new Array
	(
	'getkrpos(kruseposition(\'mornings\'), \'x\', -144);', 
	'getkrpos(kruseposition(\'mornings\'), \'y\', 5);', 
 	templateLeft1,
 	templateMornings, 
 	templateLeft2
	);

/* AFTER SCHOOL TIPS */

var afterSchoolTips = 
					'<div class="popHead">After-School Strategies</div>' +
					'<div class="popListContainer">' +
					'<div class="popListItem">Establish a start time for homework, and stick to it.</div>' +
					'<div class="popListItem">Let your child take short, frequent breaks from homework to maintain focus.</div>' +
					'<div class="popListItem">Set aside time for fun!</div>' +
					'</div><!-- end popListContainer -->' +
					'<div class="toolTipMore"><a href="/widgets/pop_parenting_tips.html#afterschool" onclick="centered(this.href); return false;" target="_blank">more &raquo;</a></div>';

tips.after_school = new Array
 	(
 	'getkrpos(kruseposition(\'after_school\'), \'x\', 70);', 
 	'getkrpos(kruseposition(\'after_school\'), \'y\', 3);', 
 	templateRight1,
 	afterSchoolTips, 
 	templateRight2
 	);


/* MEALTIME TIPS */

var templateMealtimes = 
					'<div class="popHead">Ways to Ensure Happy Meal Times</div>' +
					'<div class="popListContainer">' +
					'<div class="popListItem">Keep a supply of grab-and-go breakfast foods for hectic mornings.</div>' +
					'<div class="popListItem">Share the responsibilities for dinner preparation.</div>' +
					'<div class="popListItem">Make sure that medication times don&rsquo;t impact your child&rsquo;s appetite during dinner.</div>' +
					'</div><!-- end popListContainer -->' +
					'<div class="toolTipMore"><a href="/widgets/pop_parenting_tips.html#mealtime" onclick="centered(this.href); return false;" target="_blank">more &raquo;</a></div>';

tips.mealtimes = new Array
 	(
 	'getkrpos(kruseposition(\'mealtimes\'), \'x\', -144);', 
 	'getkrpos(kruseposition(\'mealtimes\'), \'y\', 30);', 
 	templateLeft1,
 	templateMealtimes, 
 	templateLeft2
 	);



/* BEDTIME TIPS */

var templateBedtime = 
					'<div class="popHead">Keys to the Bedtime Routine</div>' +
					'<div class="popListContainer">' +
					'<div class="popListItem">Set a realistic bedtime and enforce it consistently - even on weekends.</div>' +
					'<div class="popListItem">If your child gets up, tuck her back in gently but firmly.</div>' +
					'</div><!-- end popListContainer -->' +
					'<div class="toolTipMore"><a href="/widgets/pop_parenting_tips.html#bedtime" onclick="centered(this.href); return false;" target="_blank">more &raquo;</a></div>';

tips.bedtime = new Array
	(
	'getkrpos(kruseposition(\'bedtime\'), \'x\', 70);', 
	'getkrpos(kruseposition(\'bedtime\'), \'y\', 35);', 
 	templateRight1,
 	templateBedtime, 
 	templateRight2
	);

/* --------------------------- */
/* END POSITIVE PARENTING TIPS */
/* --------------------------- */





/* ----------------------- */
/* BEGIN ADD ROAD MAP TIPS */
/* ----------------------- */



/* understanding_add */

var templateUnderstandingADD = 
					'<div class="popHead">Understanding ADD</div>' +
					'<div class="popListContainer">' +
					'<div class="popListItem">AHDH is a biologically based brain disorder that results from an imbalance in the brain&rsquo;s neurotransmitters. Its primary symptoms include inattention, impulsivity, and, sometimes, hyperactivity...</div>' +
					'</div><!-- end popListContainer -->' +
					'<div class="toolTipMore"><a href="/widgets/pop_add_roadmap.html" onclick="centered(this.href); return false;" target="_blank">more &raquo;</a></div>';

tips.understanding_add = new Array
	(
	'getkrpos(kruseposition(\'understanding_add\'), \'x\', -141);', 
	'getkrpos(kruseposition(\'understanding_add\'), \'y\', -4);', 
 	templateLeft1,
 	templateUnderstandingADD, 
 	templateLeft2
	);


/* getting_treatment */

var templateGettingTreatment = 
					'<div class="popHead">Getting Treatment</div>' +
					'<div class="popListContainer">' +
					'<div class="popListItem">Decide whether you will take medication or pursue alternative therapies. Or both.</div>' +
					'<div class="popListItem">Ask your doctor to explain how ADHD meds work.</div>' +
					'</div><!-- end popListContainer -->' +
					'<div class="toolTipMore"><a href="/widgets/pop_add_roadmap.html#treatment" onclick="centered(this.href); return false;" target="_blank">more &raquo;</a></div>';

tips.getting_treatment = new Array
	(
	'getkrpos(kruseposition(\'getting_treatment\'), \'x\', -166);', 
	'getkrpos(kruseposition(\'getting_treatment\'), \'y\', 10);', 
 	templateLeft1,
 	templateGettingTreatment, 
 	templateLeft2
	);



/* finding_help */

var templateFindingHelp = 
					'<div class="popHead">Finding Help</div>' +
					'<div class="popListContainer">' +
					'<div class="popListItem">If your pediatrician or family physician has no experience with ADHD, we recommend seeing a specialist.</div>' +
					'<div class="popListItem">Your support team may also include an ADD coach.</div>' +
					'</div><!-- end popListContainer -->' +
					'<div class="toolTipMore"><a href="/widgets/pop_add_roadmap.html#findinghelp" onclick="centered(this.href); return false;" target="_blank">more &raquo;</a></div>';

tips.finding_help = new Array
	(
	'getkrpos(kruseposition(\'finding_help\'), \'x\', 57);', 
	'getkrpos(kruseposition(\'finding_help\'), \'y\', 15);', 
 	templateRight1,
 	templateFindingHelp, 
 	templateRight2
	);


/* changing_behavior */


var templateChangingBehavior = 
					'<div class="popHead">Changing Behavior</div>' +
					'<div class="popListContainer">' +
					'<div class="popListItem">Use a daily planner to help you meet goals.</div>' +
					'<div class="popListItem">Use tokens or stars to reward ADD children.</div>' +
					'<div class="popListItem">Outline your specific challenges for an ADD coach.</div>' +
					'</div><!-- end popListContainer -->' +
					'<div class="toolTipMore"><a href="/widgets/pop_add_roadmap.html#changingbehavior" onclick="centered(this.href); return false;" target="_blank">more &raquo;</a></div>';

tips.changing_behavior = new Array
	(
	'getkrpos(kruseposition(\'changing_behavior\'), \'x\', 47);', 
	'getkrpos(kruseposition(\'changing_behavior\'), \'y\', 5);', 
 	templateRight1,
 	templateChangingBehavior, 
 	templateRight2
	);



/* --------------------- */
/* END ADD ROAD MAP TIPS */
/* --------------------- */







/* -------------------------- */
/* BEGIN MANAGE YOUR ADD TIPS */
/* -------------------------- */


/* coaching_behavior */

var templateCoachingBehavior = 
					'<div class="popHead">Coaching &amp; Behavior</div>' +
					'<div class="popListContainer">' +
					'<div class="popListItem">Structure life around a daily routine.</div>' +
					'<div class="popListItem">Maintain a daily to-do list and check off items as they&rsquo;re completed.</div>' +
					'<div class="popListItem">Buy a timer!</div>' +
					'</div><!-- end popListContainer -->' +
					'<div class="toolTipMore"><a href="/widgets/pop_manage_your_add.html" onclick="centered(this.href); return false;" target="_blank">more &raquo;</a></div>';

tips.coaching_behavior = new Array
	(
	'getkrpos(kruseposition(\'coaching_behavior\'), \'x\', -123);', 
	'getkrpos(kruseposition(\'coaching_behavior\'), \'y\', 10);', 
 	templateLeft1,
 	templateCoachingBehavior, 
 	templateLeft2
	);


/* diet_exercise */

var templateDietExercise = 
					'<div class="popHead">Diet &amp; Exercise</div>' +
					'<div class="popListContainer">' +
					'<div class="popListItem">More protein and fewer carbohydrates will help you maintain focus and energy.</div>' +
					'<div class="popListItem">Eat a nutritious, low-fat breakfast with a multivitamin.</div>' +
					'</div><!-- end popListContainer -->' +
					'<div class="toolTipMore"><a href="/widgets/pop_manage_your_add.html#dietexercise" onclick="centered(this.href); return false;" target="_blank">more &raquo;</a></div>';

tips.diet_exercise = new Array
	(
	'getkrpos(kruseposition(\'diet_exercise\'), \'x\', -145);', 
	'getkrpos(kruseposition(\'diet_exercise\'), \'y\', -9);', 
 	templateLeft1,
 	templateDietExercise, 
 	templateLeft2
	);


/* medication */

var templateMedication = 
					'<div class="popHead">Medication</div>' +
					'<div class="popListContainer">' +
					'<div class="popListItem">Don&rsquo;t expect to find the right drug right away.</div>' +
					'<div class="popListItem">Pay attention to when you take your pills and how long they help.</div>' +
					'</div><!-- end popListContainer -->' +
					'<div class="toolTipMore"><a href="/widgets/pop_manage_your_add.html#medication" onclick="centered(this.href); return false;" target="_blank">more &raquo;</a></div>';

tips.medication = new Array
	(
	'getkrpos(kruseposition(\'medication\'), \'x\', 36);', 
	'getkrpos(kruseposition(\'medication\'), \'y\', 41);', 
 	templateRight1,
 	templateMedication, 
 	templateRight2
	);

/* ------------------------ */
/* END MANAGE YOUR ADD TIPS */
/* ------------------------ */







/* ----------------------------- */
/* BEGIN ORGANIZE YOUR LIFE TIPS */
/* ----------------------------- */


/* home_office */

var templateHomeOffice = 
					'<div class="popHead">Home Office</div>' +
					'<div class="popListContainer">' +
					'<div class="popListItem">Create a bill-paying center with rolling file cart, pens, checkbook, stamps, etc.</div>' +
					'<div class="popListItem">Process incoming mail everyday.</div>' +
					'<div class="popListItem">Create a "hot spot" for time-sensitive documents.</div>' +
					'</div><!-- end popListContainer -->' +
					'<div class="toolTipMore"><a href="/widgets/pop_organize_your_life.html" onclick="centered(this.href); return false;" target="_blank">more &raquo;</a></div>';

tips.home_office = new Array
	(
	'getkrpos(kruseposition(\'home_office\'), \'x\', -131);', 
	'getkrpos(kruseposition(\'home_office\'), \'y\', 30);', 
 	templateLeft1,
 	templateHomeOffice, 
 	templateLeft2
	);



/* bedroom */

var templateBedroom = 
					'<div class="popHead">Bedroom</div>' +
					'<div class="popListContainer">' +
					'<div class="popListItem">Pre-assemble your clothes into complete outfits on sturdy hangers.</div>' +
					'<div class="popListItem">Set one alarm an hour early, take your medication and crawl back into bed.</div>' +
					'</div><!-- end popListContainer -->' +
					'<div class="toolTipMore"><a href="/widgets/pop_organize_your_life.html#bedroom" onclick="centered(this.href); return false;" target="_blank">more &raquo;</a></div>';

tips.bedroom = new Array
	(
	'getkrpos(kruseposition(\'bedroom\'), \'x\', 53);', 
	'getkrpos(kruseposition(\'bedroom\'), \'y\', 27);', 
 	templateRight1,
 	templateBedroom, 
 	templateRight2
	);


/* kitchen */

var templateKitchen = 
					'<div class="popHead">Kitchen</div>' +
					'<div class="popListContainer">' +
					'<div class="popListItem">Organize your kitchen into functional "stations."</div>' +
					'<div class="popListItem">Brainstorm your family&rsquo;s top 10 favorite meals, and write the ingredients on index cards that you can bring to the grocery store.</div>' +
					'</div><!-- end popListContainer -->' +
					'<div class="toolTipMore"><a href="/widgets/pop_organize_your_life.html#kitchen" onclick="centered(this.href); return false;" target="_blank">more &raquo;</a></div>';

tips.kitchen = new Array
	(
	'getkrpos(kruseposition(\'kitchen\'), \'x\', -138);', 
	'getkrpos(kruseposition(\'kitchen\'), \'y\', 6);', 
 	templateLeft1,
 	templateKitchen, 
 	templateLeft2
	);



/* living_room */

var templateLivingRoom = 
					'<div class="popHead">Living Room</div>' +
					'<div class="popListContainer">' +
					'<div class="popListItem">Compile a list of five-minute tasks and keep it handy for little bits of down time.</div>' +
					'<div class="popListItem">Set an alarm to go off 10 minutes before you need to leave the house.</div>' +
					'<div class="popListItem">Designate a "junk drawer" in each common room.</div>' +
					'</div><!-- end popListContainer -->' +
					'<div class="toolTipMore"><a href="/widgets/pop_organize_your_life.html#livingroom" onclick="centered(this.href); return false;" target="_blank">more &raquo;</a></div>';

tips.living_room = new Array
	(
	'getkrpos(kruseposition(\'living_room\'), \'x\', 51);', 
	'getkrpos(kruseposition(\'living_room\'), \'y\', 6);', 
 	templateRight1,
 	templateLivingRoom, 
 	templateRight2
	);


/* --------------------------- */
/* END ORGANIZE YOUR LIFE TIPS */
/* --------------------------- */




/* ----------------------------------- */
/* BEGIN SUCCESS IN THE CLASSROOM TIPS */
/* ----------------------------------- */



/* paying_attention */

var templatePayingAttention = 
					'<div class="popHead">Paying Attention</div>' +
					'<p class="popBI">For Parents</p>' +
					'<div class="popListContainer">' +
					'<div class="popListItem">Help your child become aware of the things that distract her so she can avoid them.</div>' +
					'</div><!-- end popListContainer -->' +
					'<p class="popBI">For Teachers</p>' +
					'<div class="popListContainer">' +
					'<div class="popListItem">Keep ADD kids close to you and away from doors and windows.</div>' +
					'</div><!-- end popListContainer -->' +
					'<div class="toolTipMore"><a href="/widgets/pop_success_in_classroom.html" onclick="centered(this.href); return false;" target="_blank">more &raquo;</a></div>';

tips.paying_attention = new Array
	(
	'getkrpos(kruseposition(\'paying_attention\'), \'x\', -146);', 
	'getkrpos(kruseposition(\'paying_attention\'), \'y\', 3);', 
 	templateLeft1,
 	templatePayingAttention, 
 	templateLeft2
	);




/* transitions */

var templateTransitions = 
					'<div class="popHead">Transitions</div>' +
					'<p class="popBI">For Parents</p>' +
					'<div class="popListContainer">' +
					'<div class="popListItem">Make a checklist that your child can follow until a certain routine becomes second nature.</div>' +
					'</div><!-- end popListContainer -->' +
					'<p class="popBI">For Teachers</p>' +
					'<div class="popListContainer">' +
					'<div class="popListItem">Use a timer to signal that a transition is on the way.</div>' +
					'</div><!-- end popListContainer -->' +
					'<div class="toolTipMore"><a href="/widgets/pop_success_in_classroom.html#transitions" onclick="centered(this.href); return false;" target="_blank">more &raquo;</a></div>';

tips.transitions = new Array
	(
	'getkrpos(kruseposition(\'transitions\'), \'x\', -142);', 
	'getkrpos(kruseposition(\'transitions\'), \'y\', -4);', 
 	templateLeft1,
 	templateTransitions, 
 	templateLeft2
	);



/* transitions */

var templateHomework = 
					'<div class="popHead">Homework</div>' +
					'<p class="popBI">For Parents</p>' +
					'<div class="popListContainer">' +
					'<div class="popListItem">Pick a homework spot to be used on a consistent basis and make sure all necessary tools are available there.</div>' +
					'</div><!-- end popListContainer -->' +
					'<p class="popBI">For Teachers</p>' +
					'<div class="popListContainer">' +
					'<div class="popListItem">Use a homework assignment sheet that must be initialed by parents and you for oversight and support.</div>' +
					'</div><!-- end popListContainer -->' +
					'<div class="toolTipMore"><a href="/widgets/pop_success_in_classroom.html#homework" onclick="centered(this.href); return false;" target="_blank">more &raquo;</a></div>';

tips.homework = new Array
	(
	'getkrpos(kruseposition(\'homework\'), \'x\', -139);', 
	'getkrpos(kruseposition(\'homework\'), \'y\', -4);', 
 	templateLeft1,
 	templateHomework, 
 	templateLeft2
	);




/* organization */

var templateOrganization = 
					'<div class="popHead">Organization</div>' +
					'<p class="popBI">For Parents</p>' +
					'<div class="popListContainer">' +
					'<div class="popListItem">Each evening, go over your child&rsquo;s daily planner so she knows what deadlines, appointments, and special dates are coming up.</div>' +
					'</div><!-- end popListContainer -->' +
					'<p class="popBI">For Teachers</p>' +
					'<div class="popListContainer">' +
					'<div class="popListItem">Periodically schedule a class clean-up, when students can de-clutter binders, backpacks, and desks.</div>' +
					'</div><!-- end popListContainer -->' +
					'<div class="toolTipMore"><a href="/widgets/pop_success_in_classroom.html#organization" onclick="centered(this.href); return false;" target="_blank">more &raquo;</a></div>';

tips.organization = new Array
	(
	'getkrpos(kruseposition(\'organization\'), \'x\', -136);', 
	'getkrpos(kruseposition(\'organization\'), \'y\', -3);', 
 	templateLeft1,
 	templateOrganization, 
 	templateLeft2
	);




/* following_directions */

var templateFollowingDirections = 
					'<div class="popHead">Following Directions</div>' +
					'<p class="popBI">For Parents</p>' +
					'<div class="popListContainer">' +
					'<div class="popListItem">Break down large jobs into smaller, single-step tasks. Give your child one instruction at a time, and ask him to report back to you when a step is complete. Then, provide the next step.</div>' +
					'</div><!-- end popListContainer -->' +
					'<p class="popBI">For Teachers</p>' +
					'<div class="popListContainer">' +
					'<div class="popListItem">Use a bell, chime, or gong to indicate you&rsquo;re about to give instructions. Establish eye contact, to be sure an ADHD student is listening, or walk over and gently tap her on the shoulder.</div>' +
					'</div><!-- end popListContainer -->' +
					'<div class="toolTipMore"><a href="/widgets/pop_success_in_classroom.html#directions" onclick="centered(this.href); return false;" target="_blank">more &raquo;</a></div>';

tips.following_directions = new Array
	(
	'getkrpos(kruseposition(\'following_directions\'), \'x\', -133);', 
	'getkrpos(kruseposition(\'following_directions\'), \'y\', -3);', 
 	templateLeft1,
 	templateFollowingDirections, 
 	templateLeft2
	);


/* --------------------------------- */
/* END SUCCESS IN THE CLASSROOM TIPS */
/* --------------------------------- */




tipStick = 0;
}

// Here's the other tip object called by the one above, for hierarchial tips.
var nestTip = new TipObj('nestTip');
with (nestTip)
{
 template = '<table bgcolor="#000000" cellpadding="1" cellspacing="0" width="%2%" border="0">' +
  '<tr><td><table bgcolor="#009999" cellpadding="3" cellspacing="0" width="100%" border="0">' +
  '<tr><td class="tipClass">%3%</td></tr></table></td></tr></table>';

 tips.nest1 = new Array(10, 0, 90,
  '<a href="javascript:alert(\'A regular popup menu...\')">Relative Position</a>');

 // This tip is positioned via formulae based on its parent tip's position...
 tips.nest2 = new Array('staticTip.xPos + 95', 'staticTip.yPos + 50', 120,
  '<a href="javascript:alert(\'Nested tip 2\')">Absolutely positioned static tip...</a>');

 tipStick = 0;
}


// Here's one illustrating a decimal tipStick value so it floats along behind the cursor.
var stickyTip = new TipObj('stickyTip');
with (stickyTip)
{
 template = '<table bgcolor="#000000" cellpadding="1" cellspacing="0" width="%2%" border="0">' +
  '<tr><td><table bgcolor="#339966" cellpadding="4" cellspacing="0" width="100%" border="0">' +
  '<tr><td align="center" class="tipClass">%3%</td></tr></table></td></tr></table>';

 tips.floating = new Array(5, 5, 100, 'Floating tips can have extra effect!');

 tipStick = 0.2;
}



// Finally, here's an optional function that will convert document TITLE="..." attributes into
// tips, in v5+ browsers. This is provided as a base to get you started, so uncomment and enjoy.
// Otherwise this can be deleted, it is entirely optional and just takes up space.

/*

function titlesToTips()
{
 var tags = isDOM ? document.getElementsByTagName('*') : [];
 for (var i = 0; i < tags.length; i++)
 {
  if (tags[i].title)
  {
   // You may wish to do some string processing here, for instance split the TITLE into two
   // strings based on the | character or similar, and use one for a tip heading in a template.
   tags[i].onmouseover = new Function('docTips.newTip("tagTip' + i + '", 5, 5, 100, "' +
    tags[i].title + '")');
   tags[i].onmouseout = new Function('docTips.hide()');
   tags[i].title = '';
  }
 }
};
var tttOL = window.onload;
window.onload = function()
{
 if (tttOL) tttOL();
 titlesToTips();
}

*/