// JavaScript Document
function OpenWindowChart(url) {
winwidth=900;
winheight=900;
var left = screen.width - winwidth - 30;
popup = window.open(url,
"subWindow",
"toolbar=no," +
"location=no," +
"directories=no," +
"status=no," +
"menubar=no," +
"scrollbars=yes," +
"resizable=yes," +
"top=5,left=" + left + "," +
"width=" + winwidth + "," +
"height=" + winheight
);
popup.focus();
}

function OpenWindow(url) {
winwidth=850;
winheight=700;
var left = screen.width - winwidth - 30;
popup = window.open(url,
"subWindow",
"toolbar=no," +
"location=no," +
"directories=no," +
"status=no," +
"menubar=no," +
"scrollbars=yes," +
"resizable=yes," +
"top=5,left=" + left + "," +
"width=" + winwidth + "," +
"height=" + winheight
);
popup.focus();
}

function OpenWin(url) {
winwidth=550;
winheight=500;
var left = screen.width - winwidth - 30;
popup = window.open(url,
"subWindow",
"toolbar=no," +
"location=no," +
"directories=no," +
"status=no," +
"menubar=no," +
"scrollbars=yes," +
"resizable=yes," +
"top=5,left=" + left + "," +
"width=" + winwidth + "," +
"height=" + winheight
);
popup.focus();
}
function doNothing() {
}

function checkForm(f){
	var count = 0
	if(f.FName.value.length > 0){
		document.all.postForm[0].bgColor = "#F2FFF2";
		count = count+1;
	} else {
		document.all.postForm[0].bgColor = "#FE9D81";
	}	
	if (f.LName.value.length > 0){
		document.all.postForm[1].bgColor = "#F2FFF2";
		count = count+1;
	} else {
		document.all.postForm[1].bgColor = "#FE9D81";
	}	
	if (count == 2) {
		return true;
	}
	else 
	{
		return false;
	}
}

