govkit-ca 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. data/.yardopts +4 -0
  2. data/README.md +2 -1
  3. data/govkit-ca.gemspec +3 -3
  4. data/lib/gov_kit-ca/postal_code/strategy/liberal_ca.rb +1 -2
  5. data/lib/gov_kit-ca/postal_code/strategy/parl_gc_ca.rb +2 -2
  6. data/lib/gov_kit-ca/postal_code.rb +2 -4
  7. data/lib/gov_kit-ca/version.rb +1 -1
  8. data/lib/gov_kit-ca.rb +2 -2
  9. data/spec/cbc_ca_spec.rb +1 -0
  10. data/spec/{conservative_ca_spec.ca → conservative_ca_spec.rb} +1 -1
  11. data/spec/elections_ca_spec.rb +2 -2
  12. data/spec/fixtures/cbc_ca/A1A1A1.response +11 -0
  13. data/spec/fixtures/cbc_ca/G0C2Y0.response +11 -0
  14. data/spec/fixtures/cbc_ca/H0H0H0.response +11 -0
  15. data/spec/fixtures/cbc_ca/K0A1K0.response +11 -0
  16. data/spec/fixtures/cbc_ca/T5S2B9.response +11 -0
  17. data/spec/fixtures/cbc_ca/X1B1B1.response +11 -0
  18. data/spec/fixtures/conservative_ca/A1A1A1.response +452 -0
  19. data/spec/fixtures/conservative_ca/G0C2Y0.response +452 -0
  20. data/spec/fixtures/conservative_ca/H0H0H0.response +452 -0
  21. data/spec/fixtures/conservative_ca/K0A1K0.response +455 -0
  22. data/spec/fixtures/conservative_ca/T5S2B9.response +453 -0
  23. data/spec/fixtures/conservative_ca/X1B1B1.response +452 -0
  24. data/spec/fixtures/digital-copyright_ca/A1A1A1.response +227 -0
  25. data/spec/fixtures/digital-copyright_ca/G0C2Y0.response +229 -0
  26. data/spec/fixtures/digital-copyright_ca/H0H0H0.response +243 -0
  27. data/spec/fixtures/digital-copyright_ca/K0A1K0.response +230 -0
  28. data/spec/fixtures/digital-copyright_ca/T5S2B9.response +233 -0
  29. data/spec/fixtures/digital-copyright_ca/X1B1B1.response +243 -0
  30. data/spec/fixtures/elections_ca/A1A1A1.response +10 -0
  31. data/spec/fixtures/elections_ca/G0C2Y0.response +11 -0
  32. data/spec/fixtures/elections_ca/H0H0H0.response +10 -0
  33. data/spec/fixtures/elections_ca/K0A1K0.response +10 -0
  34. data/spec/fixtures/elections_ca/T5S2B9.response +10 -0
  35. data/spec/fixtures/elections_ca/X1B1B1.response +10 -0
  36. data/spec/fixtures/greenparty_ca/A1A1A1.response +13 -0
  37. data/spec/fixtures/greenparty_ca/G0C2Y0.response +13 -0
  38. data/spec/fixtures/greenparty_ca/H0H0H0.response +13 -0
  39. data/spec/fixtures/greenparty_ca/K0A1K0.response +13 -0
  40. data/spec/fixtures/greenparty_ca/T5S2B9.response +13 -0
  41. data/spec/fixtures/greenparty_ca/X1B1B1.response +13 -0
  42. data/spec/fixtures/liberal_ca/A1A1A1.response +702 -0
  43. data/spec/fixtures/liberal_ca/G0C2Y0.response +570 -0
  44. data/spec/fixtures/liberal_ca/H0H0H0.response +649 -0
  45. data/spec/fixtures/liberal_ca/K0A1K0.response +650 -0
  46. data/spec/fixtures/liberal_ca/T5S2B9.response +570 -0
  47. data/spec/fixtures/liberal_ca/X1B1B1.response +649 -0
  48. data/spec/fixtures/ndp_ca/A1A1A1.response +610 -0
  49. data/spec/fixtures/ndp_ca/G0C2Y0.response +610 -0
  50. data/spec/fixtures/ndp_ca/H0H0H0.response +593 -0
  51. data/spec/fixtures/ndp_ca/K0A1K0.response +641 -0
  52. data/spec/fixtures/ndp_ca/T5S2B9.response +605 -0
  53. data/spec/fixtures/ndp_ca/X1B1B1.response +593 -0
  54. data/spec/liberal_ca_spec.rb +1 -4
  55. data/spec/ndp_ca_spec.rb +1 -1
  56. data/spec/spec_helper.rb +4 -0
  57. data/spec/strategy_set_spec.rb +5 -0
  58. data/tasks/tasks.rb +4 -5
  59. metadata +114 -8
