var c=0;
var t;
function timedCount()
{
document.getElementById('txt').value=5-c;
c=c+1;
t=setTimeout("timedCount()",1000);
if (c < 5)
{
document.getElementById('wm').innerHTML="<font size='4' color='blue'><b> Count-Down to Action<b>";
}

if (c > 5) 
{
document.getElementById('wm').innerHTML="<font size='5' color='blue'><b> Help Your Union!!<b>";
document.getElementById('txt').value='Get Involved!!';
}
if (c > 8)
{
document.getElementById('wm').innerHTML="<font  size='7'color='red'><b> Support The Employee Free Choice Act! <b>";
}
if (c > 11)
{
document.getElementById('wm').innerHTML="<font size='5' color='blue'><b> Get Involved!!<b>";
}
if (c > 14)
{
document.getElementById('wm').innerHTML="<font  size='7'color='red'><b> More Information Soon!!<b>";
}
if (c > 20)
{
document.getElementById('wm').innerHTML="<font size='5' color='blue'><b> You are Going to Be Redirected to Our Main Site<b>";
}
if (c > 24)
{
t=0
c=24
window.location = "HTTP://www.ibewlu380.com";
}

}

function submitCount()
{

c=c+1;
t=setTimeout("submitCount()",1000);
if (c < 5)
{

document.getElementById('wm').innerHTML="<font size='3' color='blue'><b><a href='HTTP://www.lu380ibew.com/FileUpload.html'>Click here to Return to File Submission Page</a><br /><br /><a href='HTTP://www.ibewlu380.com'>Click here to go to www.IBEWLU380.com</a><br /><br /><b> <font size='4' color='blue'><b> Thanks For Participating<b>";
}


if (c > 5) 
{

document.getElementById('wm').innerHTML="<font size='3' color='blue'><b><a href='HTTP://www.lu380ibew.com/FileUpload.html'>Click here to Return to File Submission Page</a><br /><br /><a href='HTTP://www.ibewlu380.com'>Click here to go to www.IBEWLU380.com</a><br /><br /><b><font size='5' color='blue'><b> Deadline For Submissions is November 30Th, 2009!!<b>";
}
if (c > 11)
{
document.getElementById('wm').innerHTML="<font size='3' color='blue'><b><a href='HTTP://www.lu380ibew.com/FileUpload.html'>Click here to Return to File Submission Page</a><br /><br /><a href='HTTP://www.ibewlu380.com'>Click here to go to www.IBEWLU380.com</a><br /><br /><b><font size='5' color='blue'><b> Vote Deadline is January 31, 2009!!<b>";
}
if (c > 14)
{
document.getElementById('wm').innerHTML="<font size='3' color='blue'><b><a href='HTTP://www.lu380ibew.com/FileUpload.html'>Click here to Return to File Submission Page</a><br /><br /><a href='HTTP://www.ibewlu380.com'>Click here to go to www.IBEWLU380.com</a><br /><br /><b><font  size='7'color='red'><b> Good Luck!!!!<b>";
}
if (c > 20)
{
document.getElementById('wm').innerHTML="<font size='4' color='blue'><b><a href='HTTP://www.lu380ibew.com/FileUpload.html'>Click here to Return to File Submission Page</a><br /><br /><a href='HTTP://www.ibewlu380.com'>Click Here to go to www.IBEWLU380.com</a><br /><b>";
}
if (c > 40)
{
t=0
c=40
window.location = "HTTP://www.ibewlu380.com";
}

}

window.onload = initForms;

function initForms() {
	for (var i=0; i< document.forms.length; i++) {
		document.forms[i].onsubmit = function() {return validForm();}
	}
}