//for citizens.asp page
function loadCit(f){
switch(f){
  case 1:{
          document.all.citizen1.innerHTML = "<div align='center'><a href='citizens.asp'><font size='2'><b>Parks Bond and Greenspace  <br>Advisory Committee</b></font></a></div>";
          document.all.citizen1.bgColor = "ffffff";
          document.all.citizen2.innerHTML = "<div align='center'><font size='2' color='ffffff'><b>Green DeKalb Advisory Council</b></font></div>";
          document.all.citizen2.bgColor = "339900";
          document.all.citizen3.innerHTML = "<div align='center'><a href='#' onClick=loadCit(2)><font size='2'><b>Recreation, Park & Cultural Affairs Board</b></font></a></div>";
          document.all.citizen3.bgColor = "ffffff";
          document.all.citizenCont.innerHTML = "<br><br><table width='90%' border='0' cellspacing='1' cellpadding='0' align='center' bgcolor='ffffff'><tr><td>"+
                                                            "<table width='100%' height='150' border='0' cellspacing='1' cellpadding='0' bgcolor='339900'><tr><td valign=top  width='14%' height='50'>&nbsp;<b>"+
                                                            "<font color='ffffff' size='2'>Purpose:</font></b></td><td valign=top bgcolor='ffffff'><font size='2'>Advises, "+
                                                            "advocates, and establishes a vision for DeKalb County’s overall greenspace effort.</font><br><br></td></tr><tr> "+
                                                            "<td valign=top>&nbsp;<b><font color='ffffff' size='2'>Roles &amp;<br>&nbsp;Objectives:&nbsp;&nbsp; </font></b>"+
                                                            "</td><td valign=top bgcolor='ffffff'><font size='2'>"+
                                                            "<li>Communicate with the appointing authorities and the public </li>"+
                                                            "<li>Monitor implementation of the plan</li>"+
                                                            "<li>Provide information to the public</li>"+
                                                            "<li>Recommend policies</li>"+
                                                            "<li>Solicit Donations - cash, in-kind, & land</li>"+
                                                            "</font></td></tr>"+
                                                            "<table width='100%' border='0' cellspacing='1' cellpadding='0' bgcolor='339900'>"+
                                                            "<tr><td width='30%'>&nbsp; <font size='2' color='ffffff'><b>Members</b></font></td><td width='34%'>&nbsp; <font size='2' color='ffffff'><b>Representing</b></font></td></tr>"+
                                                            "<tr bgcolor='ffffff'><td valign='top' bgcolor='ffffff' nowrap>&nbsp; <font size='2'>Vacant</font></td>"+
                                                                "<td valign='top'>&nbsp; <font size='2'>CEO</font></td>"+
                                                                "<td width='45%' rowspan='16' valign='top' align='center' bgcolor='ffffff'>" +
                                                                "<img src='images/citizens2.jpg' width='200' height='180' border='0' vlign='middle' ></td></font></tr>" +
                                                            "<tr bgcolor='ffffff'><td valign='top'>&nbsp; <font size='2'>Vacant</font></td><td valign='top'>&nbsp; <font size='2'>CEO</font></td></tr>"+
                                                            "<tr bgcolor='ffffff'><td valign='top' nowrap>&nbsp; <font size='2'>Vacant</font></td><td valign='top'>&nbsp; <font size='2'>CEO</font></td></tr>"+
                                                            "<tr bgcolor='ffffff'><td valign='top'>&nbsp; <font size='2'>Vacant</font></td><td valign='top'>&nbsp; <font size='2'>District 1</font></td></tr>"+
                                                            "<tr bgcolor='ffffff'><td valign='top'>&nbsp; <font size='2'>Vacant</font></td><td valign='top'>&nbsp; <font size='2'>District 2</font></td></tr>"+
                                                            "<tr bgcolor='ffffff'><td valign='top'>&nbsp; <font size='2'>Vacant</font></td><td valign='top'>&nbsp; <font size='2'>District 3</font></td></tr>"+
                                                            "<tr bgcolor='ffffff'><td valign='top'>&nbsp; <font size='2'>Pat Holcombe</font></td><td valign='top'>&nbsp;<font size='2'>&nbsp;District 4</font></td></tr>"+
                                                            "<tr bgcolor='ffffff'><td valign='top'>&nbsp; <font size='2'>Marianna Covington Boone</font></td><td valign='top'>&nbsp; <font size='2'>District 5</font></td></tr>"+
                                                            "<tr bgcolor='ffffff'><td valign='top'>&nbsp; <font size='2'>Vacant</font></td><td valign='top'>&nbsp; <font size='2'>District 6</font></td></tr>"+
                                                            "<tr bgcolor='ffffff'><td valign='top'>&nbsp; <font size='2'>Vacant</font></td><td valign='top'>&nbsp; <font size='2'>District 6</font></td></tr>"+
                                                            "<tr bgcolor='ffffff'><td valign='top'>&nbsp; <font size='2'>Gwen Cutter</font></td><td valign='top'>&nbsp; <font size='2'>District 7</font></td></tr>"+
                                                            "<tr bgcolor='ffffff'><td valign='top'>&nbsp; <font size='2'>Tene Harris</font></td><td valign='top'>&nbsp; <font size='2'>District 7</font></td></tr>"+
                                                            "<tr bgcolor='ffffff'><td valign='top'>&nbsp; <font size='2'>Vacant</font></td><td valign='top' nowrap>&nbsp; <font size='2'>DeKalb Delegation</font></td></tr>"+
                                                            "<tr bgcolor='ffffff'><td valign='top'>&nbsp; <font size='2'>Vacant</font></td><td valign='top' nowrap>&nbsp; <font size='2'>DeKalb Delegation</font></td></tr>"+
                                                            "<tr bgcolor='ffffff'><td valign='top'>&nbsp; <font size='2'>Amanda Thompson</font></td><td valign='top'  nowrap>&nbsp; <font size='2'>DeKalb Municipalities</font></td></tr>"+
                                                            "<tr bgcolor='ffffff'><td valign='top'>&nbsp; <font size='2'>Vacant</font></td><td valign='top'  nowrap>&nbsp; <font size='2'>DeKalb Municipalities</font></td></tr>"+
                                                            "</table></td></tr></table><br><br><br>";
         break; }
  case 2:{
          document.all.citizen1.innerHTML = "<div align='center'><a href='citizens.asp'><font size='2'><b>Parks Bond and Greenspace <br>Advisory Committee</b></font></a></div>";
          document.all.citizen1.bgColor = "ffffff";
          document.all.citizen2.innerHTML = "<div align='center'><a href='#' onClick=loadCit(1)><font size='2'><b>Green DeKalb Advisory Council</b></font></a></div>";
          document.all.citizen2.bgColor = "ffffff";
          document.all.citizen3.innerHTML = "<div align='center'><font size='2' color='ffffff'><b>Recreation, Park & Cultural Affairs Board</b></font></div>";
          document.all.citizen3.bgColor = "339900";
          document.all.citizenCont.innerHTML = "<br><br><table width='90%' border='0' cellspacing='1' cellpadding='0' align='center' bgcolor='ffffff'>"+
                                                                "<tr><td>"+
                                                                "<table width='100%' height='150' border='0' cellspacing='1' cellpadding='0' bgcolor='339900'>"+
                                                                "<tr><td valign=top width='14%' height='50'>&nbsp;<b><font color='ffffff' size='2'>Purpose:</font></b></td>"+
                                                                "<td valign=top bgcolor='ffffff'><font size='2'>Provides advice related to activities, facilities, and general direction of "+
                                                                "the County’s parks and recreation services.</font><br><br></td></tr>"+
                                                                "<tr><td valign=top>&nbsp;<b><font color='ffffff' size='2'>Roles &amp;<br>&nbsp;Objectives:"+
                                                                "&nbsp;&nbsp;</font></b></td><td valign=top bgcolor='ffffff'><font size='2'>"+
                                                                "<li>Review and advise the Parks and Recreation Department</li>"+
                                                                "<li>Review and recommend to the Board of Commissioners relating to annual pricing of services</li>"+
                                                                "<li>Review and recommend to the Board of Commissioners regarding park master plans</li>"+
                                                                "<li>Conduct public forums regarding needs and service delivery</li>"+
                                                                "<li>Communicate with appointing authorities and the public</li></font>"+
                                                                "<br>&nbsp;For more information visit <a href='http://www.co.dekalb.ga.us/parks/' target=_blank>Parks & Recreation</a></td></tr>"+
                                                                "</table></td></tr>"+
                                                                "</table><br><br><table width='90%' border='0' cellspacing='1' cellpadding='0' align='center' bgcolor='ffffff'><tr><td width='22%'>"+
                                                                "<table width='100%' border='0' cellspacing='1' cellpadding='0' bgcolor='339900'><tr><td>&nbsp; "+
                                                                "<font size='2' color='ffffff'><b>Members</b></font></td><td width='34%'>&nbsp; <font size='2' color='ffffff'><b>Representing</b></td></tr>"+
                                                                "<tr bgcolor='ffffff'><td valign='top' nowrap>&nbsp; <font size='2'>Vacant</font></td>" +
                                                                "<td>&nbsp; <font size='2'>CEO</font></td>" +
                                                                "<td width='281' rowspan='11' valign='top' align='center' bgcolor='ffffff'>" +
                                                                "<img src='images/citizens3.jpg' width='200' height='132' border='0' vlign='middle' ></td></font></td></tr>" +
                                                                "<tr bgcolor='ffffff'><td valign='top' nowrap>&nbsp; <font size='2'>Karen Whitehead</font></td><td valign='top'>&nbsp; <font size='2'>District 1</font></td></tr>"+
                                                                "<tr bgcolor='ffffff'><td valign='top'>&nbsp; <font size='2'>Dan Magee</font></td><td valign='top'>&nbsp; <font size='2'>District 2</font></td></tr>"+
                                                                "<tr bgcolor='ffffff'><td valign='top'>&nbsp; <font size='2'>Gloria Rainey</font></td><td valign='top'>&nbsp; <font size='2'>District 3</font></td></tr>"+
                                                                "<tr bgcolor='ffffff'><td valign='top'>&nbsp; <font size='2'>Beborah Williams</font></td><td valign='top'>&nbsp; <font size='2'>District 4</font></td></tr>"+
                                                                "<tr bgcolor='ffffff'><td valign='top' nowrap>&nbsp; <font size='2'>Mariama Covington Boone</font></td><td valign='top'>&nbsp; <font size='2'>District 5</font></td></tr>"+
                                                                "<tr bgcolor='ffffff'><td valign='top'>&nbsp; <font size='2'>Richard Alvarez</font></td><td valign='top'>&nbsp; <font size='2'>District 6</font></td></tr>"+
                                                                "<tr bgcolor='ffffff'><td valign='top' nowrap>&nbsp; <font size='2'>Tonza Clark</font></td><td valign='top'>&nbsp; <font size='2'>District 7</font></td></tr>"+
                                                                "<tr bgcolor='ffffff'><td valign='top'>&nbsp; <font size='2'>Jim Redovian/BOC Aug.11 2009</font></td><td valign='top' nowrap>&nbsp; <font size='2'>DeKalb Board of Education</font></td></tr>"+
                                                                "<tr bgcolor='ffffff'><td valign='top'>&nbsp; <font size='2'>Carolyn Taggart</font></td><td valign='top'>&nbsp; <font size='2'>DeKalb Legislative Delegation</font></td></tr>"+
                                                                "<tr bgcolor='ffffff'><td valign='top'>&nbsp; <font size='2'>Sharon Frierson</font></td><td valign='top'>&nbsp; <font size='2'>DeKalb Municipal Association</font></td></tr>"+
                                                                "</table></td></tr></table>"+
                                                                "<br><br><br>";
        break; }
    }
}


