govkit-ca 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. checksums.yaml +7 -0
  2. data/.travis.yml +4 -0
  3. data/README.md +1 -1
  4. data/govkit-ca.gemspec +4 -2
  5. data/lib/gov_kit-ca/postal_code/strategy/cbc_ca.rb +1 -1
  6. data/lib/gov_kit-ca/postal_code/strategy/conservative_ca.rb +3 -4
  7. data/lib/gov_kit-ca/postal_code/strategy/elections_ca.rb +4 -6
  8. data/lib/gov_kit-ca/postal_code/strategy/liberal_ca.rb +0 -1
  9. data/lib/gov_kit-ca/postal_code/strategy/parl_gc_ca.rb +5 -1
  10. data/lib/gov_kit-ca/postal_code.rb +19 -7
  11. data/lib/gov_kit-ca/represent.rb +108 -0
  12. data/lib/gov_kit-ca/version.rb +1 -1
  13. data/lib/gov_kit-ca.rb +2 -1
  14. data/spec/cbc_ca_spec.rb +14 -25
  15. data/spec/conservative_ca_spec.rb +1 -10
  16. data/spec/digital-copyright_ca_spec.rb +0 -9
  17. data/spec/elections_ca_spec.rb +0 -9
  18. data/spec/greenparty_ca_spec.rb +0 -9
  19. data/spec/liberal_ca_spec.rb +1 -10
  20. data/spec/ndp_ca_spec.rb +0 -9
  21. data/spec/parl_gc_ca_spec.rb +8 -0
  22. data/spec/postal_code_spec.rb +69 -87
  23. data/spec/represent_spec.rb +279 -0
  24. data/spec/spec_helper.rb +1 -4
  25. data/spec/strategy_set_spec.rb +55 -2
  26. data/tasks/tasks.rb +0 -28
  27. metadata +47 -133
  28. data/spec/fixtures/cbc_ca/A1A1A1.response +0 -11
  29. data/spec/fixtures/cbc_ca/G0C2Y0.response +0 -11
  30. data/spec/fixtures/cbc_ca/H0H0H0.response +0 -11
  31. data/spec/fixtures/cbc_ca/K0A1K0.response +0 -11
  32. data/spec/fixtures/cbc_ca/T5S2B9.response +0 -11
  33. data/spec/fixtures/cbc_ca/X1B1B1.response +0 -11
  34. data/spec/fixtures/conservative_ca/A1A1A1.response +0 -452
  35. data/spec/fixtures/conservative_ca/G0C2Y0.response +0 -452
  36. data/spec/fixtures/conservative_ca/H0H0H0.response +0 -452
  37. data/spec/fixtures/conservative_ca/K0A1K0.response +0 -455
  38. data/spec/fixtures/conservative_ca/T5S2B9.response +0 -453
  39. data/spec/fixtures/conservative_ca/X1B1B1.response +0 -452
  40. data/spec/fixtures/digital-copyright_ca/A1A1A1.response +0 -227
  41. data/spec/fixtures/digital-copyright_ca/G0C2Y0.response +0 -229
  42. data/spec/fixtures/digital-copyright_ca/H0H0H0.response +0 -243
  43. data/spec/fixtures/digital-copyright_ca/K0A1K0.response +0 -230
  44. data/spec/fixtures/digital-copyright_ca/T5S2B9.response +0 -233
  45. data/spec/fixtures/digital-copyright_ca/X1B1B1.response +0 -243
  46. data/spec/fixtures/elections_ca/A1A1A1.response +0 -10
  47. data/spec/fixtures/elections_ca/G0C2Y0.response +0 -11
  48. data/spec/fixtures/elections_ca/H0H0H0.response +0 -10
  49. data/spec/fixtures/elections_ca/K0A1K0.response +0 -10
  50. data/spec/fixtures/elections_ca/T5S2B9.response +0 -10
  51. data/spec/fixtures/elections_ca/X1B1B1.response +0 -10
  52. data/spec/fixtures/greenparty_ca/A1A1A1.response +0 -13
  53. data/spec/fixtures/greenparty_ca/G0C2Y0.response +0 -13
  54. data/spec/fixtures/greenparty_ca/H0H0H0.response +0 -13
  55. data/spec/fixtures/greenparty_ca/K0A1K0.response +0 -13
  56. data/spec/fixtures/greenparty_ca/T5S2B9.response +0 -13
  57. data/spec/fixtures/greenparty_ca/X1B1B1.response +0 -13
  58. data/spec/fixtures/liberal_ca/A1A1A1.response +0 -702
  59. data/spec/fixtures/liberal_ca/G0C2Y0.response +0 -570
  60. data/spec/fixtures/liberal_ca/H0H0H0.response +0 -649
  61. data/spec/fixtures/liberal_ca/K0A1K0.response +0 -650
  62. data/spec/fixtures/liberal_ca/T5S2B9.response +0 -570
  63. data/spec/fixtures/liberal_ca/X1B1B1.response +0 -649
  64. data/spec/fixtures/ndp_ca/A1A1A1.response +0 -610
  65. data/spec/fixtures/ndp_ca/G0C2Y0.response +0 -610
  66. data/spec/fixtures/ndp_ca/H0H0H0.response +0 -593
  67. data/spec/fixtures/ndp_ca/K0A1K0.response +0 -641
  68. data/spec/fixtures/ndp_ca/T5S2B9.response +0 -605
  69. data/spec/fixtures/ndp_ca/X1B1B1.response +0 -593
