
/***********************************************
* Cool DHTML tooltip script II- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

var offsetfromcursorX=12 //Customize x offset of tooltip
var offsetfromcursorY=10 //Customize y offset of tooltip

var offsetdivfrompointerX=10 //Customize x offset of tooltip DIV relative to pointer image
var offsetdivfrompointerY=14 //Customize y offset of tooltip DIV relative to pointer image. Tip: Set it to (height_of_pointer_image-1).

document.write('<div id="dhtmltooltip"></div>') //write out tooltip DIV
document.write('<img id="dhtmlpointer" src="images/arrow2.gif">') //write out pointer image

var ie=document.all
var ns6=document.getElementById && !document.all
var enabletip=false
if (ie||ns6)
var tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? document.getElementById("dhtmltooltip") : ""

var pointerobj=document.all? document.all["dhtmlpointer"] : document.getElementById? document.getElementById("dhtmlpointer") : ""

function ietruebody(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function ddrivetip(thetext, thewidth, thecolor){
if (ns6||ie){
if (typeof thewidth!="undefined") tipobj.style.width=thewidth+"px"
if (typeof thecolor!="undefined" && thecolor!="") tipobj.style.backgroundColor=thecolor
tipobj.innerHTML=thetext
enabletip=true
return false
}
}

function positiontip(e){
if (enabletip){
var nondefaultpos=false
var curX=(ns6)?e.pageX : event.clientX+ietruebody().scrollLeft;
var curY=(ns6)?e.pageY : event.clientY+ietruebody().scrollTop;
//Find out how close the mouse is to the corner of the window
var winwidth=ie&&!window.opera? ietruebody().clientWidth : window.innerWidth-20
var winheight=ie&&!window.opera? ietruebody().clientHeight : window.innerHeight-20

var rightedge=ie&&!window.opera? winwidth-event.clientX-offsetfromcursorX : winwidth-e.clientX-offsetfromcursorX
var bottomedge=ie&&!window.opera? winheight-event.clientY-offsetfromcursorY : winheight-e.clientY-offsetfromcursorY

var leftedge=(offsetfromcursorX<0)? offsetfromcursorX*(-1) : -1000

//if the horizontal distance isn't enough to accomodate the width of the context menu
if (rightedge<tipobj.offsetWidth){
//move the horizontal position of the menu to the left by it's width
tipobj.style.left=curX-tipobj.offsetWidth+"px"
nondefaultpos=true
}
else if (curX<leftedge)
tipobj.style.left="5px"
else{
//position the horizontal position of the menu where the mouse is positioned
tipobj.style.left=curX+offsetfromcursorX-offsetdivfrompointerX+"px"
pointerobj.style.left=curX+offsetfromcursorX+"px"
}

//same concept with the vertical position
if (bottomedge<tipobj.offsetHeight){
tipobj.style.top=curY-tipobj.offsetHeight-offsetfromcursorY+"px"
nondefaultpos=true
}
else{
tipobj.style.top=curY+offsetfromcursorY+offsetdivfrompointerY+"px"
pointerobj.style.top=curY+offsetfromcursorY+"px"
}
tipobj.style.visibility="visible"
if (!nondefaultpos)
pointerobj.style.visibility="visible"
else
pointerobj.style.visibility="hidden"
}
}

function hideddrivetip(){
if (ns6||ie){
enabletip=false
tipobj.style.visibility="hidden"
pointerobj.style.visibility="hidden"
tipobj.style.left="-1000px"
tipobj.style.backgroundColor=''
tipobj.style.width=''
}
}

document.onmousemove=positiontip


var censustract = 'A small, relatively permanent statistical subdivision of a county used for the purpose of presenting data. Census tract boundaries normally follow visible features, but may follow governmental unit boundaries and other non-visible features in some instances. The spatial size of census tracts varies widely depending on the density of settlement, ranging from 2,000 to 8,000 inhabitants (an average of about 4,000 inhabitants is preferred).'
var chronic = 'Defined by HUD as an unaccompanied homeless individual with a disabling condition who has either been continuously homeless for a year or more or has had at least four (4) episodes of homelessness in the past three (3) years.  In defining chronically homeless, the term "homeless" means "a person sleeping in a place not meant for human habitation (e.g. living on the streets) or in an emergency shelter".  HUD defines "disabling condition" as "a diagnosable substance use disorder, serious mental illness, developmental disability, or chronic physical illness or disability, including the co-occurrence of two or more of these conditions."'
var coc = 'The Continuum of Care refers to a community plan to organize and deliver housing and services to meet the specific needs of people who are homeless as they move to stable housing and maximum self-sufficiency. It includes action steps to end homelessness and prevent a return to homelessness. It also refers to the system of services that help people move from homelessness to housing.'
var enumerators = 'Worked in teams of two or more and tallied the number of observed homeless persons in a defined area (census tract/s) during the Unsheltered Street Count on the nights of January 23rd, 24th, and 25th 2007.'
var hiddenhomeless = 'Term for homeless persons not captured or enumerated in the Greater Los Angeles Homeless Count. They are individuals who currently have a place where they can stay temporarily and are not in easily accessed locations. To find this population, a general population telephone survey of 1,000 randomly selected households throughout Los Angeles County was implemented in an effort to discover homeless persons who would not have been identified through the Street or Shelter and Institution Counts. These people were classified as unsheltered due to the fact that they do not utilize emergency shelter or transitional housing facilities for their nighttime accommodations.  There were three criterias set forth in the telephone survey to meet the definition of hidden homeless: (1) location on property, (2) time on property, and (3) contributions to head of household.'
var institutions = 'For the purposes of the 2007 Greater Los Angeles Homeless Count, jails (including juvenile detention centers), emergency rooms, hospitals, residential facilities, and drug and alcohol rehabilitation facilities that shelter persons who will become homeless upon discharge.'
var pointintime = 'A one-day, statistically reliable, unduplicated count of sheltered and unsheltered homeless individuals and families in Los Angeles County. It is required that communities using HUD Continuum of Care funding to serve the homeless conduct a count every two years in the last week of January. However, because Los Angeles County is large in both size and population, the Point-In-Time Count was conducted over a three-night period on the last week on January 2007. Note: The cities of Glendale, Long Beach and Pasadena conducted Homeless Counts in their respective jurisdictions.'
var shelters = 'A temporary shelter with services that are designed to facilitate homeless individuals and families transition from sleeping in places not meant for human habitation to appropriate housing.  Emergency Shelter is provided free of charge for a maximum of ninety-days.  On a case-by-case basis, clients may remain for longer than ninety days if they require a longer period to accomplish a specific goal.'
var spa = 'Los Angeles County Children\'s Planning Council created eight geographical areas called Service Planning Areas (SPAs) for planning purposes. County departments use these boundaries for data collection and reporting purposes. The 2007 Greater Los Angeles Homeless Count utilized SPAs to more easily manage the canvassing and enumeration of the Unsheltered Street Count.'
var streetcount = 'The point-in-time street count that was conducted during a three-night period on the last week of January 2007. Teams canvassed specific areas and tallied observed homeless persons.'
var surveyors = 'Conducted face-to-face interviews of homeless persons in designated areas (Service Planning Area\'s) throughout Los Angeles County.'
var transhousing = 'A type of housing that facilitates the movement of homeless individuals and families to permanent housing within twenty-four (24) months.  Services provided in transitional housing must promote residential stability and increased skill level or income in order to prepare homeless persons to live more independently.'
var unsheltered = 'Someone who is either living on the streets, or in a vehicle, encampment, abandoned building, garage, or any other place not normally used or meant for human habitation.'