//for property.asp page
function propertyInfo(f){
switch(f){
    case 1:{
           document.all.propertyCont.innerHTML = "<table width='98%' border='0' cellspacing='0' cellpadding='0' align='center'><tr><td><br><font size='2'><b>"+
                                                                "<font color='336699'>Desirable</font></b> (research further with cost benefit analysis to determine "+
                                                                "feasibility of acquisition)<br><br>Properties that meet one or more of the above criteria, but have lesser "+
                                                                "significance towards enhancing the County’s parks and greenspace system plan (due to size, location, physical "+
                                                                "characteristic, relationship to other properties or other factors). Alternate means of protection/public access "+
                                                                "such as conservation easements, ownership by non-profit organizations, etc., should be explored where appropriate."+
                                                                "</font></td></tr></table><br><br>";
           document.all.property1.innerHTML = "<div align='center'><a href='property.asp'><font size='2'><strong>Category I</strong></font></a></div>";
           document.all.property1.bgColor = "ffffff";
           document.all.property2.innerHTML = "<div align='center'><font color='ffffff' size='2'><strong>Category II</strong></font></div>";
           document.all.property2.bgColor = "339900";
           document.all.property3.innerHTML = "<div align='center'><a href='#' onClick=propertyInfo(2)><font size='2'><strong>Category III</strong></font></a></div>";
           document.all.property3.bgColor = "ffffff";
           document.all.property4.innerHTML = "<div align='center'><a href='#' onClick=propertyInfo(3)><font size='2'><strong>Category IV</strong></font></a></div>";
           document.all.property4.bgColor = "ffffff";
           document.all.property5.innerHTML = "<div align='center'><a href='#' onClick=propertyInfo(4)><font size='2'><strong>Category V</strong></font></a></div>";
           document.all.property5.bgColor = "ffffff";
           break; }
     case 2:{
           document.all.propertyCont.innerHTML = "<table width='98%' border='0' cellspacing='0' cellpadding='0' align='center'><tr><td><br><font size='2'><b>"+
                                                                "<font color='336699'> Limited Park or Greenspace Value</font></b> (limit research until Category 1 & 2 property "+
                                                                "research completed)<br><br>Properties that have limited park development/greenspace value or public-use benefit "+
                                                                "(due to size, location, physical characteristic or other factors). Alternate means of protection such as conservation "+
                                                                "easements, ownership by non-profit organizations, etc., should be explored where appropriate.</font><br><br></td></tr></table>";
           document.all.property1.innerHTML = "<div align='center'><font size='2'><a href='property.asp' ><b>Category I</b></a></font></div>";
           document.all.property1.bgColor = "ffffff";
           document.all.property2.innerHTML = "<div align='center'><a href='#' onClick=propertyInfo(1)><font size='2'><strong>Category II</strong></font></a></div>";
           document.all.property2.bgColor = "ffffff";
           document.all.property3.innerHTML = "<div align='center'><font color='ffffff' size='2'><strong>Category III</strong></font></div>";
           document.all.property3.bgColor = "339900";
           document.all.property4.innerHTML = "<div align='center'><a href='#' onClick=propertyInfo(3)><font size='2'><strong>Category IV</strong></font></a></div>";
           document.all.property4.bgColor = "ffffff";
           document.all.property5.innerHTML = "<div align='center'><a href='#' onClick=propertyInfo(4)><font size='2'><strong>Category V</strong></font></a></div>";
           document.all.property5.bgColor = "ffffff";
           break; }
     case 3:{
           document.all.propertyCont.innerHTML = "<table width='98%' border='0' cellspacing='0' cellpadding='0' align='center'><tr><td><br><font size='2'><b>"+
                                                                "<font color='336699'> No Park Value/Questionable Greenspace Value</font></b> (consider only upon unique/compelling "+
                                                                "circumstances)<br><br>Properties that have little to no park development value and questionable greenspace value due "+
                                                                "to size, location, physical characteristic or other factor. Alternate means of protection such as conservation easements, "+
                                                                "ownership by non-profit organizations, etc., should be explored where appropriate.</font><br><br></td></tr></table>";
           document.all.property1.innerHTML = "<div align='center'><font size='2'><a href='property.asp')><b>Category I</b></a></font></div>";
           document.all.property1.bgColor = "ffffff";
           document.all.property2.innerHTML = "<div align='center'><a href='#' onClick=propertyInfo(1)><font size='2'><strong>Category II</strong></font></a></div>";
           document.all.property2.bgColor = "ffffff";
           document.all.property3.innerHTML = "<div align='center'><a href='#' onClick=propertyInfo(2)><font size='2'><strong>Category III</strong></font></a></div>";
           document.all.property3.bgColor = "ffffff";
           document.all.property4.innerHTML = "<div align='center'><font color='ffffff' size='2'><strong>Category IV</strong></font></div>";
           document.all.property4.bgColor = "339900";
           document.all.property5.innerHTML = "<div align='center'><a href='#' onClick=propertyInfo(4)><font size='2'><strong>Category V</strong></font></a></div>";
           document.all.property5.bgColor = "ffffff";
           break; }
     case 4:{
           document.all.propertyCont.innerHTML = "<table width='98%' border='0' cellspacing='0' cellpadding='0' align='center'><tr><td><br><font size='2'><b>"+
                                                                "<font color='336699'> Not suitable</font></b> (take no further action)<br><br>Properties that do not sufficiently "+
                                                                "meet criteria for inclusion in the DeKalb parks and greenspace system<br><br><b>NOTE:</b> The selection of properties "+
                                                                "and timing of the county’s actions may be impacted by factors including, but not limited to:<ul><li>Eligibility for "+
                                                                "additional funding resources</li><li>Partnership opportunity with outside organizations, such as the Board of Education, "+
                                                                "etc. </li><li>Serious threat of development or other loss of property</li></ul></font></td></tr></table>";
           document.all.property1.innerHTML = "<div align='center'><font size='2'><a href='property.asp'><b>Category I</b></a></font></div>";
           document.all.property1.bgColor = "ffffff";
           document.all.property2.innerHTML = "<div align='center'><a href='#' onClick=propertyInfo(1)><font size='2'><strong>Category II</strong></font></a></div>";
           document.all.property2.bgColor = "ffffff";
           document.all.property3.innerHTML = "<div align='center'><a href='#' onClick=propertyInfo(2)><font size='2'><strong>Category III</strong></font></a></div>";
           document.all.property3.bgColor = "ffffff";
           document.all.property4.innerHTML = "<div align='center'><a href='#' onClick=propertyInfo(3)><font size='2'><strong>Category IV</strong></font></a></div>";
           document.all.property4.bgColor = "ffffff";
           document.all.property5.innerHTML = "<div align='center'><font color='ffffff' size='2'><strong>Category V</strong></font></div>";
           document.all.property5.bgColor = "339900";
           break; }
                    }
                }