function validForm() {
	var allGood = true;
	var allTags = document.getElementsByTagName("*");

	for (var i=0; i<allTags.length; i++) {
		if (!validTag(allTags[i])) {
			allGood = false;
		}
	}
	return allGood;

	function validTag(thisTag) {
		var outClass = "";
		var allClasses = thisTag.className.split(" ");
	
		for (var j=0; j<allClasses.length; j++) {
			outClass += validBasedOnClass(allClasses[j]) + " ";
		}
	
		thisTag.className = outClass;
	
		if (outClass.indexOf("invalid") > -1) {
			invalidLabel();
			thisTag.focus();
			if (thisTag.nodeName == "INPUT") {
				thisTag.select();
			}
			return false;
		}
		return true;
		
		function validBasedOnClass(thisClass) {
			var classBack = "";
		
			switch(thisClass) {
				case "":
				case "invalid":
					break;
				case "reqd":
					if (allGood && thisTag.value == "") classBack = "invalid ";
					classBack += thisClass;
					break;
				case "email":
					if (allGood && !validEmail(thisTag.value)){ classBack = "invalid ";
					}
					classBack += thisClass;
					break;

				case "phone":
					if (allGood && !validPhone(thisTag.value)){ classBack = "invalid ";
					}
					classBack += thisClass;
					break;
				default:
					if (allGood && !crossCheck(thisTag,thisClass)) classBack = "invalid ";
					classBack += thisClass;
			}
			return classBack;
		}
		
		function validEmail(email) {
			if (email == ""){
			return false;
			}
			var re = /^\w+([\.-]?\w+)*@\w+([.-]?w+)*(\.\w{2,4})+$/;
			return re.test(email);
		}
		
		function validPhone(phoneNum) {
			var re = /^\(?(\d{3})\)?[\.\-\/ ]?(\d{3})[\.\-\/ ]?(\d{4})$/;

			var phoneArray = re.exec(phoneNum);
			if (phoneArray) {
				document.getElementById("phone").value = "(" + phoneArray[1] + ") " + phoneArray[2] + "-" + phoneArray[3];
				return true;
			}
			return false;
		}		

		function crossCheck(inTag,otherFieldID) {
			if (!document.getElementById(otherFieldID)) return false;
			return (inTag.value == document.getElementById(otherFieldID).value);
		}
		
		function invalidLabel() {
			if (document.getElementById("FIELDSET")) {
				document.getElementById("FIELDSET").className += " invalid";
				document.getElementById("LEGEND").className += " invalid";
			}
			
			
			
			
		}
	}
}

