//Create an Array of strings pointing to the biographies of the Officials
//Local Elected
offs = new Array
offs['Travis Turner'] = '<a target="_blank" href="http://www.whitecounty.net/county_commissioners_office/boc.htm">Web Site</a><br /><br /><strong>Commissioners Office</strong><br />59 South Main St<br />Suite A<br />Cleveland, GA 30528<br /><br /> P: 706.865.2235<br />F: 706.865.1324'
offs['Terry Goodger'] = '<a target="_blank" href="http://www.whitecounty.net/county_commissioners_office/boc.htm">Web Site</a><br /><br /><strong>Commissioners Office</strong><br />59 South Main St<br />Suite A<br />Cleveland, GA 30528<br /><br /> P: 706.865.2235<br />F: 706.865.1324'
offs['Lyn Holcomb'] = '<a target="_blank" href="http://www.whitecounty.net/county_commissioners_office/boc.htm">Web Site</a><br /><br /><strong>Commissioners Office</strong><br />59 South Main St<br />Suite A<br />Cleveland, GA 30528<br /><br /> P: 706.865.2235<br />F: 706.865.1324'
offs['Edwin Nix'] = '<a target="_blank" href="http://www.whitecounty.net/county_commissioners_office/boc.htm">Web Site</a><br /><br /><strong>Commissioners Office</strong><br />59 South Main St<br />Suite A<br />Cleveland, GA 30528<br /><br /> P: 706.865.2235<br />F: 706.865.1324'
offs['Craig Bryant'] = '<a target="_blank" href="http://www.whitecounty.net/county_commissioners_office/boc.htm">Web Site</a><br /><br /><strong>Commissioners Office</strong><br />59 South Main St<br />Suite A<br />Cleveland, GA 30528<br /><br /> P: 706.865.2235<br />F: 706.865.1324'
offs['Neal Walden'] = '<a target="_blank" href="http://www.whitecounty.net/sheriffs_office/so.htm">Web Site</a><br /><br /><strong>Sheriffs Office</strong><br />1210 Hulsey Rd.<br />Cleveland, GA 30528<br /><br />P: 706.865.5177'
offs['Garrison Baker'] = '<a target="_blank" href="http://www.whitecounty.net/probate/pro.htm">Web Site</a><br /><br /><strong>OFFICE:</strong><br />59 South Main Street<br /> Suite H<br />Cleveland, Ga 30528<br /><br />P: 706.865.4141<br />F: 706.865.1324'
offs['Dena Adams'] = '<a target="_blank" href="http://www.whitecounty.net/clerk/clerk.htm">Web Site</a><br /><br /><strong>OFFICE:</strong><br />59 South Main St<br /> Suite B<br />Cleveland, GA 30528<br /><br />P: 706.865.2613'
offs['Cindy Cannon'] = '<a target="_blank" href="http://www.whitecounty.net/tax_commissioner/tc.htm">Web Site</a><br /><br /><strong>OFFICE:</strong><br/>59 SOUTH MAIN STREET<br />SUITE C<br />CLEVELAND, GA 30528<br /><br />P:706-865-2225<br />F: 706-219-0078'
offs['Ricky Barrett'] = '<a target="_blank" href="http://www.barrettfh.com">Web Site</a><br /><a href="mailto:barrettfuneralhome@alltel.net">E-mail</a>'
offs['Joy Parks'] = 'No Bio Yet'

//Enotah Judicial Circut
offs['Honorable David Barrett'] = '<a target="_blank" href="http://9thjudicialdistrict-ga.org">Website</a><br /><br /><strong>Office:</strong><br />114 Courthouse Street <br /> Box  2 <br /> Blairsville, Georgia 30512 <br /><br /> Telephone: 706.439.6100 <br /> Facsimile: 706.439.6099'
offs['Honorable Lynn Alderman'] = '<a target="_blank" href="http://9thjudicialdistrict-ga.org">Website</a><br /><br /><strong>Office:</strong><br />P.O. Box 1688 <br />Dahlonega, Georgia 30597 <br /><br />Telephone: 706.867.8002<br />Facsimile: 706.867.7996'
offs['Honorable Murphy Millar'] = '<a target="_blank" href="http://9thjudicialdistrict-ga.org">Website</a><br /><br /><strong>Office:</strong><br />59 South Main Street <br /> Suite K <br />Cleveland, Georgia 30528 <br /><br />Telephone: (706) 865-6135<br />Facsimile: 706.865.2682<br />'
//offs['Jeff Langley'] = '<a target="_blank" href="http://www.electstangunter.com">Website</a><br /><a href="mailto:stangunter@hotmail.com">E-Mail</a><br /><br /><strong>Cleveland Office:</strong><br /> 59 South Main Street <br /> Box 14 <br /> Cleveland, GA 30528 <br />706.865.3306<br /><br />48 River Streeet<br />Ste A<br />Hiawassee, GA 30546<br />P: 706.896.6489<br />F: 706.896.5384'