@@ -0,0 +1,453 @@
1
+ HTTP/1.1 200 OK
2
+ Date: Tue, 05 Mar 2013 03:46:12 GMT
3
+ Server: Apache/2.2.22 (Debian)
4
+ X-Powered-By: PHP/5.4.4-9
5
+ Set-Cookie: qtrans_cookie_test=qTranslate+Cookie+Test; path=/; domain=www.conservative.ca
6
+ X-Pingback: http://www.conservative.ca/xmlrpc.php
7
+ Vary: Accept-Encoding
8
+ Connection: close
9
+ Transfer-Encoding: chunked
10
+ Content-Type: text/html; charset=UTF-8
11
+
12
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
13
+ <html dir="ltr" lang="en-US">
14
+ <head>
15
+ <script src="//cdn.optimizely.com/js/166119657.js"></script>
16
+ <script>
17
+ _udn = ".conservative.ca";
18
+ </script>
19
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
20
+ <title>Members of Parliament | Conservative Party of Canada</title>
21
+ <link rel="profile" href="http://gmpg.org/xfn/11" />
22
+ <link rel="stylesheet" type="text/css" media="all" href="http://www.conservative.ca/wp-content/themes/conservative/style.css" />
23
+ <link rel="pingback" href="http://www.conservative.ca/xmlrpc.php" />
24
+ <link rel="alternate" type="application/rss+xml" title="Conservative Party of Canada &raquo; Members of Parliament Comments Feed" href="http://www.conservative.ca/?feed=rss2&#038;page_id=35" />
25
+ <link href="http://www.conservative.ca/wp-content/plugins/cpcphotos/colorbox/colorbox.css" rel="stylesheet" type="text/css" /><link rel='stylesheet' id='cpcemailsignupcss-css' href='http://www.conservative.ca/wp-content/plugins/cpcemailsignup/cpcemailsignup.css?ver=1.0' type='text/css' media='screen' />
26
+ <link rel='stylesheet' id='fancybox2css-css' href='http://www.conservative.ca/wp-content/themes/conservative/scripts/fancybox2/jquery.fancybox.css?ver=1.0' type='text/css' media='screen' />
27
+ <script type='text/javascript' src='http://www.conservative.ca/wp-includes/js/jquery/jquery.js?ver=1.7.1'></script>
28
+ <script type='text/javascript' src='http://www.conservative.ca/wp-content/plugins/cpcemailsignup/jquery.placeholder-1.0.js?ver=3.3.1'></script>
29
+ <script type='text/javascript' src='http://www.conservative.ca/wp-content/themes/conservative/scripts/fancybox2/jquery.mousewheel-3.0.6.pack.js?ver=3.3.1'></script>
30
+ <script type='text/javascript' src='http://www.conservative.ca/wp-content/themes/conservative/scripts/fancybox2/jquery.fancybox.js?ver=3.3.1'></script>
31
+ <script type='text/javascript' src='http://www.conservative.ca/wp-content/plugins/cpcphotos/colorbox/jquery.colorbox-min.js?ver=3.3.1'></script>
32
+ <link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://www.conservative.ca/xmlrpc.php?rsd" />
33
+ <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://www.conservative.ca/wp-includes/wlwmanifest.xml" />
34
+ <link rel='prev' title='Senators' href='http://www.conservative.ca/?page_id=33' />
35
+ <link rel='next' title='Your Elected National Council' href='http://www.conservative.ca/?page_id=37' />
36
+ <meta name="generator" content="WordPress 3.3.1" />
37
+ <link rel='canonical' href='http://www.conservative.ca/?page_id=35' />
38
+
39
+ <meta http-equiv="Content-Language" content="en-US" />
40
+ <link hreflang="fr" href="http://www.conservative.ca/?page_id=35&amp;lang=fr" rel="alternate" />
41
+ <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
42
+ <meta charset="UTF-8" />
43
+ <meta property="og:title" content="Members of Parliament" />
44
+ <meta property="og:type" content="article" />
45
+ <meta property="og:image" content="http://www.conservative.ca/media/2012/06/fb_cpc.jpg" />
46
+ <meta property="og:url" content="http://www.conservative.ca/?page_id=35" />
47
+ <meta property="og:description" content="" />
48
+ <meta property="og:site_name" content="Conservative Party of Canada" />
49
+ <meta http-equiv="robots" content="index, follow" />
50
+ <meta http-equiv="window-target" content="_top" />
51
+ <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
52
+ <meta name="description" content="Latest news and information from the Conservative Party of Canada. A Canadian political party led by Stephen Harper." />
53
+ <meta name="keywords" content="conservative party of canada, conservative party, conservative, conservatives, harper, stephen harper, stand up for canada, trades, transit, accountability, child care, tools tax credit, transit tax credit, accountability act, child care tax credit, canada, political party, politics, federal politics" />
54
+ <meta name="title" content="Conservative Party of Canada | Prime Minister Stephen Harper" />
55
+ <meta name="Identifier-URL" content="www.conservative.ca" />
56
+ <meta name="revisit-after" content="7 days" />
57
+ <meta name="distribution" content="global" />
58
+ <meta name="Coverage" content="Worldwide" />
59
+ <meta name="resource-type" content="document" />
60
+ <meta name="Content-Language" content="EN" />
61
+ <meta name="rating" content="General" />
62
+ <meta name="copyright" content="Conservative Party Of Canada" />
63
+ <link rel="icon" type="image/x-icon" href="http://www.conservative.ca/media/www_conservative_ca.ico" />
64
+ <link rel="shortcut icon" type="image/x-icon" href="http://www.conservative.ca/media/www_conservative_ca.ico" />
65
+ <script type="text/javascript">
66
+ var _gaq = _gaq || [];
67
+ _gaq.push(['_setAccount', 'UA-32967487-1']);
68
+ _gaq.push(['_setDomainName', 'conservative.ca']);
69
+ _gaq.push(['_trackPageview']);
70
+ (function() {
71
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
72
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
73
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
74
+ })();
75
+ </script>
76
+ </head>
77
+ <body class="page page-id-35 page-child parent-pageid-11 page-template page-template-template-searchbyprovince-php">
78
+ <div id="jumpBar">
79
+ <div class="center">
80
+ <div id="switches">
81
+ <div class="left lang"><a href="http://www.conservative.ca/?page_id=35&amp;lang=fr" class="btn btn-info" style="padding:0 5px 5px 5px; height:15px; margin:3px 0 0 0;">Fran&ccedil;ais</a></div>
82
+ <div class="clear"></div>
83
+ </div><!-- /switches -->
84
+
85
+ <div id="socNets">
86
+ <div class="left contact"><a href="http://www.conservative.ca/?page_id=72" class="btn btn-info" style="padding:0 5px 5px 5px; height:15px; margin:3px 0 0 0;">Contact</a></div>
87
+ <div class="rollover"><a href="http://twitter.com/cpc_hq" class="twitter" target="_blank" onclick="_gaq.push(['_trackEvent', 'Clicks', 'Socnet Link (Icon)', 'Twitter']); return true;"><img src="http://www.conservative.ca/wp-content/themes/conservative/images/socNets-twitter.png" border="0" alt="Twitter" title="Twitter" /></a></div><div class="rollover"><a href="https://www.facebook.com/pages/Conservative-Party-of-Canada-Parti-conservateur-du-Canada/5661704203" class="facebook" target="_blank" onclick="_gaq.push(['_trackEvent', 'Clicks', 'Socnet Link (Icon)', 'Facebook']); return true;"><img src="http://www.conservative.ca/wp-content/themes/conservative/images/socNets-facebook.png" border="0" alt="Facebook" title="Facebook" /></a></div><div class="rollover"><a href="http://www.youtube.com/cpcpcc" class="youtube" target="_blank" onclick="_gaq.push(['_trackEvent', 'Clicks', 'Socnet Link (Icon)', 'Youtube']); return true;"><img src="http://www.conservative.ca/wp-content/themes/conservative/images/socNets-youtube.png" border="0" alt="Youtube" title="Youtube" /></a></div><div class="rollover"><a href="http://www.flickr.com/photos/pmharper/" class="flickr" target="_blank" onclick="_gaq.push(['_trackEvent', 'Clicks', 'Socnet Link (Icon)', 'Flickr']); return true;"><img src="http://www.conservative.ca/wp-content/themes/conservative/images/socNets-flickr.png" border="0" alt="Flickr" title="Flickr" /></a></div><div class="rollover"><a href="http://www.conservative.ca/?feed=rss" class="rss" target="_blank" onclick="_gaq.push(['_trackEvent', 'Clicks', 'Socnet Link (Icon)', 'Rss']); return true;"><img src="http://www.conservative.ca/wp-content/themes/conservative/images/socNets-rss.png" border="0" alt="Rss" title="Rss" /></a></div>
88
+ </div><!-- /socNets -->
89
+
90
+ <div class="clear"></div>
91
+ </div><!-- /center -->
92
+ </div><!-- /jumpBar -->
93
+ <div id="featureMenu" class="uniquePage"><div id="navMenu" class="naven"><div class="center"><a href="http://www.conservative.ca"><img id="logo" src="http://www.conservative.ca/wp-content/themes/conservative/images/featureMenu-navMenu-Conservative-en.png" width="176px" height="36px" border="0" alt="Conservative Party of Canada | Parti conservateur du Canada" title="Conservative Party of Canada | Parti conservateur du Canada" /></a>
94
+ <ul class="sub-menu">
95
+ <li id="menu-item-71" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-71"><a href="http://www.conservative.ca/?page_id=23">Facts</a></li>
96
+ <li id="menu-item-70" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-70"><a href="http://www.conservative.ca/?page_id=25">Laureen Harper</a></li>
97
+ <li id="menu-item-1836" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1836"><a href="http://www.conservative.ca/?page_id=27">Prime Minister&#8217;s website</a></li>
98
+ </ul>
99
+ </li>
100
+ <li id="menu-item-13" class="menu-item menu-item-type-post_type menu-item-object-page current-page-ancestor current-menu-ancestor current-menu-parent current-page-parent current_page_parent current_page_ancestor menu-item-13"><a href="http://www.conservative.ca/?page_id=11">Team</a>
101
+ <ul class="sub-menu">
102
+ <li id="menu-item-68" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-68"><a href="http://www.conservative.ca/?page_id=31">Ministry</a></li>
103
+ <li id="menu-item-66" class="menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-35 current_page_item menu-item-66"><a href="http://www.conservative.ca/?page_id=35">Members of Parliament</a></li>
104
+ <li id="menu-item-67" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-67"><a href="http://www.conservative.ca/?page_id=33">Senators</a></li>
105
+ <li id="menu-item-65" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-65"><a href="http://www.conservative.ca/?page_id=37">Your Elected National Council</a></li>
106
+ </ul>
107
+ </li>
108
+ <li id="menu-item-14" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-14"><a href="http://www.conservative.ca/?page_id=9">Where We Stand</a>
109
+ <ul class="sub-menu">
110
+ <li id="menu-item-62" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-62"><a href="http://www.conservative.ca/?page_id=44">Issue By Issue</a></li>
111
+ <li id="menu-item-64" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-64"><a href="http://www.conservative.ca/?page_id=40">Platform</a></li>
112
+ <li id="menu-item-63" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-63"><a href="http://www.conservative.ca/?page_id=42">Budget 2012</a></li>
113
+ <li id="menu-item-1380" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1380"><a href="http://www.conservative.ca/?page_id=923">Canada&#8217;s Founding Party</a></li>
114
+ </ul>
115
+ </li>
116
+ <li id="menu-item-57" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-57"><a href="http://www.conservative.ca/?page_id=54">News</a></li>
117
+ <li id="menu-item-58" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-58"><a href="http://www.conservative.ca/?page_id=46">Multimedia</a>
118
+ <ul class="sub-menu">
119
+ <li id="menu-item-61" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-61"><a href="http://www.conservative.ca/?page_id=48">Photos</a></li>
120
+ <li id="menu-item-60" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-60"><a href="http://www.conservative.ca/?page_id=50">Video</a></li>
121
+ <li id="menu-item-59" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-59"><a href="http://www.conservative.ca/?page_id=52">Wallpaper</a></li>
122
+ </ul>
123
+ </li>
124
+ </ul><div id="cta-donate"><a href="https://secure.conservative.ca/donation.aspx?lang=en" class="btn btn-primary btn-cta" style="font-weight: bold;">DONATE</a></noscript></div>
125
+ <div id="mainImage">
126
+ <img src="http://www.conservative.ca/media/2012/06/CPC-HeaderRandomizer56.jpg" width="960px" border="0" />
127
+ </div><!-- /mainImage --></div><!-- /featureMenu -->
128
+ <div id="content">
129
+ <div class="center">
130
+ <div id="header">
131
+ <div id="type">
132
+ <h2>Members of Parliament</h2>
133
+
134
+ <br />
135
+ <form action="http://www.conservative.ca" method="get">
136
+ <input type="hidden" name="page_id" value="35" />
137
+ <input type="hidden" name="lang" value="en" />
138
+ <div class="left"><div><select name="pr"><option value="Alberta" >Alberta</option>
139
+ <div class="left" style="margin:0 0 0 10px;"><button type="submit" class="btn btn-primary">Submit</button></div>
140
+ <div class="clear"></div><br />
141
+ </form>
142
+ <br />
143
+ <form action="" method="post">
144
+ <input type="hidden" name="findmymp" value="35" />
145
+ <input type="hidden" name="lang" value="en" />
146
+ <div class="left"><input type="text" name="pc" id="findmymppc" value="T5S2B9" maxlength="7" /></div>
147
+ <div class="left" style="margin:0 0 0 10px;"><button type="submit" class="btn btn-primary">Submit</button></div>
148
+ <div class="clear"></div><br />
149
+ </form>
150
+ <div class="left"><a href="http://www.conservative.ca/?cr=edmonton-st-albert"><img src="http://www.conservative.ca/media/team/48015.jpg" width="41px" alt="Brent Rathgeber" /></a></div>
151
+ <div class="left" style="margin:0 0 0 10px;"><h5><a href="http://www.conservative.ca/?cr=edmonton-st-albert">Brent Rathgeber</a></h5><p><a href="http://www.conservative.ca/?cr=edmonton-st-albert">Edmonton–St. Albert</a></p></div><div class="clear"></div>
152
+ <script type="text/javascript">
153
+ $c=jQuery.noConflict(); $c(document).ready(function(){
154
+ $c("#findmymppc").placeholders({value:"Postal Code"});
155
+ });
156
+ </script>
157
+ </div><!-- /type -->
158
+ <div id="share">
159
+ <div class="fb left"><iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.conservative.ca%2F%3Fpage_id%3D35&amp;send=false&amp;layout=box_count&amp;width=100&amp;show_faces=false&amp;action=recommend&amp;colorscheme=light&amp;font&amp;height=90" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:90px;" allowTransparency="true"></iframe></div>
160
+
161
+ <div class="tw left"><a href="https://twitter.com/share" class="twitter-share-button" data-lang="en" data-count="vertical">Tweet</a></div>
162
+ <div class="clear"></div>
163
+ </div><!-- /share -->
164
+ <div class="clear"></div>
165
+ <hr />
166
+ </div> <!-- /top -->
167
+ <div id="columns">
168
+ <div id="maincol">
169
+ <div id="bodyContent">
170
+ </div><!-- /bodyContent -->
171
+ </div><!-- /maincol -->
172
+ <div id="sidebar">
173
+ <div class="widget">
174
+ <div class="container takeaction">
175
+ <h3>Take Action</h3><hr />
176
+ <div class="link" align="center">
177
+ <a href="https://secure.conservative.ca/donation.aspx?lang=en" target="_blank" onclick="_gaq.push(['_trackEvent', 'Clicks', 'Widget Link (Icon)', 'Contribute']); return true;"><img src="http://www.conservative.ca/wp-content/themes/conservative/images/widget-takeaction-contribute.png" width="20" height="23" border="0" alt="Contribute" title="Contribute" /></a>
178
+ <p><a href="https://secure.conservative.ca/donation.aspx?lang=en" target="_blank" onclick="_gaq.push(['_trackEvent', 'Clicks', 'Widget Link (Text)', 'Contribute']); return true;">Contribute</a></p>
179
+ </div>
180
+ <div class="link" align="center">
181
+ <a href="https://secure.conservative.ca/donation.aspx?cmp=ml&lang=en" target="_blank" onclick="_gaq.push(['_trackEvent', 'Clicks', 'Widget Link (Icon)', 'Join']); return true;"><img src="http://www.conservative.ca/wp-content/themes/conservative/images/widget-takeaction-join.png" width="26" height="21" border="0" alt="Join" title="Join" /></a>
182
+ <p><a href="https://secure.conservative.ca/donation.aspx?cmp=ml&lang=en" target="_blank" onclick="_gaq.push(['_trackEvent', 'Clicks', 'Widget Link (Text)', 'Join']); return true;">Join</a></p>
183
+ </div>
184
+ <div class="link" align="center">
185
+ <a href="http://www.brymark.com/cboutique/index2.cfm" target="_blank" rel="nofollow" onclick="_gaq.push(['_trackEvent', 'Clicks', 'Widget Link (Icon)', 'Shop']); return true;"><img src="http://www.conservative.ca/wp-content/themes/conservative/images/widget-takeaction-shop.png" width="23" height="22" border="0" alt="Shop" title="Shop" /></a>
186
+ <p><a href="http://www.brymark.com/cboutique/index2.cfm" target="_blank" rel="nofollow" onclick="_gaq.push(['_trackEvent', 'Clicks', 'Widget Link (Text)', 'Shop']); return true;">Shop</a></p>
187
+ </div>
188
+ <div class="link" align="center">
189
+ <a href="#cpcemailsignupcontainer" class="cpcemailsignup" onclick="cpcescaption('Newsletter');"><img src="http://www.conservative.ca/wp-content/themes/conservative/images/widget-takeaction-newsletter.png" width="24" height="22" border="0" alt="Newsletter" title="Newsletter" /></a>
190
+ <p><a href="#cpcemailsignupcontainer" class="cpcemailsignup" onclick="cpcescaption('Newsletter');">Newsletter</a></p>
191
+ </div>
192
+ <div class="clear"></div>
193
+ </div>
194
+
195
+ </div><div class="widget"><!--Stephen Harper--><div class="container takeaction"><img src="http://www.conservative.ca/media/2012/05/widget-pm-headerImg.jpg"><br />
196
+ <h3>Stephen Harper</h3>
197
+ <hr />
198
+ <p>Stephen Harper is dedicated to building a stronger, prouder, more prosperous Canada by delivering real results for everyday Canadian families. He has spent his entire political career standing up and speaking out for Canadians who work hard, pay their taxes and play by the rules.</p>
199
+ <p class="widgetLink linkFirst"><a href="http://www.conservative.ca/?page_id=2">Read more</a></p>
200
+ <div class="clear"></div>
201
+ </div>
202
+ </div><div class="widget"><!--Canada’s Founding Party--><div class="container takeaction"><img src="http://www.conservative.ca/media/2012/05/widget-party-headerImg.jpg"><br />
203
+ <h3>Canada’s Founding Party</h3>
204
+ <hr />
205
+ <p>On October 16th, 2003, the leaders of the Canadian Reform Conservative Alliance and the Progressive Conservative Party of Canada announced an agreement-in-principle to unite under a new political banner. In December 2003, the merger was overwhelmingly ratified by members of both parties and the Conservative Party of Canada was officially born.</p>
206
+ <p class="widgetLink linkFirst"><a href="http://www.conservative.ca/?page_id=923">Read more</a></p>
207
+ <div class="clear"></div>
208
+ </div>
209
+ </div> </div>
210
+ <div class="clear"></div>
211
+ <div class="clear"></div>
212
+ </div><!-- /columns -->
213
+
214
+ </div><!-- /center -->
215
+ </div><!-- /content -->
216
+
217
+ <div id="footer">
218
+ <div class="center">
219
+ <div><div id="MPs" class="col"><h4>Conservative MPs</h4><hr />
220
+ <div class="MP">
221
+ <div class="photoContainer"><a href="http://www.conservative.ca/?cr=calgary-nose-hill"><img src="http://www.conservative.ca/media/team/48005.jpg" width="41" border="0" /></a></div>
222
+ <p class="name"><a href="http://www.conservative.ca/?cr=calgary-nose-hill">Diane Ablonczy</a>
223
+ <p class="riding"><a href="http://www.conservative.ca/?cr=calgary-nose-hill">Calgary &#8211; Nose Hill</a></p>
224
+ <div class="clear"></div>
225
+ </div><!-- /MP -->
226
+
227
 