@@ -1,649 +0,0 @@
1
- HTTP/1.1 200 OK
2
- Date: Tue, 05 Mar 2013 03:46:25 GMT
3
- Server: Apache
4
- Vary: Cookie
5
- Last-Modified: Tue, 05 Mar 2013 03:39:43 GMT
6
- Expires: Tue, 05 Mar 2013 04:39:43 GMT
7
- Pragma: public
8
- Cache-Control: max-age=3198, public, must-revalidate, proxy-revalidate
9
- Etag: 8457906ba29ba08486285701ba023379
10
- P3p: CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
11
- X-Pingback: http://www.liberal.ca/xmlrpc.php
12
- Connection: close
13
- Transfer-Encoding: chunked
14
- Content-Type: text/html; charset=UTF-8
15
-
16
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
17
- <html xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml" lang="en-US">
18
- <head>
19
- <script type="text/javascript">var NREUMQ=NREUMQ||[];NREUMQ.push(["mark","firstbyte",new Date().getTime()]);</script>
20
- <link rel="pingback" href="http://www.liberal.ca/xmlrpc.php" />
21
- <meta name="description" content="Discover the Liberal Party of Canada—and find out what we stand for. Read the blog, meet Interim Leader Bob Rae and our MPs, join the Party, donate &amp; more." />
22
- <meta property="fb:app_id" content="142749005737325" />
23
- <meta property="og:type" content="politician" />
24
- <meta charset="UTF-8" />
25
- <meta property="og:sitename" content="Liberal Party of Canada" /><meta name="title" content="UN Report Highlights Conservative Failure, Gives Canada Black Eye on Food Security" />
26
- <meta property="og:title" content="UN Report Highlights Conservative Failure, Gives Canada Black Eye on Food Security" />
27
- <link rel="image_src" href="http://djsvoutqo4b1q.cloudfront.net/wp-content/themes/liberal-parent/images/login_logo.png" />
28
- <meta name="thumbnail" content="http://djsvoutqo4b1q.cloudfront.net/wp-content/themes/liberal-parent/images/login_logo.png" />
29
- <meta property="og:image" content="http://djsvoutqo4b1q.cloudfront.net/wp-content/themes/liberal-parent/images/login_logo.png" />
30
- <link rel="canonical" href="http://www.liberal.ca/" />
31
- <link rel="next" href="http://www.liberal.ca/page/2/" />
32
- <script type="text/javascript">//<![CDATA[
33
- var _gaq = _gaq || [];
34
- _gaq.push(['_setAccount', 'UA-7046703-1']);
35
- _gaq.push(['_addIgnoredRef', 'liberal.ca']);
36
- _gaq.push(['_setDomainName','liberal.ca'],['_trackPageview']);
37
- (function () {
38
- var ga = document.createElement('script');
39
- ga.type = 'text/javascript';
40
- ga.async = true;
41
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
42
- var s = document.getElementsByTagName('script')[0];
43
- s.parentNode.insertBefore(ga, s);
44
- })();
45
- //]]></script>
46
- <script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js'></script>
47
- <script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js'></script>
48
- <script type='text/javascript'>
49
- /* <![CDATA[ */
50
- var JS_lang = {"siteURL":"http:\/\/www.liberal.ca","more":"Continue Reading \u25be","hide":"Hide \u25b4","thankyou":"Thank you","expand":"Collapse","collapse":"Expand","post_comment_facebook":"I just posted a comment to facebook, read it here: ","shareComment":"Share your comment with your friends!","commentEmpty":"Please enter a comment","Password":"Password","EnterPassword":"Enter Password","ConfirmPassword":"Confirm password","CurrentPassword":"Current password","NewPassword":"New password","ConfirmNewPassword":"Confirm new password","LongerPass":"Your password must be atleast 6 characters long","PasswordsDontMatch":"Your passwords must match","ValidEmail":"Please enter a valid email address","ValidPostal":"Please enter a valid postal code","NoFirstName":"Please enter your first name","NoLastName":"Please enter your last name","LoginErrors":"Please enter the words written below","FirstName":"First Name","LastName":"Last Name"};
51
- var LoginErrors = null;
52
- /* ]]> */
53
- </script>
54
- <script type='text/javascript'>
55
- /* <![CDATA[ */
56
- var rvl = {"ajaxurl":"http:\/\/www.liberal.ca\/wp-admin\/admin-ajax.php"};
57
- /* ]]> */
58
- </script>
59
- <script type='text/javascript'>
60
- /* <![CDATA[ */
61
- var BPMentions = {"error1":"Sorry, an error occurred.","error2":"Please try again.","searching":"Searching..."};
62
- /* ]]> */
63
- </script>
64
- <script type='text/javascript' src="http://www.liberal.ca/wp-content/themes/rebuild/includes/www-liberal-ca.js?17ef44"></script>
65
- <script type='text/javascript'>
66
- /* <![CDATA[ */
67
- var BP_DTheme = {"my_favs":"My Favorites","accepted":"Accepted","rejected":"Rejected","show_all_comments":"Show all comments for this thread","show_all":"Show all","comments":"comments","close":"Close","view":"View"};
68
- /* ]]> */
69
- </script>
70
- <script type='text/javascript'>
71
- /* <![CDATA[ */
72
- var WPSharerSettings = {"SHARER_URLPATH":"http:\/\/www.liberal.ca\/wp-content\/plugins\/sharer\/","LANG_PATH":"","validation_required_FirstName":"This field is required","validation_required_LastName":"This field is required","validation_required_Email":"This field is required","validation_invalid_Email":"Specify a valid Email","validation_required_RecipientsEmails":"This field is required","validation_required_Feedback":"This field is required"};
73
- /* ]]> */
74
- </script>
75
- <script src='http://www.liberal.ca/?dm=49fbf748f7d1bf864834833decde218a&amp;action=load&amp;blogid=1&amp;siteid=1&amp;t=1924118681&amp;back=http%3A%2F%2Fwww.liberal.ca%2Friding%2Fpostal%2FX1B1B1%2F' type='text/javascript'></script><script type="text/javascript">var ajaxurl = "http://www.liberal.ca/wp-admin/admin-ajax.php?lang=en";</script><link rel="alternate" hreflang="fr_FR" href="http://www.liberal.ca/fr/" />
76
- <script type="text/javascript">function getTubePressBaseUrl(){return "http://liberal.ca/wp-content/plugins/tubepress";}</script>
77
- <script type="text/javascript">
78
- var wpfaqAjax = "http://www.liberal.ca/wp-content/plugins/wp-faq/wp-faq-ajax.php";
79
- var wpfaqUrl = "http://www.liberal.ca/wp-content/plugins/wp-faq";
80
- </script> <style type="text/css">.recentcomments a{display:inline !important;padding:0 !important;margin:0 !important;}</style>
81
- <script type="text/javascript"> jQuery(document).ready( function() { jQuery("a.confirm").click( function() { if ( confirm( 'Are you sure?' ) ) return true; else return false; }); });</script>
82
- <script type="text/javascript"> var $j = jQuery.noConflict();var pageLang = 'en';var splashPath = 'http://www.liberal.ca/wp-content/themes/rebuild/images/splash/'; </script>
83
- <script type='text/javascript' src="http://www.liberal.ca/wp-content/plugins/wp-minify/cache/bba34e219929000d260da684f21f1868.js?m=1362418676&amp;17ef44"></script>
84
- <link rel='stylesheet' href="http://www.liberal.ca/wp-content/plugins/wp-minify/cache/da9c0402934d05328f85fc17c1576845.css?m=1362416831&amp;17ef44" type='text/css' media='screen' />
85
- <!--[if IE]><link rel="stylesheet" type="text/css" href="http://djsvoutqo4b1q.cloudfront.net/wp-content/themes/liberal-parent/includes/liberal-ie.css?17ef44" media="screen" /><![endif]-->
86
- <!--[if lte IE 6]>
87
- <style type="text/css" media="all">@import "http://djsvoutqo4b1q.cloudfront.net/wp-content/themes/liberal-parent/includes/liberal-ie6.css";</style>
88
- <![endif]-->
89
- <!--[if IE 7]><link rel="stylesheet" type="text/css" href="http://djsvoutqo4b1q.cloudfront.net/wp-content/themes/liberal-parent/includes/liberal-ie7.css?17ef44" media="screen" /><![endif]-->
90
- <!--[if IE 8]><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><link rel="stylesheet" type="text/css" href="http://djsvoutqo4b1q.cloudfront.net/wp-content/themes/liberal-parent/includes/liberal-ie8.css?17ef44" media="screen" /><![endif]-->
91
- <!--[if ie 9]><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><![endif]-->
92
- <script type="text/javascript">
93
- </script>
94
- <script type="text/javascript" src="http://use.typekit.com/xlj4lin.js"></script>
95
- <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
96
- <style></style></head>
97
- <body class="home-page home blog hfeed">
98
- <a class="screenReader" href="#maincontent" id="maincontentlink">Skip to main content</a>
99
- <div id="fb-root" style="display: none;" ></div>
100
- <div id="lib-header-wrapper">
101
- <div id="lib-header">
102
- <div id="social">
103
- <h1><a href="http://www.liberal.ca/">Liberal</a></h1>
104
- <!-- Social networking links -->
105
- <div class="fb-like" data-href="http://www.facebook.com/LiberalCA" data-send="false" data-layout="button_count" data-width="90" data-show-faces="false" data-font="arial"></div>
106
- <a href="https://twitter.com/liberal_party" class="twitter-follow-button" data-show-count="false" data-show-screen-name="false"><!--Follow @liberal_party--></a>
107
- <a href="http://www.youtube.com/user/liberalvideo" class="youtube"><img src="http://djsvoutqo4b1q.cloudfront.net/wp-content/themes/rebuild/images/youtube.png" alt="YouTube" height="24" width="56" title="" /></a>
108
- </div>
109
- <!-- Main navigation -->
110
- <div class="lib-nav-wrapper en">
111
- <nav>
112
- <ul class="lib-nav">
113
- <li class="ignatieff lib-nav-group ngg-4"><!-- MENU ITEM #1 -->
114
- <a href="http://www.liberal.ca/what-we-stand-for/" class="lib-nav-item">What we stand for</a>
115
- <div class="lib-nav-sub ngg">
116
- <div class="ngg-wrap">
117
- <div class="ng ng-5 last">
118
- <dl class="callout-group stance">
119
- <dt class="icon"><a class="living" href="http://www.liberal.ca/fighting-rising-living-costs/"></a></dt>
120
- <dd class="desc"><a href="http://www.liberal.ca/fighting-rising-living-costs/">Making Ends Meet</a></dd>
121
- <dt class="icon"><a class="economy" href="http://www.liberal.ca/jobs-growth-balanced-budget/"></a></dt>
122
- <dd class="desc"><a href="http://www.liberal.ca/jobs-growth-balanced-budget/">Strong Economy</a></dd>
123
- <dt class="icon"><a class="education" href="http://www.liberal.ca/affordable-post-secondary-education/"></a></dt>
124
- <dd class="desc"><a href="http://www.liberal.ca/affordable-post-secondary-education/">Affordable Education</a></dd>
125
- <dt class="icon"><a class="environment" href="http://www.liberal.ca/protecting-our-environment/"></a></dt>
126
- <dd class="desc"><a href="http://www.liberal.ca/protecting-our-environment/">Cleaner Environment</a></dd>
127
- <dt class="icon"><a class="health" href="http://www.liberal.ca/caring-for-loved-ones/"></a></dt>
128
- <dd class="desc"><a href="http://www.liberal.ca/caring-for-loved-ones/">Sustainable Health Care</a></dd>
129
- <dt class="icon"><a class="reform" href="http://www.liberal.ca/meaningful-representation-parl-elect-reform/"></a></dt>
130
- <dd class="desc"><a href="http://www.liberal.ca/meaningful-representation-parl-elect-reform/">Democratic Reform</a></dd>
131
- <dt class="icon"><a class="crime" href="http://www.liberal.ca/getting-smart-on-crime-and-cannabis/"></a></dt>
132
- <dd class="desc"><a href="http://www.liberal.ca/getting-smart-on-crime-and-cannabis/">Smart on Crime and Cannabis</a></dd>
133
- </dl>
134
- </div>
135
- </div>
136
- </div>
137
- </li>
138
- <li class="mp lib-nav-group ngg-8"><!-- MENU ITEM #2 -->
139
- <a href="http://www.liberal.ca/leadership-2013/" class="lib-nav-item">Leadership 2013</a>
140
- </li>
141
- <li class="party lib-nav-group ngg-9"><!-- MENU ITEM #3 -->
142
- <a href="http://www.liberal.ca/party/" class="lib-nav-item">Liberal Party</a>
143
- <div class="lib-nav-sub ngg">
144
- <div class="ngg-wrap">
145
- <div class="ng ng-3">
146
- <strong class="title myriad"><a href="http://www.liberal.ca/caucus/">MPs &amp; Senators</a></strong>
147
- <ul>
148
- <li><a href="http://www.liberal.ca/bob-rae/">Meet Bob Rae</a></li>
149
- <li><a href="http://www.liberal.ca/mp/">Members of Parliament</a></li>
150
- <li><a href="http://www.liberal.ca/critics/">Critics</a></li>
151
- <li><a href="http://www.liberal.ca/senators/">Senators</a></li>
152
- </ul>
153
- <br />
154
- <strong class="title myriad">LPC in your province</strong>
155
- <form action="#">
156
- <fieldset>
157
- <select name="pta" onchange="eval(this.value);" id="pta-menu" style="margin-top:5px;">
158
- <option>Select a Province</option>
159
- <option>&nbsp;</option>
160
- <option value="window.location = 'http://alberta.liberal.ca/'" >Alberta</option>
161
- <option value="window.location = 'http://bc.liberal.ca/'" >British Columbia</option>
162
- <option value="window.location = 'http://manitoba.liberal.ca/'" >Manitoba</option>
163
- <option value="window.location = 'http://nbliberal.ca/'" >New Brunswick</option>
164
- <option value="window.location = 'http://nlliberals.ca/'" >Newfoundland</option>
165
- <option value="window.location = 'http://www.liberal.ns.ca/'" >Nova Scotia</option>
166
- <option value="window.location = 'http://ontario.liberal.ca/'" >Ontario</option>
167
- <option value="window.location = 'http://www.movingforwardpei.ca/'" >PEI</option>
168
- <option value="window.location = 'http://quebec.liberal.ca/'" >Quebec</option>
169
- <option value="window.location = 'http://saskatchewan.liberal.ca/'" >Saskatchewan</option>
170
- </select>
171
- </fieldset>
172
- </form>
173
- </div>
174
- <div class="ng ng-4">
175
- <strong class="title myriad">Liberal Caucus Members</strong>
176
- <form action="#">
177
- <fieldset>
178
- <select onchange="eval(this.value);" name="mp-list" id="mp-list-menu">
179
- <option>Select an MP</option>
180
- <option>&nbsp;</option>
181
- <option value="window.location = 'http://www.liberal.ca/mp/scott-andrews'" >Scott Andrews</option><option value="window.location = 'http://www.liberal.ca/mp/mauril-belanger'" >Mauril Belanger</option><option value="window.location = 'http://www.liberal.ca/mp/carolyn-bennett'" >Carolyn Bennett</option><option value="window.location = 'http://www.liberal.ca/mp/scott-brison'" >Scott Brison</option><option value="window.location = 'http://www.liberal.ca/mp/gerry-byrne'" >Gerry Byrne</option><option value="window.location = 'http://www.liberal.ca/mp/sean-casey'" >Sean Casey</option><option value="window.location = 'http://www.liberal.ca/mp/denis-coderre'" >Denis Coderre</option><option value="window.location = 'http://www.liberal.ca/mp/irwin-cotler'" >Irwin Cotler</option><option value="window.location = 'http://www.liberal.ca/mp/rodger-cuzner'" >Rodger Cuzner</option><option value="window.location = 'http://www.liberal.ca/mp/stephane-dion'" >Stéphane Dion</option><option value="window.location = 'http://www.liberal.ca/mp/kirsty-duncan'" >Kirsty Duncan</option><option value="window.location = 'http://www.liberal.ca/mp/wayne-easter'" >Wayne Easter</option><option value="window.location = 'http://www.liberal.ca/mp/mark-eyking'" >Mark Eyking</option><option value="window.location = 'http://www.liberal.ca/mp/judy-foote'" >Judy Foote</option><option value="window.location = 'http://www.liberal.ca/mp/hedy-fry'" >Hedy Fry</option><option value="window.location = 'http://www.liberal.ca/mp/marc-garneau'" >Marc Garneau</option><option value="window.location = 'http://www.liberal.ca/mp/ralph-goodale'" >Ralph Goodale</option><option value="window.location = 'http://www.liberal.ca/mp/ted-hsu'" >Ted Hsu</option><option value="window.location = 'http://www.liberal.ca/mp/jim-karygiannis'" >Jim Karygiannis</option><option value="window.location = 'http://www.liberal.ca/mp/kevin-lamoureux'" >Kevin Lamoureux</option><option value="window.location = 'http://www.liberal.ca/mp/dominic-leblanc'" >Dominic Leblanc</option><option value="window.location = 'http://www.liberal.ca/mp/lawrence-macaulay'" >Lawrence MacAulay</option><option value="window.location = 'http://www.liberal.ca/mp/john-mccallum'" >John McCallum</option><option value="window.location = 'http://www.liberal.ca/mp/david-mcguinty'" >David McGuinty</option><option value="window.location = 'http://www.liberal.ca/mp/john-mckay'" >John McKay</option><option value="window.location = 'http://www.liberal.ca/mp/joyce-murray'" >Joyce Murray</option><option value="window.location = 'http://www.liberal.ca/mp/massimo-pacetti'" >Massimo Pacetti</option><option value="window.location = 'http://www.liberal.ca/mp/bob-rae'" >Bob Rae</option><option value="window.location = 'http://www.liberal.ca/mp/geoff-regan'" >Geoff Regan</option><option value="window.location = 'http://www.liberal.ca/mp/francis-scarpaleggia'" >Francis Scarpaleggia</option><option value="window.location = 'http://www.liberal.ca/mp/judy-sgro'" >Judy Sgro</option><option value="window.location = 'http://www.liberal.ca/mp/scott-simms'" >Scott Simms</option><option value="window.location = 'http://www.liberal.ca/mp/lise-st-denis'" >Lise St-Denis</option><option value="window.location = 'http://www.liberal.ca/mp/justin-trudeau'" >Justin Trudeau</option><option value="window.location = 'http://www.liberal.ca/mp/frank-valeriote'" >Frank Valeriote</option> </select>
182
- </fieldset>
183
- </form>
184
- <form action="#">
185
- <fieldset>
186
- <select name="mp-list" onchange="eval(this.value);" id="senator-list-menu" style="margin-top:5px;">
187
- <option>Select a Senator</option>
188
- <option>&nbsp;</option>
189
- <option value="window.location = 'http://www.liberal.ca/senators/george-baker'" >George Baker</option><option value="window.location = 'http://www.liberal.ca/senators/catherine-callbeck'" >Catherine Callbeck</option><option value="window.location = 'http://www.liberal.ca/senators/larry-campbell'" >Larry Campbell</option><option value="window.location = 'http://www.liberal.ca/senators/maria-chaput'" >Maria Chaput</option><option value="window.location = 'http://www.liberal.ca/senators/jane-cordy'" >Jane Cordy</option><option value="window.location = 'http://www.liberal.ca/senators/james-cowan'" >James Cowon</option><option value="window.location = 'http://www.liberal.ca/senators/romeo-dallaire'" >Roméo Dallaire</option><option value="window.location = 'http://www.liberal.ca/senators/dennis-dawson'" >Dennis Dawson</option><option value="window.location = 'http://www.liberal.ca/senators/joseph-day'" >Joseph Day</option><option value="window.location = 'http://www.liberal.ca/senators/pierre-de-bane'" >Pierre De Bané</option><option value="window.location = 'http://www.liberal.ca/senators/percy-downe'" >Percy Downe</option><option value="window.location = 'http://www.liberal.ca/senators/lillian-eva-dyck'" >Lillian Dyck</option><option value="window.location = 'http://www.liberal.ca/senators/arthur-eggleton'" >Art Eggleton</option><option value="window.location = 'http://www.liberal.ca/senators/joyce-fairbairn'" >Joyce Fairbairn</option><option value="window.location = 'http://www.liberal.ca/senators/joan-fraser'" >Joan Fraser</option><option value="window.location = 'http://www.liberal.ca/senators/george-furey'" >George Furey</option><option value="window.location = 'http://www.liberal.ca/senators/mac-harb'" >Mac Harb</option><option value="window.location = 'http://www.liberal.ca/senators/cline-hervieux-payette'" >Celine Hervieux-Payette</option><option value="window.location = 'http://www.liberal.ca/senators/elizabeth-hubley'" >Elizabeth Hubley</option><option value="window.location = 'http://www.liberal.ca/senators/mobina-jaffer'" >Mobina Jaffer</option><option value="window.location = 'http://www.liberal.ca/senators/serge-joyal'" >Serge Joyal</option><option value="window.location = 'http://www.liberal.ca/senators/j-colin-r-kenny'" >Colin Kenny</option><option value="window.location = 'http://www.liberal.ca/senators/sandra-lovelace-nicholas'" >Sandra Lovelace Nicholas</option><option value="window.location = 'http://www.liberal.ca/senators/francis-william-mahovlich'" >Frank Mahovlich</option><option value="window.location = 'http://www.liberal.ca/senators/paul-massicotte'" >Paul Massicotte</option><option value="window.location = 'http://www.liberal.ca/senators/terry-mercer'" >Terry Mercer</option><option value="window.location = 'http://www.liberal.ca/senators/pana-merchant'" >Pana Merchant</option><option value="window.location = 'http://www.liberal.ca/senators/grant-mitchell'" >Grant Mitchell</option><option value="window.location = 'http://www.liberal.ca/senators/wilfred-moore'" >Wilfred Moore</option><option value="window.location = 'http://www.liberal.ca/senators/jim-munson'" >James Munson</option><option value="window.location = 'http://www.liberal.ca/senators/marie-p-charette-poulin'" >Marie Poulin</option><option value="window.location = 'http://www.liberal.ca/senators/pierrette-ringuette'" >Pierrette Ringuette</option><option value="window.location = 'http://www.liberal.ca/senators/fernand-robichaud'" >Fernand Robichaud</option><option value="window.location = 'http://www.liberal.ca/senators/nick-sibbeston'" >Nicholas Sibbeston</option><option value="window.location = 'http://www.liberal.ca/senators/david-smith'" >David Smith</option><option value="window.location = 'http://www.liberal.ca/senators/claudette-tardif'" >Claudette Tardif</option><option value="window.location = 'http://www.liberal.ca/senators/charlie-watt'" >Charlie Watt</option><option value="window.location = 'http://www.liberal.ca/senators/rod-a-a-zimmer'" >Rod Zimmer</option> </select>
190
- </fieldset>
191
- </form>
192
- <p class="sep">MPs by Province / Territory:</p>
193
- <p class="by"><a href="http://www.liberal.ca/mp/bc/">BC</a> · <a href="http://www.liberal.ca/mp/ab/">AB</a> · <a href="http://www.liberal.ca/mp/sk/">SK</a> · <a href="http://www.liberal.ca/mp/mb/">MB</a> · <a href="http://www.liberal.ca/mp/on/">ON</a> · <a href="http://www.liberal.ca/mp/qc/">QC</a> · <a href="http://www.liberal.ca/mp/nb/">NB</a> · <a href="http://www.liberal.ca/mp/ns/">NS</a> · <a href="http://www.liberal.ca/mp/pe/">PE</a> · <a href="http://www.liberal.ca/mp/nl/">NL</a><br /><a href="http://www.liberal.ca/mp/yk/">YK</a> · <a href="http://www.liberal.ca/mp/nt/">NT</a> · <a href="http://www.liberal.ca/mp/nu/">NU</a></p>
194
- <br />
195
- <strong class="title myriad">Find your local Liberal association</strong>
196
- <form action="#" >
197
- <fieldset>
198
- <label for="libAssocPostCode">Postal Code</label>
199
- <input type="text" id="libAssocPostCode" value="Postal Code" onFocus="clearText(this)" onBlur="clearText(this)" />
200
- <button type="submit" onClick="findRiding('libAssocPostCode'); return false;" >Find my riding</button>
201
- </fieldset>
202
- </form>
203
- </div>
204
- <div class="ng ng-2 last">
205
- <strong class="title myriad">In this section</strong>
206
- <ul>
207
- <li><a href="http://www.liberal.ca/party/commissions/">Commissions</a></li>
208
- <li><a href="http://www.liberal.ca/party/national-board-of-directors/">National Board</a></li>
209
- <li><a href="http://www.liberal.ca/party/documents/">Documents</a></li>
210
- <li><a href="http://www.liberal.ca/contact/">Contact Us</a></li>
211
- </ul>
212
- <div class="figure"><a href="http://www.boutiqueliberal.ca/"><img style="width: 100%;" src="http://djsvoutqo4b1q.cloudfront.net/wp-content/themes/liberal-parent/images/features/boutique_en.jpg" alt="Liberal Boutique" ></a></div>
213
- </div>
214
- </div>
215
- </div>
216
- </li>
217
- <li class="issues lib-nav-group ngg-4"><!-- MENU ITEM #4 -->
218
- <a href="http://www.liberal.ca/subscribe/" class="lib-nav-item">Subscribe</a>
219
- <div class="lib-nav-sub ngg">
220
- <div class="ngg-wrap">
221
- <div class="ng ng-4">
222
- <div class="figure"><img src="http://djsvoutqo4b1q.cloudfront.net/wp-content/themes/rebuild/images/nav/updates-EN.jpg" width="282" height="237" alt"" /></a>
223
- <div class="buttons" style="text-align:center;margin-top:-50px;">
224
- <form>
225
- <button style="font-size:18px;margin-left:0;" type="submit"><a href="http://www.liberal.ca/subscribe/" style="color:#FFF;text-decoration:none;">Sign Up!</a></button>
226
- </form>
227
- </div>
228
- </div>
229
- </div><!--end ng ng-4 -->
230
- </div><!-- end ngg-wrap -->
231
- </div><!-- end lib-nav-sub ngg -->
232
- </li>
233
- <li class="newsroom lib-nav-group ngg-9">
234
- <a href="http://www.liberal.ca/newsroom/" class="lib-nav-item">Newsroom</a>
235
- <div class="lib-nav-sub ngg">
236
- <div class="ngg-wrap">
237
- <div class="ng ng-5">
238
- <strong class="title myriad">Latest Stories</strong>
239
- <ul class="alt">
240
- <li><a href="http://www.liberal.ca/newsroom/news-release/report-highlights-conservative-failure-canada-black-eye-food-security/">UN Report Highlights Conservative Failure, Gives Canada Black Eye on Food Security&nbsp;»</a></li><li><a href="http://www.liberal.ca/newsroom/news-release/statement-liberal-leader-bob-rae-criticising-israeli-apartheid-week/">Statement by Liberal Leader Bob Rae Criticising Israeli Apartheid Week&nbsp;»</a></li><li><a href="http://www.liberal.ca/newsroom/blog/video-2013-lpc-leadership-halifax-debate/">Video: 2013 LPC Leadership – Halifax Debate&nbsp;»</a></li><li><a href="http://www.liberal.ca/newsroom/blog/municipalities-industry-fill-void-left-conservatives-cell-phone-towers/">Municipalities and industry fill void left by Conservatives on cell phone towers&nbsp;»</a></li><li><a href="http://www.liberal.ca/newsroom/blog/expect-the-unexpected/">Expect the unexpected&nbsp;»</a></li><li><a href="http://www.liberal.ca/newsroom/news-release/pbo-exposes-conservatives-mismanagement-shipbuilding-plan/">PBO Exposes Conservatives’ Mismanagement of Shipbuilding Plan&nbsp;»</a></li><li><a href="http://www.liberal.ca/newsroom/blog/reality-check-top-five-conservative-ei-fictions/">Reality Check: Top five Conservative EI fictions&nbsp;»</a></li> </ul>
241
- </div>
242
- <div class="ng ng-2">
243
- <strong class="title myriad">In this section</strong>
244
- <ul>
245
- <li><a href="http://www.liberal.ca/newsroom/">Newsroom</a></li>
246
- <li><a href="http://www.liberal.ca/newsroom/news-release/">Media releases</a></li>
247
- <li><a href="http://www.liberal.ca/newsroom/just-the-facts/">Just the Facts</a></li>
248
- <li><a href="http://www.liberal.ca/newsroom/official-graphics/">Official Graphics</a></li>
249
- </ul>
250
- </div>
251
- <div class="ng ng-2 last">
252
- <strong class="title myriad">Read the blog</strong>
253
- <div class="figure"><a href="http://www.liberal.ca"><img src="http://djsvoutqo4b1q.cloudfront.net/wp-content/themes/rebuild/images/nav/ottawa-vanier.jpg" width="131" height="100" alt=""></a></div>
254
- <em><a href="http://www.liberal.ca">And get the latest news as the Liberal Party rebuilds</a></em>
255
- </div>
256
- </div>
257
- </div>
258
- </li>
259
- <li class="involved lib-nav-group ngg-9">
260
- <a href="http://www.liberal.ca/get-involved/" class="lib-nav-item">Get Involved</a>
261
- <div class="lib-nav-sub ngg">
262
- <div class="ngg-wrap">
263
- <div class="ng ng-2">
264
- <div class="figure"><a href="https://action.liberal.ca/en/volunteer"><img src="http://djsvoutqo4b1q.cloudfront.net/wp-content/themes/liberal-parent/images/nav/join.jpg" width="131" height="87" alt="" /></a></div>
265
- <strong class="title myriad"><a href="https://action.liberal.ca/en/volunteer">Volunteer</a></strong>
266
- <a href="https://action.liberal.ca/en/volunteer"><em>Make a positive contribution to your community and country</em></a>
267
- </div>
268
- <div class="ng ng-2">
269
- <strong class="title myriad">In this section</strong>
270
- <ul>
271
- <li><a href="https://action.liberal.ca/en/membership">Join the Party</a></li>
272
- <li><a href="http://events.liberal.ca/Event-List.aspx?Lang=en">Upcoming events</a></li>
273
- <li><a href="https://action.liberal.ca/en/volunteer">Volunteer</a></li>
274
- <li><a href="https://www.liberal.ca/donate/">Make a donation</a></li>
275
- <li><a href="http://liberaluniversity.liberal.ca">Liberal University</a></li>
276
- <li><a href="http://www.liberal.ca/get-involved/connect-on-social-media/">Connect on Social Media</a></li>
277
- </ul>
278
- </div>
279
- <div class="ng ng-5 last">
280
- <strong class="title myriad">Every dollar counts</strong>
281
- <dl class="callout-group liberal-ca-menu-get-involved">
282
- <dt class="icon"><a class="donate" href="https://www.liberal.ca/donate/"></a></dt>
283
- <dd class="desc"><a href="https://www.liberal.ca/donate/">A donation, however small, makes a big difference&nbsp;»</a></dd>
284
- <dt class="icon"><a class="victoryen" onclick="_utmSetVar('VictoryFundMenuImage')" href="https://action.liberal.ca/en/VictoryFund"></a></dt>
285
- <dd class="desc"><a onclick="_utmSetVar('VictoryFundMenuText')" href="https://action.liberal.ca/en/VictoryFund">Join the Victory Fund: affordable monthly giving for a long-term impact&nbsp;»</a></dd>
286
- <dt class="icon"><a class="laurier" onclick="_utmSetVar('LaurierClubMenuImage')" href="https://action.liberal.ca/en/laurier"></a></dt>
287
- <dd class="desc"><a onclick="_utmSetVar('LaurierClubMenuImage')" href="https://action.liberal.ca/en/laurier">With an annual gift of $1,200 to the Liberal Party, you can achieve Laurier Club status, with benefits to match your generosity&nbsp;»</a></dd>
288
- <dt class="icon"><a class="legacy" onclick="_utmSetVar('LegacyMenuImage')" href="http://www.liberal.ca/legacy-giving/"></a></dt>
289
- <dd class="desc"><a onclick="_utmSetVar('LegacyMenuImage')" href="http://www.liberal.ca/legacy-giving/">Leave a lasting gift for future generations of Canadians&nbsp;»</a></dd>
290
- </dl>
291
- </div>
292
- <div class="ng ng-9 last ng-footer">
293
- <form method="post" onSubmit="SendEmailMenu(this);return false;">
294
- <fieldset>
295
- <strong class="title myriad">Email Updates</strong>
296
- <label for="FirstName">First Name</label>
297
- <input type="text" name="FirstName" id="FirstName" class="name" onfocus="clearText(this)" onblur="clearText(this)" value="First Name" />
298
- <label for="LastName">Last Name</label>
299
- <input type="text" name="LastName" id="LastName" class="name" onfocus="clearText(this)" onblur="clearText(this)" value="Last Name" />
300
- <label for="Email">Email</label>
301
- <input type="text" name="Email" id="Email" class="email" onfocus="clearText(this)" onblur="clearText(this)" value="Email" />
302
- <label for="PostalCode">Postal Code</label>
303
- <input type="text" id="PostalCode" name="PostalCode" onfocus="clearText(this)" onblur="clearText(this)" value="Postal Code" />
304
- <input type="hidden" name="Location" id="Location" value="Menu-">
305
- <input type="hidden" name="action" id="action" value="AjaxSubscribeToList">
306
- <div class="btn-grp"><button type="submit">Sign Up</button></div>
307
- </fieldset>
308
- </form>
309
- </div>
310
- </div>
311
- </div>
312
- </li>
313
- </ul>
314
- </nav>
315
- </div>
316
- <div id="lib-header-right">
317
- <div id="lib-header-links">
318
- <a href="http://www.liberal.ca/contact/">Contact</a> | <a href="http://www.liberal.ca/?s=%20&amp;submit=Search" class="SearchHeader">Search</a> | <a id="langSwitch" href="http://www.liberal.ca/fr/">Français</a>
319
- <div class="lib-header-welcome">&nbsp; </div>
320
- </div>
321
- <div class="tooltipUser" style="padding-top:35px"><div id="changePWmodal" class="input-login-submit" style="float:left;display:inline;width:165px;">
322
- <input type="button" onclick="window.location = 'https://www.liberal.ca/wp-login.php?action=logout&amp;redirect_to=http%3A%2F%2Fwww.liberal.ca%2Friding%2Fpostal%2FX1B1B1%2F&amp;_wpnonce=17926c10cd'" name="Logout" id="Logout" class="button" value="Logout">
323
- </div></div>
324
- <div class="tooltipSearch"> <div class="searchdesc">Search Liberal.ca</div>
325
- <form action="http://www.liberal.ca" method="get">
326
- <input type="text" id="SearchHeaderTxt" name="s" maxlength="60" value="" onfocus="clearText(this)" onblur="clearText(this)"><input type="submit" name="submit" value="Search" >
327
- </form>
328
- </div>
329
- <a class="donate_now" style="background-image:url('http://djsvoutqo4b1q.cloudfront.net/wp-content/themes/liberal-parent/images/donate_now_en.png')" href="https://www.liberal.ca/donate/">Donate now</a>
330
- </div>
331
- </div>
332
- </div>
333
- <div id="PopupModal" style="display: none;">
334
- <div id="login_options" class="login_box">
335
- <div id="login_logo" style="margin-bottom:30px;"><img src="http://djsvoutqo4b1q.cloudfront.net/wp-content/themes/liberal-parent/images/login_logo.png" /></div>
336
- <h4 class="myriad" style="margin-bottom:10px;padding-left:85px;">Log in to Liberal.ca</h4>
337
- <p style="line-height:16px;">Please log in with your Liberal ID.<br><strong>Your Liberal Extranet credentials can be used</strong>.<br> <span id="main_errormsg" class="login_errormsg"></span> </p>
338
- <div id="login_wrapper" style="clear:both;">
339
- <div style="width:200px;float:left;">
340
- <div class="input-login-submit">
341
- <input style="width:150px !important;margin-right:20px;margin-top:20px !important;" type="button" value="Create an account" name="commentPopupButton" class="button" onclick="changeTo('#login_register')" >
342
- </div>
343
- </div>
344
- </div>
345
- <img src="http://djsvoutqo4b1q.cloudfront.net/wp-content/themes/liberal-parent/images/or.png" alt="" style="float:left; padding-left: 5px;padding-right: 15px; border: 0px;">
346
- <div style="width:210px; float:left; padding-bottom:0;">
347
- <!--<form action="" id="CommentLoginOptions" name="CommentLoginOptions" onsubmit="LiberalLogin('#CommentLoginOptions');return false;">
348
- <input type="text" name="Email" id="LoginEmailOptions" onkeypress="IEsubmitOnEnter(this,event);" value="Email" onfocus="clearText(this)" onblur="clearText(this)">
349
- <input type="password" name="Password" class="pwd" onkeypress="IEsubmitOnEnter(this,event);" id="LoginPasswordOptions" >
350
- <input type="hidden" name="action" value="Liberal_signon">
351
- <span style="color: #999; font-weight:bold; cursor:pointer; line-height: 10px;" onclick="changeTo('#forgot_password')"> Forgot password?</span>
352
- <div class="input-login-submit">
353
- <input type="submit" onclick="$j(this).addClass('loading');LiberalLogin('#CommentLoginOptions');return false;" class="button" value="Login">
354
- </div>
355
- </form>
356
- -->
357
- <div id="iframeContainer">
358
- <iframe style="display:block; height: auto; border: 0px;background-color: transparent;" title="login" id="sslForm" src="/wp-ssl-login.php?design=modal&amp;redirect_to=/riding/postal/X1B1B1/&amp;parent_protocol=http:" width="280" height="100" ></iframe>
359
- </div>
360
- <script type="text/javascript">
361
- function addIframe(){
362
- if (jQuery.browser.msie && jQuery.browser.version == '7.0'){
363
- jQuery('#iframeContainer').append('<iframe style="display:block" title="login" id="sslForm" src="/wp-ssl-login.php?design=modal&amp;redirect_to=/riding/postal/X1B1B1/&amp;parent_protocol=http:" width="280px" height="300px" frameborder="0" allowTransparency="true"></iframe>');
364
- }
365
- }
366
- firstRun = true;
367
- jQuery(document).ready(function(){
368
- if(jQuery.browser.msie && jQuery.browser.version == '7.0'){
369
- jQuery("#sslForm").remove();
370
- }
371
- })
372
- </script>
373
- <!-- <iframe style="display:block" title="login" id="sslForm" src="https://www.liberal.ca//wp-ssl-login.php?design=modal&amp;redirect_to=/riding/postal/X1B1B1/" width="280px" height="300px" frameborder="0" allowTransparency="true"></iframe> -->
374
- <span style="color: #999; font-weight:bold; cursor:pointer; line-height: 10px;" onclick="changeTo('#forgot_password')"> Forgot password?</span>
375
- </div>
376
- </div>
377
- <div id="login_register" class="login_box">
378
- <div id="login_logo" style="margin-bottom:20px; margin-top:-10px;"><img src="http://djsvoutqo4b1q.cloudfront.net/wp-content/themes/liberal-parent/images/login_logo.png" alt=""/></div>
379
- <h4 class="createaccounthd myriad" style="padding-left:85px;">Create an account</h4>
380
- <p style="line-height:16px;">
381
- <b>Have an Extranet Account?<span style="cursor: pointer;text-decoration:underline;" onclick="changeTo('#login_options')">Login here!</span></b>.
382
- <p><span id="create_errormsg" class="login_errormsg"></span></p>
383
- <p style="line-height:16px;clear:both;padding-bottom:8px;">One step! Just fill these fields in.</p>
384
- <form id="CommentCreateUser" name="CommentCreateUser" onsubmit="LiberalCreateUser('#CommentCreateUser');return false;">
385
- <div style="margin:0;padding:0;position:relative;height:65px">
386
- <input type="hidden" name="action" value="Liberal_CreateUser">
387
- <input type="hidden" name="returnURL" id="returnURL" value="">
388
- <input type="text" name="FirstName" tabindex="1" id="RegisterFirstName" value="First Name" onfocus="clearText(this)" onblur="clearText(this)">
389
- <input type="text" name="LastName" tabindex="2" id="RegisterLastName" value="Last Name" onfocus="clearText(this)" onblur="clearText(this)">
390
- <input type="text" name="PostalCode" tabindex="4" id="RegisterPostalCode" value="Postal Code" style="position:absolute;bottom:0;left:0;" onfocus="clearText(this)" onblur="clearText(this)">
391
- <input type="text" name="Email" tabindex="3" id="RegisterEmail" value="Email" style="position:absolute;top:0;right:5px;" onfocus="clearText(this)" onblur="clearText(this)">
392
- <input type="password" class="pwd" tabindex="5" name="RegisterPassword" id="RegisterPassword" style="position:absolute;bottom:0;left:111px;" >
393
- <input type="password" class="pwd2" tabindex="6" name="RegisterPassword2" id="RegisterPassword2" style="position:absolute;bottom:0;right:5px;" >
394
- </div>
395
- <div id="isMemberLogin">
396
- Please provide your date of birth and/or Membership ID<br>
397
- <input type="text" name="DoB" id="RegisterDoB" value="YYYY/MM/DD" >
398
- <input type="text" name="MembershipID" id="MembershipID" value="Membership ID" onfocus="clearText(this)" onblur="clearText(this)">
399
- </div>
400
- <div id="RegisterBottomRight" class="input-login-submit">
401
- <input type="submit" class="button" onclick="$j(this).addClass('loading');LiberalCreateUser('#CommentCreateUser');return false;" value="Create account">
402
- </div>
403
- </form>
404
- <div class="login_noaccount">
405
- Already have an account? Sign in: <span onclick="changeTo('#login_options')">with your email</span>.
406
- </div>
407
- </div>
408
- <div id="login_moreinfo" class="login_box">
409
- <div id="login_logo" style="margin-bottom:200px;"><img src="http://djsvoutqo4b1q.cloudfront.net/wp-content/themes/liberal-parent/images/login_logo.png" alt=""/></div>
410
- <h4 class="myriad" style="padding-left:85px;">Please confirm your email &amp; postal code</h4>
411
- <p style="line-height:16px;"><span id="facebook_errormsg" class="login_errormsg"></span></p>
412
- <form id="FacebookInfoForm" name="FacebookInfoForm" onsubmit="LiberalFacebookFinish('#FacebookInfoForm');return false;">
413
- <p id="facebookEmailInfo" style="line-height:16px;">Sorry we do not accept Facebook Proxy email addresses. Please enter a real email address.</p>
414
- <input type="text" name="FacebookEmail" id="FacebookEmail" value="Email" ><br>
415
- <input type="text" name="FacebookPostalCode" id="FacebookPostalCode" value="Postal Code" onfocus="clearText(this)" onblur="clearText(this)"><br>
416
- <input type="checkbox" name="emailUpdates" id="FBemailUpdates" value="true" checked><span id="FBreceiveUpdates" style="color: #666">Receive occasional updates from the Liberal Party of Canada</span><br>
417
- <input type="hidden" name="action" value="Liberal_UpdateFacebook">
418
- <div class="input-login-submit">
419
- <input type="button" onclick="LiberalFacebookFinish('#FacebookInfoForm');return false;" name="SubmitInfo" id="SubmitInfo" class="button" value="Done">
420
- </div>
421
- </form>
422
- </div>
423
- <div id="modal_changedpass" class="login_box">
424
- <div id="login_logo"><img src="http://djsvoutqo4b1q.cloudfront.net/wp-content/themes/liberal-parent/images/login_logo.png" /></div>
425
- <h4 class="myriad" >Congratulations!</h4>
426
- <p style="line-height:16px;">Your password was changed successfully.</p>
427
- <form id="changedpassform" name="changedpassform" >
428
- <div class="input-login-submit">
429
- <input type="button" onclick="$j.colorbox.close();" name="Submit" id="Submit" class="button" value="Return to page">
430
- </div>
431
- </form>
432
- </div>
433
- <div id="login_thanks" class="login_box">
434
- <div id="login_logo"><img src="http://djsvoutqo4b1q.cloudfront.net/wp-content/themes/liberal-parent/images/login_logo.png" /></div>
435
- <h4 class="myriad" style="padding-left:85px;">Account Created!</h4>
436
- <p style="margin-bottom:10px ;line-height:19px;font-size:16px;">Please <strong>check your email</strong> for a link to finish the account creation process. </p>
437
- <p style="line-height:19px;font-size:16px;">You must click that link to be able to comment.</p>
438
- <form id="login_thanksform" name="login_thanksform" >
439
- <div class="input-login-submit" style="margin-left: 100px;margin-top: 15px;">
440
- <input type="button" onclick="$j.colorbox.close();" name="Submit" id="Submit" class="button" value="Return to page">
441
- </div>
442
- </form>
443
- </div>
444
- <div id="forgot_password" class="login_box">
445
- <div id="login_logo" style="margin-bottom: 60px;"><img src="http://djsvoutqo4b1q.cloudfront.net/wp-content/themes/liberal-parent/images/login_logo.png" alt=""/></div>
446
- <h4 class="myriad" style="padding-left:85px;">Forgot your Password?</h4>
447
- <form id="ForgotPassword" name="ForgotPassword" onsubmit="LiberalForgotPassword('#ForgotPassword');return false;">
448
- <input type="hidden" name="action" value="Liberal_ForgotPassword">
449
- <p style="line-height:16px;">Please type in your email below and instructions on how to reset your password will be sent to you. <span style="font-weight:bold;" id="ForgotPasswordEmailSentMessage" >Instructions on how to reset your password have been sent to that address.</span></p>
450
- <input type="text" name="EmailPassword" id="EmailPassword" value="Email" onfocus="clearText(this)" onblur="clearText(this)">
451
- <div class="input-login-submit">
452
- <input type="button" onclick="LiberalForgotPassword('#ForgotPassword');return false;" name="SubmitInfo" id="SubmitInfo" class="button" value="Send Instructions">
453
- </div>
454
- <div class="login_noaccount">
455
- <span style="font-weight:bold; cursor:pointer;" onclick="changeTo('#login_options')">Click here to return</span>
456
- </div>
457
- </form>
458
- </div>
459
- <div id="not_a_member" class="login_box">
460
- <div id="login_logo" style="margin-bottom: 60px;"><img src="http://djsvoutqo4b1q.cloudfront.net/wp-content/themes/liberal-parent/images/login_logo.png" alt=""/></div>
461
- <h4 class="myriad" style="padding-left:85px;">Not a member?</h4>
462
- <p style="line-height:16px;">The website was not able to match you to your membership.</p><br>
463
- <p style="line-height:16px;">If you have just filled in your renewal or membership application form please wait 2-5 business days while your Provincial-Territorial Association processes your application.</p><br>
464
- <p style="line-height:16px;"><a href="https://action.liberal.ca/en/membership">Click here to join the Party or renew your membership.</a></p><br>
465
- <p style="line-height:16px;">If after waiting 5 business days you are still having troubles or you are a current member, please fill out <a href="http://www.liberal.ca/faqs/status/">this form</a> and we will assist you shortly.</p>
466
- </div>
467
- <div id="modal_ChangePassword" class="login_box">
468
- <div id="login_logo" style="margin-bottom:220px;"><img src="http://djsvoutqo4b1q.cloudfront.net/wp-content/themes/liberal-parent/images/login_logo.png" alt=""/></div>
469
- </div>
470
- <div id="modal_splash" style="width:960px; height:400px; background-image:url('http://djsvoutqo4b1q.cloudfront.net/wp-content/themes/liberal-parent/images/splash/splash_1_en.jpg'); background-repeat:none;">
471
- <form id="splashForm" style="position: absolute; top:260px; left:45px;" action="#" method="post" onsubmit="LiberalSplash('#splashForm'); return false">
472
- <input type="text" name="SplashFirstName" id="SplashFirstName" value="First Name" onfocus="clearText(this)" onblur="clearText(this)">
473
- <input type="text" name="SplashLastName" id="SplashLastName" value="Last Name" onfocus="clearText(this)" onblur="clearText(this)">
474
- <input type="text" name="SplashEmail" id="SplashEmail" value="Email" onfocus="clearText(this)" onblur="clearText(this)">
475
- <input type="text" name="SplashPostalCode" id="SplashPostalCode" value="Postal Code" onfocus="clearText(this)" onblur="clearText(this)">
476
- <input type="hidden" name="action" value="Liberal_Splash">
477
- <div class="input-login-submit">
478
- <input class="button" type="submit" onclick="LiberalSplash('#splashForm');$j.colorbox.close(); return false" value="Submit" />
479
- &nbsp;
480
- <span style="text-decoration: underline;font-weight:bold; color: #fff;cursor:pointer" onclick="$j.colorbox.close()">Skip &raquo;</span>
481
- </div>
482
- </form>
483
- </div>
484
- <div id="modal_thank_you_activation" class="login_box">
485
- <div id="login_logo"><img src="http://djsvoutqo4b1q.cloudfront.net/wp-content/themes/liberal-parent/images/login_logo.png" /></div>
486
- <h4 class="myriad" >Welcome!</h4>
487
- <p style="line-height:16px;">Thank you for activating your account. We have automatically logged you in.</p>
488
- <form id="changedpassform" name="changedpassform" >
489
- <div class="input-login-submit">
490
- <input type="button" onclick="$j.colorbox.close();" name="Submit" id="Submit" class="button" value="Return to page">
491
- </div>
492
- </form>
493
- </div>
494
- <div id="modal_activation_fail" class="login_box">
495
- <div id="login_logo"><img src="http://djsvoutqo4b1q.cloudfront.net/wp-content/themes/liberal-parent/images/login_logo.png" /></div>
496
- <p style="line-height:16px;">Sorry, this activation link does not work. Your account may already be activated. Please try to login or contact web@email.liberal.ca for assistance.></p>
497
- <form id="changedpassform" name="changedpassform" >
498
- <div class="input-login-submit">
499
- <input type="button" onclick="$j.colorbox.close();" name="Submit" id="Submit" class="button" value="Return to page">
500
- </div>
501
- </form>
502
- </div>
503
- <div id="vote_closed" class="login_box">
504
- <div id="login_logo"><img src="http://djsvoutqo4b1q.cloudfront.net/wp-content/themes/liberal-parent/images/login_logo.png" /></div>
505
- <h4 class="myriad" >Voting on resolutions is now closed.</h4>
506
- <form id="vote_closed_form" name="vote_closed_form" >
507
- <div class="input-login-submit">
508
- <input type="button" onclick="$j.colorbox.close();" name="Submit" id="Submit-closed-vote" class="button" value="Return to page">
509
- </div>
510
- </form>
511
- </div>
512
- <div id="herb_gray" style="width:700px; height:400px;left:150px;position:absolute; background-image:url('http://djsvoutqo4b1q.cloudfront.net/wp-content/themes/rebuild/images/splash/HerbGray-Banner.jpg'); background-repeat:none;">
513
- <form id="splashForm" style="position: absolute; top:270px; left:140px;" action="#">
514
- <input class="button" style="margin-top: 10px;font-size:12px" type="submit" onclick="window.location = 'http://petition.liberal.ca/sign-card-herb-gray-50-years-public-leadership/';$j.colorbox.close(); return false" value="Go to Card" /><br>
515
- <input class="button" style="margin-top: 25px;font-size:12px" type="submit" onclick="$j.colorbox.close(); return false" value="Stay on Liberal.ca" />
516
- </form>
517
- <form id="splashForm" style="position: absolute; top:270px; left:450px;" action="#">
518
- <input class="button" style="margin-top: 10px;font-size:12px" type="submit" onclick="window.location = 'http://petition.liberal.ca/sign-card-herb-gray-50-years-public-leadership/';$j.colorbox.close(); return false" value="Voir la carte" /><br>
519
- <input class="button" style="margin-top: 25px;font-size:12px" type="submit" onclick="$j.colorbox.close(); return false" value="Continuer sur Liberal.ca" />
520
- </form>
521
- </div>
522
- <!--Login form for GFP plugin-->
523
- <div id="login_options_gfp" class="login_box">
524
- <div id="login_logo" style="margin-bottom:30px;"><img src="http://djsvoutqo4b1q.cloudfront.net/wp-content/themes/liberal-parent/images/login_logo.png" alt=""/></div>
525
- <h4 class="myriad" style="margin-bottom:10px;padding-left:85px;">Log in to Liberal.ca</h4>
526
- <p style="line-height:16px;">Please log in with your Liberal ID.<br><strong>Your Liberal Extranet credentials can be used</strong>.<br> <span id="main_errormsg" class="login_errormsg"></span> </p>
527
- <div style="width:210px; float:left; padding-bottom:0;">
528
- <div id="iframeContainer">
529
- <iframe style="display:block; height: auto; border: 0px; background-color: transparent;" title="login" id="sslForm" src="/wp-ssl-login.php?design=modal&amp;redirect_to=/riding/postal/X1B1B1/&amp;parent=submit&amp;parent_protocol=http:" width="280" height="100" ></iframe>
530
- </div>
531
- <script type="text/javascript">
532
- function addIframe(){
533
- if (jQuery.browser.msie && jQuery.browser.version == '7.0'){
534
- jQuery('#iframeContainer').append('<iframe style="display:block" title="login" id="sslForm" src="/wp-ssl-login.php?design=modal&amp;redirect_to=/riding/postal/X1B1B1/&amp;parent=submit" width="280px" height="300px" frameborder="0" allowTransparency="true"></iframe>');
535
- }
536
- }
537
- firstRun = true;
538
- jQuery(document).ready(function(){
539
- if(jQuery.browser.msie && jQuery.browser.version == '7.0'){
540
- jQuery("#sslForm").remove();
541
- }
542
- })
543
- </script>
544
- <span style="color: #999; font-weight:bold; cursor:pointer; line-height: 10px;" onclick="changeTo('#forgot_password_gfp')"> Forgot password?</span>
545
- </div>
546
- </div>
547
- <div id="forgot_password_gfp" class="login_box">
548
- <div id="login_logo" style="margin-bottom: 60px;"><img src="http://djsvoutqo4b1q.cloudfront.net/wp-content/themes/liberal-parent/images/login_logo.png" alt=""/></div>
549
- <h4 class="myriad" style="padding-left:85px;">Forgot your Password?</h4>
550
- <form id="ForgotPassword" name="ForgotPassword" onsubmit="LiberalForgotPassword('#ForgotPassword');return false;">
551
- <input type="hidden" name="action" value="Liberal_ForgotPassword">
552
- <p style="line-height:16px;">Please type in your email below and instructions on how to reset your password will be sent to you. <span style="font-weight:bold;" id="ForgotPasswordEmailSentMessage" >Instructions on how to reset your password have been sent to that address.</span></p>
553
- <input type="text" name="EmailPassword" id="EmailPassword" value="Email" onfocus="clearText(this)" onblur="clearText(this)">
554
- <div class="input-login-submit">
555
- <input type="button" onclick="LiberalForgotPassword('#ForgotPassword');return false;" name="SubmitInfo" id="SubmitInfo" class="button" value="Send Instructions">
556
- </div>
557
- <div class="login_noaccount">
558
- <span style="font-weight:bold; cursor:pointer;" onclick="changeTo('#login_options_gfp')">Click here to return</span>
559
- </div>
560
- </form>
561
- </div>
562
- <script type="text/javascript">
563
- if (typeof showSplash == 'function'){
564
- showSplash();
565
- }
566
- </script>
567
- </div>
568
- <a name="maincontent" id="maincontent"></a>
569
- <div id="masthead" class="alt" style="height:225px; background:#ffffff url(http://www.liberal.ca/wp-content/themes/liberal-parent/images/mastheads/ridings.jpg) center top;">
570
- <h1 style="background:none;"><span style="color:#FFFFFF; font-size:36px; font-weight:400; letter-spacing:-1px; line-height:1em; margin:0 0 0 -18px; min-width:10em; opacity:1; padding:0.6em 14px 10px 15px; position:absolute; width:775px; background:none; top:28px;">
571
- Sorry we couldn't find your riding. <br/>Make sure to use this format: H0H 0H0<input type="text" id="RidingPostal" style="margin-top:15px; border: 1px solid #CCCCCC; color: #999999; font-size: 18px; margin-right: 9px; padding: 7px; width: 200px;" name="RidingPostal" maxlength="7" value="Postal Code" onFocus="clearText(this)" onBlur="clearText(this)" /><input class="button" type="button" value="Go" onclick="findRiding('RidingPostal')">
572
- </span></h1>
573
- </div>
574
- <div class="wrapper">
575
- <div class="grid" style="min-height:600px;">
576
- <div class="grid-group g-has-sidebar">
577
- <div class="grid-item grid-8">
578
- </div>
579
- <div class="grid-item grid-4 g-sidebar">
580
- </div>
581
- </div>
582
- </div>
583
- </div>
584
- <div id="lib-footer-wrapper">
585
- <div id="lib-footer">
586
- <div id="copyright">&copy; 2013 Authorized by The Federal Liberal Agency of Canada, registered agent for the Liberal Party of Canada.</div>
587
- <div id="copyright-logo"><a href="http://www.liberal.ca/"><img src="http://djsvoutqo4b1q.cloudfront.net/wp-content/themes/liberal-parent/images/logo.png" alt="Liberal Party of Canada"/></a></div>
588
- <div id="essential-accessibility"><a href="http://www.liberal.ca/essential-accessibility/"><img src="http://djsvoutqo4b1q.cloudfront.net/wp-content/themes/liberal-parent/images/essentialaccessibility.png" alt="Essential Accessibility"/></a></div>
589
- </div>
590
- </div><!--[if lte IE 9]>
591
- <script type="text/javascript">
592
- $j('.ngg select').click(function(){ $j('.lib-nav-group').hoverIntent(function(){}, function(){}); });
593
- $j('.ngg select').focus(function(){ $j('.lib-nav-group').hoverIntent(function(){}, function(){}); });
594
- $j('.ngg select').mouseenter(function(){ $j('.lib-nav-group').hoverIntent(function(){}, function(){}); });
595
- $j('.ngg select').change(function(){ setTimeout(function(){$j('.lib-nav-group').hoverIntent(MegaDropDowns.config);}, 10); });
596
- $j('.ngg select').blur(function(){ $j('.lib-nav-group').hoverIntent(MegaDropDowns.config); });
597
- </script>
598
- <![endif]-->
599
- <!-- Generated in 0.459 seconds. (5 q) -->
600
- <script type="text/javascript">
601
- var _sf_async_config={uid:34094,domain:"liberal.ca"};
602
- _sf_async_config.path = window.location.pathname;
603
- (function(){
604
- function loadChartbeat() {
605
- window._sf_endpt=(new Date()).getTime();
606
- var e = document.createElement('script');
607
- e.setAttribute('language', 'javascript');
608
- e.setAttribute('type', 'text/javascript');
609
- e.setAttribute('src',
610
- (("https:" == document.location.protocol) ? "https://a248.e.akamai.net/chartbeat.download.akamai.com/102508/" : "http://static.chartbeat.com/") +
611
- "js/chartbeat.js");
612
- document.body.appendChild(e);
613
- }
614
- var oldonload = window.onload;
615
- window.onload = (typeof window.onload != 'function') ?
616
- loadChartbeat : function() { oldonload(); loadChartbeat(); };
617
- })();
618
- /*fb*/
619
- window.fbAsyncInit = function() {
620
- FB.init({appId: '142749005737325', status: true, cookie: true, xfbml: true});
621
- };
622
- (function() {
623
- var e = document.createElement('script'); e.async = true;
624
- e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js';
625
- document.getElementById('fb-root').appendChild(e);
626
- }());
627
- /*G+*/
628
- (function() {
629
- var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
630
- po.src = 'http://apis.google.com/js/plusone.js';
631
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
632
- })();
633
- /*SU*/
634
- (function() {
635
- var li = document.createElement('script'); li.type = 'text/javascript'; li.async = true;
636
- li.src = 'http://platform.stumbleupon.com/1/widgets.js';
637
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(li, s);
638
- })();
639
- /*twitter*/
640
- !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?17ef44";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");
641
- var google_conversion_id = 973247686;
642
- var google_conversion_label = "cYvhCNraqgMQxqmK0AM";
643
- var google_custom_params = window.google_tag_params;
644
- var google_remarketing_only = true;
645
- </script>
646
- <script type="text/javascript" src="http://www.googleadservices.com/pagead/conversion.js"></script>
647
- <script type="text/javascript">if(!NREUMQ.f){NREUMQ.f=function(){NREUMQ.push(["load",new Date().getTime()]);var e=document.createElement("script");e.type="text/javascript";e.src=(("http:"===document.location.protocol)?"http:":"https:")+"//"+"d1ros97qkrwjf5.cloudfront.net/42/eum/rum.js";document.body.appendChild(e);if(NREUMQ.a)NREUMQ.a();};NREUMQ.a=window.onload;window.onload=NREUMQ.f;};NREUMQ.push(["nrfj","beacon-1.newrelic.com","b9a9c6c2e0","106288","ZgZQbEJRXxFVARJYVl9MZ0pZH1gMUAceH0lZEw==",0,6,new Date().getTime(),"","","","",""]);</script>
648
- </body>
649
- </html>