//Georgia State
offs['Nathan Deal'] = '<a target="_blank" href="http://gov.georgia.gov/02/governor/home/0,2822,165937316,00.html">Website</a><br /><br /><strong>Office of the Governor</strong><br />203 Georgia State Capitol<br />Atlanta, GA 30334<br />Office Phone: 404-656-1776 <br /> Fax: 404-657-7332'
offs['John Wilkinson'] = '<a target="_blank" href="http://www.legis.state.ga.us/legis/2011_12/senate/wilkeinsonbio.php">Website</a><br /><a href="mailto:john.wilkeinson@senate.ga.gov">E-mail</a><br /><br /><strong>Capitol Office:</strong><br /> 325-B Coverdell Legislative Office Building <br /> Atlanta, GA 30334 <br /> Phone: 404.463.5257 <br /> Fax: (404) 463-2535 <br /><br /> <strong>District Office:</strong><br />'
offs['Steve Gooch'] = '<a target="_blank" href="http://www.senate.ga.gov/senators/en-US/member.aspx?Member=752&Session=21">Website</a><br /><a href="mailto:steve.gooch@senate.ga.gov">E-mail</a><br /><br /> <strong>Capitol Office: </strong> <br /> 321-B Coverdell Legislative Office Building <br /> Atlanta, GA 30334 <br /> Phone: 404.656.9221 <br /> Fax: (404) 657-3248 <br /><br /> <strong>District Office:</strong><br /> P. O. Box 600 <br /> Dahlonega, GA 30633 <br />'
offs['Stephen Allison'] = '<a target="_blank" href="http://www.legis.state.ga.us/legis/2009_10/house/bios/allisonStephen/allisonStephen.htm">Website</a><br /><a href="mailto:stephen.allison@house.ga.gov">E-mail</a><br /><br /> <strong>Capitol Office</strong><br /> 501 Coverdell Legislative Office Building <br /> Atlanta, GA 30334 <br /> 404.656.0177<br /><br /> <strong>District Office</strong><br /> 90 Blue Ridge Street <br /> Blairsville, GA 30512 <br /> 706.781.3929 - Office'
offs['Terry Rogers'] = '<a target="_blank" href="http://www1.legis.ga.gov/legis/2011_12/house/bios/rogersTerry.htm">Website</a><br /><a href="mailto:terry.rogers@house.ga.gov">E-mail</a><br /><br /><strong>Capitol Office</strong><br />612-B Coverdell Legislative Office Building<br />Atlanta, GA 30334 <br />404.656.0325 <br /><br /><strong>District Office <br /></strong>2403 New Liberty Road<br />Clarkesville, Georgia 30523 <br />706.754.8322 '
offs['Doug Collins'] = '<a target="_blank" href="http://www.legis.state.ga.us/legis/2007_08/house/bios/collinsDoug/collinsDoug.htm">Website</a><br /><a href="mailto:doug.collins@house.ga.gov">E-mail</a><br /><br /><strong>Capitol Office</strong><br />Coverdell Legislative Office Building<br />Suite 504 <br />Atlanta, GA 30334 <br />404.656.0188 <br /><br /><strong>District Office</strong><br /> PO Box 907908 <br /> Gainesville, GA 30501 <br /> 770.983.2223 - Home'

