<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://mg.to" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>mg.to - Where Do You Vote? - Comments</title>
 <link>http://mg.to/where-do-you-vote</link>
 <description>Comments for &quot;Where Do You Vote?&quot;</description>
 <language>en</language>
<item>
 <title>Where Do You Vote?</title>
 <link>http://mg.to/where-do-you-vote</link>
 <description>&lt;br /&gt;

&lt;!-- Begin Polling Place Search widget --&gt;
&lt;style type=&quot;text/css&quot;&gt;
	#PollingPlaceSearch { font-family:Arial,sans-serif; font-size:10pt; width:600px; margin:0; padding:6px; border:1px solid #AAA; }
	.PollingPlaceSearchForm { margin:0; padding:0; }
	.PollingPlaceSearchTitle { float:left; /*font-weight:bold;*/ /*font-size:120%;*/ padding-bottom:4px; }
	/*.PollingPlaceSearchSpinner { float:right; margin-right:4px; width:16px; height:16px; background-image:url(spinner16.gif); background-position:1000px 0px; background-repeat:no-repeat; }*/
	.PollingPlaceSearchLabelBox { position:relative; float:left; margin-right:6px; }
	.PollingPlaceSearchLabel { position:absolute; left:5px; top:0; z-index:1; color:#777; cursor: text; }
	.PollingPlaceSearchInput { width:500px; }
	.PollingPlaceSearchButtonBox { float:left; }
	.PollingPlaceSearchButton { width:75px; height:1.85em; }
	.PollingPlaceSearchFrameHider { width:100%; height:600px; display:none; }
	.PollingPlaceSearchFrameBox { width:100%; height:100%; }
&lt;/style&gt;
&lt;div id=&quot;PollingPlaceSearch&quot;&gt;
	&lt;div class=&quot;PollingPlaceSearchTitle&quot;&gt;
		Find your 2008 voter information. Enter your &lt;strong&gt;home&lt;/strong&gt; address:
	&lt;/div&gt;
	&lt;!--&lt;div id=&quot;PollingPlaceSearchSpinner&quot; class=&quot;PollingPlaceSearchSpinner&quot;&gt;--&gt;
	&lt;!--&lt;/div&gt;--&gt;
	&lt;div style=&quot;clear:both;&quot;&gt;
	&lt;/div&gt;
	&lt;form id=&quot;PollingPlaceSearchForm&quot; class=&quot;PollingPlaceSearchForm&quot; onsubmit=&quot;return PollingPlaceSearch.submit()&quot;&gt;
		&lt;div class=&quot;PollingPlaceSearchLabelBox&quot;&gt;
			&lt;label id=&quot;PollingPlaceSearchLabel&quot; for=&quot;PollingPlaceSearchInput&quot; class=&quot;PollingPlaceSearchLabel&quot;&gt;
				Example: 1600 Pennsylvania Ave 20006
			&lt;/label&gt;
			&lt;input id=&quot;PollingPlaceSearchInput&quot; class=&quot;PollingPlaceSearchInput&quot; type=&quot;text&quot; onfocus=&quot;PollingPlaceSearch.focus()&quot; onblur=&quot;PollingPlaceSearch.blur()&quot; /&gt;
		&lt;/div&gt;
		&lt;div class=&quot;PollingPlaceSearchButtonBox&quot;&gt;
			&lt;button type=&quot;submit&quot; id=&quot;PollingPlaceSearchButton&quot; class=&quot;PollingPlaceSearchButton&quot;&gt; Search&lt;/button&gt;
		&lt;/div&gt;
	&lt;/form&gt;
	&lt;div style=&quot;clear:left;&quot;&gt;
	&lt;/div&gt;
	&lt;div id=&quot;PollingPlaceSearchFrameHider&quot; class=&quot;PollingPlaceSearchFrameHider&quot;&gt;
		&lt;div id=&quot;PollingPlaceSearchFrameBox&quot; class=&quot;PollingPlaceSearchFrameBox&quot;&gt;
		&lt;/div&gt;
	&lt;/div&gt;
&lt;/div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
	(function() {
		function e( id ) { return document.getElementById(&#039;PollingPlaceSearch&#039;+id); }
		var /*spinner = e(&#039;Spinner&#039;),*/ label = e(&#039;Label&#039;), input = e(&#039;Input&#039;), button = e(&#039;Button&#039;), hider = e(&#039;FrameHider&#039;);
		button.disabled = false;
		
		window.PollingPlaceSearch = {
			
			focus: function() {
				label.style.textIndent = &#039;-1000px&#039;;
			},
			
			blur: function() {
				if( input.value === &#039;&#039; )
					label.style.textIndent = &#039;0px&#039;;
			},
			
			submit: function() {
				//spinner.style.backgroundPosition = &#039;0px 0px&#039;;
				hider.style.display = &#039;block&#039;;
				load( &#039;http://election-maps-2008.googlecode.com/svn/trunk/poll411.js&#039; );
				return false;
			}
			
		};
		
		PollingPlaceSearch.focus();
		PollingPlaceSearch.blur();
		
		function load( url ) {
			/* cachebuster for debugging: */
			url += &#039;?&#039; + (+new Date);
			/* end cachebuster */
			var script = document.createElement( &#039;script&#039; );
			script.type = &#039;text/javascript&#039;;
			script.src = url;
			document.getElementsByTagName(&#039;head&#039;)[0].appendChild( script );
		}
	})();
&lt;/script&gt;
&lt;!-- End Polling Place Search widget --&gt;

&lt;br /&gt;
This is a test of the 2008 US Voter Info gadget.</description>
 <comments>http://mg.to/where-do-you-vote#comments</comments>
 <category domain="http://mg.to/topics/programming/html">HTML</category>
 <category domain="http://mg.to/topics/programming/javascript">JavaScript</category>
 <category domain="http://mg.to/topics/programming/javascript/jquery">jQuery</category>
 <category domain="http://mg.to/topics/programming/mapping">Mapping</category>
 <pubDate>Mon, 18 Aug 2008 00:06:35 +0000</pubDate>
 <dc:creator>Michael Geary</dc:creator>
 <guid isPermaLink="false">197 at http://mg.to</guid>
</item>
</channel>
</rss>