function initialize() {
geocoder = new google.maps.Geocoder(); 
var myLatLng = new google.maps.LatLng(40.17925,-75.441334);
var myOptions = {
      zoom: 10,
      center: myLatLng,
      mapTypeId: google.maps.MapTypeId.ROADMAP
};
 
var map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
var hall380 = new google.maps.Marker({
    position: myLatLng,
    title:"Local 380 Union Hall"
});
   hall380.setMap(map); 

var jurisdiction380;
 
var jurisCoords = [
new google.maps.LatLng(40.03594, -75.34924),
new google.maps.LatLng(40.04033, -75.33943),
new google.maps.LatLng(40.04187, -75.33276),
new google.maps.LatLng(40.04485, -75.32546),
new google.maps.LatLng(40.05076, -75.31216),
new google.maps.LatLng(40.05469, -75.3045),
new google.maps.LatLng(40.05817, -75.30104),
new google.maps.LatLng(40.05957, -75.30042),
new google.maps.LatLng(40.06283, -75.29304),
new google.maps.LatLng(40.06697, -75.28315),
new google.maps.LatLng(40.06735, -75.28216),
new google.maps.LatLng(40.07331, -75.28381),
new google.maps.LatLng(40.07498, -75.28504),
new google.maps.LatLng(40.07856, -75.28783),
new google.maps.LatLng(40.08071, -75.29014),
new google.maps.LatLng(40.08727, -75.2931),
new google.maps.LatLng(40.09424, -75.2866),
new google.maps.LatLng(40.10104, -75.28017),
new google.maps.LatLng(40.10158, -75.27916),
new google.maps.LatLng(40.10251, -75.27834),
new google.maps.LatLng(40.10266, -75.27866),
new google.maps.LatLng(40.10908, -75.27263),
new google.maps.LatLng(40.1142, -75.26768),
new google.maps.LatLng(40.12201, -75.26047),
new google.maps.LatLng(40.12623, -75.25637),
new google.maps.LatLng(40.13387, -75.24914),
new google.maps.LatLng(40.13902, -75.24425),
new google.maps.LatLng(40.14818, -75.23543),
new google.maps.LatLng(40.14926, -75.23113),
new google.maps.LatLng(40.14995, -75.23022),
new google.maps.LatLng(40.15194, -75.22799),
new google.maps.LatLng(40.15288, -75.22825),
new google.maps.LatLng(40.15332, -75.22895),
new google.maps.LatLng(40.15347, -75.2298),
new google.maps.LatLng(40.15444, -75.23062),
new google.maps.LatLng(40.15864, -75.23279),
new google.maps.LatLng(40.15949, -75.23315),
new google.maps.LatLng(40.16069, -75.23652),
new google.maps.LatLng(40.1598, -75.23987),
new google.maps.LatLng(40.16025, -75.24167),
new google.maps.LatLng(40.16118, -75.24337),
new google.maps.LatLng(40.16133, -75.24489),
new google.maps.LatLng(40.16502, -75.24592),
new google.maps.LatLng(40.16664, -75.24457),
new google.maps.LatLng(40.1683, -75.24427),
new google.maps.LatLng(40.16854, -75.24506),
new google.maps.LatLng(40.16843, -75.24877),
new google.maps.LatLng(40.16832, -75.25008),
new google.maps.LatLng(40.16908, -75.25097),
new google.maps.LatLng(40.16935, -75.24962),
new google.maps.LatLng(40.16943, -75.24752),
new google.maps.LatLng(40.171, -75.24437),
new google.maps.LatLng(40.17162, -75.24153),
new google.maps.LatLng(40.1742, -75.23876),
new google.maps.LatLng(40.17775, -75.23519),
new google.maps.LatLng(40.18167, -75.23137),
new google.maps.LatLng(40.18518, -75.22783),
new google.maps.LatLng(40.18641, -75.22762),
new google.maps.LatLng(40.18998, -75.22492),
new google.maps.LatLng(40.19194, -75.22415),
new google.maps.LatLng(40.19972, -75.22405),
new google.maps.LatLng(40.20315, -75.22433),
new google.maps.LatLng(40.21015, -75.21751),
new google.maps.LatLng(40.21552, -75.21101),
new google.maps.LatLng(40.22132, -75.20564),
new google.maps.LatLng(40.22357, -75.20509),
new google.maps.LatLng(40.22516, -75.20345),
new google.maps.LatLng(40.22904, -75.20009),
new google.maps.LatLng(40.23546, -75.19361),
new google.maps.LatLng(40.236365, -75.192747),
new google.maps.LatLng(40.23666, -75.19187),
new google.maps.LatLng(40.237331, -75.191712),
new google.maps.LatLng(40.23808, -75.19109),
new google.maps.LatLng(40.24145, -75.18768),
new google.maps.LatLng(40.24406, -75.19182),
new google.maps.LatLng(40.25, -75.18622),
new google.maps.LatLng(40.25565, -75.18037),
new google.maps.LatLng(40.26034, -75.17668),
new google.maps.LatLng(40.26207, -75.17509),
new google.maps.LatLng(40.26762, -75.16678),
new google.maps.LatLng(40.27028, -75.16419),
new google.maps.LatLng(40.27504, -75.15957),
new google.maps.LatLng(40.27638, -75.15938),
new google.maps.LatLng(40.28578, -75.1603),
new google.maps.LatLng(40.28704, -75.16065),
new google.maps.LatLng(40.289, -75.15447),
new google.maps.LatLng(40.29526, -75.14777),
new google.maps.LatLng(40.29769, -75.14518),
new google.maps.LatLng(40.30681, -75.13515),
new google.maps.LatLng(40.31676, -75.1511),
new google.maps.LatLng(40.32741, -75.13942),
new google.maps.LatLng(40.32688, -75.13855),
new google.maps.LatLng(40.33166, -75.13522),
new google.maps.LatLng(40.33513, -75.14093),
new google.maps.LatLng(40.34126, -75.15112),
new google.maps.LatLng(40.35055, -75.16661),
new google.maps.LatLng(40.3594, -75.18135),
new google.maps.LatLng(40.36296, -75.18755),
new google.maps.LatLng(40.36561, -75.19311),
new google.maps.LatLng(40.38232, -75.21959),
new google.maps.LatLng(40.39158, -75.23453),
new google.maps.LatLng(40.39802, -75.24487),
new google.maps.LatLng(40.36827, -75.27544),
new google.maps.LatLng(40.36785, -75.27478),
new google.maps.LatLng(40.36337, -75.27997),
new google.maps.LatLng(40.36123, -75.28182),
new google.maps.LatLng(40.35842, -75.28431),
new google.maps.LatLng(40.35876, -75.28493),
new google.maps.LatLng(40.35946, -75.28525),
new google.maps.LatLng(40.35794, -75.28744),
new google.maps.LatLng(40.35444, -75.29248),
new google.maps.LatLng(40.35236, -75.29489),
new google.maps.LatLng(40.35073, -75.2962),
new google.maps.LatLng(40.33127, -75.31601),
new google.maps.LatLng(40.33344, -75.31948),
new google.maps.LatLng(40.33409, -75.31959),
new google.maps.LatLng(40.33676, -75.3246),
new google.maps.LatLng(40.32808, -75.33333),
new google.maps.LatLng(40.39676, -75.44513),
new google.maps.LatLng(40.34549, -75.49525),
new google.maps.LatLng(40.370776, -75.54512),
new google.maps.LatLng(40.32567, -75.58362),
new google.maps.LatLng(40.30198, -75.6031),
new google.maps.LatLng(40.28777, -75.615119),
new google.maps.LatLng(40.281457, -75.603039),
new google.maps.LatLng(40.275744, -75.608639),
new google.maps.LatLng(40.277708, -75.611944),
new google.maps.LatLng(40.276791, -75.613467),
new google.maps.LatLng(40.275564, -75.614154),
new google.maps.LatLng(40.274663, -75.614068),
new google.maps.LatLng(40.272813, -75.615398),
new google.maps.LatLng(40.271569, -75.621299),
new google.maps.LatLng(40.264234, -75.62896),
new google.maps.LatLng(40.260746, -75.623381),
new google.maps.LatLng(40.259682, -75.622222),
new google.maps.LatLng(40.257111, -75.624969),
new google.maps.LatLng(40.25585, -75.628294),
new google.maps.LatLng(40.253067, -75.623789),
new google.maps.LatLng(40.249938, -75.626449),
new google.maps.LatLng(40.247039, -75.62941),
new google.maps.LatLng(40.246106, -75.630269),
new google.maps.LatLng(40.244705, -75.630569),
new google.maps.LatLng(40.244042, -75.630569),
new google.maps.LatLng(40.243698, -75.634807),
new google.maps.LatLng(40.240864, -75.635354),
new google.maps.LatLng(40.23957, -75.631685),
new google.maps.LatLng(40.236163, -75.633573),
new google.maps.LatLng(40.23505, -75.634109),
new google.maps.LatLng(40.230938, -75.622286),
new google.maps.LatLng(40.224024, -75.629346),
new google.maps.LatLng(40.210326, -75.643186),
new google.maps.LatLng(40.205361, -75.64825),
new google.maps.LatLng(40.204968, -75.649495),
new google.maps.LatLng(40.204837, -75.654516),
new google.maps.LatLng(40.201166, -75.656211),
new google.maps.LatLng(40.198773, -75.655417),
new google.maps.LatLng(40.19656, -75.656533),
new google.maps.LatLng(40.194692, -75.66076),
new google.maps.LatLng(40.194134, -75.659955),
new google.maps.LatLng(40.194356, -75.659108),
new google.maps.LatLng(40.194331, -75.658539),
new google.maps.LatLng(40.19397, -75.658292),
new google.maps.LatLng(40.194061, -75.657488),
new google.maps.LatLng(40.19358, -75.656951),
new google.maps.LatLng(40.192872, -75.657209),
new google.maps.LatLng(40.191881, -75.656082),
new google.maps.LatLng(40.191178, -75.655267),
new google.maps.LatLng(40.191143, -75.654816),
new google.maps.LatLng(40.191249, -75.65458),
new google.maps.LatLng(40.190987, -75.654376),
new google.maps.LatLng(40.190766, -75.653668),
new google.maps.LatLng(40.190684, -75.65266),
new google.maps.LatLng(40.190668, -75.646705),
new google.maps.LatLng(40.188242, -75.645192),
new google.maps.LatLng(40.184766, -75.642617),
new google.maps.LatLng(40.183561, -75.641169),
new google.maps.LatLng(40.158606, -75.665566),
new google.maps.LatLng(40.158524, -75.661361),
new google.maps.LatLng(40.157212, -75.660717),
new google.maps.LatLng(40.153588, -75.662327),
new google.maps.LatLng(40.149275, -75.665889),
new google.maps.LatLng(40.1503, -75.671661),
new google.maps.LatLng(40.115529, -75.708547),
new google.maps.LatLng(40.119959, -75.715413),
new google.maps.LatLng(40.10624, -75.723052),
new google.maps.LatLng(40.105452, -75.730262),
new google.maps.LatLng(40.09892, -75.738072),
new google.maps.LatLng(40.069106, -75.729918),
new google.maps.LatLng(40.066479, -75.754209),
new google.maps.LatLng(40.064607, -75.758286),
new google.maps.LatLng(40.063293, -75.773735),
new google.maps.LatLng(40.048807, -75.771718),
new google.maps.LatLng(40.047739, -75.785344),
new google.maps.LatLng(40.023211, -75.790644),
new google.maps.LatLng(40.023802, -75.783477),
new google.maps.LatLng(40.011116, -75.784979),
new google.maps.LatLng(40.010491, -75.790386),
new google.maps.LatLng(40.00796, -75.790043),
new google.maps.LatLng(40.007895, -75.800171),
new google.maps.LatLng(40.004394, -75.814805),
new google.maps.LatLng(39.995698, -75.809548),
new google.maps.LatLng(39.994301, -75.807402),
new google.maps.LatLng(39.99052, -75.806673),
new google.maps.LatLng(39.988679, -75.806372),
new google.maps.LatLng(39.988432, -75.802639),
new google.maps.LatLng(39.987963, -75.798723),
new google.maps.LatLng(39.987281, -75.798637),
new google.maps.LatLng(39.988087, -75.795214),
new google.maps.LatLng(39.988169, -75.793025),
new google.maps.LatLng(39.990964, -75.776374),
new google.maps.LatLng(39.995271, -75.750175),
new google.maps.LatLng(39.997358, -75.737493),
new google.maps.LatLng(39.997704, -75.734489),
new google.maps.LatLng(39.999167, -75.724018),
new google.maps.LatLng(39.999528, -75.720713),
new google.maps.LatLng(40.002208, -75.7111),
new google.maps.LatLng(40.006317, -75.704384),
new google.maps.LatLng(40.007171, -75.700607),
new google.maps.LatLng(40.011839, -75.694857),
new google.maps.LatLng(40.017525, -75.681682),
new google.maps.LatLng(40.021124, -75.666103),
new google.maps.LatLng(40.025117, -75.644689),
new google.maps.LatLng(40.025265, -75.642521),
new google.maps.LatLng(40.028157, -75.628145),
new google.maps.LatLng(40.029915, -75.609498),
new google.maps.LatLng(40.031558, -75.596323),
new google.maps.LatLng(40.03302, -75.585208),
new google.maps.LatLng(40.033989, -75.578127),
new google.maps.LatLng(40.03739, -75.559738),
new google.maps.LatLng(40.040331, -75.542636),
new google.maps.LatLng(40.043846, -75.525062),
new google.maps.LatLng(40.042943, -75.508518),
new google.maps.LatLng(40.041612, -75.495365),
new google.maps.LatLng(40.041596, -75.492425),
new google.maps.LatLng(40.042154, -75.476332),
new google.maps.LatLng(40.042992, -75.452943),
new google.maps.LatLng(40.043682, -75.45054),
new google.maps.LatLng(40.04521, -75.446935),
new google.maps.LatLng(40.047394, -75.443351),
new google.maps.LatLng(40.048298, -75.439017),
new google.maps.LatLng(40.044668, -75.429511),
new google.maps.LatLng(40.044503, -75.426636),
new google.maps.LatLng(40.047887, -75.418224),
new google.maps.LatLng(40.048462, -75.415349),
new google.maps.LatLng(40.046918, -75.407131),
new google.maps.LatLng(40.044898, -75.402474),
new google.maps.LatLng(40.044191, -75.398934),
new google.maps.LatLng(40.044109, -75.387905),
new google.maps.LatLng(40.043206, -75.375888),
new google.maps.LatLng(40.042253, -75.371296),
new google.maps.LatLng(40.039477, -75.365696),
new google.maps.LatLng(40.037587, -75.36031),
new google.maps.LatLng(40.035977, -75.349238)
    ];
 
jurisdiction380 = new google.maps.Polygon({
      paths: jurisCoords,
      strokeColor: "#58ACFA",
      strokeOpacity: 0.8,
      strokeWeight: 2,
      fillColor: "#58ACFA",
      fillOpacity: 0.35
});
 
jurisdiction380.setMap(map);

}