//US 
offs['Barack Obama'] = '<a target="_blank" href="http://www.whitehouse.gov/administration/president_obama/">MORE</a><br /><br />President Barack Hussein Obama II is the first term President of the Uninted States of America. '
offs['Saxby Chambliss'] = '<a target="_blank" href="http://chambliss.senate.gov">Web Site</a><br /><a href="http://chambliss.senate.gov/public/index.cfm?FuseAction=ContactUs.ContactForm&CFID=40324176&CFTOKEN=87428840">Contact Form</a><br /><br /><strong>North Georgia Office</strong><br />100 Galleria Parkway<br />Suite 1340<br />Atlanta, GA 30339<br />Main: 770-763-9090<br />Fax: 770-226-8633<br /><br /><strong>Washington D.C. Office:</strong><br />416 Russell Senate Office Building<br />Washington, DC 20510<br />Main: 202-224-3521<br />Fax: 202-224-0103<br />'
offs['Johnny Isakson'] = '<a target="_blank" href="http://isakson.senate.gov">Web Site</a><br /><a href="http://isakson.senate.gov/contact.cfm">Contact Form</a><br /><br /><strong>United States Senate</strong><br />120 Russell Senate Office Building<br />Washington, DC 20510<br />Tel: (202) 224-3643<br />Fax: (202) 228-0724 <br /><br /><strong>Georgia Office</strong><br />One Overton Park, Suite 970 <br />3625 Cumberland Blvd<br />Atlanta, GA 30339<br />Tel: (770) 661-0999<br />Fax: (770) 661-0768<br />'
offs['Tom Graves'] = '<a target="_blank" href="http://tomgraves.house.gov/">Web Site</a><br /><a href="http://tomgraves.house.gov/contact/">Contact Form</a><br /><br />'

//Local Appointed
offs['Shanda Smallwood'] = '<a target="_blank" href="http://www.whitecounty.net/county_commissioners_office/boc.htm">Web Site</a><br /><br /><strong>Commissioners Office</strong><br />59 South Main St<br />Suite A<br />Cleveland, GA 30528<br /><br /> P: 706.865.2235<br />F: 706.865.1324'
offs['Carol Jackson'] = '<a target="_blank" href="http://www.whitecounty.net/county_commissioners_office/boc.htm">Web Site</a><br /><br /><strong>Commissioners Office</strong><br />59 South Main St<br />Suite A<br />Cleveland, GA 30528<br /><br /> P: 706.865.2235<br />F: 706.865.1324'
offs['David Murphy'] = '<a target="_blank" href="http://www.whitecounty.net/emergency_managment/ema.htm">Web Site</a><br /><br /><strong>OFFICE:</strong><br />1241 Helen Highway<br />Suite 160<br />Cleveland, GA 30528<br /><br />P: 706.865.9500<br />F: 706.865.4858'
offs['Dickie Howard'] = '<a target="_blank" href="http://www.whitecounty.net/fire_department/fd.htm">Web Site</a><br /><br /><strong>Fire Dept. H.Q. </strong><br />1241 Helen Highway<br />Suite 140<br />Cleveland, GA 30528<br /><br />P: 706.865.3855<br />F: 706.219.3084'
offs['Lisa Manning'] = '<a target="_blank" href="http://www.whitecounty.net/voter_reg/voter.htm">Web Site</a><br /><br /><strong>OFFICE:</strong><br />59 South Main Street<br />Suite C<br />Cleveland, GA 30528<br /><br />P: 706.865.7812<br />F: 706.219.0078'
offs['Brian Payne'] = '<a target="_blank" href="http://www.whitecounty.net/assessors_office/assessor.htm">Web Site</a><br /><a href="mailto:assessor@whitecounty.net">E-Mail</a><br /><br /><strong>OFFICE:</strong><br />1241 Helen Hwy<br />Suite 180<br />Cleveland, GA 30528<br /><br />P: 706.865.5328'