228
+ <div class="MP">
229
+ <div class="photoContainer"><a href="http://www.conservative.ca/?cr=lambton-kent-middlesex"><img src="http://www.conservative.ca/media/team/35046.jpg" width="41" border="0" /></a></div>
230
+ <p class="name"><a href="http://www.conservative.ca/?cr=lambton-kent-middlesex">Bev Shipley</a>
231
+ <p class="riding"><a href="http://www.conservative.ca/?cr=lambton-kent-middlesex">Lambton &#8211; Kent &#8211; Middlesex</a></p>
232
+ <div class="clear"></div>
233
+ </div><!-- /MP -->
234
+
1
235
 
236
+ <div class="MP">
237
+ <div class="photoContainer"><a href="http://www.conservative.ca/?cr=essex"><img src="http://www.conservative.ca/media/team/35021.jpg" width="41" border="0" /></a></div>
238
+ <p class="name"><a href="http://www.conservative.ca/?cr=essex">Jeff Watson</a>
239
+ <p class="riding"><a href="http://www.conservative.ca/?cr=essex">Essex</a></p>
240
+ <div class="clear"></div>
241
+ </div><!-- /MP -->
242
+
243
+ <h3>Find Your MP</h3><br />
244
+ <form method="post">
245
+ <div class="left"><input type="text" name="pc" id="fpc" value="Postal Code" maxlength="7" /></div>
246
+ <div class="left" style="margin:0 0 0 10px;"><button type="submit" id="findyourmpsubmit" class="btn btn-primary">Submit</button></div>
247
+ <div class="clear"></div><br />
248
+ </form>
249
+ <div id="findyourmpresults"></div>
250
+ </div>
251
+ <script type="text/javascript">
252
+ $c=jQuery.noConflict(); $c(document).ready(function(){
253
+ $c(".findyourmp").fancybox({fitToView:false});
254
+ $c("#fpc").focus(function () { if (this.value == "Postal Code") { this.value = ""; $c(this).attr("maxlength", "7"); } });
255
+ $c("#fpc").blur(function () { if ($c.trim(this.value) == "") { $c(this).attr("maxlength", "12"); this.value = "Postal Code"; } });
256
+
257
+ $c("#findyourmpsubmit").click(function () {
258
+ var fpc = $c("#fpc").val();
259
+ $c(this).addClass("disabled");
260
+ var senddata = 'fpc='+fpc+'&x=vldpc&lang=';
261
+ $c.ajax({
262
+ url: "http://www.conservative.ca/wp-content/themes/conservative/functions-process.php",
263
+ type: "GET",
264
+ data: senddata,
265
+ cache: false,
266
+ success: function (html) {
267
+ if (html=="new") {
268
+ $c("#findyourmpresults").html("No ridings found");
269
+ }
270
+ else {
271
+ $c("#findyourmpresults").html(html);
272
+ $c.fancybox.update();
273
+ }
274
+ }
275
+ });
276
+ return false;
277
+ });
278
+ });
279
+ </script>
280
+ </div><div><div id="tweets" class="col"><h4>Recent Tweets</h4><hr /><div class="tweet"><p>Keeping our Communities Safe: <a href="http://t.co/fJC7DKoy" target="_blank">http://t.co/fJC7DKoy</a> #cdnpoli</p></div>
281
+ <script type="text/javascript">
282
+ $cp=jQuery.noConflict();
283
+ $cp(document).ready(function(){
284
+ $cp("a[rel=cpcphotos]").fancybox({
285
+ "centerOnScroll" : true,
286
+ "transitionIn" : "none",
287
+ "transitionOut" : "none",
288
+ "titlePosition" : "over",
289
+ "titleFormat" : function(title, currentArray, currentIndex, currentOpts) {
290
+ return '<span id="fancybox-title-over"> ' + (title.length ? ' &nbsp; ' + title : '') + '</span>';
291
+ }
292
+ });
293
+ });
294
+ </script></div><div><div id="videos" class="col"><h4>Recent Video</h4><hr />
295
+ <div id="videoContainer">
296
+ <div id="videoPlaceholder">
297
+ <a class="cpcvideo" href="http://www.youtube.com/embed/_7yoeZyMwbU?autoplay=1"><img src="http://i.ytimg.com/vi/_7yoeZyMwbU/0.jpg" width="202px" /></a>
298
+ </div>
299
+ </div><!-- /videoContainer -->
300
+ <p class="current"><a class="cpcvideo" href="http://www.youtube.com/embed/_7yoeZyMwbU?autoplay=1">Prime Minister Stephen Harper delivers remarks on Parliament Hill during Canada Day celebrations</a></p>
301
+
302
+ <script type="text/javascript">
303
+ $cv=jQuery.noConflict();
304
+ $cv(document).ready(function(){
305
+ $cv(".cpcvideo").fancybox({ "autoScale" : true, "centerOnScroll" : true, "transitionIn" : "none", "transitionOut" : "none", "type" : "iframe" });
306
+ });
307
+ </script></div> <div class="clear"></div>
308
+ <hr />
309
+ <div id="logo">
310
+ <a href="http://www.conservative.ca"><img src="http://www.conservative.ca/wp-content/themes/conservative/images/footer-logo-en.png" width="131" height="27" border="0" alt="Conservative Party of Canada | Parti conservateur du Canada" title="Conservative Party of Canada | Parti conservateur du Canada" /></a>
311
+ </div><!-- /logo -->
312
+ <div id="info">
313
+ <p>This website is the property of the Conservative Party of Canada and may not be reproduced in whole or in part without express written permission.</p>
314
+ <p>Copyright &copy; 2012 Authorized by the Registered Agent of the Conservative Party of Canada. - <a href="http://www.conservative.ca/?page_id=1153">Privacy Policy</a> | <a href="http://www.conservative.ca/?page_id=1256">Documents for Members</a> | <a href="http://www.conservative.ca/?page_id=1458">Employment Opportunities</a></p>
315
+ </div><!-- /info -->
316
+ <div class="clear"></div>
317
+ </div><!-- /center -->
318
+ </div><!-- /footer -->
319
+
320
+ <div id="utilityBar">
321
+ <div class="center">
322
+ <div class="rollover"><a href="#" id="ToryTVClick" class="toryTV"><img src="http://www.conservative.ca/wp-content/themes/conservative/images/utilityBar-ToryTV.png" border="0" alt="ToryTV" title="ToryTV" /></a></div>
323
+ <div class="rollover"><a href="#" id="INClick" class="news"><img src="http://www.conservative.ca/wp-content/themes/conservative/images/utilityBar-news-en.png" border="0" alt="Important News | Nouvelles importantes" title="Important News | Nouvelles importantes" /></a></div>
324
+ <div class="rollover"><a href="https://secure.conservative.ca/donation.aspx?lang=en" class="contribute" target="_blank" onclick="_gaq.push(['_trackEvent', 'Clicks', 'Footer Link (Icon)', 'Contribute']); return true;"><img src="http://www.conservative.ca/wp-content/themes/conservative/images/utilityBar-contribute-en.png" border="0" alt="Contribute | Contribuer" title="Contribute | Contribuer" /></a></div>
325
+ <div id="search">
326
+ <form method="get" action="http://www.conservative.ca">
327
+ <input type="hidden" name="lang" value="" />
328
+ <div id="submitButton"><button type="submit" /></button></div><input name="s" type="text" value="Search Conservative.ca" id="textEnter" />
329
+ <div class="clear"></div>
330
+ </form>
331
+ </div><!-- /search -->
332
+ <div class="clear"></div>
333
+
334
+ <div class="popoutContainer tv" id="ToryTVPopup" style="display:none;">
335
+ <div id="toryTV">
336
+
337
+ <div id="vid">
338
+ <a class="cpcvideo" href="http://www.youtube.com/embed/_7yoeZyMwbU?autoplay=1"><img src="http://i.ytimg.com/vi/_7yoeZyMwbU/0.jpg" width="391px" /></a>
339
+ </div><!-- /vid -->
340
+
341
+ <div id="info">
342
+ <div id="others">
343
+ <p class="other">Other Recent Videos</p>
344
+ <div class="otherVid"><a class="cpcvideo" href="http://www.youtube.com/embed/9K9nBFJD6M0?autoplay=1"><img src="http://i.ytimg.com/vi/9K9nBFJD6M0/0.jpg" width="112px" /></a></div>
345
+ </div><!-- /others -->
346
+ <div class="clear"></div>
347
+ </div><!-- /info -->
348
+ <div class="clear"></div>
349
+ </div><!-- /toryTV -->
350
+ </div><!-- /popoutContainer -->
351
+ <div class="popoutContainer importantNews" id="INPopup" style="display:none;">
352
+ <div id="news">
353
+ <p class="title"><a href="http://www.conservative.ca/?p=2526">Focused on the Economy: No New Spending</a></p>
354
+ <div class="desc"><p>On Wednesday, Jim Flaherty, Minister of Finance, was in Burlington, Ontario hosting pre-budget consultations with local business and community leaders.</p>
355
+ </div>
356
+ <p class="more"><a href="http://www.conservative.ca/?p=2526">Read More</a></p>
357
+ </div><!-- /news -->
358
+ </div><!-- /popoutContainer -->
359
+ </div><!-- /center -->
360
+ </div><!-- /utilityBar -->
361
+
362
+ <script type="text/javascript">
363
+ $c=jQuery.noConflict();
364
+ $c(document).ready(function(){
365
+ $c("#ToryTVClick").click(function() { $c("#ToryTVPopup").toggle(); $c("#INPopup").hide(); return false; });
366
+ $c("#INClick").click(function() { $c("#INPopup").toggle(); $c("#ToryTVPopup").hide(); return false; });
367
+ $c("#textEnter").focus(function () { if (this.value == "Search Conservative.ca") { this.value = ""; } });
368
+ $c("#textEnter").blur(function () { if (this.value == "") { this.value = "Search Conservative.ca"; } });
369
+ $c(".movement").click(function() { $c("#CPCmovement").slideToggle('normal'); return false; });
370
+ $c('body').addClass('sl');
371
+ if ($c('#slider').length > 0) { FeatureSlideshow.init(); }
372
+ $c(".whycpc").placeholders();
373
+ $c(".nxt").click(function() { t=$c(this).attr("title"); n=$c(this).attr("name"); c = '.controls'+n+' .nxt'; s = '.slidercontainer'+n; $c(c).removeClass('active'); $c(this).addClass('active'); $c(s).iosSlider('goToSlide',t); return false; });
374
+ });
375
+ </script>
376
+
377
+
378
+ <div id="cpcemailsignupcontainer" style="width:400px; display:none;">
379
+ <div id="cpcemailsignupmsg"></div>
380
+ <div id="cpcemailsignupform">
381
+ <h3 id="cpcemailsignupcaption"></h3><br />
382
+ <form action="" method="post">
383
+ <input type="hidden" name="8aa15ec600cc0ab0d2cbfdfaf64c6821" value="0312" />
384
+ <div><input type="text" id="es_fn" name="fn" value="First Name" class="cpces" maxlength="20" tabindex="1" /></div>
385
+ <div><input type="text" id="es_ln" name="ln" value="Last Name" class="cpces" maxlength="20" tabindex="2" /></div>
386
+ <div><input type="text" id="es_pc" name="pc" value="Postal Code" class="cpces" maxlength="7" tabindex="3" /></div>
387
+ <div><input type="text" id="es_em" name="em" value="Email" class="cpces" maxlength="40" tabindex="4" /></div>
388
+ <div><button type="submit" id="cpcemailsignupsubmit" class="btn btn-primary">Submit</button></div>
389
+ </form>
390
+ </div>
391
+ </div>
392
+ <script type="text/javascript">
393
+ $c=jQuery.noConflict(); $c(document).ready(function(){ $c(".cpcemailsignup").fancybox({fitToView:false,helpers:{title:null}}); $c(".cpces").placeholders(); });
394
+ </script>
395
+ <script type="text/javascript">
396
+ function cpcescaption(a) { $c("#cpcemailsignupcaption").html(a); }
397
+ $c=jQuery.noConflict(); $c(document).ready(function(){
398
+ $c("#cpcemailsignupsubmit").click(function () {
399
+ var es_fn = $c("#es_fn").val(); var es_ln = $c("#es_ln").val(); var es_pc = $c("#es_pc").val(); var es_em = $c("#es_em").val();
400
+ $c(this).attr('disabled','disabled');
401
+ var senddata = 'fn='+es_fn+'&ln='+es_ln+'&pc='+es_pc+'&em='+es_em+'&pid=35&x=vldes&lang=en';
402
+ $c.ajax({
403
+ url: "http://www.conservative.ca/wp-content/plugins/cpcemailsignup/process.php",
404
+ type: "GET",
405
+ data: senddata,
406
+ cache: false,
407
+ success: function (html) {
408
+ if (html==1) {
409
+ $c("#cpcemailsignupmsg").html("<p class='success'>Thank you!</p>");
410
+ $c("#cpcemailsignupform").hide('slow');
411
+ }
412
+ else {
413
+ $c("#cpcemailsignupmsg").html("<p class='error'>Sorry, something went wrong. Please try again.</p>");
414
+ $c("#cpcemailsignupsubmit").removeAttr('disabled');
415
+ }
416
+ }
417
+ });
418
+ return false;
419
+ });
420
+ });
421
+ </script>
422
+
423
+ <script type="text/javascript">
424
+ $c=jQuery.noConflict(); $c(document).ready(function(){
425
+ $c("#cpcpollsubmit").click(function () {
426
+ var cp_n = $c("#cpcpoll_nom").val(); var cp_e = $c("#cpcpoll_cour").val(); var cp_pc = $c("#cpcpoll_pc").val(); var cp_l = $c("#cpcpolll").val(); var cp_i = $c("#cpcpollid").val(); var cp_r = $c("input[name='poll_response']:checked").val(); if (cp_r == undefined) { cp_r = ""; }
427
+ $c(this).attr('disabled','disabled');
428
+ var senddata = 'i='+cp_i+'&r='+cp_r+'&n='+cp_n+'&e='+cp_e+'&pc='+cp_pc+'&pid=35&x=vldp&lang='+cp_l;
429
+ $c.ajax({
430
+ url: "http://www.conservative.ca/wp-content/plugins/cpcpoll/process.php",
431
+ type: "GET",
432
+ data: senddata,
433
+ cache: false,
434
+ success: function (html) {
435
+ if (html==1) {
436
+ $c("#cpcpollmsg").html("<p class='success'>Thank you!</p>");
437
+ $c("#cpcpollform").hide('slow');
438
+ }
439
+ else if (html==2) {
440
+ $c("#cpcpollmsg").html("<p class='success'>You've taken this poll already.</p>");
441
+ $c("#cpcpollform").hide('slow');
442
+ }
443
+ else {
444
+ $c("#cpcpollmsg").html("<p class='error'>Sorry, something went wrong. Please try again.</p>");
445
+ $c("#cpcpollsubmit").removeAttr('disabled');
446
+ }
447
+ }
448
+ });
449
+ return false;
450
+ });
451
+ });
452
+ </script>
453
+
454
+ </body>
455
+ </html>