Login

Sign Up

After creating an account, you'll be able to track your payment status, track the confirmation.
Username*
Password*
Confirm Password*
First Name*
Last Name*
Email*
Phone*
Contact Address
Country*
* Creating an account means you're okay with our Terms of Service and Privacy Statement.
Please agree to all the terms and conditions before proceeding to the next step

Already a member?

Login

Login

Sign Up

After creating an account, you'll be able to track your payment status, track the confirmation.
Username*
Password*
Confirm Password*
First Name*
Last Name*
Email*
Phone*
Contact Address
Country*
* Creating an account means you're okay with our Terms of Service and Privacy Statement.
Please agree to all the terms and conditions before proceeding to the next step

Already a member?

Login

Educate Our Leaders

Locate your Senators and Representative

ex: 1600 Pennsylvania Ave, Washington, DC 20500

Locate your Senators and Representative

loading

ex: 1600 Pennsylvania Ave, Washington, DC 20500

var geocoder11494967, map11494967, marker11494967, congressInitialized11494967 = false; function congressInitialize11494967(){ var latlng = new google.maps.LatLng(38.8987149, -77.03765550000003); var options = { zoom: 15, center: latlng, mapTypeId: google.maps.MapTypeId.ROADMAP }; map11494967 = new google.maps.Map(document.getElementById("map_canvas11494967"), options); // GEOCODER geocoder11494967 = new google.maps.Geocoder(); // Marker marker11494967 = new google.maps.Marker({ map: map11494967, draggable: true }); marker11494967.setPosition(latlng); //Change to other address var address_center = "1600 Pennsylvania Ave, Washington, DC 20500"; geocoder11494967.geocode({"address": address_center}, function(results, status) { if (status == google.maps.GeocoderStatus.OK) { if (status != google.maps.GeocoderStatus.ZERO_RESULTS) { marker11494967.setPosition( results[0].geometry.location ); map11494967.panTo( results[0].geometry.location ); } } }); //Add listener to marker for reverse geocoding google.maps.event.addListener(marker11494967, "dragend", function (event) { jQuery("#jloader11494967").show(); geocoder11494967.geocode({"latLng": marker11494967.getPosition()}, function(results, status) { jQuery("#jloader11494967").hide(); if (status == google.maps.GeocoderStatus.OK) { if (results[0]) { jQuery("#congress_address11494967").val(results[0].formatted_address); getCongressData(results[0].formatted_address, 0, 11494967); } } }); }); jQuery("congress_address11494967").keyup(function(){ jQuery("congress_address11494967").removeClass(); }); } function getCongressFromAddress(f, atts_id, id){ var address = jQuery("#congress_address" + id).val(); var showon = jQuery("#congress_showon" + id).val(); if(!address || address == "" || address.length == 0) { jQuery("#congress_address" + id).addClass( "error" ); jQuery("#congress_holder" + id).html( "Missing Address!" ); return false; } jQuery("#jloader" + id).show(); window["geocoder" + id].geocode( { "address": address}, function(results, status) { if (status == google.maps.GeocoderStatus.OK) { window["marker" + id].setPosition(results[0].geometry.location); window["map" + id].setCenter(results[0].geometry.location); getCongressData(address, atts_id, id); jQuery("#jloader" + id).hide(); } else { jQuery("#congress_holder" + id).html( "Couldn't find the address" ); jQuery("#jloader" + id).hide(); } }); return false; } function getCongressData(address, atts_id, id){ jQuery("#congress_holder" + id).html( jQuery("",{id:"jloader_"+id,src: jQuery("#jloader" + id).attr("src") }) ); var showon = jQuery("#congress_showon" + id).val(); var data = { action: "congress_get_api_data", security : security, atts_id: atts_id, showon: showon, address: address }; jQuery.post(ajaxurl, data, function(response) { if(response != "Error1" && response != "Error2"){ jQuery("#congress_holder" + id).html( response ); }else{ jQuery("#congress_holder" + id).html( "Address or zip code not found. Please try again.." ); } }); } jQuery(document).ready(function(){congressInitialize11494967();});