//Create an array of string for the Names of the officals and ther positones
//these strings contain the html code to create bulleted listes of the officials.
//Each officials name will run chgInfo.
//The pattern should follow, Replace only the NAME and POSITION
//<ul><li><strong><a href="#" onclick="chgInfo(' + "'NAME'" + ')">NAME</a></strong> - POSITION</li> ...</ul>
desc = new Array
desc[1] = '<ul><li><strong><a href="#" onclick="chgInfo(' + "'Travis Turner'" + ')">Travis Turner</a></strong>  - White County Commission Chairman</li>					<li><strong><a href="#" onclick="chgInfo(' + "'Terry Goodger'" + ')">Terry Goodger</a></strong> - White County Commission District 1</li>				<li><strong><a href="#" onclick="chgInfo(' + "'Lyn Holcomb'" + ')">Lyn Holcomb</a></strong> - White County Commission District 2</li>				<li><strong><a href="#" onclick="chgInfo(' + "'Edwin Nix'" + ')">Edwin Nix</a></strong> - White County Commission District 3</li>			<li><strong><a href="#" onclick="chgInfo(' + "'Craig Bryant'" + ')">Craig Bryant</a></strong> - White County Commission District 4</li>	<li><strong><a href="#" onclick="chgInfo(' + "'Neal Walden'" + ')">Neal Walden</a></strong> - White County Sheriff</li>				<li><strong><a href="#" onclick="chgInfo(' + "'Garrison Baker'" + ')">Garrison Baker</a></strong> - White County Probate Judge</li>	<li><strong><a href="#" onclick="chgInfo(' + "'Dena Adams'" + ')">Dena Adams</a></strong> - White County Clerk of Courts</li>	<li><strong><a href="#" onclick="chgInfo(' + "'Cindy Cannon'" + ')">Cindy Cannon</a></strong> - White County Tax Commissioner</li>		<li><strong><a href="#" onclick="chgInfo(' + "'Ricky Barrett'" + ')">Ricky Barrett</a></strong> - White County Coroner</li>		<li><strong><a href="#" onclick="chgInfo(' + "'Joy Parks'" + ')">Joy Parks</a></strong> - White County Magistrate Judge</li></ul>'
desc[2] = '<ul><li><strong><a href="#" onclick="chgInfo(' + "'Honorable David Barrett'" + ')">Honorable David Barrett</a></strong> - Chief Superior Court Judge</li>			<li><strong><a href="#" onclick="chgInfo(' + "'Honorable Lynn Alderman'" + ')">Honorable Lynn Alderman</a></strong> - Superior Court Judge</strong></li>	<li><strong><a href="#" onclick="chgInfo(' + "'Honorable Murphy Millar'" + ')">Honorable Murphy Millar</a></strong> - Superior Court Judge</strong></li>	<li><strong><a href="#" onclick="chgInfo(' + "'Jeff Langley'" + ')">Jeff Langley</a></strong> - District Attorney</li></ul>'
desc[3] = '<ul><li><strong><a href="#" onclick="chgInfo(' + "'Nathan Deal'" + ')">Nathen Deal</a></strong> (R) - Georgia Governor</li>							<li><strong><a href="#" onclick="chgInfo(' + "'John Wilkinson'" + ')">John Wilkinson</a></strong> (R) - 50 Georgia Senate</li>					<li><strong><a href="#" onclick="chgInfo(' + "'Steve Gooch'" + ')">Steve Gooch</a></strong> (R) - 51 Georgia Senate</li> 					<li><strong><a href="#" onclick="chgInfo(' + "'Stephen Allison'" + ')">Stephen Allison</a></strong> (R) - 8 Georgia House</li>			<li><strong><a href="#" onclick="chgInfo(' + "'Terry Rogers'" + ')">Terry Rogers</a></strong> (R) - 10 Georgia House</li>			<li><strong><a href="#" onclick="chgInfo(' + "'Doug Collins'" + ')">Doug Collins</a></strong> (R) - 27 Georgia House</li></ul>'
desc[4] = '<ul><li><strong><a href="#" onclick="chgInfo(' + "'Barack Obama'" + ')">Barack Hussein Obama II</a></strong> (D) - President of the United States of America</li>	<li><strong><a href="#" onclick="chgInfo(' + "'Saxby Chambliss'" + ')">Saxby Chambliss</a></strong> (R) - U.S. Senate</li> 						<li><strong><a href="#" onclick="chgInfo(' + "'Johnny Isakson'" + ')">Johnny Isakson</a></strong> (R) - U.S. Senate</li>						<li><strong><a href="#" onclick="chgInfo(' + "'Tom Graves'" + ')">Tom Graves</a></strong> (R) - U.S. House of Representatives</li></ul>'
desc[5] = '<ul><li><strong><a href="#" onclick="chgInfo(' + "'Carol Jackson'" + ')">Carol Jackson</a></strong> - White County Manager</li>						<li><strong><a href="#" onclick="chgInfo(' + "'Shanda Smallwood'" + ')">Shanda Smallwood</a></strong> - White County Clerk</li>					<li><strong><a href="#" onclick="chgInfo(' + "'David Murphy'" + ')">David Murphy</a></strong> - White County EMA Director</li>					<li><strong><a href="#" onclick="chgInfo(' + "'Dickie Howard'" + ')">Dickie Howard</a></strong> - White County Fire Chief</li>			<li><strong><a href="#" onclick="chgInfo(' + "'Lisa Manning'" + ')">Lisa Manning</a></strong> - Chief Voter Registrar</li>			<li><strong><a href="#" onclick="chgInfo(' + "'Brian Payne'" + ')">Brian Payne</a></strong> - Chief Assessor</li></ul>'


//function to change the Biographical and picture info in the DIV oInfo
function chgInfo(name)
{
document.all.oInfo.innerHTML = '<p class="calendar"><img src="pics/' + name + '.jpg" width="105" height="147" alt="' + name + '"/></p><p>' + offs[name] + '</p>'

}

