// JavaScript Document
var defaultDesc = '<p class="DynamicDescriptions">A description of each Data Set will appear here when you move your mouse over the links to the left.'
				+ '</p>';
var linkdesc = new Array()
linkdesc[0] = '<p class="DynamicSubHeader">Neighborhood Snapshots</p>'  
				+ '<p class="DynamicDescriptions">A summary of demographic, housing and income data from'						
				+ ' Census 2000, this spreadsheet presents data for all Hartford neighborhoods. It includes'
				+ ' information on people, racial composition, income, housing, poverty, education and'
				+ ' employment.</p>';
linkdesc[1] = '<p class="DynamicSubHeader">Trends Statistical Profiles</p>'
				+ '<p class="DynamicDescriptions">Contain U.S. Census data from 1970, 1980,'
				+ '1990 and 2000, for Hartford neighborhoods. </p>';
linkdesc[2] = '<p class="DynamicSubHeader">Hartford at a Glance</p>' 
				+ '<p class="DynamicDescriptions">The Hartford at a Glance spreadsheet collects information'						
				+ ' on Demographics, Housing, Economics, Education, Children, Health and Crime in one'
				+ ' location. Hartford is shown in comparison to Hartford County and the state. </p>';
linkdesc[3] = '<p class="DynamicSubHeader">Schools Data</p>'
				+ '<p class="DynamicDescriptions">This interactive data retrieval system provides'
				+ ' access to information for Hartford Public Schools for the academic'
				+ ' years September 2003-June 2004 and September 2004-June 2005.</p>';
linkdesc[4] = '<p class="DynamicSubHeader">Crime Data</p>'
				+ '<p class="DynamicDescriptions">This interactive data retrieval system provides information from the '
				+ 'Hartford Police Department about arrests in Hartford from 2000 to 2006, as well as calls for service for '
				+ 'quality of life issues from 2000 to 2006.</p>';
linkdesc[5] = '<p class="DynamicSubHeader">Mortgage Data</p>'
				+ '<p class="DynamicDescriptions">This data retrieval system provides information from the Home Mortgage '
				+ 'Disclosure Act (HMDA) by neighborhood from 1995 to 2003. Data about home mortgage loans, refinance loans,'
				+ ' home improvement loans, and loans for multi-family units from prime and subprime '
				+ 'lenders are included.</p>';
linkdesc[6] = '<p class="DynamicSubHeader">Children And Families Data</p>'
				+ '<p class="DynamicDescriptions">This interactive data retrieval system provides access to '
				+ 'information about foster care placements and incidents of substantiated cases of child abuse '
				+ 'from the Connecticut Department of Children and Families.</p>';
linkdesc[7] = '<p class="DynamicSubHeader">Social Services Data</p>'
				+ '<p class="DynamicDescriptions">This interactive data retrieval system provides access to information'
				+ ' about children and families in Hartford neighborhoods receiving aid from programs administered by the'
				+ ' Connecticut Department of Social Services: the number of Hartford families and individuals receiving'
				+ ' Temporary Family Assistance (TFA) and food stamps, and those covered by Care4Kids, and State'
				+ ' Administered General Assistance (SAGA). </p>';
linkdesc[8] = '<p class="DynamicSubHeader">Vital Statistics (Birth) Data</p>'
				+ '<p class="DynamicDescriptions">This interactive data retrieval system provides access to information' 
				+ ' about births in Hartford by neighborhood for the years 1990 to 2005. </p>';
linkdesc[9] = '<p class="DynamicSubHeader">Voting Data</p>'
				+ '<p class="DynamicDescriptions">This spreadsheet shows the percentage of adults who voted in Hartford elections by precinct from 2002 to 2006. Note the tabs at the bottom of the sheet show the years. The number of people who voted in each election is compared to the number of adults, 18 years and older recorded for each precinct in the 2000 U.S. census. The number registered to vote is also provided. Data provided by the Hartford Registrars of Voters and Census 2000. </p>' ;
linkdesc[10] = '<p class="DynamicSubHeader">NRZ Snapshots</p>'
				+ '<p class="DynamicDescriptions">Statistical Profiles of each Hartford NRZ (Neighborhood Revitalization Zone) are available as separate spreadsheets.  These spreadsheets were prepared to be included in updated NRZ Strategic Plans. They include information on demographics, housing poverty, employment and more. </p>' ;
linkdesc[11] = '<p class="DynamicSubHeader">Foreclosure Data</p>'
				+ '<p class="DynamicDescriptions">This spreadsheet shows the number of foreclosures in Hartford by neighborhood for each month from January 2006 to February 2009. A line chart is included. Please use the tabs at the bottom. Data has been published in the Commercial Record, and the date recorded on the spreadsheet is the date of publication. </p>' ;
linkdesc[12] = '<p class="DynamicSubHeader">Neighborhood Snapshots 2000</p>'  
				+ '<p class="DynamicDescriptions">A summary of demographic, housing and income data from'						
				+ ' Census 2000, this spreadsheet presents data for all Hartford neighborhoods. It includes'
				+ ' information on people, racial composition, income, housing, poverty, education and'
				+ ' employment.</p>';
linkdesc[13] = '<p class="DynamicSubHeader">Neighborhood Snapshots 2010</p>'  
				+ '<p class="DynamicDescriptions">A summary of demographic data from Census 2010,'						
				+ ' this spreadsheet presents data for all of Hartford’s neighborhoods.</p>';
linkdesc[14] = '<p class="DynamicSubHeader">Neighborhood Snapshots</p>'  
				+ '<p class="DynamicDescriptions">A variety of data for Hartford neighborhoods from different years and from '						
				+ ' different sources is collected in spreadsheets available on this page.</p>';				
				
var imgArr = new Array()
for( linkCount=1; linkCount<=10; linkCount++)
{
	imgArr[ linkCount] = new Image()
	imgArr[ linkCount].src = "inc/df_mover_link"+linkCount+".gif";
}

var dotImage = new Image()
dotImage.src = "inc/dot.gif";

function mouseoverimage(num)
{
	//alert(num);
	document.getElementById( "df_link"+num).src = "inc/df_mover_link"+num+".gif";
	document.getElementById("desc").innerHTML = linkdesc[num-1];
	
}
function mouseoutimage(num)
{
	document.getElementById( "df_link"+num).src = "inc/df_link"+num+".gif";
	document.getElementById("desc").innerHTML = defaultDesc;
}
function mouseoverLink(num)
{
	document.getElementById("desc").innerHTML = linkdescption[num-1];
}
function mouseoutLink(num)
{
	document.getElementById("desc").innerHTML = defaultDesc;
}