function codeAddress() {

geocoder = new google.maps.Geocoder(); 
var myLatLng = new google.maps.LatLng(40.17925,-75.441334);
var myOptions = {
      zoom: 10,
      center: myLatLng,
      mapTypeId: google.maps.MapTypeId.ROADMAP
};
 
var map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);

var hall380 = new google.maps.Marker({
    position: myLatLng,
    title:"Local 380 Union Hall"
});
hall380.setMap(map); 

var jurisdiction380;
var jurisCoords = [
new google.maps.LatLng(40.03594, -75.34924),
new google.maps.LatLng(40.04033, -75.33943),
new google.maps.LatLng(40.04187, -75.33276),
new google.maps.LatLng(40.04485, -75.32546),
new google.maps.LatLng(40.05076, -75.31216),
new google.maps.LatLng(40.05469, -75.3045),
new google.maps.LatLng(40.05817, -75.30104),
new google.maps.LatLng(40.05957, -75.30042),
new google.maps.LatLng(40.06283, -75.29304),
new google.maps.LatLng(40.06697, -75.28315),
new google.maps.LatLng(40.06735, -75.28216),
new google.maps.LatLng(40.07331, -75.28381),
new google.maps.LatLng(40.07498, -75.28504),
new google.maps.LatLng(40.07856, -75.28783),
new google.maps.LatLng(40.08071, -75.29014),
new google.maps.LatLng(40.08727, -75.2931),
new google.maps.LatLng(40.09424, -75.2866),
new google.maps.LatLng(40.10104, -75.28017),
new google.maps.LatLng(40.10158, -75.27916),
new google.maps.LatLng(40.10251, -75.27834),
new google.maps.LatLng(40.10266, -75.27866),
new google.maps.LatLng(40.10908, -75.27263),
new google.maps.LatLng(40.1142, -75.26768),
new google.maps.LatLng(40.12201, -75.26047),
new google.maps.LatLng(40.12623, -75.25637),
new google.maps.LatLng(40.13387, -75.24914),
new google.maps.LatLng(40.13902, -75.24425),
new google.maps.LatLng(40.14818, -75.23543),
new google.maps.LatLng(40.14926, -75.23113),
new google.maps.LatLng(40.14995, -75.23022),
new google.maps.LatLng(40.15194, -75.22799),
new google.maps.LatLng(40.15288, -75.22825),
new google.maps.LatLng(40.15332, -75.22895),
new google.maps.LatLng(40.15347, -75.2298),
new google.maps.LatLng(40.15444, -75.23062),
new google.maps.LatLng(40.15864, -75.23279),
new google.maps.LatLng(40.15949, -75.23315),
new google.maps.LatLng(40.16069, -75.23652),
new google.maps.LatLng(40.1598, -75.23987),
new google.maps.LatLng(40.16025, -75.24167),
new google.maps.LatLng(40.16118, -75.24337),
new google.maps.LatLng(40.16133, -75.24489),
new google.maps.LatLng(40.16502, -75.24592),
new google.maps.LatLng(40.16664, -75.24457),
new google.maps.LatLng(40.1683, -75.24427),
new google.maps.LatLng(40.16854, -75.24506),
new google.maps.LatLng(40.16843, -75.24877),
new google.maps.LatLng(40.16832, -75.25008),
new google.maps.LatLng(40.16908, -75.25097),
new google.maps.LatLng(40.16935, -75.24962),
new google.maps.LatLng(40.16943, -75.24752),
new google.maps.LatLng(40.171, -75.24437),
new google.maps.LatLng(40.17162, -75.24153),
new google.maps.LatLng(40.1742, -75.23876),
new google.maps.LatLng(40.17775, -75.23519),
new google.maps.LatLng(40.18167, -75.23137),
new google.maps.LatLng(40.18518, -75.22783),
new google.maps.LatLng(40.18641, -75.22762),
new google.maps.LatLng(40.18998, -75.22492),
new google.maps.LatLng(40.19194, -75.22415),
new google.maps.LatLng(40.19972, -75.22405),
new google.maps.LatLng(40.20315, -75.22433),
new google.maps.LatLng(40.21015, -75.21751),
new google.maps.LatLng(40.21552, -75.21101),
new google.maps.LatLng(40.22132, -75.20564),
new google.maps.LatLng(40.22357, -75.20509),
new google.maps.LatLng(40.22516, -75.20345),
new google.maps.LatLng(40.22904, -75.20009),
new google.maps.LatLng(40.23546, -75.19361),
new google.maps.LatLng(40.236365, -75.192747),
new google.maps.LatLng(40.23666, -75.19187),
new google.maps.LatLng(40.237331, -75.191712),
new google.maps.LatLng(40.23808, -75.19109),
new google.maps.LatLng(40.24145, -75.18768),
new google.maps.LatLng(40.24406, -75.19182),
new google.maps.LatLng(40.25, -75.18622),
new google.maps.LatLng(40.25565, -75.18037),
new google.maps.LatLng(40.26034, -75.17668),
new google.maps.LatLng(40.26207, -75.17509),
new google.maps.LatLng(40.26762, -75.16678),
new google.maps.LatLng(40.27028, -75.16419),
new google.maps.LatLng(40.27504, -75.15957),
new google.maps.LatLng(40.27638, -75.15938),
new google.maps.LatLng(40.28578, -75.1603),
new google.maps.LatLng(40.28704, -75.16065),
new google.maps.LatLng(40.289, -75.15447),
new google.maps.LatLng(40.29526, -75.14777),
new google.maps.LatLng(40.29769, -75.14518),
new google.maps.LatLng(40.30681, -75.13515),
new google.maps.LatLng(40.31676, -75.1511),
new google.maps.LatLng(40.32741, -75.13942),
new google.maps.LatLng(40.32688, -75.13855),
new google.maps.LatLng(40.33166, -75.13522),
new google.maps.LatLng(40.33513, -75.14093),
new google.maps.LatLng(40.34126, -75.15112),
new google.maps.LatLng(40.35055, -75.16661),
new google.maps.LatLng(40.3594, -75.18135),
new google.maps.LatLng(40.36296, -75.18755),
new google.maps.LatLng(40.36561, -75.19311),
new google.maps.LatLng(40.38232, -75.21959),
new google.maps.LatLng(40.39158, -75.23453),
new google.maps.LatLng(40.39802, -75.24487),
new google.maps.LatLng(40.36827, -75.27544),
new google.maps.LatLng(40.36785, -75.27478),
new google.maps.LatLng(40.36337, -75.27997),
new google.maps.LatLng(40.36123, -75.28182),
new google.maps.LatLng(40.35842, -75.28431),
new google.maps.LatLng(40.35876, -75.28493),
new google.maps.LatLng(40.35946, -75.28525),
new google.maps.LatLng(40.35794, -75.28744),
new google.maps.LatLng(40.35444, -75.29248),
new google.maps.LatLng(40.35236, -75.29489),
new google.maps.LatLng(40.35073, -75.2962),
new google.maps.LatLng(40.33127, -75.31601),
new google.maps.LatLng(40.33344, -75.31948),
new google.maps.LatLng(40.33409, -75.31959),
new google.maps.LatLng(40.33676, -75.3246),
new google.maps.LatLng(40.32808, -75.33333),
new google.maps.LatLng(40.39676, -75.44513),
new google.maps.LatLng(40.34549, -75.49525),
new google.maps.LatLng(40.370776, -75.54512),
new google.maps.LatLng(40.32567, -75.58362),
new google.maps.LatLng(40.30198, -75.6031),
new google.maps.LatLng(40.28777, -75.615119),
new google.maps.LatLng(40.281457, -75.603039),
new google.maps.LatLng(40.275744, -75.608639),
new google.maps.LatLng(40.277708, -75.611944),
new google.maps.LatLng(40.276791, -75.613467),
new google.maps.LatLng(40.275564, -75.614154),
new google.maps.LatLng(40.274663, -75.614068),
new google.maps.LatLng(40.272813, -75.615398),
new google.maps.LatLng(40.271569, -75.621299),
new google.maps.LatLng(40.264234, -75.62896),
new google.maps.LatLng(40.260746, -75.623381),
new google.maps.LatLng(40.259682, -75.622222),
new google.maps.LatLng(40.257111, -75.624969),
new google.maps.LatLng(40.25585, -75.628294),
new google.maps.LatLng(40.253067, -75.623789),
new google.maps.LatLng(40.249938, -75.626449),
new google.maps.LatLng(40.247039, -75.62941),
new google.maps.LatLng(40.246106, -75.630269),
new google.maps.LatLng(40.244705, -75.630569),
new google.maps.LatLng(40.244042, -75.630569),
new google.maps.LatLng(40.243698, -75.634807),
new google.maps.LatLng(40.240864, -75.635354),
new google.maps.LatLng(40.23957, -75.631685),
new google.maps.LatLng(40.236163, -75.633573),
new google.maps.LatLng(40.23505, -75.634109),
new google.maps.LatLng(40.230938, -75.622286),
new google.maps.LatLng(40.224024, -75.629346),
new google.maps.LatLng(40.210326, -75.643186),
new google.maps.LatLng(40.205361, -75.64825),
new google.maps.LatLng(40.204968, -75.649495),
new google.maps.LatLng(40.204837, -75.654516),
new google.maps.LatLng(40.201166, -75.656211),
new google.maps.LatLng(40.198773, -75.655417),
new google.maps.LatLng(40.19656, -75.656533),
new google.maps.LatLng(40.194692, -75.66076),
new google.maps.LatLng(40.194134, -75.659955),
new google.maps.LatLng(40.194356, -75.659108),
new google.maps.LatLng(40.194331, -75.658539),
new google.maps.LatLng(40.19397, -75.658292),
new google.maps.LatLng(40.194061, -75.657488),
new google.maps.LatLng(40.19358, -75.656951),
new google.maps.LatLng(40.192872, -75.657209),
new google.maps.LatLng(40.191881, -75.656082),
new google.maps.LatLng(40.191178, -75.655267),
new google.maps.LatLng(40.191143, -75.654816),
new google.maps.LatLng(40.191249, -75.65458),
new google.maps.LatLng(40.190987, -75.654376),
new google.maps.LatLng(40.190766, -75.653668),
new google.maps.LatLng(40.190684, -75.65266),
new google.maps.LatLng(40.190668, -75.646705),
new google.maps.LatLng(40.188242, -75.645192),
new google.maps.LatLng(40.184766, -75.642617),
new google.maps.LatLng(40.183561, -75.641169),
new google.maps.LatLng(40.158606, -75.665566),
new google.maps.LatLng(40.158524, -75.661361),
new google.maps.LatLng(40.157212, -75.660717),
new google.maps.LatLng(40.153588, -75.662327),
new google.maps.LatLng(40.149275, -75.665889),
new google.maps.LatLng(40.1503, -75.671661),
new google.maps.LatLng(40.115529, -75.708547),
new google.maps.LatLng(40.119959, -75.715413),
new google.maps.LatLng(40.10624, -75.723052),
new google.maps.LatLng(40.105452, -75.730262),
new google.maps.LatLng(40.09892, -75.738072),
new google.maps.LatLng(40.069106, -75.729918),
new google.maps.LatLng(40.066479, -75.754209),
new google.maps.LatLng(40.064607, -75.758286),
new google.maps.LatLng(40.063293, -75.773735),
new google.maps.LatLng(40.048807, -75.771718),
new google.maps.LatLng(40.047739, -75.785344),
new google.maps.LatLng(40.023211, -75.790644),
new google.maps.LatLng(40.023802, -75.783477),
new google.maps.LatLng(40.011116, -75.784979),
new google.maps.LatLng(40.010491, -75.790386),
new google.maps.LatLng(40.00796, -75.790043),
new google.maps.LatLng(40.007895, -75.800171),
new google.maps.LatLng(40.004394, -75.814805),
new google.maps.LatLng(39.995698, -75.809548),
new google.maps.LatLng(39.994301, -75.807402),
new google.maps.LatLng(39.99052, -75.806673),
new google.maps.LatLng(39.988679, -75.806372),
new google.maps.LatLng(39.988432, -75.802639),
new google.maps.LatLng(39.987963, -75.798723),
new google.maps.LatLng(39.987281, -75.798637),
new google.maps.LatLng(39.988087, -75.795214),
new google.maps.LatLng(39.988169, -75.793025),
new google.maps.LatLng(39.990964, -75.776374),
new google.maps.LatLng(39.995271, -75.750175),
new google.maps.LatLng(39.997358, -75.737493),
new google.maps.LatLng(39.997704, -75.734489),
new google.maps.LatLng(39.999167, -75.724018),
new google.maps.LatLng(39.999528, -75.720713),
new google.maps.LatLng(40.002208, -75.7111),
new google.maps.LatLng(40.006317, -75.704384),
new google.maps.LatLng(40.007171, -75.700607),
new google.maps.LatLng(40.011839, -75.694857),
new google.maps.LatLng(40.017525, -75.681682),
new google.maps.LatLng(40.021124, -75.666103),
new google.maps.LatLng(40.025117, -75.644689),
new google.maps.LatLng(40.025265, -75.642521),
new google.maps.LatLng(40.028157, -75.628145),
new google.maps.LatLng(40.029915, -75.609498),
new google.maps.LatLng(40.031558, -75.596323),
new google.maps.LatLng(40.03302, -75.585208),
new google.maps.LatLng(40.033989, -75.578127),
new google.maps.LatLng(40.03739, -75.559738),
new google.maps.LatLng(40.040331, -75.542636),
new google.maps.LatLng(40.043846, -75.525062),
new google.maps.LatLng(40.042943, -75.508518),
new google.maps.LatLng(40.041612, -75.495365),
new google.maps.LatLng(40.041596, -75.492425),
new google.maps.LatLng(40.042154, -75.476332),
new google.maps.LatLng(40.042992, -75.452943),
new google.maps.LatLng(40.043682, -75.45054),
new google.maps.LatLng(40.04521, -75.446935),
new google.maps.LatLng(40.047394, -75.443351),
new google.maps.LatLng(40.048298, -75.439017),
new google.maps.LatLng(40.044668, -75.429511),
new google.maps.LatLng(40.044503, -75.426636),
new google.maps.LatLng(40.047887, -75.418224),
new google.maps.LatLng(40.048462, -75.415349),
new google.maps.LatLng(40.046918, -75.407131),
new google.maps.LatLng(40.044898, -75.402474),
new google.maps.LatLng(40.044191, -75.398934),
new google.maps.LatLng(40.044109, -75.387905),
new google.maps.LatLng(40.043206, -75.375888),
new google.maps.LatLng(40.042253, -75.371296),
new google.maps.LatLng(40.039477, -75.365696),
new google.maps.LatLng(40.037587, -75.36031),
new google.maps.LatLng(40.035977, -75.349238)
];
 

jurisdiction380 = new google.maps.Polygon({
      paths: jurisCoords,
      strokeColor: "#58ACFA",
      strokeOpacity: 0.8,
      strokeWeight: 2,
      fillColor: "#58ACFA",
      fillOpacity: 0.35
    });
 
jurisdiction380.setMap(map);

var address = document.getElementById("address").value;
geocoder.geocode( { 'address': address}, function(results, status) {
       if (status == google.maps.GeocoderStatus.OK) {
         map.setCenter(results[0].geometry.location);
         var marker = new google.maps.Marker({
             map: map,
             position: results[0].geometry.location
         });
       }
 else {
         alert("Geocode was not successful for the following reason: " + status);
       }
     });
}  


						