//function to change the top level of the Officials menu as each one is clicked
//it expands and collapses the rest.
function chgDesc(index)
{
  if (index == 1) //White County Elected Officials
  {
  	document.all.DescInfo1.innerHTML = '<h5>WHITE COUNTY ELECTED OFFICIALS</h5>' + desc[index] ;
  	document.all.DescInfo1a.innerHTML = '<h5><a href="#" onclick="chgDesc(5)">Other White County Officials</a></h5>';
  	document.all.DescInfo2.innerHTML = '<h5><a href="#" onclick="chgDesc(2)">Enotah Judicial District</a></h5>';
  	document.all.DescInfo3.innerHTML = '<h5><a href="#" onclick="chgDesc(3)">Georgia</a></h5>';
  	document.all.DescInfo4.innerHTML = '<h5><a href="#" onclick="chgDesc(4)">United States</a></h5>';
  	document.all.oInfo.innerHTML = '<p><strong>Click on a Region, the select a name for more information</strong></p>'
  }
  if (index == 2) // Enotah Judicial Officials
  {
   	document.all.DescInfo1.innerHTML = '<h5><a href="#" onclick="chgDesc(1)">White County Elected Officials</a></h5>';
  	document.all.DescInfo1a.innerHTML = '<h5><a href="#" onclick="chgDesc(5)">Other White County Officials</a></h5>';
  	document.all.DescInfo2.innerHTML = '<h5>ENOTAH JUDICIAL DISTRICT</h5>' + desc[index] ;
  	document.all.DescInfo3.innerHTML = '<h5><a href="#" onclick="chgDesc(3)">Georgia</a></h5>';
  	document.all.DescInfo4.innerHTML = '<h5><a href="#" onclick="chgDesc(4)">United States</a></h5>';
  	document.all.oInfo.innerHTML = '<p><strong>Click on a Region, the select a name for more information</strong></p>'
  }
  if (index == 3) // Georgia State Officials
  {
   	document.all.DescInfo1.innerHTML = '<h5><a href="#" onclick="chgDesc(1)">White County Elected Officials</a></h5>';
  	document.all.DescInfo1a.innerHTML = '<h5><a href="#" onclick="chgDesc(5)">Other White County Officials</a></h5>';
  	document.all.DescInfo2.innerHTML = '<h5><a href="#" onclick="chgDesc(2)">Enotah Judicial District</a></h5>';
  	document.all.DescInfo3.innerHTML = '<h5>GEORGIA</h5>' + desc[index] ;
  	document.all.DescInfo4.innerHTML = '<h5><a href="#"onclick="chgDesc(4)">United States</a></h5>';
  	document.all.oInfo.innerHTML = '<p><strong>Click on a Region, the select a name for more information</strong></p>'
  }
  if (index == 4) // U.S. Officials
  {
  	document.all.DescInfo1.innerHTML = '<h5><a href="#" onclick="chgDesc(1)">White County Elected Officials</a></h5>';
  	document.all.DescInfo1a.innerHTML = '<h5><a href="#" onclick="chgDesc(5)">Other White County Officials</a></h5>';
  	document.all.DescInfo2.innerHTML = '<h5><a href="#" onclick="chgDesc(2)">Enotah Judicial District</a></h5>';
  	document.all.DescInfo3.innerHTML = '<h5><a href="#" onclick="chgDesc(3)">Georgia</a></h5>';
  	document.all.DescInfo4.innerHTML = '<h5>UNITED STATES</h5>' + desc[index] ;
	document.all.oInfo.innerHTML = '<p><strong>Click on a Region, the select a name for more information</strong></p>'
  }
  if (index == 5) // Other White County Officials
  {
  	document.all.DescInfo1.innerHTML = '<h5><a href="#" onclick="chgDesc(1)">White County Elected Officials</a></h5>';
  	document.all.DescInfo1a.innerHTML = '<h5>OTHER WHITE COUNTY OFFICIALS</h5>' + desc[index];
  	document.all.DescInfo2.innerHTML = '<h5><a href="#" onclick="chgDesc(2)">Enotah Judicial District</a></h5>';
  	document.all.DescInfo3.innerHTML = '<h5><a href="#" onclick="chgDesc(3)">Georgia</a></h5>';
  	document.all.DescInfo4.innerHTML = '<h5><a href="#" onclick="chgDesc(4)">United States</a></h5>';
	document.all.oInfo.innerHTML = '<p><strong>Click on a Region, the select a name for more information</strong></p>'
  }
}


