
var salutation = "Mr Someone";
var emailAddress = "something@parliament.uk";
var name = "No Name";
var constituency = "No Constituency";
var messageBody = "";
var userName = "User Name";
var address1 = "Address Line 1";
var postCode = "Post Code";
var homeTown = "Home Town";
var userEmail = "User Email";

function GetEmailAndSalutationByName()
{	
	name = $("#mpName").val();
	constituency = $("#constituency").val();
	
	if(name == "Robinson, Mr Michael (Jedi)")
	{
	emailAddress = "joethetoad@aol.com";
	salutation = "Lord Robinson";
	}
	else if(name == "Hughes, Mr Peter (Jedi)")
	{
	emailAddress = "BigPeteH@gmail.com";
	salutation = "Maestro Hughes";
	}
	if(name == "Abbott, Ms Diane (Lab)")
	{
	emailAddress = "Abbottd@parliament.uk";
	salutation = "Ms Abbott";
	}
	else if(name == "Adams, Mr Gerry (SF)")
	{
	emailAddress = "Adamsg@parliament.uk";
	salutation = "Mr Adams";
	}
	else if(name == "Afriyie, Adam (Con)")
	{
	emailAddress = "Afriyiea@parliament.uk";
	salutation = "Mr Afiyie";
	}
	else if(name == "Ainger, Nick (Lab)")
	{
	emailAddress = "Aingern@parliament.uk";
	salutation = "Mr Ainger";
	}
	else if(name == "Ainsworth, Mr Peter (Con)")
	{
	emailAddress = "Ainsworthp@parliament.uk";
	salutation = "Mr Ainsworth";
	}
	else if(name == "Ainsworth, Rt Hon Bob (Lab)")
	{
	emailAddress = "Ainsworthr@parliament.uk";
	salutation = "Mr Ainsworth";
	}
	else if(name == "Alexander, Danny (LD)")
	{
	emailAddress = "Alexanderd@parliament.uk";
	salutation = "Mr Alexander";
	}
	else if(name == "Alexander, Rt Hon Douglas (Lab)")
	{
	emailAddress = "Alexanderd@parliament.uk";
	salutation = "Mr Alexander";
	}
	else if(name == "Allen, Mr Graham (Lab)")
	{
	emailAddress = "Alleng@parliament.uk";
	salutation = "Mr Allen";
	}
	else if(name == "Amess, Mr David (Con)")
	{
	emailAddress = "Amessd@parliament.uk";
	salutation = "Mr Amess";
	}
	else if(name == "Ancram, Earl of, Rt Hon Michael (Con)")
	{
	emailAddress = "Ancramm@parliament.uk";
	salutation = "Lord Ancram";
	}
	else if(name == "Anderson, Janet (Lab)")
	{
	emailAddress = "Andersonj@parliament.uk";
	salutation = "Mrs Anderson";
	}
	else if(name == "Anderson, Mr David (Lab)")
	{
	emailAddress = "Andersond@parliament.uk";
	salutation = "Mr Anderson";
	}
	else if(name == "Arbuthnot, Rt Hon James (Con)")
	{
	emailAddress = "Arbuthnotj@parliament.uk";
	salutation = "Mr Arbuthnot";
	}
	else if(name == "Armstrong, Rt Hon Hilary (Lab)")
	{
	emailAddress = "Armstrongh@parliament.uk";
	salutation = "Mr Armstrong";
	}
	else if(name == "Atkins, Charlotte (Lab)")
	{
	emailAddress = "Atkinsc@parliament.uk";
	salutation = "Ms Atkins";
	}
	else if(name == "Atkinson, Mr Peter (Con)")
	{
	emailAddress = "Atkinsonp@parliament.uk";
	salutation = "Mr Atkinson";
	}
	else if(name == "Austin, John (Lab)")
	{
	emailAddress = "Austinj@parliament.uk";
	salutation = "Mr Austin";
	}
	else if(name == "Austin, Mr Ian (Lab)")
	{
	emailAddress = "Austini@parliament.uk";
	salutation = "Mr Austin";
	}
	else if(name == "Bacon, Mr Richard (Con)")
	{
	emailAddress = "Baconr@parliament.uk";
	salutation = "Mr Bacon";
	}
	else if(name == "Bailey, Mr Adrian (Lab/Co-op)")
	{
	emailAddress = "Baileya@parliament.uk";
	salutation = "Mr Bailey";
	}
	else if(name == "Baird, Vera QC (Lab)")
	{
	emailAddress = "Bairdv@parliament.uk";
	salutation = "Ms Baird";
	}
	else if(name == "Baker, Norman (LD)")
	{
	emailAddress = "Bakern@parliament.uk";
	salutation = "Mr Baker";
	}
	else if(name == "Baldry, Tony (Con)")
	{
	emailAddress = "Baldryt@parliament.uk";
	salutation = "Mr Baldry";
	}
	else if(name == "Balls, Rt Hon Ed (Lab/Co-op)")
	{
	emailAddress = "Ballse@parliament.uk";
	salutation = "Mr Balls";
	}
	else if(name == "Banks, Gordon (Lab)")
	{
	emailAddress = "Banksg@parliament.uk";
	salutation = "Mr Banks";
	}
	else if(name == "Barker, Gregory (Con)")
	{
	emailAddress = "Barkerg@parliament.uk";
	salutation = "Mr Barker";
	}
	else if(name == "Barlow, Ms Celia (Lab)")
	{
	emailAddress = "Barlowc@parliament.uk";
	salutation = "Ms Barlow";
	}
	else if(name == "Baron, Mr John (Con)")
	{
	emailAddress = "Baronj@parliament.uk";
	salutation = "Mr Baron";
	}
	else if(name == "Barrett, John (LD)")
	{
	emailAddress = "Barrettj@parliament.uk";
	salutation = "Mr Barrett";
	}
	else if(name == "Barron, Rt Hon Kevin (Lab)")
	{
	emailAddress = "Barronk@parliament.uk";
	salutation = "Mr Barron";
	}
	else if(name == "Battle, Rt Hon John (Lab)")
	{
	emailAddress = "Battlej@parliament.uk";
	salutation = "Mr Battle";
	}
	else if(name == "Bayley, Hugh (Lab)")
	{
	emailAddress = "Bayleyh@parliament.uk";
	salutation = "Mr Bayley";
	}
	else if(name == "Beckett, Rt Hon Margaret (Lab)")
	{
	emailAddress = "Beckettm@parliament.uk";
	salutation = "Ms Hodge";
	}
	else if(name == "Begg, Miss Anne (Lab)")
	{
	emailAddress = "Begga@parliament.uk";
	salutation = "Miss Begg";
	}
	else if(name == "Beith, Rt Hon Sir Alan (LD)")
	{
	emailAddress = "Beitha@parliament.uk";
	salutation = "Mr Beith";
	}
	else if(name == "Bell, Sir Stuart (Lab)")
	{
	emailAddress = "Bells@parliament.uk";
	salutation = "Sir Stuart";
	}
	else if(name == "Bellingham, Mr Henry (Con)")
	{
	emailAddress = "Bellinghamh@parliament.uk";
	salutation = "Mr Bellingham";
	}
	else if(name == "Benn, Rt Hon Hilary (Lab)")
	{
	emailAddress = "Bennh@parliament.uk";
	salutation = "Mr Benn";
	}
	else if(name == "Benton, Mr Joe (Lab)")
	{
	emailAddress = "Bentonj@parliament.uk";
	salutation = "Mr Benton";
	}
	else if(name == "Benyon, Mr Richard (Con)")
	{
	emailAddress = "Benyonr@parliament.uk";
	salutation = "Mr Benyon";
	}
	else if(name == "Bercow, Rt Hon John (SPK)")
	{
	emailAddress = "Bercowj@parliament.uk";
	salutation = "Mr Bercow";
	}
	else if(name == "Beresford, Sir Paul (Con)")
	{
	emailAddress = "Beresfordp@parliament.uk";
	salutation = "Sir Paul";
	}
	else if(name == "Berry, Dr Roger (Lab)")
	{
	emailAddress = "Berryr@parliament.uk";
	salutation = "Dr Berry";
	}
	else if(name == "Betts, Mr Clive (Lab)")
	{
	emailAddress = "Bettsc@parliament.uk";
	salutation = "Mr Betts";
	}
	else if(name == "Binley, Mr Brian (Con)")
	{
	emailAddress = "Binleyb@parliament.uk";
	salutation = "Mr Binley";
	}
	else if(name == "Blackman, Liz (Lab)")
	{
	emailAddress = "Blackmanl@parliament.uk";
	salutation = "Ms Blackman";
	}
	else if(name == "Blackman-Woods, Dr Roberta (Lab)")
	{
	emailAddress = "Blackman-Woodsr@parliament.uk";
	salutation = "Dr Blackman-Woods";
	}
	else if(name == "Blears, Rt Hon Hazel (Lab)")
	{
	emailAddress = "Blearsh@parliament.uk";
	salutation = "Ms Blears";
	}
	else if(name == "Blizzard, Mr Bob (Lab)")
	{
	emailAddress = "Blizzardr@parliament.uk";
	salutation = "Mr Blizzard";
	}
	else if(name == "Blunkett, Rt Hon David (Lab)")
	{
	emailAddress = "Blunkettd@parliament.uk";
	salutation = "Mr Blunkett";
	}
	else if(name == "Blunt, Mr Crispin (Con)")
	{
	emailAddress = "Bluntc@parliament.uk";
	salutation = "Mr Blunt";
	}
	else if(name == "Bone, Mr Peter (Con)")
	{
	emailAddress = "Bonep@parliament.uk";
	salutation = "Mr Bone";
	}
	else if(name == "Borrow, Mr David S. (Lab)")
	{
	emailAddress = "Borrowd@parliament.uk";
	salutation = "Mr Borrow";
	}
	else if(name == "Boswell, Mr Tim (Con)")
	{
	emailAddress = "Boswellt@parliament.uk";
	salutation = "Mr Boswell";
	}
	else if(name == "Bottomley, Peter (Con)")
	{
	emailAddress = "Bottomleyp@parliament.uk";
	salutation = "Mr Bottomley";
	}
	else if(name == "Bradshaw, Rt Hon Ben (Lab)")
	{
	emailAddress = "Bradshawb@parliament.uk";
	salutation = "Mr Bradshaw";
	}
	else if(name == "Brady, Mr Graham (Con)")
	{
	emailAddress = "Bradyg@parliament.uk";
	salutation = "Mr Brady";
	}
	else if(name == "Brake, Tom (LD)")
	{
	emailAddress = "Braket@parliament.uk";
	salutation = "Mr Brake";
	}
	else if(name == "Brazier, Mr Julian (Con)")
	{
	emailAddress = "Brazierj@parliament.uk";
	salutation = "Mr Brazier";
	}
	else if(name == "Breed, Mr Colin (LD)")
	{
	emailAddress = "Breedc@parliament.uk";
	salutation = "Mr Breed";
	}
	else if(name == "Brennan, Kevin (Lab)")
	{
	emailAddress = "Brennank@parliament.uk";
	salutation = "Mr Brennan";
	}
	else if(name == "Brokenshire, James (Con)")
	{
	emailAddress = "Brokenshirej@parliament.uk";
	salutation = "Mr Brokenshire";
	}
	else if(name == "Brooke, Annette (LD)")
	{
	emailAddress = "Brookea@parliament.uk";
	salutation = "Ms Brooke";
	}
	else if(name == "Brown, Lyn (Lab)")
	{
	emailAddress = "Brownl@parliament.uk";
	salutation = "Ms Brown";
	}
	else if(name == "Brown, Mr Russell (Lab)")
	{
	emailAddress = "Brownr@parliament.uk";
	salutation = "Mr Brown";
	}
	else if(name == "Brown, Rt Hon Gordon (Lab)")
	{
	emailAddress = "Browng@parliament.uk";
	salutation = "Mr Brown";
	}
	else if(name == "Brown, Rt Hon Nicholas (Lab)")
	{
	emailAddress = "Brownn@parliament.uk";
	salutation = "Mr Brown";
	}
	else if(name == "Browne, Mr Jeremy (LD)")
	{
	emailAddress = "Brownej@parliament.uk";
	salutation = "Mr Browne";
	}
	else if(name == "Browne, Rt Hon Des (Lab)")
	{
	emailAddress = "Browned@parliament.uk";
	salutation = "Mr Browne";
	}
	else if(name == "Browning, Angela (Con)")
	{
	emailAddress = "Browninga@parliament.uk";
	salutation = "Ms Browning";
	}
	else if(name == "Bruce, Rt Hon Malcolm (LD)")
	{
	emailAddress = "Brucem@parliament.uk";
	salutation = "Mr Bruce";
	}
	else if(name == "Bryant, Chris (Lab)")
	{
	emailAddress = "Bryantc@parliament.uk";
	salutation = "Mr Bryant";
	}
	else if(name == "Buck, Ms Karen (Lab)")
	{
	emailAddress = "Buckk@parliament.uk";
	salutation = "Ms Bucks";
	}
	else if(name == "Burden, Richard (Lab)")
	{
	emailAddress = "Burdenr@parliament.uk";
	salutation = "Mr Burden";
	}
	else if(name == "Burgon, Colin (Lab)")
	{
	emailAddress = "Burgonc@parliament.uk";
	salutation = "Mr Burgon";
	}
	else if(name == "Burnham, Rt Hon Andy (Lab)")
	{
	emailAddress = "Burnhama@parliament.uk";
	salutation = "Mr Burnham";
	}
	else if(name == "Burns, Mr Simon (Con)")
	{
	emailAddress = "Burnsa@parliament.uk";
	salutation = "Mr Burns";
	}
	else if(name == "Burrowes, Mr David (Con)")
	{
	emailAddress = "Burrowesd@parliament.uk";
	salutation = "Mr Burrowes";
	}
	else if(name == "Burstow, Mr Paul (LD)")
	{
	emailAddress = "Burstowp@parliament.uk";
	salutation = "Mr Burstow";
	}
	else if(name == "Burt, Alistair (Con)")
	{
	emailAddress = "Burta@parliament.uk";
	salutation = "Mr Burt";
	}
	else if(name == "Burt, Lorely (LD)")
	{
	emailAddress = "Burtl@parliament.uk";
	salutation = "Ms Burt";
	}
	else if(name == "Butler, Ms Dawn (Lab)")
	{
	emailAddress = "Butlerd@parliament.uk";
	salutation = "Ms Dawn";
	}
	else if(name == "Butterfill, Sir John (Con)")
	{
	emailAddress = "Butterfillj@parliament.uk";
	salutation = "Sir John";
	}
	else if(name == "Byers, Rt Hon Stephen (Lab)")
	{
	emailAddress = "Byerss@parliament.uk";
	salutation = "Mr Byers";
	}
	else if(name == "Byrne, Rt Hon Liam (Lab)")
	{
	emailAddress = "Byrnel@parliament.uk";
	salutation = "Mr Byrne";
	}
	else if(name == "Cable, Dr Vincent (LD)")
	{
	emailAddress = "Cablev@parliament.uk";
	salutation = "Dr Cable";
	}
	else if(name == "Caborn, Rt Hon Richard (Lab)")
	{
	emailAddress = "Cabornr@parliament.uk";
	salutation = "Mr Caborn";
	}
	else if(name == "Cairns, David (Lab)")
	{
	emailAddress = "Cairnsd@parliament.uk";
	salutation = "Mr Cairns";
	}
	else if(name == "Cameron, Rt Hon David (Con)")
	{
	emailAddress = "Camerond@parliament.uk";
	salutation = "Mr Camerson";
	}
	else if(name == "Campbell, Mr Alan (Lab)")
	{
	emailAddress = "Campbella@parliament.uk";
	salutation = "Mr Campbell";
	}
	else if(name == "Campbell, Mr Gregory (DU)")
	{
	emailAddress = "Campbellg@parliament.uk";
	salutation = "Mr Campbell";
	}
	else if(name == "Campbell, Mr Ronnie (Lab)")
	{
	emailAddress = "Campbellr@parliament.uk";
	salutation = "Mr Campbell";
	}
	else if(name == "Campbell, Rt Hon Sir Menzies (LD)")
	{
	emailAddress = "Campbellm@parliament.uk";
	salutation = "Sir Menzies";
	}
	else if(name == "Carmichael, Mr Alistair (LD)")
	{
	emailAddress = "Carmichaela@parliament.uk";
	salutation = "Mr Carmichael";
	}
	else if(name == "Carswell, Mr Douglas (Con)")
	{
	emailAddress = "Carswelld@parliament.uk";
	salutation = "Mr Carswell";
	}
	else if(name == "Cash, Mr William (Con)")
	{
	emailAddress = "Cashw@parliament.uk";
	salutation = "Mr Cash";
	}
	else if(name == "Caton, Mr Martin (Lab)")
	{
	emailAddress = "Catonm@parliament.uk";
	salutation = "Mr Caton";
	}
	else if(name == "Cawsey, Mr Ian (Lab)")
	{
	emailAddress = "Cawseyi@parliament.uk";
	salutation = "Mr Cawsey";
	}
	else if(name == "Challen, Colin (Lab)")
	{
	emailAddress = "Challenc@parliament.uk";
	salutation = "Mr Challen";
	}
	else if(name == "Chapman, Ben (Lab)")
	{
	emailAddress = "Chapmanb@parliament.uk";
	salutation = "Mr Chapman";
	}
	else if(name == "Chaytor, Mr David (Lab)")
	{
	emailAddress = "Chaytord@parliament.uk";
	salutation = "Mr Chaytor";
	}
	else if(name == "Chope, Mr Christopher (Con)")
	{
	emailAddress = "Chopec@parliament.uk";
	salutation = "Mr Chope";
	}
	else if(name == "Clapham, Mr Michael (Lab)")
	{
	emailAddress = "Claphamm@parliament.uk";
	salutation = "Mr Clapham";
	}
	else if(name == "Clappison, Mr James (Con)")
	{
	emailAddress = "Clappisonj@parliament.uk";
	salutation = "Mr Clappison";
	}
	else if(name == "Clark, Greg (Con)")
	{
	emailAddress = "Clarkg@parliament.uk";
	salutation = "Mr Clark";
	}
	else if(name == "Clark, Ms Katy (Lab)")
	{
	emailAddress = "Clarkk@parliament.uk";
	salutation = "Ms Clark";
	}
	else if(name == "Clark, Paul (Lab)")
	{
	emailAddress = "Clarkp@parliament.uk";
	salutation = "Mr Clark";
	}
	else if(name == "Clarke, Rt Hon Charles (Lab)")
	{
	emailAddress = "Clarkec@parliament.uk";
	salutation = "Mr Clarke";
	}
	else if(name == "Clarke, Rt Hon Kenneth (Con)")
	{
	emailAddress = "Clarkek@parliament.uk";
	salutation = "Mr Clarke";
	}
	else if(name == "Clarke, Rt Hon Tom (Lab)")
	{
	emailAddress = "Clarket@parliament.uk";
	salutation = "Mr Clarke";
	}
	else if(name == "Clegg, Rt Hon Nick (LD)")
	{
	emailAddress = "Cleggn@parliament.uk";
	salutation = "Mr Clegg";
	}
	else if(name == "Clelland, Mr David (Lab)")
	{
	emailAddress = "Clellandd@parliament.uk";
	salutation = "Mr Clelland";
	}
	else if(name == "Clifton-Brown, Mr Geoffrey (Con)")
	{
	emailAddress = "Clifton-Browng@parliament.uk";
	salutation = "Mr Clifton-Brown";
	}
	else if(name == "Clwyd, Rt Hon Ann (Lab)")
	{
	emailAddress = "Clwyda@parliament.uk";
	salutation = "Ms Clwyd";
	}
	else if(name == "Coaker, Mr Vernon (Lab)")
	{
	emailAddress = "Coakerv@parliament.uk";
	salutation = "Mr Coaker";
	}
	else if(name == "Coffey, Ann (Lab)")
	{
	emailAddress = "Coffeya@parliament.uk";
	salutation = "Ms Coffey";
	}
	else if(name == "Cohen, Harry (Lab)")
	{
	emailAddress = "Cohenh@parliament.uk";
	salutation = "Mr Cohen";
	}
	else if(name == "Connarty, Michael (Lab)")
	{
	emailAddress = "Connartym@parliament.uk";
	salutation = "Mr Connarty";
	}
	else if(name == "Conway, Derek (Ind Con)")
	{
	emailAddress = "Conwayd@parliament.uk";
	salutation = "Mr Conway";
	}
	else if(name == "Cook, Frank (Lab)")
	{
	emailAddress = "Cookf@parliament.uk";
	salutation = "Mr Cook";
	}
	else if(name == "Cooper, Rosie (Lab)")
	{
	emailAddress = "Cooperr@parliament.uk";
	salutation = "Ms Cooper";
	}
	else if(name == "Cooper, Rt Hon Yvette (Lab)")
	{
	emailAddress = "Coopery@parliament.uk";
	salutation = "Ms Cooper";
	}
	else if(name == "Corbyn, Jeremy (Lab)")
	{
	emailAddress = "Corbynj@parliament.uk";
	salutation = "Mr Corbyn";
	}
	else if(name == "Cormack, Sir Patrick (Con)")
	{
	emailAddress = "Cormackp@parliament.uk";
	salutation = "Sir Patrick";
	}
	else if(name == "Cousins, Jim (Lab)")
	{
	emailAddress = "Cousinsj@parliament.uk";
	salutation = "Mr Cousins";
	}
	else if(name == "Cox, Mr Geoffrey (Con)")
	{
	emailAddress = "Coxg@parliament.uk";
	salutation = "Mr Cox";
	}
	else if(name == "Crabb, Mr Stephen (Con)")
	{
	emailAddress = "Crabbs@parliament.uk";
	salutation = "Mr Crabb";
	}
	else if(name == "Crausby, Mr David (Lab)")
	{
	emailAddress = "Crausbyd@parliament.uk";
	salutation = "Mr Crausby";
	}
	else if(name == "Creagh, Mary (Lab)")
	{
	emailAddress = "Creaghm@parliament.uk";
	salutation = "Ms Creagh";
	}
	else if(name == "Cruddas, Jon (Lab)")
	{
	emailAddress = "Cruddasj@parliament.uk";
	salutation = "Mr Cruddas";
	}
	else if(name == "Cryer, Mrs Ann (Lab)")
	{
	emailAddress = "Cryera@parliament.uk";
	salutation = "Mrs Cryer";
	}
	else if(name == "Cummings, John (Lab)")
	{
	emailAddress = "Cummingsj@parliament.uk";
	salutation = "Mr Cummings";
	}
	else if(name == "Cunningham, Mr Jim (Lab)")
	{
	emailAddress = "Cunninghamj@parliament.uk";
	salutation = "Mr Cunningham";
	}
	else if(name == "Cunningham, Tony (Lab)")
	{
	emailAddress = "Cunninghamt@parliament.uk";
	salutation = "Mr Cunningham";
	}
	else if(name == "Curry, Rt Hon David (Con)")
	{
	emailAddress = "Curryd@parliament.uk";
	salutation = "Mr Curry";
	}
	else if(name == "Curtis-Thomas, Mrs Claire (Lab)")
	{
	emailAddress = "Curtis-Thomasc@parliament.uk";
	salutation = "Mrs Curtis-Thomas";
	}
	else if(name == "Darling, Rt Hon Alistair (Lab)")
	{
	emailAddress = "Darlinga@parliament.uk";
	salutation = "Mr Darling";
	}
	else if(name == "Davey, Mr Edward (LD)")
	{
	emailAddress = "Daveye@parliament.uk";
	salutation = "Mr Davey";
	}
	else if(name == "David, Mr Wayne (Lab)")
	{
	emailAddress = "Davidw@parliament.uk";
	salutation = "Mr David";
	}
	else if(name == "Davidson, Mr Ian (Lab/Co-op)")
	{
	emailAddress = "Davidsoni@parliament.uk";
	salutation = "Mr Davidson";
	}
	else if(name == "Davies, Dai (Ind)")
	{
	emailAddress = "daviesdc@parliament.uk";
	salutation = "Mr Davies";
	}
	else if(name == "Davies, David T. C. (Con)")
	{
	emailAddress = "Daviesd@parliament.uk";
	salutation = "Mr Davies";
	}
	else if(name == "Davies, Mr Quentin (Lab)")
	{
	emailAddress = "Daviesq@parliament.uk";
	salutation = "Mr Davies";
	}
	else if(name == "Davies, Philip (Con)")
	{
	emailAddress = "Daviesp@parliament.uk";
	salutation = "Mr Davies";
	}
	else if(name == "Davis, Rt Hon David (Con)")
	{
	emailAddress = "Davisd@parliament.uk";
	salutation = "Mr Davis";
	}
	else if(name == "Dean, Mrs Janet (Lab)")
	{
	emailAddress = "Deanj@parliament.uk";
	salutation = "Mrs Dean";
	}
	else if(name == "Denham, Rt Hon John (Lab)")
	{
	emailAddress = "Denhamj@parliament.uk";
	salutation = "Mr Denham";
	}
	else if(name == "Devine, Jim (Lab)")
	{
	emailAddress = "john@johndenham.org.uk";
	salutation = "Mr Devine";
	}
	else if(name == "Dhanda, Mr Parmjit (Lab)")
	{
	emailAddress = "Dhandap@parliament.uk";
	salutation = "Mr Dhanda";
	}
	else if(name == "Dismore, Mr Andrew (Lab)")
	{
	emailAddress = "Dismorea@parliament.uk";
	salutation = "Mr Dismore";
	}
	else if(name == "Djanogly, Mr Jonathan (Con)")
	{
	emailAddress = "Djanoglyj@parliament.uk";
	salutation = "Mr Djanogly";
	}
	else if(name == "Dobbin, Jim (Lab/Co-op)")
	{
	emailAddress = "Dobbinj@parliament.uk";
	salutation = "Mr Dobbin";
	}
	else if(name == "Dobson, Rt Hon Frank (Lab)")
	{
	emailAddress = "Dobsonf@parliament.uk";
	salutation = "Mr Dobson";
	}
	else if(name == "Dodds, Mr Nigel (DU)")
	{
	emailAddress = "Doddsn@parliament.uk";
	salutation = "Mr Dodds";
	}
	else if(name == "Doherty, Mr Pat (SF)")
	{
	emailAddress = "Dohertyp@parliament.uk";
	salutation = "Mr Doherty";
	}
	else if(name == "Donaldson, Rt Hon Jeffrey M. (DU)")
	{
	emailAddress = "Donaldsonj@parliament.uk";
	salutation = "Mr Donaldson";
	}
	else if(name == "Donohoe, Mr Brian H. (Lab)")
	{
	emailAddress = "Donohoeb@parliament.uk";
	salutation = "Mr Donohoe";
	}
	else if(name == "Doran, Mr Frank (Lab)")
	{
	emailAddress = "Doranf@parliament.uk";
	salutation = "Mr Doran";
	}
	else if(name == "Dorrell, Rt Hon Stephen (Con)")
	{
	emailAddress = "Dorrells@parliament.uk";
	salutation = "Mr Dorrell";
	}
	else if(name == "Dorries, Nadine (Con)")
	{
	emailAddress = "Dorriesn@parliament.uk";
	salutation = "Ms Dorries";
	}
	else if(name == "Dowd, Jim (Lab)")
	{
	emailAddress = "Dowdj@parliament.uk";
	salutation = "Mr Dowd";
	}
	else if(name == "Drew, Mr David (Lab/Co-op)")
	{
	emailAddress = "Drewd@parliament.uk";
	salutation = "Mr Drew";
	}
	else if(name == "Duddridge, James (Con)")
	{
	emailAddress = "Duddridgej@parliament.uk";
	salutation = "Mr Duddridge";
	}
	else if(name == "Duncan Smith, Rt Hon Iain (Con)")
	{
	emailAddress = "ids@conservatives.com";
	salutation = "Mr Duncan Smith";
	}
	else if(name == "Duncan, Mr Alan (Con)")
	{
	emailAddress = "Duncana@parliament.uk";
	salutation = "Mr Duncan";
	}
	else if(name == "Dunne, Mr Philip (Con)")
	{
	emailAddress = "Dunnep@parliament.uk";
	salutation = "Mr Dunne";
	}
	else if(name == "Durkan, Mark (SDLP)")
	{
	emailAddress = "Durkanm@parliament.uk";
	salutation = "Mr Durkan";
	}
	else if(name == "Eagle, Angela (Lab)")
	{
	emailAddress = "Eaglea@parliament.uk";
	salutation = "Ms Eagle";
	}
	else if(name == "Eagle, Maria (Lab)")
	{
	emailAddress = "Eaglem@parliament.uk";
	salutation = "Ms Eagle";
	}
	else if(name == "Efford, Clive (Lab)")
	{
	emailAddress = "Effordc@parliament.uk";
	salutation = "Mr Efford";
	}
	else if(name == "Ellman, Mrs Louise (Lab/Co-op)")
	{
	emailAddress = "Ellmanl@parliament.uk";
	salutation = "Mrs Ellman";
	}
	else if(name == "Ellwood, Mr Tobias (Con)")
	{
	emailAddress = "Ellwoodt@parliament.uk";
	salutation = "Mr Ellwood";
	}
	else if(name == "Engel, Mrs Natascha (Lab)")
	{
	emailAddress = "Engeln@parliament.uk";
	salutation = "Mrs Engel";
	}
	else if(name == "Ennis, Jeff (Lab)")
	{
	emailAddress = "Ennisj@parliament.uk";
	salutation = "Mr Ennis";
	}
	else if(name == "Etherington, Bill (Lab)")
	{
	emailAddress = "Etheringtonb@parliament.uk";
	salutation = "Mr Etherington";
	}
	else if(name == "Evans, Mr Nigel (Con)")
	{
	emailAddress = "Evansn@parliament.uk";
	salutation = "Mr Evans";
	}
	else if(name == "Evennett, Mr David (Con)")
	{
	emailAddress = "Evennettd@parliament.uk";
	salutation = "Mr Evennett";
	}
	else if(name == "Fabricant, Michael (Con)")
	{
	emailAddress = "Fabricantm@parliament.uk";
	salutation = "Mr Fabricant";
	}
	else if(name == "Fallon, Mr Michael (Con)")
	{
	emailAddress = "Fallonm@parliament.uk";
	salutation = "Mr Fallon";
	}
	else if(name == "Farrelly, Paul (Lab)")
	{
	emailAddress = "Farrellyp@parliament.uk";
	salutation = "Mr Farrelly";
	}
	else if(name == "Farron, Tim (LD)")
	{
	emailAddress = "Farront@parliament.uk";
	salutation = "Mr Farron";
	}
	else if(name == "Featherstone, Lynne (LD)")
	{
	emailAddress = "Featherstonel@parliament.uk";
	salutation = "Ms Featherstone";
	}
	else if(name == "Field, Mr Mark (Con)")
	{
	emailAddress = "Fieldm@parliament.uk";
	salutation = "Mr Field";
	}
	else if(name == "Field, Rt Hon Frank (Lab)")
	{
	emailAddress = "Fieldf@parliament.uk";
	salutation = "Mr Field";
	}
	else if(name == "Fisher, Mark (Lab)")
	{
	emailAddress = "Fisherm@parliament.uk";
	salutation = "Mr Fisher";
	}
	else if(name == "Fitzpatrick, Jim (Lab)")
	{
	emailAddress = "Fitzpatrickj@parliament.uk";
	salutation = "Mr Fitzpatrick";
	}
	else if(name == "Flello, Mr Robert (Lab)")
	{
	emailAddress = "Flellor@parliament.uk";
	salutation = "Mr Flello";
	}
	else if(name == "Flint, Rt Hon Caroline (Lab)")
	{
	emailAddress = "Flintc@parliament.uk";
	salutation = "Ms Flint";
	}
	else if(name == "Flynn, Paul (Lab)")
	{
	emailAddress = "Flynnp@parliament.uk";
	salutation = "Mr Flynn";
	}
	else if(name == "Follett, Barbara (Lab)")
	{
	emailAddress = "Follettb@parliament.uk";
	salutation = "Ms Follett";
	}
	else if(name == "Foster (Worcs.), Mr Michael (Lab)")
	{
	emailAddress = "Fosterm@parliament.uk";
	salutation = "Mr Foster";
	}
	else if(name == "Foster, Michael Jabez (Lab)")
	{
	emailAddress = "Fosterm@parliament.uk";
	salutation = "Mr Foster";
	}
	else if(name == "Foster, Mr Don (LD)")
	{
	emailAddress = "Fosterd@parliament.uk";
	salutation = "Mr Foster";
	}
	else if(name == "Fox, Dr Liam (Con)")
	{
	emailAddress = "Foxl@parliament.uk";
	salutation = "Dr Fox";
	}
	else if(name == "Francis, Dr Hywel (Lab)")
	{
	emailAddress = "Francish@parliament.uk";
	salutation = "Dr Francis";
	}
	else if(name == "Francois, Mr Mark (Con)")
	{
	emailAddress = "francoism@parliament.uk";
	salutation = "Dr Francois";
	}
	else if(name == "Fraser, Christopher (Con)")
	{
	emailAddress = "Fraserc@parliament.uk";
	salutation = "Mr Fraser";
	}
	else if(name == "Gale, Mr Roger (Con)")
	{
	emailAddress = "Galer@parliament.uk";
	salutation = "Mr Gale";
	}
	else if(name == "Galloway, Mr George (Respect)")
	{
	emailAddress = "Gallowayg@parliament.uk";
	salutation = "Mr Galloway";
	}
	else if(name == "Gapes, Mike (Lab/Co-op)")
	{
	emailAddress = "Gapesm@parliament.uk";
	salutation = "Mr Gapes";
	}
	else if(name == "Gardiner, Barry (Lab)")
	{
	emailAddress = "Gardinerb@parliament.uk";
	salutation = "Mr Gardiner";
	}
	else if(name == "Garnier, Mr Edward (Con)")
	{
	emailAddress = "Garniere@parliament.uk";
	salutation = "Mr Garnier";
	}
	else if(name == "Gauke, Mr David (Con)")
	{
	emailAddress = "Gauked@parliament.uk";
	salutation = "Mr Gauke";
	}
	else if(name == "George, Andrew (LD)")
	{
	emailAddress = "Georgea@parliament.uk";
	salutation = "Mr George";
	}
	else if(name == "George, Rt Hon Bruce (Lab)")
	{
	emailAddress = "Georgeb@parliament.uk";
	salutation = "Mr George";
	}
	else if(name == "Gerrard, Mr Neil (Lab)")
	{
	emailAddress = "Gerrardn@parliament.uk";
	salutation = "Mr Gerrard";
	}
	else if(name == "Gibb, Mr Nick (Con)")
	{
	emailAddress = "Gibbn@parliament.uk";
	salutation = "Mr Gibb";
	}
	else if(name == "Gidley, Sandra (LD)")
	{
	emailAddress = "Gidleys@parliament.uk";
	salutation = "Ms Gidley";
	}
	else if(name == "Gildernew, Michelle (SF)")
	{
	emailAddress = "Gildernewm@parliament.uk";
	salutation = "Ms Gildernew";
	}
	else if(name == "Gillan, Mrs Cheryl (Con)")
	{
	emailAddress = "Gillanc@parliament.uk";
	salutation = "Mrs Gillan";
	}
	else if(name == "Gilroy, Linda (Lab/Co-op)")
	{
	emailAddress = "Gilroyl@parliament.uk";
	salutation = "Ms Gilroy";
	}
	else if(name == "Godsiff, Mr Roger (Lab)")
	{
	emailAddress = "Godsiffr@parliament.uk";
	salutation = "Mr Godsiff";
	}
	else if(name == "Goggins, Rt Hon Paul (Lab)")
	{
	emailAddress = "Gogginsp@parliament.uk";
	salutation = "Mr Goggins";
	}
	else if(name == "Goldsworthy, Julia (LD)")
	{
	emailAddress = "Goldsworthyj@parliament.uk";
	salutation = "Ms Goldsworthy";
	}
	else if(name == "Goodman, Helen (Lab)")
	{
	emailAddress = "Goodmanh@parliament.uk";
	salutation = "Ms Goodman";
	}
	else if(name == "Goodman, Mr Paul (Con)")
	{
	emailAddress = "Goodmanp@parliament.uk";
	salutation = "Mr Goodman";
	}
	else if(name == "Goodwill, Mr Robert (Con)")
	{
	emailAddress = "Goodwillr@parliament.uk";
	salutation = "Mr Goodwill";
	}
	else if(name == "Gove, Michael (Con)")
	{
	emailAddress = "Govem@parliament.uk";
	salutation = "Mr Gove";
	}
	else if(name == "Gray, Mr James (Con)")
	{
	emailAddress = "Grayj@parliament.uk";
	salutation = "Mr Gray";
	}
	else if(name == "Grayling, Chris (Con)")
	{
	emailAddress = "Graylingc@parliament.uk";
	salutation = "Mr Grayling";
	}
	else if(name == "Green, Damian (Con)")
	{
	emailAddress = "Greend@parliament.uk";
	salutation = "Mr Green";
	}
	else if(name == "Greening, Justine (Con)")
	{
	emailAddress = "Greeningj@parliament.uk";
	salutation = "Ms Greening";
	}
	else if(name == "Greenway, Mr John (Con)")
	{
	emailAddress = "Greenwayj@parliament.uk";
	salutation = "Mr Greenway";
	}
	else if(name == "Grieve, Mr Dominic (Con)")
	{
	emailAddress = "Grieved@parliament.uk";
	salutation = "Mr Grieve";
	}
	else if(name == "Griffith, Nia (Lab)")
	{
	emailAddress = "Griffithn@parliament.uk";
	salutation = "Ms Griffiths";
	}
	else if(name == "Griffiths, Nigel (Lab)")
	{
	emailAddress = "Griffithsn@parliament.uk";
	salutation = "Mr Griffiths";
	}
	else if(name == "Grogan, Mr John (Lab)")
	{
	emailAddress = "Groganj@parliament.uk";
	salutation = "Mr Grogan";
	}
	else if(name == "Gummer, Rt Hon John (Con)")
	{
	emailAddress = "Gummerj@parliament.uk";
	salutation = "Mr Gummer";
	}
	else if(name == "Gwynne, Andrew (Lab)")
	{
	emailAddress = "Gwynnea@parliament.uk";
	salutation = "Mr Gwynne";
	}
	else if(name == "Hague, Rt Hon William (Con)")
	{
	emailAddress = "Haguew@parliament.uk";
	salutation = "Mr Hague";
	}
	else if(name == "Hain, Rt Hon Peter (Lab)")
	{
	emailAddress = "Hainp@parliament.uk";
	salutation = "Mr Hain";
	}
	else if(name == "Hall, Mr Mike (Lab)")
	{
	emailAddress = "Hallm@parliament.uk";
	salutation = "Mr Hall";
	}
	else if(name == "Hall, Patrick (Lab)")
	{
	emailAddress = "Hallp@parliament.uk";
	salutation = "Mr Hall";
	}
	else if(name == "Hamilton, Mr David (Lab)")
	{
	emailAddress = "Hamiltond@parliament.uk";
	salutation = "Mr Hamilton";
	}
	else if(name == "Hamilton, Mr Fabian (Lab)")
	{
	emailAddress = "Hamiltonf@parliament.uk";
	salutation = "Mr Hamilton";
	}
	else if(name == "Hammond, Mr Philip (Con)")
	{
	emailAddress = "Hammondp@parliament.uk";
	salutation = "Mr Hammond";
	}
	else if(name == "Hammond, Stephen (Con)")
	{
	emailAddress = "Hammonds@parliament.uk";
	salutation = "Mr Hammond";
	}
	else if(name == "Hancock, Mr Mike (LD)")
	{
	emailAddress = "Hancockm@parliament.uk";
	salutation = "Mr Hancock";
	}
	else if(name == "Hands, Mr Greg (Con)")
	{
	emailAddress = "Handsg@parliament.uk";
	salutation = "Mr Hands";
	}
	else if(name == "Hanson, Rt Hon David (Lab)")
	{
	emailAddress = "Hansond@parliament.uk";
	salutation = "Mr Hanson";
	}
	else if(name == "Harman, Rt Hon Harriet (Lab)")
	{
	emailAddress = "Harmanh@parliament.uk";
	salutation = "Ms Harman";
	}
	else if(name == "Harper, Mr Mark (Con)")
	{
	emailAddress = "Harperm@parliament.uk";
	salutation = "Mr Harper";
	}
	else if(name == "Harris, Dr Evan (LD)")
	{
	emailAddress = "Harrise@parliament.uk";
	salutation = "Dr Evans";
	}
	else if(name == "Harris, Mr Tom (Lab)")
	{
	emailAddress = "Harrist@parliament.uk";
	salutation = "Mr Harris";
	}
	else if(name == "Harvey, Nick (LD)")
	{
	emailAddress = "Harveyn@parliament.uk";
	salutation = "Mr Harvey";
	}
	else if(name == "Haselhurst, Rt Hon Sir Alan (CWM)")
	{
	emailAddress = "Haselhursta@parliament.uk";
	salutation = "Sir Alan";
	}
	else if(name == "Havard, Mr Dai (Lab)")
	{
	emailAddress = "Havardd@parliament.uk";
	salutation = "Mr Harvard";
	}
	else if(name == "Hayes, Mr John (Con)")
	{
	emailAddress = "Hayesj@parliament.uk";
	salutation = "Mr Hayes";
	}
	else if(name == "Heal, Sylvia (DCWM)")
	{
	emailAddress = "Heals@parliament.uk";
	salutation = "Ms Heal";
	}
	else if(name == "Heald, Mr Oliver (Con)")
	{
	emailAddress = "Healdo@parliament.uk";
	salutation = "Mr Heald";
	}
	else if(name == "Healey, Rt Hon John (Lab)")
	{
	emailAddress = "Healeyj@parliament.uk";
	salutation = "Mr Healey";
	}
	else if(name == "Heath, Mr David (LD)")
	{
	emailAddress = "Heathd@parliament.uk";
	salutation = "Mr Heath";
	}
	else if(name == "Heathcoat-Amory, Rt Hon David (Con)")
	{
	emailAddress = "Heathcoat-Amoryd@parliament.uk";
	salutation = "Mr Heathcoat-Amory";
	}
	else if(name == "Hemming, John (LD)")
	{
	emailAddress = "Hemmingj@parliament.uk";
	salutation = "Mr Hemming";
	}
	else if(name == "Henderson, Mr Doug (Lab)")
	{
	emailAddress = "Hendersond@parliament.uk";
	salutation = "Mr Henderson";
	}
	else if(name == "Hendrick, Mr Mark (Lab/Co-op)")
	{
	emailAddress = "Hendrickm@parliament.uk";
	salutation = "Mr Hendrick";
	}
	else if(name == "Hendry, Charles (Con)")
	{
	emailAddress = "Hendryc@parliament.uk";
	salutation = "Mr Hendry";
	}
	else if(name == "Hepburn, Mr Stephen (Lab)")
	{
	emailAddress = "Hepburns@parliament.uk";
	salutation = "Mr Hepburn";
	}
	else if(name == "Heppell, Mr John (Lab)")
	{
	emailAddress = "Heppellj@parliament.uk";
	salutation = "Mr Heppell";
	}
	else if(name == "Herbert, Mr Nick (Con)")
	{
	emailAddress = "Herbertn@parliament.uk";
	salutation = "Mr Herbert";
	}
	else if(name == "Hermon, Lady Sylvia (UU)")
	{
	emailAddress = "Hermonl@parliament.uk";
	salutation = "Lady Sylvia";
	}
	else if(name == "Hesford, Stephen (Lab)")
	{
	emailAddress = "Hesfords@parliament.uk";
	salutation = "Mr Hesford";
	}
	else if(name == "Hewitt, Rt Hon Patricia (Lab)")
	{
	emailAddress = "Hewittp@parliament.uk";
	salutation = "Ms Hewitt";
	}
	else if(name == "Heyes, David (Lab)")
	{
	emailAddress = "Heyesd@parliament.uk";
	salutation = "Mr Heyes";
	}
	else if(name == "Hill, Rt Hon Keith (Lab)")
	{
	emailAddress = "Hillk@parliament.uk";
	salutation = "Mr Hill";
	}
	else if(name == "Hillier, Meg (Lab/Co-op)")
	{
	emailAddress = "Hillierm@parliament.uk";
	salutation = "Ms Hillier";
	}
	else if(name == "Hoban, Mr Mark (Con)")
	{
	emailAddress = "Hobanm@parliament.uk";
	salutation = "Mr Hoban";
	}
	else if(name == "Hodge, Rt Hon Margaret (Lab)")
	{
	emailAddress = "Hodgem@parliament.uk";
	salutation = "Ms Hodge";
	}
	else if(name == "Hodgson, Mrs Sharon (Lab)")
	{
	emailAddress = "Hodgsons@parliament.uk";
	salutation = "Mrs Hodgson";
	}
	else if(name == "Hoey, Kate (Lab)")
	{
	emailAddress = "Hoeyk@parliament.uk";
	salutation = "Ms Hoey";
	}
	else if(name == "Hogg, Rt Hon Douglas (Con)")
	{
	emailAddress = "Hoggd@parliament.uk";
	salutation = "Mr Hogg";
	}
	else if(name == "Hollobone, Mr Philip (Con)")
	{
	emailAddress = "Hollobonep@parliament.uk";
	salutation = "Mr Hollobone";
	}
	else if(name == "Holloway, Mr Adam (Con)")
	{
	emailAddress = "Hollowaya@parliament.uk";
	salutation = "Mr Holloway";
	}
	else if(name == "Holmes, Paul (LD)")
	{
	emailAddress = "Holmesp@parliament.uk";
	salutation = "Mr Holmes";
	}
	else if(name == "Hood, Mr Jim (Lab)")
	{
	emailAddress = "Hoodj@parliament.uk";
	salutation = "Mr Hood";
	}
	else if(name == "Hoon, Rt Hon Geoff (Lab)")
	{
	emailAddress = "Hoong@parliament.uk";
	salutation = "Mr Hoon";
	}
	else if(name == "Hope, Phil (Lab/Co-op)")
	{
	emailAddress = "Hopep@parliament.uk";
	salutation = "Mr Hope";
	}
	else if(name == "Hopkins, Kelvin (Lab)")
	{
	emailAddress = "Hopkinsk@parliament.uk";
	salutation = "Mr Hopkins";
	}
	else if(name == "Horam, Mr John (Con)")
	{
	emailAddress = "Horamj@parliament.uk";
	salutation = "Mr Horam";
	}
	else if(name == "Horwood, Mr Martin (LD)")
	{
	emailAddress = "Horwoodm@parliament.uk";
	salutation = "Mr Horwood";
	}
	else if(name == "Hosie, Stewart (SNP)")
	{
	emailAddress = "Hosies@parliament.uk";
	salutation = "Mr Hosie";
	}
	else if(name == "Howard, Rt Hon Michael (Con)")
	{
	emailAddress = "Howardm@parliament.uk";
	salutation = "Mr Howard";
	}
	else if(name == "Howarth, David (LD)")
	{
	emailAddress = "Howarthd@parliament.uk";
	salutation = "Mr Howarth";
	}
	else if(name == "Howarth, Mr Gerald (Con)")
	{
	emailAddress = "geraldhowarth@parliament.uk";
	salutation = "Mr Howarth";
	}
	else if(name == "Howarth, Rt Hon George (Lab)")
	{
	emailAddress = "Howarthg@parliament.uk";
	salutation = "Mr Howarth";
	}
	else if(name == "Howell, John (Con)")
	{
	emailAddress = "howelljm@parliament.uk";
	salutation = "Mr Howell";
	}
	else if(name == "Howells, Rt Hon Dr Kim (Lab)")
	{
	emailAddress = "Howellsk@parliament.uk";
	salutation = "Dr Howells";
	}
	else if(name == "Hoyle, Mr Lindsay (Lab)")
	{
	emailAddress = "Hoylel@parliament.uk";
	salutation = "Mr Hoyle";
	}
	else if(name == "Hughes, Rt Hon Beverley (Lab)")
	{
	emailAddress = "Hughesb@parliament.uk";
	salutation = "Ms Hughes";
	}
	else if(name == "Hughes, Simon (LD)")
	{
	emailAddress = "Hughess@parliament.uk";
	salutation = "Mr Hughes";
	}
	else if(name == "Huhne, Chris (LD)")
	{
	emailAddress = "Huhnec@parliament.uk";
	salutation = "Mr Huhne";
	}
	else if(name == "Humble, Mrs Joan (Lab)")
	{
	emailAddress = "Humblej@parliament.uk";
	salutation = "Mrs Humble";
	}
	else if(name == "Hunt, Mr Jeremy (Con)")
	{
	emailAddress = "Huntj@parliament.uk";
	salutation = "Mr Hunt";
	}
	else if(name == "Hunter, Mark (LD)")
	{
	emailAddress = "woodbi@parliament.uk";
	salutation = "Mr Hunter";
	}
	else if(name == "Hurd, Mr Nick (Con)")
	{
	emailAddress = "Hurdn@parliament.uk";
	salutation = "Mr Hurd";
	}
	else if(name == "Hutton, Rt Hon John (Lab)")
	{
	emailAddress = "Huttonj@parliament.uk";
	salutation = "Mr Hutton";
	}
	else if(name == "Iddon, Dr Brian (Lab)")
	{
	emailAddress = "Iddonb@parliament.uk";
	salutation = "Mr Iddon";
	}
	else if(name == "Illsley, Mr Eric (Lab)")
	{
	emailAddress = "Illsleyr@parliament.uk";
	salutation = "Mr Illsley";
	}
	else if(name == "Ingram, Rt Hon Adam (Lab)")
	{
	emailAddress = "Ingrama@parliament.uk";
	salutation = "Mr Ingram";
	}
	else if(name == "Irranca-Davies, Huw (Lab)")
	{
	emailAddress = "Irranca-Daviesh@parliament.uk";
	salutation = "Mr Irranca-Davies";
	}
	else if(name == "Jack, Rt Hon Michael (Con)")
	{
	emailAddress = "Jackm@parliament.uk";
	salutation = "Mr Jack";
	}
	else if(name == "Jackson, Glenda (Lab)")
	{
	emailAddress = "Jacksong@parliament.uk";
	salutation = "Ms Jackson";
	}
	else if(name == "Jackson, Mr Stewart (Con)")
	{
	emailAddress = "Jacksons@parliament.uk";
	salutation = "Mr Jackson";
	}
	else if(name == "James, Mrs Siân C. (Lab)")
	{
	emailAddress = "Jamess@parliament.uk";
	salutation = "Mr James";
	}
	else if(name == "Jenkin, Mr Bernard (Con)")
	{
	emailAddress = "Jenkinb@parliament.uk";
	salutation = "Mr Jenkin";
	}
	else if(name == "Jenkins, Mr Brian (Lab)")
	{
	emailAddress = "Jenkinsb@parliament.uk";
	salutation = "Mr Jenkins";
	}
	else if(name == "Johnson, Ms Diana R. (Lab)")
	{
	emailAddress = "Johnsond@parliament.uk";
	salutation = "Ms Johnson";
	}
	else if(name == "Johnson, Rt Hon Alan (Lab)")
	{
	emailAddress = "Johnsona@parliament.uk";
	salutation = "Mr Johnson";
	}
	else if(name == "Jones, Helen (Lab)")
	{
	emailAddress = "jonesh@parliament.uk";
	salutation = "Ms Jones";
	}
	else if(name == "Jones, Lynne (Lab)")
	{
	emailAddress = "Jonesl@parliament.uk";
	salutation = "Ms Jones";
	}
	else if(name == "Jones, Mr David (Con)")
	{
	emailAddress = "Jonesd@parliament.uk";
	salutation = "Mr Jones";
	}
	else if(name == "Jones, Mr Kevan (Lab)")
	{
	emailAddress = "Jonesk@parliament.uk";
	salutation = "Mr Jones";
	}
	else if(name == "Jones, Mr Martyn (Lab)")
	{
	emailAddress = "Jonesm@parliament.uk";
	salutation = "Mr Jones";
	}
	else if(name == "Jowell, Rt Hon Tessa (Lab)")
	{
	emailAddress = "Jowellt@parliament.uk";
	salutation = "Ms Jowell";
	}
	else if(name == "Joyce, Eric (Lab)")
	{
	emailAddress = "Joycee@parliament.uk";
	salutation = "Mr Joyce";
	}
	else if(name == "Kaufman, Rt Hon Sir Gerald (Lab)")
	{
	emailAddress = "Kaufmang@parliament.uk";
	salutation = "Sir Gerald";
	}
	else if(name == "Kawczynski, Daniel (Con)")
	{
	emailAddress = "Kawczynskid@parliament.uk";
	salutation = "Mr Kawczynski";
	}
	else if(name == "Keeble, Ms Sally (Lab)")
	{
	emailAddress = "Keebles@parliament.uk";
	salutation = "Ms Keeble";
	}
	else if(name == "Keeley, Ms Barbara (Lab)")
	{
	emailAddress = "Keeleyb@parliament.uk";
	salutation = "Ms Keeley";
	}
	else if(name == "Keen, Alan (Lab/Co-op)")
	{
	emailAddress = "Keena@parliament.uk";
	salutation = "Mr Keen";
	}
	else if(name == "Keen, Ann (Lab)")
	{
	emailAddress = "Keena@parliament.uk";
	salutation = "Ms Keen";
	}
	else if(name == "Keetch, Mr Paul (LD)")
	{
	emailAddress = "Keetchp@parliament.uk";
	salutation = "Mr Keetch";
	}
	else if(name == "Kelly, Rt Hon Ruth (Lab)")
	{
	emailAddress = "Kellyr@parliament.uk";
	salutation = "Ms Kelly";
	}
	else if(name == "Kemp, Mr Fraser (Lab)")
	{
	emailAddress = "Kempf@parliament.uk";
	salutation = "Mr Kemp";
	}
	else if(name == "Kennedy, Rt Hon Charles (LD)")
	{
	emailAddress = "Kennedyc@parliament.uk";
	salutation = "Mr Kennedy";
	}
	else if(name == "Kennedy, Rt Hon Jane (Lab)")
	{
	emailAddress = "Kennedyj@parliament.uk";
	salutation = "Ms Kennedy";
	}
	else if(name == "Key, Robert (Con)")
	{
	emailAddress = "Keyr@parliament.uk";
	salutation = "Mr Key";
	}
	else if(name == "Khan, Rt Hon Sadiq (Lab)")
	{
	emailAddress = "Khans@parliament.uk";
	salutation = "Mr Khan";
	}
	else if(name == "Kidney, Mr David (Lab)")
	{
	emailAddress = "Kidneyd@parliament.uk";
	salutation = "Mr Kidney";
	}
	else if(name == "Kilfoyle, Mr Peter (Lab)")
	{
	emailAddress = "Kilfoylep@parliament.uk";
	salutation = "Mr Kilfoyle";
	}
	else if(name == "Kirkbride, Miss Julie (Con)")
	{
	emailAddress = "Kirkbridej@parliament.uk";
	salutation = "Miss Kirkbride";
	}
	else if(name == "Knight, Rt Hon Greg (Con)")
	{
	emailAddress = "Knightg@parliament.uk";
	salutation = "Mr Knight";
	}
	else if(name == "Knight, Rt Hon Jim (Lab)")
	{
	emailAddress = "Knightj@parliament.uk";
	salutation = "Mr Knight";
	}
	else if(name == "Kramer, Susan (LD)")
	{
	emailAddress = "Kramers@parliament.uk";
	salutation = "Ms Kramer";
	}
	else if(name == "Kumar, Dr Ashok (Lab)")
	{
	emailAddress = "Kumara@parliament.uk";
	salutation = "Dr Kumar";
	}
	else if(name == "Ladyman, Dr Stephen (Lab)")
	{
	emailAddress = "Ladymans@parliament.uk";
	salutation = "Dr Ladyman";
	}
	else if(name == "Laing, Mrs Eleanor (Con)")
	{
	emailAddress = "Lainge@parliament.uk";
	salutation = "Mrs Laing";
	}
	else if(name == "Lait, Mrs Jacqui (Con)")
	{
	emailAddress = "Laitj@parliament.uk";
	salutation = "Mrs Lait";
	}
	else if(name == "Lamb, Norman (LD)")
	{
	emailAddress = "Lambn@parliament.uk";
	salutation = "Mr Lamb";
	}
	else if(name == "Lammy, Rt Hon David (Lab)")
	{
	emailAddress = "Lammyd@parliament.uk";
	salutation = "Mr Lammy";
	}
	else if(name == "Lancaster, Mr Mark (Con)")
	{
	emailAddress = "Lancasterm@parliament.uk";
	salutation = "Mr Lancaster";
	}
	else if(name == "Lansley, Mr Andrew (Con)")
	{
	emailAddress = "Lansleya@parliament.uk";
	salutation = "Mr Lansley";
	}
	else if(name == "Laws, Mr David (LD)")
	{
	emailAddress = "Lawsd@parliament.uk";
	salutation = "Mr Laws";
	}
	else if(name == "Laxton, Mr Bob (Lab)")
	{
	emailAddress = "laxtonb@parliament.uk";
	salutation = "Mr Laxton";
	}
	else if(name == "Lazarowicz, Mark (Lab/Co-op)")
	{
	emailAddress = "Lazarowiczm@parliament.uk";
	salutation = "Mr Lazarowicz";
	}
	else if(name == "Leech, Mr John (LD)")
	{
	emailAddress = "Leechj@parliament.uk";
	salutation = "Mr Leech";
	}
	else if(name == "Leigh, Mr Edward (Con)")
	{
	emailAddress = "Leighe@parliament.uk";
	salutation = "Mr Leight";
	}
	else if(name == "Lepper, David (Lab/Co-op)")
	{
	emailAddress = "Lepperd@parliament.uk";
	salutation = "Mr Lepper";
	}
	else if(name == "Letwin, Rt Hon Oliver (Con)")
	{
	emailAddress = "Letwino@parliament.uk";
	salutation = "Mt Letwin";
	}
	else if(name == "Levitt, Tom (Lab)")
	{
	emailAddress = "Levittt@parliament.uk";
	salutation = "Mr Levitt";
	}
	else if(name == "Lewis, Dr Julian (Con)")
	{
	emailAddress = "Lewisj@parliament.uk";
	salutation = "Dr Lewis";
	}
	else if(name == "Lewis, Mr Ivan (Lab)")
	{
	emailAddress = "Lewisi@parliament.uk";
	salutation = "Mr Lewis";
	}
	else if(name == "Liddell-Grainger, Mr Ian (Con)")
	{
	emailAddress = "Liddell-Graingeri@parliament.uk";
	salutation = "Mr Liddell-Grainger";
	}
	else if(name == "Lidington, Mr David (Con)")
	{
	emailAddress = "Lidingtond@parliament.uk";
	salutation = "Mr Lidington";
	}
	else if(name == "Lilley, Rt Hon Peter (Con)")
	{
	emailAddress = "Lilleyp@parliament.uk";
	salutation = "Mr Lilley";
	}
	else if(name == "Linton, Martin (Lab)")
	{
	emailAddress = "Lintonm@parliament.uk";
	salutation = "Mr Linton";
	}
	else if(name == "Lloyd, Tony (Lab)")
	{
	emailAddress = "contact@tonylloydmp.co.uk";
	salutation = "Mr Lloyd";
	}
	else if(name == "Llwyd, Mr Elfyn (PC)")
	{
	emailAddress = "Llwyde@parliament.uk";
	salutation = "Mr Llwyd";
	}
	else if(name == "Lord, Sir Michael (DCWM)")
	{
	emailAddress = "Lordm@parliament.uk";
	salutation = "Sir Michael";
	}
	else if(name == "Loughton, Tim (Con)")
	{
	emailAddress = "Loughtont@parliament.uk";
	salutation = "Mr Loughton";
	}
	else if(name == "Love, Mr Andy (Lab/Co-op)")
	{
	emailAddress = "Lovea@parliament.uk";
	salutation = "Mr Love";
	}
	else if(name == "Lucas, Ian (Lab)")
	{
	emailAddress = "Lucasi@parliament.uk";
	salutation = "Mr Lucas";
	}
	else if(name == "Luff, Peter (Con)")
	{
	emailAddress = "Luffp@parliament.uk";
	salutation = "Mr Luff";
	}
	else if(name == "Mackay, Rt Hon Andrew (Con)")
	{
	emailAddress = "Mackaya@parliament.uk";
	salutation = "Mr Mackay";
	}
	else if(name == "Mackinlay, Andrew (Lab)")
	{
	emailAddress = "Mackinlaya@parliament.uk";
	salutation = "Mr Mackinlay";
	}
	else if(name == "Maclean, Rt Hon David (Con)")
	{
	emailAddress = "Macleand@parliament.uk";
	salutation = "Mr Maclean";
	}
	else if(name == "MacNeil, Mr Angus (SNP)")
	{
	emailAddress = "MacNeila@parliament.uk";
	salutation = "Mr MacNeil";
	}
	else if(name == "MacShane, Rt Hon Denis (Lab)")
	{
	emailAddress = "MacShaned@parliament.uk";
	salutation = "Mr MacShane";
	}
	else if(name == "Mactaggart, Fiona (Lab)")
	{
	emailAddress = "Mactaggartf@parliament.uk";
	salutation = "Ms Mactaggart";
	}
	else if(name == "Mahmood, Mr Khalid (Lab)")
	{
	emailAddress = "Mahmoodk@parliament.uk";
	salutation = "Mr Mahmood";
	}
	else if(name == "Main, Anne (Con)")
	{
	emailAddress = "Maina@parliament.uk";
	salutation = "Ms Main";
	}
	else if(name == "Malik, Mr Shahid (Lab)")
	{
	emailAddress = "Maliks@parliament.uk";
	salutation = "Mr Malik";
	}
	else if(name == "Malins, Mr Humfrey (Con)")
	{
	emailAddress = "Malinsh@parliament.uk";
	salutation = "Mr Malins";
	}
	else if(name == "Mallaber, Judy (Lab)")
	{
	emailAddress = "Mallaberj@parliament.uk";
	salutation = "Ms Mallaber";
	}
	else if(name == "Mann, John (Lab)")
	{
	emailAddress = "Mannj@parliament.uk";
	salutation = "Mr Mann";
	}
	else if(name == "Maples, Mr John (Con)")
	{
	emailAddress = "Maplesj@parliament.uk";
	salutation = "Mr Maples";
	}
	else if(name == "Marris, Rob (Lab)")
	{
	emailAddress = "Marrisr@parliament.uk";
	salutation = "Mr Marris";
	}
	else if(name == "Marsden, Mr Gordon (Lab)")
	{
	emailAddress = "Marsdeng@parliament.uk";
	salutation = "Mr Marsden";
	}
	else if(name == "Marshall-Andrews, Mr Robert (Lab)")
	{
	emailAddress = "Marshall-Andrewsr@parliament.uk";
	salutation = "Mr Marshall-Andrews";
	}
	else if(name == "Martlew, Mr Eric (Lab)")
	{
	emailAddress = "Martlewe@parliament.uk";
	salutation = "Mr Martlew";
	}
	else if(name == "Mason, John (SNP)")
	{
	emailAddress = "masonj@parliament.uk";
	salutation = "Mr Mason";
	}
	else if(name == "Mates, Rt Hon Michael (Con)")
	{
	emailAddress = "Matesm@parliament.uk";
	salutation = "Mr Mates";
	}
	else if(name == "Maude, Rt Hon Francis (Con)")
	{
	emailAddress = "Maudef@parliament.uk";
	salutation = "Mr Maude";
	}
	else if(name == "May, Rt Hon Theresa (Con)")
	{
	emailAddress = "Mayt@parliament.uk";
	salutation = "Ms May";
	}
	else if(name == "McAvoy, Rt Hon Thomas (Lab/Co-op)")
	{
	emailAddress = "McAvoyt@parliament.uk";
	salutation = "Mr McAvoy";
	}
	else if(name == "McCabe, Stephen (Lab)")
	{
	emailAddress = "McCabes@parliament.uk";
	salutation = "Mr McCabe";
	}
	else if(name == "McCafferty, Chris (Lab)")
	{
	emailAddress = "McCaffertyc@parliament.uk";
	salutation = "Mr McCafferty";
	}
	else if(name == "McCarthy, Kerry (Lab)")
	{
	emailAddress = "McCarthyk@parliament.uk";
	salutation = "Mr McCarthy";
	}
	else if(name == "McCarthy-Fry, Sarah (Lab)")
	{
	emailAddress = "McCarthy-Frys@parliament.uk";
	salutation = "Ms McCarthy-Fry";
	}
	else if(name == "McCartney, Rt Hon Ian (Lab)")
	{
	emailAddress = "McCartneyi@parliament.uk";
	salutation = "Mr McCartney";
	}
	else if(name == "McCrea, Rev Dr William (DU)")
	{
	emailAddress = "McCreaw@parliament.uk";
	salutation = "Dr McCrea";
	}
	else if(name == "McDonagh, Siobhain (Lab)")
	{
	emailAddress = "McDonaghs@parliament.uk";
	salutation = "Ms McDonagh";
	}
	else if(name == "McDonnell, Dr Alasdair (SDLP)")
	{
	emailAddress = "McDonnella@parliament.uk";
	salutation = "Dr McDonnell";
	}
	else if(name == "McDonnell, John (Lab)")
	{
	emailAddress = "McDonnellj@parliament.uk";
	salutation = "Mr McDonnell";
	}
	else if(name == "McFall, Rt Hon John (Lab/Co-op)")
	{
	emailAddress = "McFallj@parliament.uk";
	salutation = "Mr McFall";
	}
	else if(name == "McGovern, Mr Jim (Lab)")
	{
	emailAddress = "McGovernj@parliament.uk";
	salutation = "Mr McGovern";
	}
	else if(name == "McGrady, Mr Eddie (SDLP)")
	{
	emailAddress = "McGradye@parliament.uk";
	salutation = "Mr McGrady";
	}
	else if(name == "McGuinness, Mr Martin (SF)")
	{
	emailAddress = "McGuinnessm@parliament.uk";
	salutation = "Mr McGuiness";
	}
	else if(name == "McGuire, Rt Hon Anne (Lab)")
	{
	emailAddress = "McGuirea@parliament.uk";
	salutation = "Mr McGuire";
	}
	else if(name == "McIntosh, Miss Anne (Con)")
	{
	emailAddress = "McIntosha@parliament.uk";
	salutation = "Miss McIntosh";
	}
	else if(name == "McIsaac, Shona (Lab)")
	{
	emailAddress = "McIsaacs@parliament.uk";
	salutation = "Ms McIsaac";
	}
	else if(name == "McKechin, Ann (Lab)")
	{
	emailAddress = "McKechina@parliament.uk";
	salutation = "Ms McKechin";
	}
	else if(name == "McKenna, Rosemary (Lab)")
	{
	emailAddress = "McKennar@parliament.uk";
	salutation = "Ms McKEnna";
	}
	else if(name == "McLoughlin, Rt Hon Patrick (Con)")
	{
	emailAddress = "McLoughlinp@parliament.uk";
	salutation = "Mr McLoughlin";
	}
	else if(name == "McNulty, Rt Hon Tony (Lab)")
	{
	emailAddress = "McNultyt@parliament.uk";
	salutation = "Mr McNulty";
	}
	else if(name == "Meacher, Rt Hon Michael (Lab)")
	{
	emailAddress = "Meacherm@parliament.uk";
	salutation = "Mr Meacher";
	}
	else if(name == "Meale, Mr Alan (Lab)")
	{
	emailAddress = "Mealea@parliament.uk";
	salutation = "Mr Meale";
	}
	else if(name == "Mercer, Patrick (Con)")
	{
	emailAddress = "Mercerp@parliament.uk";
	salutation = "Mr Mercer";
	}
	else if(name == "Merron, Gillian (Lab)")
	{
	emailAddress = "Merrong@parliament.uk";
	salutation = "Mr Merron";
	}
	else if(name == "Michael, Rt Hon Alun (Lab/Co-op)")
	{
	emailAddress = "Michaela@parliament.uk";
	salutation = "Mr Michael";
	}
	else if(name == "Milburn, Rt Hon Alan (Lab)")
	{
	emailAddress = "Milburna@parliament.uk";
	salutation = "Mr Milburn";
	}
	else if(name == "Miliband, Rt Hon David (Lab)")
	{
	emailAddress = "Milibandd@parliament.uk";
	salutation = "Mr Miliband";
	}
	else if(name == "Miliband, Rt Hon Edward (Lab)")
	{
	emailAddress = "Milibande@parliament.uk";
	salutation = "Mr Miliband";
	}
	else if(name == "Miller, Andrew (Lab)")
	{
	emailAddress = "Millera@parliament.uk";
	salutation = "Mr Miller";
	}
	else if(name == "Miller, Mrs Maria (Con)")
	{
	emailAddress = "Millerm@parliament.uk";
	salutation = "Mrs Miller";
	}
	else if(name == "Milton, Anne (Con)")
	{
	emailAddress = "Miltona@parliament.uk";
	salutation = "Ms Milton";
	}
	else if(name == "Mitchell, Mr Andrew (Con)")
	{
	emailAddress = "Mitchella@parliament.uk";
	salutation = "Mr Mitchell";
	}
	else if(name == "Mitchell, Mr Austin (Lab)")
	{
	emailAddress = "Mitchella@parliament.uk";
	salutation = "Mr Mitchell";
	}
	else if(name == "Moffat, Anne (Lab)")
	{
	emailAddress = "Moffata@parliament.uk";
	salutation = "Ms Moffat";
	}
	else if(name == "Moffatt, Laura (Lab)")
	{
	emailAddress = "Moffattl@parliament.uk";
	salutation = "Ms Moffatt";
	}
	else if(name == "Mole, Chris (Lab)")
	{
	emailAddress = "Molec@parliament.uk";
	salutation = "Mr Mole";
	}
	else if(name == "Moon, Mrs Madeleine (Lab)")
	{
	emailAddress = "Moonm@parliament.uk";
	salutation = "Mrs Moon";
	}
	else if(name == "Moore, Mr Michael (LD)")
	{
	emailAddress = "Moorem@parliament.uk";
	salutation = "Mr Moore";
	}
	else if(name == "Moran, Margaret (Lab)")
	{
	emailAddress = "Moranm@parliament.uk";
	salutation = "Ms Moran";
	}
	else if(name == "Morden, Jessica (Lab)")
	{
	emailAddress = "Mordenj@parliament.uk";
	salutation = "Ms Morden";
	}
	else if(name == "Morgan, Julie (Lab)")
	{
	emailAddress = "Morganj@parliament.uk";
	salutation = "Ms Morgan";
	}
	else if(name == "Morley, Rt Hon Elliot (Lab)")
	{
	emailAddress = "Morleye@parliament.uk";
	salutation = "Mr Morley";
	}
	else if(name == "Moss, Mr Malcolm (Con)")
	{
	emailAddress = "Mossm@parliament.uk";
	salutation = "Mr Moss";
	}
	else if(name == "Mountford, Kali (Lab)")
	{
	emailAddress = "Mountfordk@parliament.uk";
	salutation = "Ms Mountford";
	}
	else if(name == "Mudie, Mr George (Lab)")
	{
	emailAddress = "Mudieg@parliament.uk";
	salutation = "Mr Mudie";
	}
	else if(name == "Mulholland, Greg (LD)")
	{
	emailAddress = "Mulhollandg@parliament.uk";
	salutation = "Mr Mulholland";
	}
	else if(name == "Mullin, Mr Chris (Lab)")
	{
	emailAddress = "Mullinc@parliament.uk";
	salutation = "Mr Mullin";
	}
	else if(name == "Mundell, David (Con)")
	{
	emailAddress = "Mundelld@parliament.uk";
	salutation = "Mr Mundell";
	}
	else if(name == "Munn, Meg (Lab/Co-op)")
	{
	emailAddress = "Munnm@parliament.uk";
	salutation = "Ms Munn";
	}
	else if(name == "Murphy, Conor (SF)")
	{
	emailAddress = "Murphyc@parliament.uk";
	salutation = "Mr Murphy";
	}
	else if(name == "Murphy, Mr Denis (Lab)")
	{
	emailAddress = "Murphyd@parliament.uk";
	salutation = "Mr Murphy";
	}
	else if(name == "Murphy, Rt Hon Jim (Lab)")
	{
	emailAddress = "Murphyj@parliament.uk";
	salutation = "Mr Murphy";
	}
	else if(name == "Murphy, Rt Hon Paul (Lab)")
	{
	emailAddress = "Murphyp@parliament.uk";
	salutation = "Mr Murphy";
	}
	else if(name == "Murrison, Dr Andrew (Con)")
	{
	emailAddress = "Murrisona@parliament.uk";
	salutation = "Dr Murrison";
	}
	else if(name == "Naysmith, Dr Doug (Lab/Co-op)")
	{
	emailAddress = "Naysmithd@parliament.uk";
	salutation = "Dr Naysmith";
	}
	else if(name == "Neill, Bob (Con)")
	{
	emailAddress = "neillb@parliament.uk";
	salutation = "Mr Neill";
	}
	else if(name == "Newmark, Mr Brooks (Con)")
	{
	emailAddress = "Newmarkb@parliament.uk";
	salutation = "Mr Brooks";
	}
	else if(name == "Norris, Dan (Lab)")
	{
	emailAddress = "Norrisd@parliament.uk";
	salutation = "Mr Norris";
	}
	else if(name == "Oaten, Mr Mark (LD)")
	{
	emailAddress = "Oatenm@parliament.uk";
	salutation = "Mr Oaten";
	}
	else if(name == "O'Brien, Mr Stephen (Con)")
	{
	emailAddress = "OBriens@parliament.uk";
	salutation = "Mr O'Brien";
	}
	else if(name == "O'Brien, Rt Hon Mike (Lab)")
	{
	emailAddress = "OBrienm@parliament.uk";
	salutation = "Mr O'Brien";
	}
	else if(name == "O'Hara, Mr Edward (Lab)")
	{
	emailAddress = "OHarae@parliament.uk";
	salutation = "Mr O'Hara";
	}
	else if(name == "Olner, Mr Bill (Lab)")
	{
	emailAddress = "Olnerb@parliament.uk";
	salutation = "Mr Olner";
	}
	else if(name == "Öpik, Lembit (LD)")
	{
	emailAddress = "Õpikl@parliament.uk";
	salutation = "Mr Lembit";
	}
	else if(name == "Osborne, Mr George (Con)")
	{
	emailAddress = "Osborneg@parliament.uk";
	salutation = "Mr Osborne";
	}
	else if(name == "Osborne, Sandra (Lab)")
	{
	emailAddress = "Osbornes@parliament.uk";
	salutation = "Ms Osborne";
	}
	else if(name == "Ottaway, Richard (Con)")
	{
	emailAddress = "Ottawayr@parliament.uk";
	salutation = "Mr Ottaway";
	}
	else if(name == "Owen, Albert (Lab)")
	{
	emailAddress = "Owena@parliament.uk";
	salutation = "Mr Owen";
	}
	else if(name == "Paice, Mr James (Con)")
	{
	emailAddress = "Paicej@parliament.uk";
	salutation = "Mr Paice";
	}
	else if(name == "Paisley, Rt Hon Ian (DU)")
	{
	emailAddress = "Paisleyi@parliament.uk";
	salutation = "Mr Paisley";
	}
	else if(name == "Palmer, Dr Nick (Lab)")
	{
	emailAddress = "Palmern@parliament.uk";
	salutation = "Dr Palmer";
	}
	else if(name == "Paterson, Mr Owen (Con)")
	{
	emailAddress = "Patersono@parliament.uk";
	salutation = "Mr Paterson";
	}
	else if(name == "Pearson, Ian (Lab)")
	{
	emailAddress = "Pearsoni@parliament.uk";
	salutation = "Mr Pearson";
	}
	else if(name == "Pelling, Mr Andrew (Ind)")
	{
	emailAddress = "Pellinga@parliament.uk";
	salutation = "Mr Pelling";
	}
	else if(name == "Penning, Mike (Con)")
	{
	emailAddress = "Penningm@parliament.uk";
	salutation = "Mr Penning";
	}
	else if(name == "Penrose, John (Con)")
	{
	emailAddress = "Penrosej@parliament.uk";
	salutation = "Mr Penrose";
	}
	else if(name == "Pickles, Mr Eric (Con)")
	{
	emailAddress = "Picklese@parliament.uk";
	salutation = "Mr Pickles";
	}
	else if(name == "Plaskitt, Mr James (Lab)")
	{
	emailAddress = "Plaskittj@parliament.uk";
	salutation = "Mr Plaskitt";
	}
	else if(name == "Pope, Mr Greg (Lab)")
	{
	emailAddress = "Popeg@parliament.uk";
	salutation = "Mr Pope";
	}
	else if(name == "Pound, Stephen (Lab)")
	{
	emailAddress = "Pounds@parliament.uk";
	salutation = "Mr Pound";
	}
	else if(name == "Prentice, Bridget (Lab)")
	{
	emailAddress = "Prenticeb@parliament.uk";
	salutation = "Ms Prentice";
	}
	else if(name == "Prentice, Mr Gordon (Lab)")
	{
	emailAddress = "Prenticeg@parliament.uk";
	salutation = "Mr Prentice";
	}
	else if(name == "Prescott, Rt Hon John (Lab)")
	{
	emailAddress = "Prescottj@parliament.uk";
	salutation = "Mr Prescott";
	}
	else if(name == "Price, Adam (PC)")
	{
	emailAddress = "Pricea@parliament.uk";
	salutation = "Mr Price";
	}
	else if(name == "Primarolo, Rt Hon Dawn (Lab)")
	{
	emailAddress = "Primarolod@parliament.uk";
	salutation = "Ms Primarolo";
	}
	else if(name == "Prisk, Mr Mark (Con)")
	{
	emailAddress = "Priskm@parliament.uk";
	salutation = "Mr Prisk";
	}
	else if(name == "Pritchard, Mark (Con)")
	{
	emailAddress = "Pritchardm@parliament.uk";
	salutation = "Mr Pritchard";
	}
	else if(name == "Prosser, Gwyn (Lab)")
	{
	emailAddress = "Prosserg@parliament.uk";
	salutation = "Mr Prosser";
	}
	else if(name == "Pugh, Dr John (LD)")
	{
	emailAddress = "Pughj@parliament.uk";
	salutation = "Dr Pugh";
	}
	else if(name == "Purchase, Mr Ken (Lab/Co-op)")
	{
	emailAddress = "Purchasek@parliament.uk";
	salutation = "Mr Purchase";
	}
	else if(name == "Purnell, Rt Hon James (Lab)")
	{
	emailAddress = "Purnellj@parliament.uk";
	salutation = "Mr Purnell";
	}
	else if(name == "Rammell, Bill (Lab)")
	{
	emailAddress = "Rammellb@parliament.uk";
	salutation = "Mr Rammell";
	}
	else if(name == "Randall, Mr John (Con)")
	{
	emailAddress = "Randallj@parliament.uk";
	salutation = "Mr Randall";
	}
	else if(name == "Raynsford, Rt Hon Nick (Lab)")
	{
	emailAddress = "Raynsfordn@parliament.uk";
	salutation = "Mr Raynsford";
	}
	else if(name == "Redwood, Rt Hon John (Con)")
	{
	emailAddress = "Redwoodj@parliament.uk";
	salutation = "Mr Redwood";
	}
	else if(name == "Reed, Mr Andy (Lab/Co-op)")
	{
	emailAddress = "Reeda@parliament.uk";
	salutation = "Mr Reed";
	}
	else if(name == "Reed, Mr Jamie (Lab)")
	{
	emailAddress = "Reedj@parliament.uk";
	salutation = "Mr Reed";
	}
	else if(name == "Reid, Mr Alan (LD)")
	{
	emailAddress = "Reida@parliament.uk";
	salutation = "Mr Reid";
	}
	else if(name == "Reid, Rt Hon John (Lab)")
	{
	emailAddress = "Reidj@parliament.uk";
	salutation = "Mr Reid";
	}
	else if(name == "Rennie, Willie (LD)")
	{
	emailAddress = "willie@dunfermlinelibdems.org.uk";
	salutation = "Mr Rennie";
	}
	else if(name == "Rifkind, Rt Hon Sir Malcolm (Con)")
	{
	emailAddress = "Rifkindm@parliament.uk +";
	salutation = "Sir Malcolm";
	}
	else if(name == "Riordan, Mrs Linda (Lab/Co-op)")
	{
	emailAddress = "Riordanl@parliament.uk";
	salutation = "Mrs Riordan";
	}
	else if(name == "Robathan, Mr Andrew (Con)")
	{
	emailAddress = "Robathana@parliament.uk";
	salutation = "Mr Robathan";
	}
	else if(name == "Robertson, Angus (SNP)")
	{
	emailAddress = "Robertsona@parliament.uk";
	salutation = "Mr Robertson";
	}
	else if(name == "Robertson, Hugh (Con)")
	{
	emailAddress = "Robertsonh@parliament.uk";
	salutation = "Mr Robertson";
	}
	else if(name == "Robertson, John (Lab)")
	{
	emailAddress = "Robertsonj@parliament.uk";
	salutation = "Mr Robertson";
	}
	else if(name == "Robertson, Mr Laurence (Con)")
	{
	emailAddress = "Robertsonl@parliament.uk";
	salutation = "Mr Robertson";
	}
	else if(name == "Robinson, Mr Geoffrey (Lab)")
	{
	emailAddress = "Robinsong@parliament.uk";
	salutation = "Mr Robinson";
	}
	else if(name == "Robinson, Mrs Iris (DU)")
	{
	emailAddress = "Robinsoni@parliament.uk";
	salutation = "Mrs Robinson";
	}
	else if(name == "Robinson, Rt Hon Peter (DU)")
	{
	emailAddress = "Robinsonp@parliament.uk";
	salutation = "Mr Robinson";
	}
	else if(name == "Rogerson, Dan (LD)")
	{
	emailAddress = "Rogersond@parliament.uk";
	salutation = "Mr Rogerson";
	}
	else if(name == "Rooney, Mr Terry (Lab)")
	{
	emailAddress = "Rooneyt@parliament.uk";
	salutation = "Mr Rooney";
	}
	else if(name == "Rosindell, Andrew (Con)")
	{
	emailAddress = "Rosindella@parliament.uk";
	salutation = "Mr Rosindell";
	}
	else if(name == "Rowen, Paul (LD)")
	{
	emailAddress = "Rowenp@parliament.uk";
	salutation = "Mr Rowen";
	}
	else if(name == "Roy, Lindsay (Lab)")
	{
	emailAddress = "royl@parliament.uk";
	salutation = "Mr Roy";
	}
	else if(name == "Roy, Mr Frank (Lab)")
	{
	emailAddress = "Royf@parliament.uk";
	salutation = "Mr Roy";
	}
	else if(name == "Ruane, Chris (Lab)")
	{
	emailAddress = "Ruanec@parliament.uk";
	salutation = "Mr Ruane";
	}
	else if(name == "Ruddock, Joan (Lab)")
	{
	emailAddress = "Ruddockj@parliament.uk";
	salutation = "Ms Ruddock";
	}
	else if(name == "Ruffley, Mr David (Con)")
	{
	emailAddress = "Ruffleyd@parliament.uk";
	salutation = "Mr Ruffley";
	}
	else if(name == "Russell, Bob (LD)")
	{
	emailAddress = "Russellb@parliament.uk";
	salutation = "Mr Russell";
	}
	else if(name == "Russell, Christine (Lab)")
	{
	emailAddress = "Russellc@parliament.uk";
	salutation = "Ms Russell";
	}
	else if(name == "Ryan, Rt Hon Joan (Lab)")
	{
	emailAddress = "Ryanj@parliament.uk";
	salutation = "Ms Ryan";
	}
	else if(name == "Salmond, Rt Hon Alex (SNP)")
	{
	emailAddress = "Salmonda@parliament.uk";
	salutation = "Mr Salmond";
	}
	else if(name == "Salter, Martin (Lab)")
	{
	emailAddress = "Salterm@parliament.uk";
	salutation = "Mr Salter";
	}
	else if(name == "Sanders, Mr Adrian (LD)")
	{
	emailAddress = "Sandersa@parliament.uk";
	salutation = "Mr Sanders";
	}
	else if(name == "Sarwar, Mr Mohammad (Lab)")
	{
	emailAddress = "Sarwarm@parliament.uk";
	salutation = "Mr Sarwar";
	}
	else if(name == "Scott, Mr Lee (Con)")
	{
	emailAddress = "Scottl@parliament.uk";
	salutation = "Mr Scott";
	}
	else if(name == "Seabeck, Alison (Lab)")
	{
	emailAddress = "Seabecka@parliament.uk";
	salutation = "Ms Seabeck";
	}
	else if(name == "Selous, Andrew (Con)")
	{
	emailAddress = "Selousa@parliament.uk";
	salutation = "Mr Selous";
	}
	else if(name == "Shapps, Grant (Con)")
	{
	emailAddress = "Shappsg@parliament.uk";
	salutation = "Mr Shapps";
	}
	else if(name == "Sharma, Virendra (Lab)")
	{
	emailAddress = "sharmav@parliament.uk ";
	salutation = "Mr Sharma";
	}
	else if(name == "Shaw, Jonathan (Lab)")
	{
	emailAddress = "Shawj@parliament.uk";
	salutation = "Mr Shaw";
	}
	else if(name == "Sheerman, Mr Barry (Lab/Co-op)")
	{
	emailAddress = "Sheermanb@parliament.uk";
	salutation = "Mr Sheerman";
	}
	else if(name == "Shepherd, Mr Richard (Con)")
	{
	emailAddress = "Shepherdr@parliament.uk";
	salutation = "Mr Shepherd";
	}
	else if(name == "Sheridan, Jim (Lab)")
	{
	emailAddress = "Sheridanj@parliament.uk";
	salutation = "Mr Sheridan";
	}
	else if(name == "Short, Rt Hon Clare (Ind Lab)")
	{
	emailAddress = "Shortc@parliament.uk";
	salutation = "Ms Short";
	}
	else if(name == "Simmonds, Mark (Con)")
	{
	emailAddress = "Simmondsm@parliament.uk";
	salutation = "Mr Simmonds";
	}
	else if(name == "Simon, Mr Siôn (Lab)")
	{
	emailAddress = "Simons@parliament.uk";
	salutation = "Mr Simon";
	}
	else if(name == "Simpson, Alan (Lab)")
	{
	emailAddress = "Simpsona@parliament.uk";
	salutation = "Mr Simpson";
	}
	else if(name == "Simpson, David (DU)")
	{
	emailAddress = "Simpsond@parliament.uk";
	salutation = "Mr Simpson";
	}
	else if(name == "Simpson, Mr Keith (Con)")
	{
	emailAddress = "keithsimpsonmp@parliament.uk";
	salutation = "Mr Simpson";
	}
	else if(name == "Singh, Mr Marsha (Lab)")
	{
	emailAddress = "Singhm@parliament.uk";
	salutation = "Mr Singh";
	}
	else if(name == "Skinner, Mr Dennis (Lab)")
	{
	emailAddress = "Skinnerd@parliament.uk";
	salutation = "Mr Skinner";
	}
	else if(name == "Slaughter, Mr Andy (Lab)")
	{
	emailAddress = "Slaughtera@parliament.uk";
	salutation = "Mr Slaughter";
	}
	else if(name == "Smith, Chloe (Con)")
	{
	emailAddress = "chloe@chloesmith.org.uk";
	salutation = "Ms Smith";
	}
	else if(name == "Smith, Geraldine (Lab)")
	{
	emailAddress = "Smithg@parliament.uk";
	salutation = "Ms Smith";
	}
	else if(name == "Smith, John (Lab)")
	{
	emailAddress = "Smithj@parliament.uk";
	salutation = "Mr Smith";
	}
	else if(name == "Smith, Ms Angela C. (Lab)")
	{
	emailAddress = "smithac@parliament.uk";
	salutation = "Ms Smith";
	}
	else if(name == "Smith, Rt Hon Andrew (Lab)")
	{
	emailAddress = "andrewsmith.mp@virgin.net";
	salutation = "Mr Smith";
	}
	else if(name == "Smith, Rt Hon Angela, E. (Lab/Co-op)")
	{
	emailAddress = "Smitha@parliament.uk";
	salutation = "Ms Smith";
	}
	else if(name == "Smith, Rt Hon Jacqui (Lab)")
	{
	emailAddress = "Smithjj@parliament.uk";
	salutation = "Ms Smith";
	}
	else if(name == "Smith, Sir Robert (LD)")
	{
	emailAddress = "Smithr@parliament.uk";
	salutation = "Mr Smith";
	}
	else if(name == "Snelgrove, Anne (Lab)")
	{
	emailAddress = "Snelgrovea@parliament.uk";
	salutation = "Ms Snelgrove";
	}
	else if(name == "Soames, Hon Nicholas (Con)")
	{
	emailAddress = "Soamesn@parliament.uk";
	salutation = "Mr Soames";
	}
	else if(name == "Soulsby, Sir Peter (Lab)")
	{
	emailAddress = "Soulsbyp@parliament.uk";
	salutation = "Mr Soulsby";
	}
	else if(name == "Southworth, Helen (Lab)")
	{
	emailAddress = "Southworthh@parliament.uk";
	salutation = "Ms Southworth";
	}
	else if(name == "Spellar, Rt Hon John (Lab)")
	{
	emailAddress = "Spellarj@parliament.uk";
	salutation = "Mr Spellar";
	}
	else if(name == "Spelman, Mrs Caroline (Con)")
	{
	emailAddress = "Spelmanc@parliament.uk";
	salutation = "Mrs Spelman";
	}
	else if(name == "Spicer, Sir Michael (Con)")
	{
	emailAddress = "Spicerm@parliament.uk";
	salutation = "Mr Spicer";
	}
	else if(name == "Spink, Bob (Ind)")
	{
	emailAddress = "Spinkb@parliament.uk";
	salutation = "Mr Spink";
	}
	else if(name == "Spring, Mr Richard (Con)")
	{
	emailAddress = "Springr@parliament.uk";
	salutation = "Mr Spring";
	}
	else if(name == "Stanley, Rt Hon Sir John (Con)")
	{
	emailAddress = "Stanleyj@parliament.uk";
	salutation = "Mr Stanley";
	}
	else if(name == "Starkey, Dr Phyllis (Lab)")
	{
	emailAddress = "Starkeyp@parliament.uk";
	salutation = "Dr Starkey";
	}
	else if(name == "Steen, Mr Anthony (Con)")
	{
	emailAddress = "Steena@parliament.uk";
	salutation = "Mr Steen";
	}
	else if(name == "Stewart, Ian (Lab)")
	{
	emailAddress = "Stewarti@parliament.uk";
	salutation = "Mr Stewart";
	}
	else if(name == "Stoate, Dr Howard (Lab)")
	{
	emailAddress = "Stoateh@parliament.uk";
	salutation = "Dr Stoate";
	}
	else if(name == "Strang, Rt Hon Gavin (Lab)")
	{
	emailAddress = "Strangg@parliament.uk";
	salutation = "Mr Strang";
	}
	else if(name == "Straw, Rt Hon Jack (Lab)")
	{
	emailAddress = "Strawj@parliament.uk";
	salutation = "Mr Straw";
	}
	else if(name == "Streeter, Mr Gary (Con)")
	{
	emailAddress = "Streeterg@parliament.uk";
	salutation = "Mr Streeter";
	}
	else if(name == "Stringer, Graham (Lab)")
	{
	emailAddress = "Stringerg@parliament.uk";
	salutation = "Mr Stringer";
	}
	else if(name == "Stuart, Mr Graham (Con)")
	{
	emailAddress = "Stuartg@parliament.uk";
	salutation = "Mr Stuart";
	}
	else if(name == "Stuart, Ms Gisela (Lab)")
	{
	emailAddress = "Stuartg@parliament.uk";
	salutation = "Ms Stuart";
	}
	else if(name == "Stunell, Andrew (LD)")
	{
	emailAddress = "Stunella@parliament.uk";
	salutation = "Mr Stunell";
	}
	else if(name == "Sutcliffe, Mr Gerry (Lab)")
	{
	emailAddress = "Sutcliffeg@parliament.uk";
	salutation = "Mr Sutcliffe";
	}
	else if(name == "Swayne, Mr Desmond (Con)")
	{
	emailAddress = "Swayned@parliament.uk";
	salutation = "Mr Swayne";
	}
	else if(name == "Swinson, Jo (LD)")
	{
	emailAddress = "Swinsonj@parliament.uk";
	salutation = "Ms Swinson";
	}
	else if(name == "Swire, Mr Hugo (Con)")
	{
	emailAddress = "Swireh@parliament.uk";
	salutation = "Mr Swire";
	}
	else if(name == "Syms, Mr Robert (Con)")
	{
	emailAddress = "Symsr@parliament.uk";
	salutation = "Mr Syms";
	}
	else if(name == "Tami, Mark (Lab)")
	{
	emailAddress = "Tamim@parliament.uk";
	salutation = "Mr Tami";
	}
	else if(name == "Tapsell, Sir Peter (Con)")
	{
	emailAddress = "Tapsellp@parliament.uk";
	salutation = "Mr Tapsell";
	}
	else if(name == "Taylor, David (Lab/Co-op)")
	{
	emailAddress = "taylordl@parliament.uk";
	salutation = "Mr Taylor";
	}
	else if(name == "Taylor, Dr Richard (Ind)")
	{
	emailAddress = "Taylorr@parliament.uk";
	salutation = "Dr Taylor";
	}
	else if(name == "Taylor, Matthew (LD)")
	{
	emailAddress = "Taylorm@parliament.uk";
	salutation = "Mr Taylor";
	}
	else if(name == "Taylor, Mr Ian (Con)")
	{
	emailAddress = "Taylori@parliament.uk";
	salutation = "Mr Taylor";
	}
	else if(name == "Taylor, Ms Dari (Lab)")
	{
	emailAddress = "dari.taylor.mp@parliament.uk";
	salutation = "Ms Taylor";
	}
	else if(name == "Teather, Sarah (LD)")
	{
	emailAddress = "Teathers@parliament.uk";
	salutation = "Ms Teather";
	}
	else if(name == "Thomas, Mr Gareth (Lab/Co-op)")
	{
	emailAddress = "Thomasg@parliament.uk";
	salutation = "Mr Thomas";
	}
	else if(name == "Thornberry, Ms Emily (Lab)")
	{
	emailAddress = "Thornberrye@parliament.uk";
	salutation = "Ms Thornberry";
	}
	else if(name == "Thurso, John (LD)")
	{
	emailAddress = "Thursoj@parliament.uk";
	salutation = "Mr Thurson";
	}
	else if(name == "Timms, Rt Hon Stephen (Lab)")
	{
	emailAddress = "Timmss@parliament.uk";
	salutation = "Mr Timms";
	}
	else if(name == "Timpson, Edward (Con)")
	{
	emailAddress = "timpsone@parliament.uk";
	salutation = "Mr Timpson";
	}
	else if(name == "Tipping, Paddy (Lab)")
	{
	emailAddress = "Tippingp@parliament.uk";
	salutation = "Mr Tipping";
	}
	else if(name == "Todd, Mr Mark (Lab)")
	{
	emailAddress = "Toddm@parliament.uk";
	salutation = "Mr Toadd";
	}
	else if(name == "Touhig, Rt Hon Don (Lab/Co-op)")
	{
	emailAddress = "Touhigd@parliament.uk";
	salutation = "Mr Touhig";
	}
	else if(name == "Tredinnick, David (Con)")
	{
	emailAddress = "Tredinnickd@parliament.uk";
	salutation = "Mr Tredinnick";
	}
	else if(name == "Trickett, Jon (Lab)")
	{
	emailAddress = "Trickettj@parliament.uk";
	salutation = "Mr Trickett";
	}
	else if(name == "Truswell, Mr Paul (Lab)")
	{
	emailAddress = "Truswellp@parliament.uk";
	salutation = "Mr Truswell";
	}
	else if(name == "Turner, Dr Desmond (Lab)")
	{
	emailAddress = "Turnerd@parliament.uk";
	salutation = "Dr Turner";
	}
	else if(name == "Turner, Mr Andrew (Con)")
	{
	emailAddress = "Turnera@parliament.uk";
	salutation = "Mr Turner";
	}
	else if(name == "Turner, Mr Neil (Lab)")
	{
	emailAddress = "Turnern@parliament.uk";
	salutation = "Mr Turner";
	}
	else if(name == "Twigg, Derek (Lab)")
	{
	emailAddress = "Twiggd@parliament.uk";
	salutation = "Mr Twigg";
	}
	else if(name == "Tyrie, Mr Andrew (Con)")
	{
	emailAddress = "Tyriea@parliament.uk";
	salutation = "Mr Tyrie";
	}
	else if(name == "Ussher, Kitty (Lab)")
	{
	emailAddress = "Ussherk@parliament.uk";
	salutation = "Ms Ussher";
	}
	else if(name == "Vaizey, Mr Edward (Con)")
	{
	emailAddress = "Vaizeye@parliament.uk";
	salutation = "Mr Viazey";
	}
	else if(name == "Vara, Mr Shailesh (Con)")
	{
	emailAddress = "Varas@parliament.uk";
	salutation = "Mr Vara";
	}
	else if(name == "Vaz, Rt Hon Keith (Lab)")
	{
	emailAddress = "Vazk@parliament.uk";
	salutation = "Mr Vaz";
	}
	else if(name == "Viggers, Sir Peter (Con)")
	{
	emailAddress = "Viggersp@parliament.uk";
	salutation = "Mr Viggers";
	}
	else if(name == "Villiers, Mrs Theresa (Con)")
	{
	emailAddress = "theresa@theresavilliers.co.uk";
	salutation = "Mrs Villiers";
	}
	else if(name == "Vis, Dr Rudi (Lab)")
	{
	emailAddress = "Visr@parliament.uk";
	salutation = "Dr Vis";
	}
	else if(name == "Walker, Mr Charles (Con)")
	{
	emailAddress = "Walkerc@parliament.uk";
	salutation = "Mr Walker";
	}
	else if(name == "Wallace, Mr Ben (Con)")
	{
	emailAddress = "Wallaceb@parliament.uk";
	salutation = "Mr Wallace";
	}
	else if(name == "Walley, Joan (Lab)")
	{
	emailAddress = "Walleyj@parliament.uk";
	salutation = "Ms Walley";
	}
	else if(name == "Walter, Mr Robert (Con)")
	{
	emailAddress = "Walterr@parliament.uk";
	salutation = "Mr Walter";
	}
	else if(name == "Waltho, Lynda (Lab)")
	{
	emailAddress = "Walthol@parliament.uk";
	salutation = "Ms Waltho";
	}
	else if(name == "Ward, Claire (Lab)")
	{
	emailAddress = "Wardc@parliament.uk";
	salutation = "Ms Ward";
	}
	else if(name == "Wareing, Mr Robert N. (Ind)")
	{
	emailAddress = "Wareingr@parliament.uk";
	salutation = "Mr Wareing";
	}
	else if(name == "Waterson, Mr Nigel (Con)")
	{
	emailAddress = "Watersonn@parliament.uk";
	salutation = "Mr Waterson";
	}
	else if(name == "Watkinson, Angela (Con)")
	{
	emailAddress = "Watkinsona@parliament.uk";
	salutation = "Ms Watkinson";
	}
	else if(name == "Watson, Mr Tom (Lab)")
	{
	emailAddress = "Watsont@parliament.uk";
	salutation = "Mr Watson";
	}
	else if(name == "Watts, Mr Dave (Lab)")
	{
	emailAddress = "Wattsd@parliament.uk";
	salutation = "Mr Watts";
	}
	else if(name == "Webb, Prof Steve (LD)")
	{
	emailAddress = "Webbs@parliament.uk";
	salutation = "Professor Webb";
	}
	else if(name == "Weir, Mr Mike (SNP)")
	{
	emailAddress = "Weirm@parliament.uk";
	salutation = "Mr Weir";
	}
	else if(name == "Whitehead, Dr Alan (Lab)")
	{
	emailAddress = "Whiteheada@parliament.uk";
	salutation = "Dr Whitehead";
	}
	else if(name == "Whittingdale, Mr John (Con)")
	{
	emailAddress = "Whittingdalej@parliament.uk";
	salutation = "Mr Whittingdale";
	}
	else if(name == "Wicks, Rt Hon Malcolm (Lab)")
	{
	emailAddress = "Wicksm@parliament.uk";
	salutation = "Mr Wicks";
	}
	else if(name == "Widdecombe, Rt Hon Ann (Con)")
	{
	emailAddress = "Widdecombea@parliament.uk";
	salutation = "Ms Widdecombe";
	}
	else if(name == "Wiggin, Bill (Con)")
	{
	emailAddress = "Wigginb@parliament.uk";
	salutation = "Mr Wiggin";
	}
	else if(name == "Willetts, Mr David (Con)")
	{
	emailAddress = "Willettsd@parliament.uk";
	salutation = "Mr Willetts";
	}
	else if(name == "Williams, Hywel (PC)")
	{
	emailAddress = "Williamsh@parliament.uk";
	salutation = "Mr Williams";
	}
	else if(name == "Williams, Mark (LD)")
	{
	emailAddress = "Williamsm@parliament.uk";
	salutation = "Mr Williams";
	}
	else if(name == "Williams, Mr Roger (LD)")
	{
	emailAddress = "Williamsr@parliament.uk";
	salutation = "Mr Williams";
	}
	else if(name == "Williams, Mrs Betty (Lab)")
	{
	emailAddress = "Williamsb@parliament.uk";
	salutation = "Mrs Williams";
	}
	else if(name == "Williams, Rt Hon Alan (Lab)")
	{
	emailAddress = "Williamsa@parliament.uk";
	salutation = "Mr Williams";
	}
	else if(name == "Williams, Stephen (LD)")
	{
	emailAddress = "Williamss@parliament.uk";
	salutation = "Mr Williams";
	}
	else if(name == "Willis, Mr Phil (LD)")
	{
	emailAddress = "Willisp@parliament.uk";
	salutation = "Mr Willis";
	}
	else if(name == "Willott, Jenny (LD)")
	{
	emailAddress = "Willottj@parliament.uk";
	salutation = "Ms Willott";
	}
	else if(name == "Wills, Rt Hon Michael (Lab)")
	{
	emailAddress = "Willsm@parliament.uk";
	salutation = "Mr Wills";
	}
	else if(name == "Wilshire, Mr David (Con)")
	{
	emailAddress = "Wilshired@parliament.uk";
	salutation = "Mr Wilshire";
	}
	else if(name == "Wilson, Mr Rob (Con)")
	{
	emailAddress = "Wilsonr@parliament.uk";
	salutation = "Mr Wilson";
	}
	else if(name == "Wilson, Phil (Lab)")
	{
	emailAddress = "wilsonp@parliament.uk";
	salutation = "Mr Wilson";
	}
	else if(name == "Wilson, Sammy (DU)")
	{
	emailAddress = "Wilsons@parliament.uk";
	salutation = "Mr Wilson";
	}
	else if(name == "Winnick, Mr David (Lab)")
	{
	emailAddress = "Winnickd@parliament.uk";
	salutation = "Mr Winnick";
	}
	else if(name == "Winterton, Ann (Con)")
	{
	emailAddress = "Wintertona@parliament.uk";
	salutation = "Ms Winterton";
	}
	else if(name == "Winterton, Rt Hon Rosie (Lab)")
	{
	emailAddress = "Wintertonr@parliament.uk";
	salutation = "Ms Winterton";
	}
	else if(name == "Winterton, Sir Nicholas (Con)")
	{
	emailAddress = "Wintertonn@parliament.uk";
	salutation = "Sir Nicholas";
	}
	else if(name == "Wishart, Pete (SNP)")
	{
	emailAddress = "Wishartp@parliament.uk";
	salutation = "Mr Wishart";
	}
	else if(name == "Wood, Mike (Lab)")
	{
	emailAddress = "Woodm@parliament.uk";
	salutation = "Mr Wood";
	}
	else if(name == "Woodward, Rt Hon Shaun (Lab)")
	{
	emailAddress = "Woodwards@parliament.uk";
	salutation = "Mr Woodward";
	}
	else if(name == "Woolas, Mr Phil (Lab)")
	{
	emailAddress = "Woolasp@parliament.uk";
	salutation = "Mr Woolas";
	}
	else if(name == "Wright, David (Lab)")
	{
	emailAddress = "Wrightd@parliament.uk";
	salutation = "Mr Wright";
	}
	else if(name == "Wright, Dr Tony (Lab)")
	{
	emailAddress = "Wrightt@parliament.uk";
	salutation = "Dr Wright";
	}
	else if(name == "Wright, Jeremy (Con)")
	{
	emailAddress = "Wrightj@parliament.uk";
	salutation = "Mr Wright";
	}
	else if(name == "Wright, Mr Anthony (Lab)")
	{
	emailAddress = "Wrighta@parliament.uk";
	salutation = "Mr Wright";
	}
	else if(name == "Wright, Mr Iain (Lab)")
	{
	emailAddress = "Wrighti@parliament.uk";
	salutation = "Mr Wright";
	}
	else if(name == "Wyatt, Derek (Lab)")
	{
	emailAddress = "Wyattd@parliament.uk";
	salutation = "Mr Wyatt";
	}
	else if(name == "Yeo, Mr Tim (Con)")
	{
	emailAddress = "Yeot@parliament.uk";
	salutation = "Mr Yeo";
	}
	else if(name == "Young, Rt Hon Sir George (Con)")
	{
	emailAddress = "Youngg@parliament.uk";
	salutation = "Sir George";
	}
	else if(name == "Younger-Ross, Richard (LD)")
	{
	emailAddress = "Younger-Rossr@parliament.uk";
	salutation = "Mr Younger-Ross";
	}
	
	$("#mpsSalutation").html(salutation);
	$("#mpsEmailAddress").html(emailAddress);
	$("#mpsEmailHiddenField").val(emailAddress);

}

function GetEmailAndSalutationByConstituency()
{	
	name = $("#mpName").val();
	constituency = $("#constituency").val();	
	
	
	if(constituency == "Custody Minefield")
	{
	emailAddress = "joethetoad@aol.com";
	salutation = "Lord Robinson";
	}
	else if(constituency == "Happy Cow")
	{
	emailAddress = "bigpeteh@gmail.com";
	salutation = "Maestro Hughes";
	}	
	else if(constituency == "Hackney North & Stoke Newington")
	{
	emailAddress = "Abbottd@parliament.uk";
	salutation = "Ms Abbott";
	}
	else if(constituency == "Belfast West")
	{
	emailAddress = "Adamsg@parliament.uk";
	salutation = "Mr Adams";
	}
	else if(constituency == "Windsor")
	{
	emailAddress = "Afriyiea@parliament.uk";
	salutation = "Mr Afiyie";
	}
	else if(constituency == "Carmarthen West & South Pembrokeshire")
	{
	emailAddress = "Aingern@parliament.uk";
	salutation = "Mr Ainger";
	}
	else if(constituency == "East Surrey")
	{
	emailAddress = "Ainsworthp@parliament.uk";
	salutation = "Mr Ainsworth";
	}
	else if(constituency == "Coventry North East")
	{
	emailAddress = "Ainsworthr@parliament.uk";
	salutation = "Mr Ainsworth";
	}
	else if(constituency == "Inverness, Nairn, Badenoch & Strathspey")
	{
	emailAddress = "Alexanderd@parliament.uk";
	salutation = "Mr Alexander";
	}
	else if(constituency == "Paisley & Renfrewshire South")
	{
	emailAddress = "Alexanderd@parliament.uk";
	salutation = "Mr Alexander";
	}
	else if(constituency == "Nottingham North")
	{
	emailAddress = "Alleng@parliament.uk";
	salutation = "Mr Allen";
	}
	else if(constituency == "Southend West")
	{
	emailAddress = "Amessd@parliament.uk";
	salutation = "Mr Amess";
	}
	else if(constituency == "Devizes")
	{
	emailAddress = "Ancramm@parliament.uk";
	salutation = "Lord Ancram";
	}
	else if(constituency == "Rossendale & Darwen")
	{
	emailAddress = "Andersonj@parliament.uk";
	salutation = "Mrs Anderson";
	}
	else if(constituency == "Blaydon")
	{
	emailAddress = "Andersond@parliament.uk";
	salutation = "Mr Anderson";
	}
	else if(constituency == "North East Hampshire")
	{
	emailAddress = "Arbuthnotj@parliament.uk";
	salutation = "Mr Arbuthnot";
	}
	else if(constituency == "North West Durham")
	{
	emailAddress = "Armstrongh@parliament.uk";
	salutation = "Mr Armstron";
	}
	else if(constituency == "Staffordshire Moorlands")
	{
	emailAddress = "Atkinsc@parliament.uk";
	salutation = "Ms Atkins";
	}
	else if(constituency == "Hexham")
	{
	emailAddress = "Atkinsonp@parliament.uk";
	salutation = "Mr Atkinson";
	}
	else if(constituency == "Erith & Thamesmead")
	{
	emailAddress = "Austinj@parliament.uk";
	salutation = "Mr Austin";
	}
	else if(constituency == "Dudley North")
	{
	emailAddress = "Austini@parliament.uk";
	salutation = "Mr Austin";
	}
	else if(constituency == "South Norfolk")
	{
	emailAddress = "Baconr@parliament.uk";
	salutation = "Mr Bacon";
	}
	else if(constituency == "West Bromwich West")
	{
	emailAddress = "Baileya@parliament.uk";
	salutation = "Mr Bailey";
	}
	else if(constituency == "Redcar")
	{
	emailAddress = "Bairdv@parliament.uk";
	salutation = "Ms Baird";
	}
	else if(constituency == "Lewes")
	{
	emailAddress = "Bakern@parliament.uk";
	salutation = "Mr Baker";
	}
	else if(constituency == "Banbury")
	{
	emailAddress = "Baldryt@parliament.uk";
	salutation = "Mr Baldry";
	}
	else if(constituency == "Normanton")
	{
	emailAddress = "Ballse@parliament.uk";
	salutation = "Mr Balls";
	}
	else if(constituency == "Ochil & South Perthshire")
	{
	emailAddress = "Banksg@parliament.uk";
	salutation = "Mr Banks";
	}
	else if(constituency == "Bexhill & Battle")
	{
	emailAddress = "Barkerg@parliament.uk";
	salutation = "Mr Barker";
	}
	else if(constituency == "Hove")
	{
	emailAddress = "Barlowc@parliament.uk";
	salutation = "Ms Barlow";
	}
	else if(constituency == "Billericay")
	{
	emailAddress = "Baronj@parliament.uk";
	salutation = "Mr Baron";
	}
	else if(constituency == "Edinburgh West")
	{
	emailAddress = "Barrettj@parliament.uk";
	salutation = "Mr Barrett";
	}
	else if(constituency == "Rother Valley")
	{
	emailAddress = "Barronk@parliament.uk";
	salutation = "Mr Barron";
	}
	else if(constituency == "Leeds West")
	{
	emailAddress = "Battlej@parliament.uk";
	salutation = "Mr Battle";
	}
	else if(constituency == "York, City of")
	{
	emailAddress = "Bayleyh@parliament.uk";
	salutation = "Mr Bayley";
	}
	else if(constituency == "Derby South")
	{
	emailAddress = "Beckettm@parliament.uk";
	salutation = "Ms Hodge";
	}
	else if(constituency == "Aberdeen South")
	{
	emailAddress = "Begga@parliament.uk";
	salutation = "Miss Begg";
	}
	else if(constituency == "Berwick-upon-Tweed")
	{
	emailAddress = "Beitha@parliament.uk";
	salutation = "Mr Beith";
	}
	else if(constituency == "Middlesbrough")
	{
	emailAddress = "Bells@parliament.uk";
	salutation = "Sir Stuart";
	}
	else if(constituency == "North West Norfolk")
	{
	emailAddress = "Bellinghamh@parliament.uk";
	salutation = "Mr Bellingham";
	}
	else if(constituency == "Leeds Central")
	{
	emailAddress = "Bennh@parliament.uk";
	salutation = "Mr Benn";
	}
	else if(constituency == "Bootle")
	{
	emailAddress = "Bentonj@parliament.uk";
	salutation = "Mr Benton";
	}
	else if(constituency == "Newbury")
	{
	emailAddress = "Benyonr@parliament.uk";
	salutation = "Mr Benyon";
	}
	else if(constituency == "Buckingham")
	{
	emailAddress = "Bercowj@parliament.uk";
	salutation = "Mr Bercow";
	}
	else if(constituency == "Mole Valley")
	{
	emailAddress = "Beresfordp@parliament.uk";
	salutation = "Sir Paul";
	}
	else if(constituency == "Kingswood")
	{
	emailAddress = "Berryr@parliament.uk";
	salutation = "Dr Berry";
	}
	else if(constituency == "Sheffield, Attercliffe")
	{
	emailAddress = "Bettsc@parliament.uk";
	salutation = "Mr Betts";
	}
	else if(constituency == "Northampton South")
	{
	emailAddress = "Binleyb@parliament.uk";
	salutation = "Mr Binley";
	}
	else if(constituency == "Erewash")
	{
	emailAddress = "Blackmanl@parliament.uk";
	salutation = "Ms Blackman";
	}
	else if(constituency == "Durham, City of")
	{
	emailAddress = "Blackman-Woodsr@parliament.uk";
	salutation = "Dr Blackman-Woods";
	}
	else if(constituency == "Salford")
	{
	emailAddress = "Blearsh@parliament.uk";
	salutation = "Ms Blears";
	}
	else if(constituency == "Waveney")
	{
	emailAddress = "Blizzardr@parliament.uk";
	salutation = "Mr Blizzard";
	}
	else if(constituency == "Sheffield, Brightside")
	{
	emailAddress = "Blunkettd@parliament.uk";
	salutation = "Mr Blunkett";
	}
	else if(constituency == "Reigate")
	{
	emailAddress = "Bluntc@parliament.uk";
	salutation = "Mr Blunt";
	}
	else if(constituency == "Wellingborough")
	{
	emailAddress = "Bonep@parliament.uk";
	salutation = "Mr Bone";
	}
	else if(constituency == "South Ribble")
	{
	emailAddress = "Borrowd@parliament.uk";
	salutation = "Mr Borrow";
	}
	else if(constituency == "Daventry")
	{
	emailAddress = "Boswellt@parliament.uk";
	salutation = "Mr Boswell";
	}
	else if(constituency == "Worthing West")
	{
	emailAddress = "Bottomleyp@parliament.uk";
	salutation = "Mr Bottomley";
	}
	else if(constituency == "Exeter")
	{
	emailAddress = "Bradshawb@parliament.uk";
	salutation = "Mr Bradshaw";
	}
	else if(constituency == "Altrincham & Sale West")
	{
	emailAddress = "Bradyg@parliament.uk";
	salutation = "Mr Brady";
	}
	else if(constituency == "Carshalton & Wallington")
	{
	emailAddress = "Braket@parliament.uk";
	salutation = "Mr Brake";
	}
	else if(constituency == "Canterbury")
	{
	emailAddress = "Brazierj@parliament.uk";
	salutation = "Mr Brazier";
	}
	else if(constituency == "South East Cornwall")
	{
	emailAddress = "Breedc@parliament.uk";
	salutation = "Mr Breed";
	}
	else if(constituency == "Cardiff West")
	{
	emailAddress = "Brennank@parliament.uk";
	salutation = "Mr Brennan";
	}
	else if(constituency == "Hornchurch")
	{
	emailAddress = "Brokenshirej@parliament.uk";
	salutation = "Mr Brokenshire";
	}
	else if(constituency == "Mid Dorset & North Poole")
	{
	emailAddress = "Brookea@parliament.uk";
	salutation = "Ms Brooke";
	}
	else if(constituency == "West Ham")
	{
	emailAddress = "Brownl@parliament.uk";
	salutation = "Ms Brown";
	}
	else if(constituency == "Dumfries & Galloway")
	{
	emailAddress = "Brownr@parliament.uk";
	salutation = "Mr Brown";
	}
	else if(constituency == "Kirkcaldy & Cowdenbeath")
	{
	emailAddress = "Browng@parliament.uk";
	salutation = "Mr Brown";
	}
	else if(constituency == "Newcastle upon Tyne East & Wallsend")
	{
	emailAddress = "Brownn@parliament.uk";
	salutation = "Mr Brown";
	}
	else if(constituency == "Taunton")
	{
	emailAddress = "Brownej@parliament.uk";
	salutation = "Mr Browne";
	}
	else if(constituency == "Kilmarnock & Loudoun")
	{
	emailAddress = "Browned@parliament.uk";
	salutation = "Mr Browne";
	}
	else if(constituency == "Tiverton & Honiton")
	{
	emailAddress = "Browninga@parliament.uk";
	salutation = "Ms Browning";
	}
	else if(constituency == "Gordon")
	{
	emailAddress = "Brucem@parliament.uk";
	salutation = "Mr Bruce";
	}
	else if(constituency == "Rhondda")
	{
	emailAddress = "Bryantc@parliament.uk";
	salutation = "Mr Bryant";
	}
	else if(constituency == "Regent's Park & Kensington North")
	{
	emailAddress = "Buckk@parliament.uk";
	salutation = "Ms Bucks";
	}
	else if(constituency == "Birmingham, Northfield")
	{
	emailAddress = "Burdenr@parliament.uk";
	salutation = "Mr Burden";
	}
	else if(constituency == "Elmet")
	{
	emailAddress = "Burgonc@parliament.uk";
	salutation = "Mr Burgon";
	}
	else if(constituency == "Leigh")
	{
	emailAddress = "Burnhama@parliament.uk";
	salutation = "Mr Burnham";
	}
	else if(constituency == "West Chelmsford")
	{
	emailAddress = "Burnsa@parliament.uk";
	salutation = "Mr Burns";
	}
	else if(constituency == "Enfield, Southgate")
	{
	emailAddress = "Burrowesd@parliament.uk";
	salutation = "Mr Burrowes";
	}
	else if(constituency == "Sutton & Cheam")
	{
	emailAddress = "Burstowp@parliament.uk";
	salutation = "Mr Burstow";
	}
	else if(constituency == "North East Bedfordshire")
	{
	emailAddress = "Burta@parliament.uk";
	salutation = "Mr Burt";
	}
	else if(constituency == "Solihull")
	{
	emailAddress = "Burtl@parliament.uk";
	salutation = "Ms Burt";
	}
	else if(constituency == "Brent South")
	{
	emailAddress = "Butlerd@parliament.uk";
	salutation = "Ms Dawn";
	}
	else if(constituency == "Bournemouth West")
	{
	emailAddress = "Butterfillj@parliament.uk";
	salutation = "Sir John";
	}
	else if(constituency == "North Tyneside")
	{
	emailAddress = "Byerss@parliament.uk";
	salutation = "Mr Byers";
	}
	else if(constituency == "Birmingham, Hodge Hill")
	{
	emailAddress = "Byrnel@parliament.uk";
	salutation = "Mr Byrne";
	}
	else if(constituency == "Twickenham")
	{
	emailAddress = "Cablev@parliament.uk";
	salutation = "Dr Cable";
	}
	else if(constituency == "Sheffield Central")
	{
	emailAddress = "Cabornr@parliament.uk";
	salutation = "Mr Caborn";
	}
	else if(constituency == "Inverclyde")
	{
	emailAddress = "Cairnsd@parliament.uk";
	salutation = "Mr Cairns";
	}
	else if(constituency == "Witney")
	{
	emailAddress = "Camerond@parliament.uk";
	salutation = "Mr Camerson";
	}
	else if(constituency == "Tynemouth")
	{
	emailAddress = "Campbella@parliament.uk";
	salutation = "Mr Campbell";
	}
	else if(constituency == "East Londonderry")
	{
	emailAddress = "Campbellg@parliament.uk";
	salutation = "Mr Campbell";
	}
	else if(constituency == "Blyth Valley")
	{
	emailAddress = "Campbellr@parliament.uk";
	salutation = "Mr Campbell";
	}
	else if(constituency == "North East Fife")
	{
	emailAddress = "Campbellm@parliament.uk";
	salutation = "Sir Menzies";
	}
	else if(constituency == "Orkney & Shetland")
	{
	emailAddress = "Carmichaela@parliament.uk";
	salutation = "Mr Carmichael";
	}
	else if(constituency == "Harwich")
	{
	emailAddress = "Carswelld@parliament.uk";
	salutation = "Mr Carswell";
	}
	else if(constituency == "Stone")
	{
	emailAddress = "Cashw@parliament.uk";
	salutation = "Mr Cash";
	}
	else if(constituency == "Gower")
	{
	emailAddress = "Catonm@parliament.uk";
	salutation = "Mr Caton";
	}
	else if(constituency == "Brigg & Goole")
	{
	emailAddress = "Cawseyi@parliament.uk";
	salutation = "Mr Cawsey";
	}
	else if(constituency == "Morley & Rothwell")
	{
	emailAddress = "Challenc@parliament.uk";
	salutation = "Mr Challen";
	}
	else if(constituency == "Wirral South")
	{
	emailAddress = "Chapmanb@parliament.uk";
	salutation = "Mr Chapman";
	}
	else if(constituency == "Bury North")
	{
	emailAddress = "Chaytord@parliament.uk";
	salutation = "Mr Chaytor";
	}
	else if(constituency == "Christchurch")
	{
	emailAddress = "Chopec@parliament.uk";
	salutation = "Mr Chope";
	}
	else if(constituency == "Barnsley West & Penistone")
	{
	emailAddress = "Claphamm@parliament.uk";
	salutation = "Mr Clapham";
	}
	else if(constituency == "Hertsmere")
	{
	emailAddress = "Clappisonj@parliament.uk";
	salutation = "Mr Clappison";
	}
	else if(constituency == "Tunbridge Wells")
	{
	emailAddress = "Clarkg@parliament.uk";
	salutation = "Mr Clark";
	}
	else if(constituency == "North Ayrshire & Arran")
	{
	emailAddress = "Clarkk@parliament.uk";
	salutation = "Ms Clark";
	}
	else if(constituency == "Gillingham")
	{
	emailAddress = "Clarkp@parliament.uk";
	salutation = "Mr Clark";
	}
	else if(constituency == "Norwich South")
	{
	emailAddress = "Clarkec@parliament.uk";
	salutation = "Mr Clarke";
	}
	else if(constituency == "Rushcliffe")
	{
	emailAddress = "Clarkek@parliament.uk";
	salutation = "Mr Clarke";
	}
	else if(constituency == "Coatbridge, Chryston & Bellshill")
	{
	emailAddress = "Clarket@parliament.uk";
	salutation = "Mr Clarke";
	}
	else if(constituency == "Sheffield, Hallam")
	{
	emailAddress = "Cleggn@parliament.uk";
	salutation = "Mr Clegg";
	}
	else if(constituency == "Tyne Bridge")
	{
	emailAddress = "Clellandd@parliament.uk";
	salutation = "Mr Clelland";
	}
	else if(constituency == "Cotswold")
	{
	emailAddress = "Clifton-Browng@parliament.uk";
	salutation = "Mr Clifton-Brown";
	}
	else if(constituency == "Cynon Valley")
	{
	emailAddress = "Clwyda@parliament.uk";
	salutation = "Ms Clwyd";
	}
	else if(constituency == "Gedling")
	{
	emailAddress = "Coakerv@parliament.uk";
	salutation = "Mr Coaker";
	}
	else if(constituency == "Stockport")
	{
	emailAddress = "Coffeya@parliament.uk";
	salutation = "Ms Coffey";
	}
	else if(constituency == "Leyton & Wanstead")
	{
	emailAddress = "Cohenh@parliament.uk";
	salutation = "Mr Cohen";
	}
	else if(constituency == "Linlithgow & East Falkirk")
	{
	emailAddress = "Connartym@parliament.uk";
	salutation = "Mr Connarty";
	}
	else if(constituency == "Old Bexley & Sidcup")
	{
	emailAddress = "Conwayd@parliament.uk";
	salutation = "Mr Conway";
	}
	else if(constituency == "Stockton North")
	{
	emailAddress = "Cookf@parliament.uk";
	salutation = "Mr Cook";
	}
	else if(constituency == "West Lancashire")
	{
	emailAddress = "Cooperr@parliament.uk";
	salutation = "Ms Cooper";
	}
	else if(constituency == "Pontefract & Castleford")
	{
	emailAddress = "Coopery@parliament.uk";
	salutation = "Ms Cooper";
	}
	else if(constituency == "Islington North")
	{
	emailAddress = "Corbynj@parliament.uk";
	salutation = "Mr Corbyn";
	}
	else if(constituency == "South Staffordshire")
	{
	emailAddress = "Cormackp@parliament.uk";
	salutation = "Sir Patrick";
	}
	else if(constituency == "Newcastle upon Tyne Central")
	{
	emailAddress = "Cousinsj@parliament.uk";
	salutation = "Mr Cousins";
	}
	else if(constituency == "Torridge & West Devon")
	{
	emailAddress = "Coxg@parliament.uk";
	salutation = "Mr Cox";
	}
	else if(constituency == "Preseli Pembrokeshire")
	{
	emailAddress = "Crabbs@parliament.uk";
	salutation = "Mr Crabb";
	}
	else if(constituency == "Bolton North East")
	{
	emailAddress = "Crausbyd@parliament.uk";
	salutation = "Mr Crausby";
	}
	else if(constituency == "Wakefield")
	{
	emailAddress = "Creaghm@parliament.uk";
	salutation = "Ms Creagh";
	}
	else if(constituency == "Dagenham")
	{
	emailAddress = "Cruddasj@parliament.uk";
	salutation = "Mr Cruddas";
	}
	else if(constituency == "Keighley")
	{
	emailAddress = "Cryera@parliament.uk";
	salutation = "Mrs Cryer";
	}
	else if(constituency == "Easington")
	{
	emailAddress = "Cummingsj@parliament.uk";
	salutation = "Mr Cummings";
	}
	else if(constituency == "Coventry South")
	{
	emailAddress = "Cunninghamj@parliament.uk";
	salutation = "Mr Cunningham";
	}
	else if(constituency == "Workington")
	{
	emailAddress = "Cunninghamt@parliament.uk";
	salutation = "Mr Cunningham";
	}
	else if(constituency == "Skipton & Ripon")
	{
	emailAddress = "Curryd@parliament.uk";
	salutation = "Mr Curry";
	}
	else if(constituency == "Crosby")
	{
	emailAddress = "Curtis-Thomasc@parliament.uk";
	salutation = "Mrs Curtis-Thomas";
	}
	else if(constituency == "Edinburgh South West")
	{
	emailAddress = "Darlinga@parliament.uk";
	salutation = "Mr Darling";
	}
	else if(constituency == "Kingston & Surbiton")
	{
	emailAddress = "Daveye@parliament.uk";
	salutation = "Mr Davey";
	}
	else if(constituency == "Caerphilly")
	{
	emailAddress = "Davidw@parliament.uk";
	salutation = "Mr David";
	}
	else if(constituency == "Glasgow South West")
	{
	emailAddress = "Davidsoni@parliament.uk";
	salutation = "Mr Davidson";
	}
	else if(constituency == "Blaenau Gwent")
	{
	emailAddress = "daviesdc@parliament.uk";
	salutation = "Mr Davies";
	}
	else if(constituency == "Monmouth")
	{
	emailAddress = "Daviesd@parliament.uk";
	salutation = "Mr Davies";
	}
	else if(constituency == "Grantham & Stamford")
	{
	emailAddress = "Daviesq@parliament.uk";
	salutation = "Mr Davies";
	}
	else if(constituency == "Shipley")
	{
	emailAddress = "Daviesp@parliament.uk";
	salutation = "Mr Davies";
	}
	else if(constituency == "Haltemprice & Howden")
	{
	emailAddress = "Davisd@parliament.uk";
	salutation = "Mr Davis";
	}
	else if(constituency == "Burton")
	{
	emailAddress = "Deanj@parliament.uk";
	salutation = "Mrs Dean";
	}
	else if(constituency == "Southampton, Itchen")
	{
	emailAddress = "Denhamj@parliament.uk";
	salutation = "Mr Denham";
	}
	else if(constituency == "Livingston")
	{
	emailAddress = "john@johndenham.org.uk";
	salutation = "Mr Devine";
	}
	else if(constituency == "Gloucester")
	{
	emailAddress = "Dhandap@parliament.uk";
	salutation = "Mr Dhanda";
	}
	else if(constituency == "Hendon")
	{
	emailAddress = "Dismorea@parliament.uk";
	salutation = "Mr Dismore";
	}
	else if(constituency == "Huntingdon")
	{
	emailAddress = "Djanoglyj@parliament.uk";
	salutation = "Mr Djanogly";
	}
	else if(constituency == "Heywood & Middleton")
	{
	emailAddress = "Dobbinj@parliament.uk";
	salutation = "Mr Dobbin";
	}
	else if(constituency == "Holborn & St Pancras")
	{
	emailAddress = "Dobsonf@parliament.uk";
	salutation = "Mr Dobson";
	}
	else if(constituency == "Belfast North")
	{
	emailAddress = "Doddsn@parliament.uk";
	salutation = "Mr Dodds";
	}
	else if(constituency == "West Tyrone")
	{
	emailAddress = "Dohertyp@parliament.uk";
	salutation = "Mr Doherty";
	}
	else if(constituency == "Lagan Valley")
	{
	emailAddress = "Donaldsonj@parliament.uk";
	salutation = "Mr Donaldson";
	}
	else if(constituency == "Central Ayrshire")
	{
	emailAddress = "Donohoeb@parliament.uk";
	salutation = "Mr Donohoe";
	}
	else if(constituency == "Aberdeen North")
	{
	emailAddress = "Doranf@parliament.uk";
	salutation = "Mr Doran";
	}
	else if(constituency == "Charnwood")
	{
	emailAddress = "Dorrells@parliament.uk";
	salutation = "Mr Dorrell";
	}
	else if(constituency == "Mid Bedfordshire")
	{
	emailAddress = "Dorriesn@parliament.uk";
	salutation = "Ms Dorries";
	}
	else if(constituency == "Lewisham West")
	{
	emailAddress = "Dowdj@parliament.uk";
	salutation = "Mr Dowd";
	}
	else if(constituency == "Stroud")
	{
	emailAddress = "Drewd@parliament.uk";
	salutation = "Mr Drew";
	}
	else if(constituency == "Rochford & Southend East")
	{
	emailAddress = "Duddridgej@parliament.uk";
	salutation = "Mr Duddridge";
	}
	else if(constituency == "Chingford & Woodford Green")
	{
	emailAddress = "ids@conservatives.com";
	salutation = "Mr Duncan Smith";
	}
	else if(constituency == "Rutland & Melton")
	{
	emailAddress = "Duncana@parliament.uk";
	salutation = "Mr Duncan";
	}
	else if(constituency == "Ludlow")
	{
	emailAddress = "Dunnep@parliament.uk";
	salutation = "Mr Dunne";
	}
	else if(constituency == "Foyle")
	{
	emailAddress = "Durkanm@parliament.uk";
	salutation = "Mr Durkan";
	}
	else if(constituency == "Wallasey")
	{
	emailAddress = "Eaglea@parliament.uk";
	salutation = "Ms Eagle";
	}
	else if(constituency == "Liverpool, Garston")
	{
	emailAddress = "Eaglem@parliament.uk";
	salutation = "Ms Eagle";
	}
	else if(constituency == "Eltham")
	{
	emailAddress = "Effordc@parliament.uk";
	salutation = "Mr Efford";
	}
	else if(constituency == "Liverpool, Riverside")
	{
	emailAddress = "Ellmanl@parliament.uk";
	salutation = "Mrs Ellman";
	}
	else if(constituency == "Bournemouth East")
	{
	emailAddress = "Ellwoodt@parliament.uk";
	salutation = "Mr Ellwood";
	}
	else if(constituency == "North East Derbyshire")
	{
	emailAddress = "Engeln@parliament.uk";
	salutation = "Mrs Engel";
	}
	else if(constituency == "Barnsley East & Mexborough")
	{
	emailAddress = "Ennisj@parliament.uk";
	salutation = "Mr Ennis";
	}
	else if(constituency == "Sunderland North")
	{
	emailAddress = "Etheringtonb@parliament.uk";
	salutation = "Mr Etherington";
	}
	else if(constituency == "Ribble Valley")
	{
	emailAddress = "Evansn@parliament.uk";
	salutation = "Mr Evans";
	}
	else if(constituency == "Bexleyheath & Crayford")
	{
	emailAddress = "Evennettd@parliament.uk";
	salutation = "Mr Evennett";
	}
	else if(constituency == "Lichfield")
	{
	emailAddress = "Fabricantm@parliament.uk";
	salutation = "Mr Fabricant";
	}
	else if(constituency == "Sevenoaks")
	{
	emailAddress = "Fallonm@parliament.uk";
	salutation = "Mr Fallon";
	}
	else if(constituency == "Newcastle-under-Lyme")
	{
	emailAddress = "Farrellyp@parliament.uk";
	salutation = "Mr Farrelly";
	}
	else if(constituency == "Westmorland & Lonsdale")
	{
	emailAddress = "Farront@parliament.uk";
	salutation = "Mr Farron";
	}
	else if(constituency == "Hornsey & Wood Green")
	{
	emailAddress = "Featherstonel@parliament.uk";
	salutation = "Ms Featherstone";
	}
	else if(constituency == "Cities of London & Westminster")
	{
	emailAddress = "Fieldm@parliament.uk";
	salutation = "Mr Field";
	}
	else if(constituency == "Birkenhead")
	{
	emailAddress = "Fieldf@parliament.uk";
	salutation = "Mr Field";
	}
	else if(constituency == "Stoke-on-Trent Central")
	{
	emailAddress = "Fisherm@parliament.uk";
	salutation = "Mr Fisher";
	}
	else if(constituency == "Poplar & Canning Town")
	{
	emailAddress = "Fitzpatrickj@parliament.uk";
	salutation = "Mr Fitzpatrick";
	}
	else if(constituency == "Stoke-on-Trent South")
	{
	emailAddress = "Flellor@parliament.uk";
	salutation = "Mr Flello";
	}
	else if(constituency == "Don Valley")
	{
	emailAddress = "Flintc@parliament.uk";
	salutation = "Ms Flint";
	}
	else if(constituency == "Newport West")
	{
	emailAddress = "Flynnp@parliament.uk";
	salutation = "Mr Flynn";
	}
	else if(constituency == "Stevenage")
	{
	emailAddress = "Follettb@parliament.uk";
	salutation = "Ms Follett";
	}
	else if(constituency == "Worcester")
	{
	emailAddress = "Fosterm@parliament.uk";
	salutation = "Mr Foster";
	}
	else if(constituency == "Hastings & Rye")
	{
	emailAddress = "Fosterm@parliament.uk";
	salutation = "Mr Foster";
	}
	else if(constituency == "Bath")
	{
	emailAddress = "Fosterd@parliament.uk";
	salutation = "Mr Foster";
	}
	else if(constituency == "Woodspring")
	{
	emailAddress = "Foxl@parliament.uk";
	salutation = "Dr Fox";
	}
	else if(constituency == "Aberavon")
	{
	emailAddress = "Francish@parliament.uk";
	salutation = "Dr Francis";
	}
	else if(constituency == "Rayleigh")
	{
	emailAddress = "francoism@parliament.uk";
	salutation = "Dr Francois";
	}
	else if(constituency == "South West Norfolk")
	{
	emailAddress = "Fraserc@parliament.uk";
	salutation = "Mr Fraser";
	}
	else if(constituency == "North Thanet")
	{
	emailAddress = "Galer@parliament.uk";
	salutation = "Mr Gale";
	}
	else if(constituency == "Bethnal Green & Bow")
	{
	emailAddress = "Gallowayg@parliament.uk";
	salutation = "Mr Galloway";
	}
	else if(constituency == "Ilford South")
	{
	emailAddress = "Gapesm@parliament.uk";
	salutation = "Mr Gapes";
	}
	else if(constituency == "Brent North")
	{
	emailAddress = "Gardinerb@parliament.uk";
	salutation = "Mr Gardiner";
	}
	else if(constituency == "Harborough")
	{
	emailAddress = "Garniere@parliament.uk";
	salutation = "Mr Garnier";
	}
	else if(constituency == "South West Hertfordshire")
	{
	emailAddress = "Gauked@parliament.uk";
	salutation = "Mr Gauke";
	}
	else if(constituency == "St Ives")
	{
	emailAddress = "Georgea@parliament.uk";
	salutation = "Mr George";
	}
	else if(constituency == "Walsall South")
	{
	emailAddress = "Georgeb@parliament.uk";
	salutation = "Mr George";
	}
	else if(constituency == "Walthamstow")
	{
	emailAddress = "Gerrardn@parliament.uk";
	salutation = "Mr Gerrard";
	}
	else if(constituency == "Bognor Regis & Littlehampton")
	{
	emailAddress = "Gibbn@parliament.uk";
	salutation = "Mr Gibb";
	}
	else if(constituency == "Romsey")
	{
	emailAddress = "Gidleys@parliament.uk";
	salutation = "Ms Gidley";
	}
	else if(constituency == "Fermanagh & South Tyrone")
	{
	emailAddress = "Gildernewm@parliament.uk";
	salutation = "Ms Gildernew";
	}
	else if(constituency == "Chesham & Amersham")
	{
	emailAddress = "Gillanc@parliament.uk";
	salutation = "Mrs Gillan";
	}
	else if(constituency == "Plymouth, Sutton")
	{
	emailAddress = "Gilroyl@parliament.uk";
	salutation = "Ms Gilroy";
	}
	else if(constituency == "Birmingham, Sparkbrook & Small Heath")
	{
	emailAddress = "Godsiffr@parliament.uk";
	salutation = "Mr Godsiff";
	}
	else if(constituency == "Wythenshawe & Sale East")
	{
	emailAddress = "Gogginsp@parliament.uk";
	salutation = "Mr Goggins";
	}
	else if(constituency == "Falmouth & Camborne")
	{
	emailAddress = "Goldsworthyj@parliament.uk";
	salutation = "Ms Goldsworthy";
	}
	else if(constituency == "Bishop Auckland")
	{
	emailAddress = "Goodmanh@parliament.uk";
	salutation = "Ms Goodman";
	}
	else if(constituency == "Wycombe")
	{
	emailAddress = "Goodmanp@parliament.uk";
	salutation = "Mr Goodman";
	}
	else if(constituency == "Scarborough & Whitby")
	{
	emailAddress = "Goodwillr@parliament.uk";
	salutation = "Mr Goodwill";
	}
	else if(constituency == "Surrey Heath")
	{
	emailAddress = "Govem@parliament.uk";
	salutation = "Mr Gove";
	}
	else if(constituency == "North Wiltshire")
	{
	emailAddress = "Grayj@parliament.uk";
	salutation = "Mr Gray";
	}
	else if(constituency == "Epsom & Ewell")
	{
	emailAddress = "Graylingc@parliament.uk";
	salutation = "Mr Grayling";
	}
	else if(constituency == "Ashford")
	{
	emailAddress = "Greend@parliament.uk";
	salutation = "Mr Green";
	}
	else if(constituency == "Putney")
	{
	emailAddress = "Greeningj@parliament.uk";
	salutation = "Ms Greening";
	}
	else if(constituency == "Ryedale")
	{
	emailAddress = "Greenwayj@parliament.uk";
	salutation = "Mr Greenway";
	}
	else if(constituency == "Beaconsfield")
	{
	emailAddress = "Grieved@parliament.uk";
	salutation = "Mr Grieve";
	}
	else if(constituency == "Llanelli")
	{
	emailAddress = "Griffithn@parliament.uk";
	salutation = "Ms Griffiths";
	}
	else if(constituency == "Edinburgh South")
	{
	emailAddress = "Griffithsn@parliament.uk";
	salutation = "Mr Griffiths";
	}
	else if(constituency == "Selby")
	{
	emailAddress = "Groganj@parliament.uk";
	salutation = "Mr Grogan";
	}
	else if(constituency == "Suffolk Coastal")
	{
	emailAddress = "Gummerj@parliament.uk";
	salutation = "Mr Gummer";
	}
	else if(constituency == "Denton & Reddish")
	{
	emailAddress = "Gwynnea@parliament.uk";
	salutation = "Mr Gwynne";
	}
	else if(constituency == "Richmond (Yorks)")
	{
	emailAddress = "Haguew@parliament.uk";
	salutation = "Mr Hague";
	}
	else if(constituency == "Neath")
	{
	emailAddress = "Hainp@parliament.uk";
	salutation = "Mr Hain";
	}
	else if(constituency == "Weaver Vale")
	{
	emailAddress = "Hallm@parliament.uk";
	salutation = "Mr Hall";
	}
	else if(constituency == "Bedford")
	{
	emailAddress = "Hallp@parliament.uk";
	salutation = "Mr Hall";
	}
	else if(constituency == "Midlothian")
	{
	emailAddress = "Hamiltond@parliament.uk";
	salutation = "Mr Hamilton";
	}
	else if(constituency == "Leeds North East")
	{
	emailAddress = "Hamiltonf@parliament.uk";
	salutation = "Mr Hamilton";
	}
	else if(constituency == "Runnymede & Weybridge")
	{
	emailAddress = "Hammondp@parliament.uk";
	salutation = "Mr Hammond";
	}
	else if(constituency == "Wimbledon")
	{
	emailAddress = "Hammonds@parliament.uk";
	salutation = "Mr Hammond";
	}
	else if(constituency == "Portsmouth South")
	{
	emailAddress = "Hancockm@parliament.uk";
	salutation = "Mr Hancock";
	}
	else if(constituency == "Hammersmith & Fulham")
	{
	emailAddress = "Handsg@parliament.uk";
	salutation = "Mr Hands";
	}
	else if(constituency == "Delyn")
	{
	emailAddress = "Hansond@parliament.uk";
	salutation = "Mr Hanson";
	}
	else if(constituency == "Camberwell & Peckham")
	{
	emailAddress = "Harmanh@parliament.uk";
	salutation = "Ms Harman";
	}
	else if(constituency == "Forest of Dean")
	{
	emailAddress = "Harperm@parliament.uk";
	salutation = "Mr Harper";
	}
	else if(constituency == "Oxford West & Abingdon")
	{
	emailAddress = "Harrise@parliament.uk";
	salutation = "Dr Evans";
	}
	else if(constituency == "Glasgow South")
	{
	emailAddress = "Harrist@parliament.uk";
	salutation = "Mr Harris";
	}
	else if(constituency == "North Devon")
	{
	emailAddress = "Harveyn@parliament.uk";
	salutation = "Mr Harvey";
	}
	else if(constituency == "Saffron Walden")
	{
	emailAddress = "Haselhursta@parliament.uk";
	salutation = "Sir Alan";
	}
	else if(constituency == "Merthyr Tydfil & Rhymney")
	{
	emailAddress = "Havardd@parliament.uk";
	salutation = "Mr Harvard";
	}
	else if(constituency == "South Holland & The Deepings")
	{
	emailAddress = "Hayesj@parliament.uk";
	salutation = "Mr Hayes";
	}
	else if(constituency == "Halesowen & Rowley Regis")
	{
	emailAddress = "Heals@parliament.uk";
	salutation = "Ms Heal";
	}
	else if(constituency == "North East Hertfordshire")
	{
	emailAddress = "Healdo@parliament.uk";
	salutation = "Mr Heald";
	}
	else if(constituency == "Wentworth")
	{
	emailAddress = "Healeyj@parliament.uk";
	salutation = "Mr Healey";
	}
	else if(constituency == "Somerton & Frome")
	{
	emailAddress = "Heathd@parliament.uk";
	salutation = "Mr Heath";
	}
	else if(constituency == "Wells")
	{
	emailAddress = "Heathcoat-Amoryd@parliament.uk";
	salutation = "Mr Heathcoat-Amory";
	}
	else if(constituency == "Birmingham, Yardley")
	{
	emailAddress = "Hemmingj@parliament.uk";
	salutation = "Mr Hemming";
	}
	else if(constituency == "Newcastle upon Tyne North")
	{
	emailAddress = "Hendersond@parliament.uk";
	salutation = "Mr Henderson";
	}
	else if(constituency == "Preston")
	{
	emailAddress = "Hendrickm@parliament.uk";
	salutation = "Mr Hendrick";
	}
	else if(constituency == "Wealden")
	{
	emailAddress = "Hendryc@parliament.uk";
	salutation = "Mr Hendry";
	}
	else if(constituency == "Jarrow")
	{
	emailAddress = "Hepburns@parliament.uk";
	salutation = "Mr Hepburn";
	}
	else if(constituency == "Nottingham East")
	{
	emailAddress = "Heppellj@parliament.uk";
	salutation = "Mr Heppell";
	}
	else if(constituency == "Arundel & South Downs")
	{
	emailAddress = "Herbertn@parliament.uk";
	salutation = "Mr Herbert";
	}
	else if(constituency == "North Down")
	{
	emailAddress = "Hermonl@parliament.uk";
	salutation = "Lady Sylvia";
	}
	else if(constituency == "Wirral West")
	{
	emailAddress = "Hesfords@parliament.uk";
	salutation = "Mr Hesford";
	}
	else if(constituency == "Leicester West")
	{
	emailAddress = "Hewittp@parliament.uk";
	salutation = "Ms Hewitt";
	}
	else if(constituency == "Ashton-under-Lyne")
	{
	emailAddress = "Heyesd@parliament.uk";
	salutation = "Mr Heyes";
	}
	else if(constituency == "Streatham")
	{
	emailAddress = "Hillk@parliament.uk";
	salutation = "Mr Hill";
	}
	else if(constituency == "Hackney South & Shoreditch")
	{
	emailAddress = "Hillierm@parliament.uk";
	salutation = "Ms Hillier";
	}
	else if(constituency == "Fareham")
	{
	emailAddress = "Hobanm@parliament.uk";
	salutation = "Mr Hoban";
	}
	else if(constituency == "Barking")
	{
	emailAddress = "Hodgem@parliament.uk";
	salutation = "Ms Hodge";
	}
	else if(constituency == "Gateshead East & Washington West")
	{
	emailAddress = "Hodgsons@parliament.uk";
	salutation = "Mrs Hodgson";
	}
	else if(constituency == "Vauxhall")
	{
	emailAddress = "Hoeyk@parliament.uk";
	salutation = "Ms Hoey";
	}
	else if(constituency == "Sleaford & North Hykeham")
	{
	emailAddress = "Hoggd@parliament.uk";
	salutation = "Mr Hogg";
	}
	else if(constituency == "Kettering")
	{
	emailAddress = "Hollobonep@parliament.uk";
	salutation = "Mr Hollobone";
	}
	else if(constituency == "Gravesham")
	{
	emailAddress = "Hollowaya@parliament.uk";
	salutation = "Mr Holloway";
	}
	else if(constituency == "Chesterfield")
	{
	emailAddress = "Holmesp@parliament.uk";
	salutation = "Mr Holmes";
	}
	else if(constituency == "Lanark & Hamilton East")
	{
	emailAddress = "Hoodj@parliament.uk";
	salutation = "Mr Hood";
	}
	else if(constituency == "Ashfield")
	{
	emailAddress = "Hoong@parliament.uk";
	salutation = "Mr Hoon";
	}
	else if(constituency == "Corby")
	{
	emailAddress = "Hopep@parliament.uk";
	salutation = "Mr Hope";
	}
	else if(constituency == "Luton North")
	{
	emailAddress = "Hopkinsk@parliament.uk";
	salutation = "Mr Hopkins";
	}
	else if(constituency == "Orpington")
	{
	emailAddress = "Horamj@parliament.uk";
	salutation = "Mr Horam";
	}
	else if(constituency == "Cheltenham")
	{
	emailAddress = "Horwoodm@parliament.uk";
	salutation = "Mr Horwood";
	}
	else if(constituency == "Dundee East")
	{
	emailAddress = "Hosies@parliament.uk";
	salutation = "Mr Hosie";
	}
	else if(constituency == "Folkestone & Hythe")
	{
	emailAddress = "Howardm@parliament.uk";
	salutation = "Mr Howard";
	}
	else if(constituency == "Cambridge")
	{
	emailAddress = "Howarthd@parliament.uk";
	salutation = "Mr Howarth";
	}
	else if(constituency == "Aldershot")
	{
	emailAddress = "geraldhowarth@parliament.uk";
	salutation = "Mr Howarth";
	}
	else if(constituency == "Knowsley North & Sefton East")
	{
	emailAddress = "Howarthg@parliament.uk";
	salutation = "Mr Howarth";
	}
	else if(constituency == "Henley")
	{
	emailAddress = "howelljm@parliament.uk";
	salutation = "Mr Howell";
	}
	else if(constituency == "Pontypridd")
	{
	emailAddress = "Howellsk@parliament.uk";
	salutation = "Dr Howells";
	}
	else if(constituency == "Chorley")
	{
	emailAddress = "Hoylel@parliament.uk";
	salutation = "Mr Hoyle";
	}
	else if(constituency == "Stretford & Urmston")
	{
	emailAddress = "Hughesb@parliament.uk";
	salutation = "Ms Hughes";
	}
	else if(constituency == "North Southwark & Bermondsey")
	{
	emailAddress = "Hughess@parliament.uk";
	salutation = "Mr Hughes";
	}
	else if(constituency == "Eastleigh")
	{
	emailAddress = "Huhnec@parliament.uk";
	salutation = "Mr Huhne";
	}
	else if(constituency == "Blackpool North & Fleetwood")
	{
	emailAddress = "Humblej@parliament.uk";
	salutation = "Mrs Humble";
	}
	else if(constituency == "South West Surrey")
	{
	emailAddress = "Huntj@parliament.uk";
	salutation = "Mr Hunt";
	}
	else if(constituency == "Cheadle")
	{
	emailAddress = "woodbi@parliament.uk";
	salutation = "Mr Hunter";
	}
	else if(constituency == "Ruislip - Northwood")
	{
	emailAddress = "Hurdn@parliament.uk";
	salutation = "Mr Hurd";
	}
	else if(constituency == "Barrow & Furness")
	{
	emailAddress = "Huttonj@parliament.uk";
	salutation = "Mr Hutton";
	}
	else if(constituency == "Bolton South East")
	{
	emailAddress = "Iddonb@parliament.uk";
	salutation = "Mr Iddon";
	}
	else if(constituency == "Barnsley Central")
	{
	emailAddress = "Illsleyr@parliament.uk";
	salutation = "Mr Illsley";
	}
	else if(constituency == "East Kilbride, Strathaven & Lesmahagow")
	{
	emailAddress = "Ingrama@parliament.uk";
	salutation = "Mr Ingram";
	}
	else if(constituency == "Ogmore")
	{
	emailAddress = "Irranca-Daviesh@parliament.uk";
	salutation = "Mr Irranca-Davies";
	}
	else if(constituency == "Fylde")
	{
	emailAddress = "Jackm@parliament.uk";
	salutation = "Mr Jack";
	}
	else if(constituency == "Hampstead & Highgate")
	{
	emailAddress = "Jacksong@parliament.uk";
	salutation = "Ms Jackson";
	}
	else if(constituency == "Peterborough")
	{
	emailAddress = "Jacksons@parliament.uk";
	salutation = "Mr Jackson";
	}
	else if(constituency == "Swansea East")
	{
	emailAddress = "Jamess@parliament.uk";
	salutation = "Mr James";
	}
	else if(constituency == "North Essex")
	{
	emailAddress = "Jenkinb@parliament.uk";
	salutation = "Mr Jenkin";
	}
	else if(constituency == "Tamworth")
	{
	emailAddress = "Jenkinsb@parliament.uk";
	salutation = "Mr Jenkins";
	}
	else if(constituency == "Kingston upon Hull North")
	{
	emailAddress = "Johnsond@parliament.uk";
	salutation = "Ms Johnson";
	}
	else if(constituency == "Kingston upon Hull West & Hessle")
	{
	emailAddress = "Johnsona@parliament.uk";
	salutation = "Mr Johnson";
	}
	else if(constituency == "Warrington North")
	{
	emailAddress = "jonesh@parliament.uk";
	salutation = "Ms Jones";
	}
	else if(constituency == "Birmingham, Selly Oak")
	{
	emailAddress = "Jonesl@parliament.uk";
	salutation = "Ms Jones";
	}
	else if(constituency == "Clwyd West")
	{
	emailAddress = "Jonesd@parliament.uk";
	salutation = "Mr Jones";
	}
	else if(constituency == "North Durham")
	{
	emailAddress = "Jonesk@parliament.uk";
	salutation = "Mr Jones";
	}
	else if(constituency == "Clwyd South")
	{
	emailAddress = "Jonesm@parliament.uk";
	salutation = "Mr Jones";
	}
	else if(constituency == "Dulwich & West Norwood")
	{
	emailAddress = "Jowellt@parliament.uk";
	salutation = "Ms Jowell";
	}
	else if(constituency == "Falkirk")
	{
	emailAddress = "Joycee@parliament.uk";
	salutation = "Mr Joyce";
	}
	else if(constituency == "Manchester, Gorton")
	{
	emailAddress = "Kaufmang@parliament.uk";
	salutation = "Sir Gerald";
	}
	else if(constituency == "Shrewsbury & Atcham")
	{
	emailAddress = "Kawczynskid@parliament.uk";
	salutation = "Mr Kawczynski";
	}
	else if(constituency == "Northampton North")
	{
	emailAddress = "Keebles@parliament.uk";
	salutation = "Ms Keeble";
	}
	else if(constituency == "Worsley")
	{
	emailAddress = "Keeleyb@parliament.uk";
	salutation = "Ms Keeley";
	}
	else if(constituency == "Feltham & Heston")
	{
	emailAddress = "Keena@parliament.uk";
	salutation = "Mr Keen";
	}
	else if(constituency == "Brentford & Isleworth")
	{
	emailAddress = "Keena@parliament.uk";
	salutation = "Ms Keen";
	}
	else if(constituency == "Hereford")
	{
	emailAddress = "Keetchp@parliament.uk";
	salutation = "Mr Keetch";
	}
	else if(constituency == "Bolton West")
	{
	emailAddress = "Kellyr@parliament.uk";
	salutation = "Ms Kelly";
	}
	else if(constituency == "Houghton & Washington East")
	{
	emailAddress = "Kempf@parliament.uk";
	salutation = "Mr Kemp";
	}
	else if(constituency == "Ross, Skye & Lochaber")
	{
	emailAddress = "Kennedyc@parliament.uk";
	salutation = "Mr Kennedy";
	}
	else if(constituency == "Liverpool, Wavertree")
	{
	emailAddress = "Kennedyj@parliament.uk";
	salutation = "Ms Kennedy";
	}
	else if(constituency == "Salisbury")
	{
	emailAddress = "Keyr@parliament.uk";
	salutation = "Mr Key";
	}
	else if(constituency == "Tooting")
	{
	emailAddress = "Khans@parliament.uk";
	salutation = "Mr Khan";
	}
	else if(constituency == "Stafford")
	{
	emailAddress = "Kidneyd@parliament.uk";
	salutation = "Mr Kidney";
	}
	else if(constituency == "Liverpool, Walton")
	{
	emailAddress = "Kilfoylep@parliament.uk";
	salutation = "Mr Kilfoyle";
	}
	else if(constituency == "Bromsgrove")
	{
	emailAddress = "Kirkbridej@parliament.uk";
	salutation = "Miss Kirkbride";
	}
	else if(constituency == "East Yorkshire")
	{
	emailAddress = "Knightg@parliament.uk";
	salutation = "Mr Knight";
	}
	else if(constituency == "South Dorset")
	{
	emailAddress = "Knightj@parliament.uk";
	salutation = "Mr Knight";
	}
	else if(constituency == "Richmond Park")
	{
	emailAddress = "Kramers@parliament.uk";
	salutation = "Ms Kramer";
	}
	else if(constituency == "Middlesbrough South & East Cleveland")
	{
	emailAddress = "Kumara@parliament.uk";
	salutation = "Dr Kumar";
	}
	else if(constituency == "South Thanet")
	{
	emailAddress = "Ladymans@parliament.uk";
	salutation = "Dr Ladyman";
	}
	else if(constituency == "Epping Forest")
	{
	emailAddress = "Lainge@parliament.uk";
	salutation = "Mrs Laing";
	}
	else if(constituency == "Beckenham")
	{
	emailAddress = "Laitj@parliament.uk";
	salutation = "Mrs Lait";
	}
	else if(constituency == "North Norfolk")
	{
	emailAddress = "Lambn@parliament.uk";
	salutation = "Mr Lamb";
	}
	else if(constituency == "Tottenham")
	{
	emailAddress = "Lammyd@parliament.uk";
	salutation = "Mr Lammy";
	}
	else if(constituency == "North East Milton Keynes")
	{
	emailAddress = "Lancasterm@parliament.uk";
	salutation = "Mr Lancaster";
	}
	else if(constituency == "South Cambridgeshire")
	{
	emailAddress = "Lansleya@parliament.uk";
	salutation = "Mr Lansley";
	}
	else if(constituency == "Yeovil")
	{
	emailAddress = "Lawsd@parliament.uk";
	salutation = "Mr Laws";
	}
	else if(constituency == "Derby North")
	{
	emailAddress = "laxtonb@parliament.uk";
	salutation = "Mr Laxton";
	}
	else if(constituency == "Edinburgh North & Leith")
	{
	emailAddress = "Lazarowiczm@parliament.uk";
	salutation = "Mr Lazarowicz";
	}
	else if(constituency == "Manchester, Withington")
	{
	emailAddress = "Leechj@parliament.uk";
	salutation = "Mr Leech";
	}
	else if(constituency == "Gainsborough")
	{
	emailAddress = "Leighe@parliament.uk";
	salutation = "Mr Leight";
	}
	else if(constituency == "Brighton, Pavilion")
	{
	emailAddress = "Lepperd@parliament.uk";
	salutation = "Mr Lepper";
	}
	else if(constituency == "West Dorset")
	{
	emailAddress = "Letwino@parliament.uk";
	salutation = "Mt Letwin";
	}
	else if(constituency == "High Peak")
	{
	emailAddress = "Levittt@parliament.uk";
	salutation = "Mr Levitt";
	}
	else if(constituency == "New Forest East")
	{
	emailAddress = "Lewisj@parliament.uk";
	salutation = "Dr Lewis";
	}
	else if(constituency == "Bury South")
	{
	emailAddress = "Lewisi@parliament.uk";
	salutation = "Mr Lewis";
	}
	else if(constituency == "Bridgwater")
	{
	emailAddress = "Liddell-Graingeri@parliament.uk";
	salutation = "Mr Liddell-Grainger";
	}
	else if(constituency == "Aylesbury")
	{
	emailAddress = "Lidingtond@parliament.uk";
	salutation = "Mr Lidington";
	}
	else if(constituency == "Hitchin & Harpenden")
	{
	emailAddress = "Lilleyp@parliament.uk";
	salutation = "Mr Lilley";
	}
	else if(constituency == "Battersea")
	{
	emailAddress = "Lintonm@parliament.uk";
	salutation = "Mr Linton";
	}
	else if(constituency == "Manchester Central")
	{
	emailAddress = "contact@tonylloydmp.co.uk";
	salutation = "Mr Lloyd";
	}
	else if(constituency == "Meirionnydd Nant Conwy")
	{
	emailAddress = "Llwyde@parliament.uk";
	salutation = "Mr Llwyd";
	}
	else if(constituency == "Central Suffolk & North Ipswich")
	{
	emailAddress = "Lordm@parliament.uk";
	salutation = "Sir Michael";
	}
	else if(constituency == "East Worthing & Shoreham")
	{
	emailAddress = "Loughtont@parliament.uk";
	salutation = "Mr Loughton";
	}
	else if(constituency == "Edmonton")
	{
	emailAddress = "Lovea@parliament.uk";
	salutation = "Mr Love";
	}
	else if(constituency == "Wrexham")
	{
	emailAddress = "Lucasi@parliament.uk";
	salutation = "Mr Lucas";
	}
	else if(constituency == "Mid Worcestershire")
	{
	emailAddress = "Luffp@parliament.uk";
	salutation = "Mr Luff";
	}
	else if(constituency == "Bracknell")
	{
	emailAddress = "Mackaya@parliament.uk";
	salutation = "Mr Mackay";
	}
	else if(constituency == "Thurrock")
	{
	emailAddress = "Mackinlaya@parliament.uk";
	salutation = "Mr Mackinlay";
	}
	else if(constituency == "Penrith & The Border")
	{
	emailAddress = "Macleand@parliament.uk";
	salutation = "Mr Maclean";
	}
	else if(constituency == "Na h-Eileanan an Iar")
	{
	emailAddress = "MacNeila@parliament.uk";
	salutation = "Mr MacNeil";
	}
	else if(constituency == "Rotherham")
	{
	emailAddress = "MacShaned@parliament.uk";
	salutation = "Mr MacShane";
	}
	else if(constituency == "Slough")
	{
	emailAddress = "Mactaggartf@parliament.uk";
	salutation = "Ms Mactaggart";
	}
	else if(constituency == "Birmingham, Perry Barr")
	{
	emailAddress = "Mahmoodk@parliament.uk";
	salutation = "Mr Mahmood";
	}
	else if(constituency == "St Albans")
	{
	emailAddress = "Maina@parliament.uk";
	salutation = "Ms Main";
	}
	else if(constituency == "Dewsbury")
	{
	emailAddress = "Maliks@parliament.uk";
	salutation = "Mr Malik";
	}
	else if(constituency == "Woking")
	{
	emailAddress = "Malinsh@parliament.uk";
	salutation = "Mr Malins";
	}
	else if(constituency == "Amber Valley")
	{
	emailAddress = "Mallaberj@parliament.uk";
	salutation = "Ms Mallaber";
	}
	else if(constituency == "Bassetlaw")
	{
	emailAddress = "Mannj@parliament.uk";
	salutation = "Mr Mann";
	}
	else if(constituency == "Stratford-on-Avon")
	{
	emailAddress = "Maplesj@parliament.uk";
	salutation = "Mr Maples";
	}
	else if(constituency == "Wolverhampton South West")
	{
	emailAddress = "Marrisr@parliament.uk";
	salutation = "Mr Marris";
	}
	else if(constituency == "Blackpool South")
	{
	emailAddress = "Marsdeng@parliament.uk";
	salutation = "Mr Marsden";
	}
	else if(constituency == "Medway")
	{
	emailAddress = "Marshall-Andrewsr@parliament.uk";
	salutation = "Mr Marshall-Andrews";
	}
	else if(constituency == "Carlisle")
	{
	emailAddress = "Martlewe@parliament.uk";
	salutation = "Mr Martlew";
	}
	else if(constituency == "Glasgow East")
	{
	emailAddress = "masonj@parliament.uk";
	salutation = "Mr Mason";
	}
	else if(constituency == "East Hampshire")
	{
	emailAddress = "Matesm@parliament.uk";
	salutation = "Mr Mates";
	}
	else if(constituency == "Horsham")
	{
	emailAddress = "Maudef@parliament.uk";
	salutation = "Mr Maude";
	}
	else if(constituency == "Maidenhead")
	{
	emailAddress = "Mayt@parliament.uk";
	salutation = "Ms May";
	}
	else if(constituency == "Rutherglen & Hamilton West")
	{
	emailAddress = "McAvoyt@parliament.uk";
	salutation = "Mr McAvoy";
	}
	else if(constituency == "Birmingham, Hall Green")
	{
	emailAddress = "McCabes@parliament.uk";
	salutation = "Mr McCabe";
	}
	else if(constituency == "Calder Valley")
	{
	emailAddress = "McCaffertyc@parliament.uk";
	salutation = "Mr McCafferty";
	}
	else if(constituency == "Bristol East")
	{
	emailAddress = "McCarthyk@parliament.uk";
	salutation = "Mr McCarthy";
	}
	else if(constituency == "Portsmouth North")
	{
	emailAddress = "McCarthy-Frys@parliament.uk";
	salutation = "Ms McCarthy-Fry";
	}
	else if(constituency == "Makerfield")
	{
	emailAddress = "McCartneyi@parliament.uk";
	salutation = "Mr McCartney";
	}
	else if(constituency == "South Antrim")
	{
	emailAddress = "McCreaw@parliament.uk";
	salutation = "Dr McCrea";
	}
	else if(constituency == "Mitcham & Morden")
	{
	emailAddress = "McDonaghs@parliament.uk";
	salutation = "Ms McDonagh";
	}
	else if(constituency == "Belfast South")
	{
	emailAddress = "McDonnella@parliament.uk";
	salutation = "Dr McDonnell";
	}
	else if(constituency == "Hayes & Harlington")
	{
	emailAddress = "McDonnellj@parliament.uk";
	salutation = "Mr McDonnell";
	}
	else if(constituency == "West Dunbartonshire")
	{
	emailAddress = "McFallj@parliament.uk";
	salutation = "Mr McFall";
	}
	else if(constituency == "Dundee West")
	{
	emailAddress = "McGovernj@parliament.uk";
	salutation = "Mr McGovern";
	}
	else if(constituency == "South Down")
	{
	emailAddress = "McGradye@parliament.uk";
	salutation = "Mr McGrady";
	}
	else if(constituency == "Mid Ulster")
	{
	emailAddress = "McGuinnessm@parliament.uk";
	salutation = "Mr McGuiness";
	}
	else if(constituency == "Stirling")
	{
	emailAddress = "McGuirea@parliament.uk";
	salutation = "Mr McGuire";
	}
	else if(constituency == "Vale of York")
	{
	emailAddress = "McIntosha@parliament.uk";
	salutation = "Miss McIntosh";
	}
	else if(constituency == "Cleethorpes")
	{
	emailAddress = "McIsaacs@parliament.uk";
	salutation = "Ms McIsaac";
	}
	else if(constituency == "Glasgow North")
	{
	emailAddress = "McKechina@parliament.uk";
	salutation = "Ms McKechin";
	}
	else if(constituency == "Cumbernauld, Kilsyth & Kirkintilloch East")
	{
	emailAddress = "McKennar@parliament.uk";
	salutation = "Ms McKEnna";
	}
	else if(constituency == "West Derbyshire")
	{
	emailAddress = "McLoughlinp@parliament.uk";
	salutation = "Mr McLoughlin";
	}
	else if(constituency == "Harrow East")
	{
	emailAddress = "McNultyt@parliament.uk";
	salutation = "Mr McNulty";
	}
	else if(constituency == "Oldham West & Royton")
	{
	emailAddress = "Meacherm@parliament.uk";
	salutation = "Mr Meacher";
	}
	else if(constituency == "Mansfield")
	{
	emailAddress = "Mealea@parliament.uk";
	salutation = "Mr Meale";
	}
	else if(constituency == "Newark")
	{
	emailAddress = "Mercerp@parliament.uk";
	salutation = "Mr Mercer";
	}
	else if(constituency == "Lincoln")
	{
	emailAddress = "Merrong@parliament.uk";
	salutation = "Mr Merron";
	}
	else if(constituency == "Cardiff South & Penarth")
	{
	emailAddress = "Michaela@parliament.uk";
	salutation = "Mr Michael";
	}
	else if(constituency == "Darlington")
	{
	emailAddress = "Milburna@parliament.uk";
	salutation = "Mr Milburn";
	}
	else if(constituency == "South Shields")
	{
	emailAddress = "Milibandd@parliament.uk";
	salutation = "Mr Miliband";
	}
	else if(constituency == "Doncaster North")
	{
	emailAddress = "Milibande@parliament.uk";
	salutation = "Mr Miliband";
	}
	else if(constituency == "Ellesmere Port & Neston")
	{
	emailAddress = "Millera@parliament.uk";
	salutation = "Mr Miller";
	}
	else if(constituency == "Basingstoke")
	{
	emailAddress = "Millerm@parliament.uk";
	salutation = "Mrs Miller";
	}
	else if(constituency == "Guildford")
	{
	emailAddress = "Miltona@parliament.uk";
	salutation = "Ms Milton";
	}
	else if(constituency == "Sutton Coldfield")
	{
	emailAddress = "Mitchella@parliament.uk";
	salutation = "Mr Mitchell";
	}
	else if(constituency == "Great Grimsby")
	{
	emailAddress = "Mitchella@parliament.uk";
	salutation = "Mr Mitchell";
	}
	else if(constituency == "East Lothian")
	{
	emailAddress = "Moffata@parliament.uk";
	salutation = "Ms Moffat";
	}
	else if(constituency == "Crawley")
	{
	emailAddress = "Moffattl@parliament.uk";
	salutation = "Ms Moffatt";
	}
	else if(constituency == "Ipswich")
	{
	emailAddress = "Molec@parliament.uk";
	salutation = "Mr Mole";
	}
	else if(constituency == "Bridgend")
	{
	emailAddress = "Moonm@parliament.uk";
	salutation = "Mrs Moon";
	}
	else if(constituency == "Berwickshire, Roxburgh & Selkirk")
	{
	emailAddress = "Moorem@parliament.uk";
	salutation = "Mr Moore";
	}
	else if(constituency == "Luton South")
	{
	emailAddress = "Moranm@parliament.uk";
	salutation = "Ms Moran";
	}
	else if(constituency == "Newport East")
	{
	emailAddress = "Mordenj@parliament.uk";
	salutation = "Ms Morden";
	}
	else if(constituency == "Cardiff North")
	{
	emailAddress = "Morganj@parliament.uk";
	salutation = "Ms Morgan";
	}
	else if(constituency == "Scunthorpe")
	{
	emailAddress = "Morleye@parliament.uk";
	salutation = "Mr Morley";
	}
	else if(constituency == "North East Cambridgeshire")
	{
	emailAddress = "Mossm@parliament.uk";
	salutation = "Mr Moss";
	}
	else if(constituency == "Colne Valley")
	{
	emailAddress = "Mountfordk@parliament.uk";
	salutation = "Ms Mountford";
	}
	else if(constituency == "Leeds East")
	{
	emailAddress = "Mudieg@parliament.uk";
	salutation = "Mr Mudie";
	}
	else if(constituency == "Leeds North West")
	{
	emailAddress = "Mulhollandg@parliament.uk";
	salutation = "Mr Mulholland";
	}
	else if(constituency == "Sunderland South")
	{
	emailAddress = "Mullinc@parliament.uk";
	salutation = "Mr Mullin";
	}
	else if(constituency == "Dumfriesshire, Clydesdale & Tweeddale")
	{
	emailAddress = "Mundelld@parliament.uk";
	salutation = "Mr Mundell";
	}
	else if(constituency == "Sheffield, Heeley")
	{
	emailAddress = "Munnm@parliament.uk";
	salutation = "Ms Munn";
	}
	else if(constituency == "Newry & Armagh")
	{
	emailAddress = "Murphyc@parliament.uk";
	salutation = "Mr Murphy";
	}
	else if(constituency == "Wansbeck")
	{
	emailAddress = "Murphyd@parliament.uk";
	salutation = "Mr Murphy";
	}
	else if(constituency == "East Renfrewshire")
	{
	emailAddress = "Murphyj@parliament.uk";
	salutation = "Mr Murphy";
	}
	else if(constituency == "Torfaen")
	{
	emailAddress = "Murphyp@parliament.uk";
	salutation = "Mr Murphy";
	}
	else if(constituency == "Westbury")
	{
	emailAddress = "Murrisona@parliament.uk";
	salutation = "Dr Murrison";
	}
	else if(constituency == "Bristol North West")
	{
	emailAddress = "Naysmithd@parliament.uk";
	salutation = "Dr Naysmith";
	}
	else if(constituency == "Bromley & Chislehurst")
	{
	emailAddress = "neillb@parliament.uk";
	salutation = "Mr Neill";
	}
	else if(constituency == "Braintree")
	{
	emailAddress = "Newmarkb@parliament.uk";
	salutation = "Mr Brooks";
	}
	else if(constituency == "Wansdyke")
	{
	emailAddress = "Norrisd@parliament.uk";
	salutation = "Mr Norris";
	}
	else if(constituency == "Winchester")
	{
	emailAddress = "Oatenm@parliament.uk";
	salutation = "Mr Oaten";
	}
	else if(constituency == "Eddisbury")
	{
	emailAddress = "OBriens@parliament.uk";
	salutation = "Mr O'Brien";
	}
	else if(constituency == "North Warwickshire")
	{
	emailAddress = "OBrienm@parliament.uk";
	salutation = "Mr O'Brien";
	}
	else if(constituency == "Knowsley South")
	{
	emailAddress = "OHarae@parliament.uk";
	salutation = "Mr O'Hara";
	}
	else if(constituency == "Nuneaton")
	{
	emailAddress = "Olnerb@parliament.uk";
	salutation = "Mr Olner";
	}
	else if(constituency == "Montgomeryshire")
	{
	emailAddress = "Õpikl@parliament.uk";
	salutation = "Mr Lembit";
	}
	else if(constituency == "Tatton")
	{
	emailAddress = "Osborneg@parliament.uk";
	salutation = "Mr Osborne";
	}
	else if(constituency == "Ayr, Carrick & Cumnock")
	{
	emailAddress = "Osbornes@parliament.uk";
	salutation = "Ms Osborne";
	}
	else if(constituency == "Croydon South")
	{
	emailAddress = "Ottawayr@parliament.uk";
	salutation = "Mr Ottaway";
	}
	else if(constituency == "Ynys Môn")
	{
	emailAddress = "Owena@parliament.uk";
	salutation = "Mr Owen";
	}
	else if(constituency == "South East Cambridgeshire")
	{
	emailAddress = "Paicej@parliament.uk";
	salutation = "Mr Paice";
	}
	else if(constituency == "North Antrim")
	{
	emailAddress = "Paisleyi@parliament.uk";
	salutation = "Mr Paisley";
	}
	else if(constituency == "Broxtowe")
	{
	emailAddress = "Palmern@parliament.uk";
	salutation = "Dr Palmer";
	}
	else if(constituency == "North Shropshire")
	{
	emailAddress = "Patersono@parliament.uk";
	salutation = "Mr Paterson";
	}
	else if(constituency == "Dudley South")
	{
	emailAddress = "Pearsoni@parliament.uk";
	salutation = "Mr Pearson";
	}
	else if(constituency == "Croydon Central")
	{
	emailAddress = "Pellinga@parliament.uk";
	salutation = "Mr Pelling";
	}
	else if(constituency == "Hemel Hempstead")
	{
	emailAddress = "Penningm@parliament.uk";
	salutation = "Mr Penning";
	}
	else if(constituency == "Weston-Super-Mare")
	{
	emailAddress = "Penrosej@parliament.uk";
	salutation = "Mr Penrose";
	}
	else if(constituency == "Brentwood & Ongar")
	{
	emailAddress = "Picklese@parliament.uk";
	salutation = "Mr Pickles";
	}
	else if(constituency == "Warwick & Leamington")
	{
	emailAddress = "Plaskittj@parliament.uk";
	salutation = "Mr Plaskitt";
	}
	else if(constituency == "Hyndburn")
	{
	emailAddress = "Popeg@parliament.uk";
	salutation = "Mr Pope";
	}
	else if(constituency == "Ealing North")
	{
	emailAddress = "Pounds@parliament.uk";
	salutation = "Mr Pound";
	}
	else if(constituency == "Lewisham East")
	{
	emailAddress = "Prenticeb@parliament.uk";
	salutation = "Ms Prentice";
	}
	else if(constituency == "Pendle")
	{
	emailAddress = "Prenticeg@parliament.uk";
	salutation = "Mr Prentice";
	}
	else if(constituency == "Kingston upon Hull East")
	{
	emailAddress = "Prescottj@parliament.uk";
	salutation = "Mr Prescott";
	}
	else if(constituency == "Carmarthen East & Dinefwr")
	{
	emailAddress = "Pricea@parliament.uk";
	salutation = "Mr Price";
	}
	else if(constituency == "Bristol South")
	{
	emailAddress = "Primarolod@parliament.uk";
	salutation = "Ms Primarolo";
	}
	else if(constituency == "Hertford & Stortford")
	{
	emailAddress = "Priskm@parliament.uk";
	salutation = "Mr Prisk";
	}
	else if(constituency == "Wrekin, The")
	{
	emailAddress = "Pritchardm@parliament.uk";
	salutation = "Mr Pritchard";
	}
	else if(constituency == "Dover")
	{
	emailAddress = "Prosserg@parliament.uk";
	salutation = "Mr Prosser";
	}
	else if(constituency == "Southport")
	{
	emailAddress = "Pughj@parliament.uk";
	salutation = "Dr Pugh";
	}
	else if(constituency == "Wolverhampton North East")
	{
	emailAddress = "Purchasek@parliament.uk";
	salutation = "Mr Purchase";
	}
	else if(constituency == "Stalybridge & Hyde")
	{
	emailAddress = "Purnellj@parliament.uk";
	salutation = "Mr Purnell";
	}
	else if(constituency == "Harlow")
	{
	emailAddress = "Rammellb@parliament.uk";
	salutation = "Mr Rammell";
	}
	else if(constituency == "Uxbridge")
	{
	emailAddress = "Randallj@parliament.uk";
	salutation = "Mr Randall";
	}
	else if(constituency == "Greenwich & Woolwich")
	{
	emailAddress = "Raynsfordn@parliament.uk";
	salutation = "Mr Raynsford";
	}
	else if(constituency == "Wokingham")
	{
	emailAddress = "Redwoodj@parliament.uk";
	salutation = "Mr Redwood";
	}
	else if(constituency == "Loughborough")
	{
	emailAddress = "Reeda@parliament.uk";
	salutation = "Mr Reed";
	}
	else if(constituency == "Copeland")
	{
	emailAddress = "Reedj@parliament.uk";
	salutation = "Mr Reed";
	}
	else if(constituency == "Argyll & Bute")
	{
	emailAddress = "Reida@parliament.uk";
	salutation = "Mr Reid";
	}
	else if(constituency == "Airdrie & Shotts")
	{
	emailAddress = "Reidj@parliament.uk";
	salutation = "Mr Reid";
	}
	else if(constituency == "Dunfermline & West Fife")
	{
	emailAddress = "willie@dunfermlinelibdems.org.uk";
	salutation = "Mr Rennie";
	}
	else if(constituency == "Kensington & Chelsea")
	{
	emailAddress = "Rifkindm@parliament.uk +";
	salutation = "Sir Malcolm";
	}
	else if(constituency == "Halifax")
	{
	emailAddress = "Riordanl@parliament.uk";
	salutation = "Mrs Riordan";
	}
	else if(constituency == "Blaby")
	{
	emailAddress = "Robathana@parliament.uk";
	salutation = "Mr Robathan";
	}
	else if(constituency == "Moray")
	{
	emailAddress = "Robertsona@parliament.uk";
	salutation = "Mr Robertson";
	}
	else if(constituency == "Faversham & Mid Kent")
	{
	emailAddress = "Robertsonh@parliament.uk";
	salutation = "Mr Robertson";
	}
	else if(constituency == "Glasgow North West")
	{
	emailAddress = "Robertsonj@parliament.uk";
	salutation = "Mr Robertson";
	}
	else if(constituency == "Tewkesbury")
	{
	emailAddress = "Robertsonl@parliament.uk";
	salutation = "Mr Robertson";
	}
	else if(constituency == "Coventry North West")
	{
	emailAddress = "Robinsong@parliament.uk";
	salutation = "Mr Robinson";
	}
	else if(constituency == "Strangford")
	{
	emailAddress = "Robinsoni@parliament.uk";
	salutation = "Mrs Robinson";
	}
	else if(constituency == "Belfast East")
	{
	emailAddress = "Robinsonp@parliament.uk";
	salutation = "Mr Robinson";
	}
	else if(constituency == "North Cornwall")
	{
	emailAddress = "Rogersond@parliament.uk";
	salutation = "Mr Rogerson";
	}
	else if(constituency == "Bradford North")
	{
	emailAddress = "Rooneyt@parliament.uk";
	salutation = "Mr Rooney";
	}
	else if(constituency == "Romford")
	{
	emailAddress = "Rosindella@parliament.uk";
	salutation = "Mr Rosindell";
	}
	else if(constituency == "Rochdale")
	{
	emailAddress = "Rowenp@parliament.uk";
	salutation = "Mr Rowen";
	}
	else if(constituency == "Glenrothes")
	{
	emailAddress = "royl@parliament.uk";
	salutation = "Mr Roy";
	}
	else if(constituency == "Motherwell & Wishaw")
	{
	emailAddress = "Royf@parliament.uk";
	salutation = "Mr Roy";
	}
	else if(constituency == "Vale of Clwyd")
	{
	emailAddress = "Ruanec@parliament.uk";
	salutation = "Mr Ruane";
	}
	else if(constituency == "Lewisham, Deptford")
	{
	emailAddress = "Ruddockj@parliament.uk";
	salutation = "Ms Ruddock";
	}
	else if(constituency == "Bury St Edmunds")
	{
	emailAddress = "Ruffleyd@parliament.uk";
	salutation = "Mr Ruffley";
	}
	else if(constituency == "Colchester")
	{
	emailAddress = "Russellb@parliament.uk";
	salutation = "Mr Russell";
	}
	else if(constituency == "Chester, City of")
	{
	emailAddress = "Russellc@parliament.uk";
	salutation = "Ms Russell";
	}
	else if(constituency == "Enfield North")
	{
	emailAddress = "Ryanj@parliament.uk";
	salutation = "Ms Ryan";
	}
	else if(constituency == "Banff & Buchan")
	{
	emailAddress = "Salmonda@parliament.uk";
	salutation = "Mr Salmond";
	}
	else if(constituency == "Reading West")
	{
	emailAddress = "Salterm@parliament.uk";
	salutation = "Mr Salter";
	}
	else if(constituency == "Torbay")
	{
	emailAddress = "Sandersa@parliament.uk";
	salutation = "Mr Sanders";
	}
	else if(constituency == "Glasgow Central")
	{
	emailAddress = "Sarwarm@parliament.uk";
	salutation = "Mr Sarwar";
	}
	else if(constituency == "Ilford North")
	{
	emailAddress = "Scottl@parliament.uk";
	salutation = "Mr Scott";
	}
	else if(constituency == "Plymouth, Devonport")
	{
	emailAddress = "Seabecka@parliament.uk";
	salutation = "Ms Seabeck";
	}
	else if(constituency == "South West Bedfordshire")
	{
	emailAddress = "Selousa@parliament.uk";
	salutation = "Mr Selous";
	}
	else if(constituency == "Welwyn Hatfield")
	{
	emailAddress = "Shappsg@parliament.uk";
	salutation = "Mr Shapps";
	}
	else if(constituency == "Ealing, Southall")
	{
	emailAddress = "sharmav@parliament.uk ";
	salutation = "Mr Sharma";
	}
	else if(constituency == "Chatham & Aylesford")
	{
	emailAddress = "Shawj@parliament.uk";
	salutation = "Mr Shaw";
	}
	else if(constituency == "Huddersfield")
	{
	emailAddress = "Sheermanb@parliament.uk";
	salutation = "Mr Sheerman";
	}
	else if(constituency == "Aldridge-Brownhills")
	{
	emailAddress = "Shepherdr@parliament.uk";
	salutation = "Mr Shepherd";
	}
	else if(constituency == "Paisley & Renfrewshire North")
	{
	emailAddress = "Sheridanj@parliament.uk";
	salutation = "Mr Sheridan";
	}
	else if(constituency == "Birmingham, Ladywood")
	{
	emailAddress = "Shortc@parliament.uk";
	salutation = "Ms Short";
	}
	else if(constituency == "Boston & Skegness")
	{
	emailAddress = "Simmondsm@parliament.uk";
	salutation = "Mr Simmonds";
	}
	else if(constituency == "Birmingham, Erdington")
	{
	emailAddress = "Simons@parliament.uk";
	salutation = "Mr Simon";
	}
	else if(constituency == "Nottingham South")
	{
	emailAddress = "Simpsona@parliament.uk";
	salutation = "Mr Simpson";
	}
	else if(constituency == "Upper Bann")
	{
	emailAddress = "Simpsond@parliament.uk";
	salutation = "Mr Simpson";
	}
	else if(constituency == "Mid Norfolk")
	{
	emailAddress = "keithsimpsonmp@parliament.uk";
	salutation = "Mr Simpson";
	}
	else if(constituency == "Bradford West")
	{
	emailAddress = "Singhm@parliament.uk";
	salutation = "Mr Singh";
	}
	else if(constituency == "Bolsover")
	{
	emailAddress = "Skinnerd@parliament.uk";
	salutation = "Mr Skinner";
	}
	else if(constituency == "Ealing, Acton & Shepherd's Bush")
	{
	emailAddress = "Slaughtera@parliament.uk";
	salutation = "Mr Slaughter";
	}
	else if(constituency == "Norwich North")
	{
	emailAddress = "chloe@chloesmith.org.uk";
	salutation = "Ms Smith";
	}
	else if(constituency == "Morecambe & Lunesdale")
	{
	emailAddress = "Smithg@parliament.uk";
	salutation = "Ms Smith";
	}
	else if(constituency == "Vale of Glamorgan")
	{
	emailAddress = "Smithj@parliament.uk";
	salutation = "Mr Smith";
	}
	else if(constituency == "Sheffield, Hillsborough")
	{
	emailAddress = "smithac@parliament.uk";
	salutation = "Ms Smith";
	}
	else if(constituency == "Oxford East")
	{
	emailAddress = "andrewsmith.mp@virgin.net";
	salutation = "Mr Smith";
	}
	else if(constituency == "Basildon")
	{
	emailAddress = "Smitha@parliament.uk";
	salutation = "Ms Smith";
	}
	else if(constituency == "Redditch")
	{
	emailAddress = "Smithjj@parliament.uk";
	salutation = "Ms Smith";
	}
	else if(constituency == "West Aberdeenshire & Kincardine")
	{
	emailAddress = "Smithr@parliament.uk";
	salutation = "Mr Smith";
	}
	else if(constituency == "South Swindon")
	{
	emailAddress = "Snelgrovea@parliament.uk";
	salutation = "Ms Snelgrove";
	}
	else if(constituency == "Mid Sussex")
	{
	emailAddress = "Soamesn@parliament.uk";
	salutation = "Mr Soames";
	}
	else if(constituency == "Leicester South")
	{
	emailAddress = "Soulsbyp@parliament.uk";
	salutation = "Mr Soulsby";
	}
	else if(constituency == "Warrington South")
	{
	emailAddress = "Southworthh@parliament.uk";
	salutation = "Ms Southworth";
	}
	else if(constituency == "Warley")
	{
	emailAddress = "Spellarj@parliament.uk";
	salutation = "Mr Spellar";
	}
	else if(constituency == "Meriden")
	{
	emailAddress = "Spelmanc@parliament.uk";
	salutation = "Mrs Spelman";
	}
	else if(constituency == "West Worcestershire")
	{
	emailAddress = "Spicerm@parliament.uk";
	salutation = "Mr Spicer";
	}
	else if(constituency == "Castle Point")
	{
	emailAddress = "Spinkb@parliament.uk";
	salutation = "Mr Spink";
	}
	else if(constituency == "West Suffolk")
	{
	emailAddress = "Springr@parliament.uk";
	salutation = "Mr Spring";
	}
	else if(constituency == "Tonbridge & Malling")
	{
	emailAddress = "Stanleyj@parliament.uk";
	salutation = "Mr Stanley";
	}
	else if(constituency == "Milton Keynes South West")
	{
	emailAddress = "Starkeyp@parliament.uk";
	salutation = "Dr Starkey";
	}
	else if(constituency == "Totnes")
	{
	emailAddress = "Steena@parliament.uk";
	salutation = "Mr Steen";
	}
	else if(constituency == "Eccles")
	{
	emailAddress = "Stewarti@parliament.uk";
	salutation = "Mr Stewart";
	}
	else if(constituency == "Dartford")
	{
	emailAddress = "Stoateh@parliament.uk";
	salutation = "Dr Stoate";
	}
	else if(constituency == "Edinburgh East")
	{
	emailAddress = "Strangg@parliament.uk";
	salutation = "Mr Strang";
	}
	else if(constituency == "Blackburn")
	{
	emailAddress = "Strawj@parliament.uk";
	salutation = "Mr Straw";
	}
	else if(constituency == "South West Devon")
	{
	emailAddress = "Streeterg@parliament.uk";
	salutation = "Mr Streeter";
	}
	else if(constituency == "Manchester, Blackley")
	{
	emailAddress = "Stringerg@parliament.uk";
	salutation = "Mr Stringer";
	}
	else if(constituency == "Beverley & Holderness")
	{
	emailAddress = "Stuartg@parliament.uk";
	salutation = "Mr Stuart";
	}
	else if(constituency == "Birmingham, Edgbaston")
	{
	emailAddress = "Stuartg@parliament.uk";
	salutation = "Ms Stuart";
	}
	else if(constituency == "Hazel Grove")
	{
	emailAddress = "Stunella@parliament.uk";
	salutation = "Mr Stunell";
	}
	else if(constituency == "Bradford South")
	{
	emailAddress = "Sutcliffeg@parliament.uk";
	salutation = "Mr Sutcliffe";
	}
	else if(constituency == "New Forest West")
	{
	emailAddress = "Swayned@parliament.uk";
	salutation = "Mr Swayne";
	}
	else if(constituency == "East Dunbartonshire")
	{
	emailAddress = "Swinsonj@parliament.uk";
	salutation = "Ms Swinson";
	}
	else if(constituency == "East Devon")
	{
	emailAddress = "Swireh@parliament.uk";
	salutation = "Mr Swire";
	}
	else if(constituency == "Poole")
	{
	emailAddress = "Symsr@parliament.uk";
	salutation = "Mr Syms";
	}
	else if(constituency == "Alyn & Deeside")
	{
	emailAddress = "Tamim@parliament.uk";
	salutation = "Mr Tami";
	}
	else if(constituency == "Louth & Horncastle")
	{
	emailAddress = "Tapsellp@parliament.uk";
	salutation = "Mr Tapsell";
	}
	else if(constituency == "North West Leicestershire")
	{
	emailAddress = "taylordl@parliament.uk";
	salutation = "Mr Taylor";
	}
	else if(constituency == "Wyre Forest")
	{
	emailAddress = "Taylorr@parliament.uk";
	salutation = "Dr Taylor";
	}
	else if(constituency == "Truro & St Austell")
	{
	emailAddress = "Taylorm@parliament.uk";
	salutation = "Mr Taylor";
	}
	else if(constituency == "Esher & Walton")
	{
	emailAddress = "Taylori@parliament.uk";
	salutation = "Mr Taylor";
	}
	else if(constituency == "Stockton South")
	{
	emailAddress = "dari.taylor.mp@parliament.uk";
	salutation = "Ms Taylor";
	}
	else if(constituency == "Brent East")
	{
	emailAddress = "Teathers@parliament.uk";
	salutation = "Ms Teather";
	}
	else if(constituency == "Harrow West")
	{
	emailAddress = "Thomasg@parliament.uk";
	salutation = "Mr Thomas";
	}
	else if(constituency == "Islington South & Finsbury")
	{
	emailAddress = "Thornberrye@parliament.uk";
	salutation = "Ms Thornberry";
	}
	else if(constituency == "Caithness, Sutherland & Easter Ross")
	{
	emailAddress = "Thursoj@parliament.uk";
	salutation = "Mr Thurson";
	}
	else if(constituency == "East Ham")
	{
	emailAddress = "Timmss@parliament.uk";
	salutation = "Mr Timms";
	}
	else if(constituency == "Crewe & Nantwich")
	{
	emailAddress = "timpsone@parliament.uk";
	salutation = "Mr Timpson";
	}
	else if(constituency == "Sherwood")
	{
	emailAddress = "Tippingp@parliament.uk";
	salutation = "Mr Tipping";
	}
	else if(constituency == "South Derbyshire")
	{
	emailAddress = "Toddm@parliament.uk";
	salutation = "Mr Toadd";
	}
	else if(constituency == "Islwyn")
	{
	emailAddress = "Touhigd@parliament.uk";
	salutation = "Mr Touhig";
	}
	else if(constituency == "Bosworth")
	{
	emailAddress = "Tredinnickd@parliament.uk";
	salutation = "Mr Tredinnick";
	}
	else if(constituency == "Hemsworth")
	{
	emailAddress = "Trickettj@parliament.uk";
	salutation = "Mr Trickett";
	}
	else if(constituency == "Pudsey")
	{
	emailAddress = "Truswellp@parliament.uk";
	salutation = "Mr Truswell";
	}
	else if(constituency == "Brighton, Kemptown")
	{
	emailAddress = "Turnerd@parliament.uk";
	salutation = "Dr Turner";
	}
	else if(constituency == "Isle of Wight")
	{
	emailAddress = "Turnera@parliament.uk";
	salutation = "Mr Turner";
	}
	else if(constituency == "Wigan")
	{
	emailAddress = "Turnern@parliament.uk";
	salutation = "Mr Turner";
	}
	else if(constituency == "Halton")
	{
	emailAddress = "Twiggd@parliament.uk";
	salutation = "Mr Twigg";
	}
	else if(constituency == "Chichester")
	{
	emailAddress = "Tyriea@parliament.uk";
	salutation = "Mr Tyrie";
	}
	else if(constituency == "Burnley")
	{
	emailAddress = "Ussherk@parliament.uk";
	salutation = "Ms Ussher";
	}
	else if(constituency == "Wantage")
	{
	emailAddress = "Vaizeye@parliament.uk";
	salutation = "Mr Viazey";
	}
	else if(constituency == "North West Cambridgeshire")
	{
	emailAddress = "Varas@parliament.uk";
	salutation = "Mr Vara";
	}
	else if(constituency == "Leicester East")
	{
	emailAddress = "Vazk@parliament.uk";
	salutation = "Mr Vaz";
	}
	else if(constituency == "Gosport")
	{
	emailAddress = "Viggersp@parliament.uk";
	salutation = "Mr Viggers";
	}
	else if(constituency == "Chipping Barnet")
	{
	emailAddress = "theresa@theresavilliers.co.uk";
	salutation = "Mrs Villiers";
	}
	else if(constituency == "Finchley & Golders Green")
	{
	emailAddress = "Visr@parliament.uk";
	salutation = "Dr Vis";
	}
	else if(constituency == "Broxbourne")
	{
	emailAddress = "Walkerc@parliament.uk";
	salutation = "Mr Walker";
	}
	else if(constituency == "Lancaster & Wyre")
	{
	emailAddress = "Wallaceb@parliament.uk";
	salutation = "Mr Wallace";
	}
	else if(constituency == "Stoke-on-Trent North")
	{
	emailAddress = "Walleyj@parliament.uk";
	salutation = "Ms Walley";
	}
	else if(constituency == "North Dorset")
	{
	emailAddress = "Walterr@parliament.uk";
	salutation = "Mr Walter";
	}
	else if(constituency == "Stourbridge")
	{
	emailAddress = "Walthol@parliament.uk";
	salutation = "Ms Waltho";
	}
	else if(constituency == "Watford")
	{
	emailAddress = "Wardc@parliament.uk";
	salutation = "Ms Ward";
	}
	else if(constituency == "Liverpool, West Derby")
	{
	emailAddress = "Wareingr@parliament.uk";
	salutation = "Mr Wareing";
	}
	else if(constituency == "Eastbourne")
	{
	emailAddress = "Watersonn@parliament.uk";
	salutation = "Mr Waterson";
	}
	else if(constituency == "Upminster")
	{
	emailAddress = "Watkinsona@parliament.uk";
	salutation = "Ms Watkinson";
	}
	else if(constituency == "West Bromwich East")
	{
	emailAddress = "Watsont@parliament.uk";
	salutation = "Mr Watson";
	}
	else if(constituency == "St Helens North")
	{
	emailAddress = "Wattsd@parliament.uk";
	salutation = "Mr Watts";
	}
	else if(constituency == "Northavon")
	{
	emailAddress = "Webbs@parliament.uk";
	salutation = "Professor Webb";
	}
	else if(constituency == "Angus")
	{
	emailAddress = "Weirm@parliament.uk";
	salutation = "Mr Weir";
	}
	else if(constituency == "Southampton, Test")
	{
	emailAddress = "Whiteheada@parliament.uk";
	salutation = "Dr Whitehead";
	}
	else if(constituency == "Maldon & East Chelmsford")
	{
	emailAddress = "Whittingdalej@parliament.uk";
	salutation = "Mr Whittingdale";
	}
	else if(constituency == "Croydon North")
	{
	emailAddress = "Wicksm@parliament.uk";
	salutation = "Mr Wicks";
	}
	else if(constituency == "Maidstone & The Weald")
	{
	emailAddress = "Widdecombea@parliament.uk";
	salutation = "Ms Widdecombe";
	}
	else if(constituency == "Leominster")
	{
	emailAddress = "Wigginb@parliament.uk";
	salutation = "Mr Wiggin";
	}
	else if(constituency == "Havant")
	{
	emailAddress = "Willettsd@parliament.uk";
	salutation = "Mr Willetts";
	}
	else if(constituency == "Caernarfon")
	{
	emailAddress = "Williamsh@parliament.uk";
	salutation = "Mr Williams";
	}
	else if(constituency == "Ceredigion")
	{
	emailAddress = "Williamsm@parliament.uk";
	salutation = "Mr Williams";
	}
	else if(constituency == "Brecon & Radnorshire")
	{
	emailAddress = "Williamsr@parliament.uk";
	salutation = "Mr Williams";
	}
	else if(constituency == "Conwy")
	{
	emailAddress = "Williamsb@parliament.uk";
	salutation = "Mrs Williams";
	}
	else if(constituency == "Swansea West")
	{
	emailAddress = "Williamsa@parliament.uk";
	salutation = "Mr Williams";
	}
	else if(constituency == "Bristol West")
	{
	emailAddress = "Williamss@parliament.uk";
	salutation = "Mr Williams";
	}
	else if(constituency == "Harrogate & Knaresborough")
	{
	emailAddress = "Willisp@parliament.uk";
	salutation = "Mr Willis";
	}
	else if(constituency == "Cardiff Central")
	{
	emailAddress = "Willottj@parliament.uk";
	salutation = "Ms Willott";
	}
	else if(constituency == "North Swindon")
	{
	emailAddress = "Willsm@parliament.uk";
	salutation = "Mr Wills";
	}
	else if(constituency == "Spelthorne")
	{
	emailAddress = "Wilshired@parliament.uk";
	salutation = "Mr Wilshire";
	}
	else if(constituency == "Reading East")
	{
	emailAddress = "Wilsonr@parliament.uk";
	salutation = "Mr Wilson";
	}
	else if(constituency == "Sedgefield")
	{
	emailAddress = "wilsonp@parliament.uk";
	salutation = "Mr Wilson";
	}
	else if(constituency == "East Antrim")
	{
	emailAddress = "Wilsons@parliament.uk";
	salutation = "Mr Wilson";
	}
	else if(constituency == "Walsall North")
	{
	emailAddress = "Winnickd@parliament.uk";
	salutation = "Mr Winnick";
	}
	else if(constituency == "Congleton")
	{
	emailAddress = "Wintertona@parliament.uk";
	salutation = "Ms Winterton";
	}
	else if(constituency == "Doncaster Central")
	{
	emailAddress = "Wintertonr@parliament.uk";
	salutation = "Ms Winterton";
	}
	else if(constituency == "Macclesfield")
	{
	emailAddress = "Wintertonn@parliament.uk";
	salutation = "Sir Nicholas";
	}
	else if(constituency == "Perth & North Perthshire")
	{
	emailAddress = "Wishartp@parliament.uk";
	salutation = "Mr Wishart";
	}
	else if(constituency == "Batley & Spen")
	{
	emailAddress = "Woodm@parliament.uk";
	salutation = "Mr Wood";
	}
	else if(constituency == "St Helens South")
	{
	emailAddress = "Woodwards@parliament.uk";
	salutation = "Mr Woodward";
	}
	else if(constituency == "Oldham East & Saddleworth")
	{
	emailAddress = "Woolasp@parliament.uk";
	salutation = "Mr Woolas";
	}
	else if(constituency == "Telford")
	{
	emailAddress = "Wrightd@parliament.uk";
	salutation = "Mr Wright";
	}
	else if(constituency == "Cannock Chase")
	{
	emailAddress = "Wrightt@parliament.uk";
	salutation = "Dr Wright";
	}
	else if(constituency == "Rugby & Kenilworth")
	{
	emailAddress = "Wrightj@parliament.uk";
	salutation = "Mr Wright";
	}
	else if(constituency == "Great Yarmouth")
	{
	emailAddress = "Wrighta@parliament.uk";
	salutation = "Mr Wright";
	}
	else if(constituency == "Hartlepool")
	{
	emailAddress = "Wrighti@parliament.uk";
	salutation = "Mr Wright";
	}
	else if(constituency == "Sittingbourne & Sheppey")
	{
	emailAddress = "Wyattd@parliament.uk";
	salutation = "Mr Wyatt";
	}
	else if(constituency == "South Suffolk")
	{
	emailAddress = "Yeot@parliament.uk";
	salutation = "Mr Yeo";
	}
	else if(constituency == "North West Hampshire")
	{
	emailAddress = "Youngg@parliament.uk";
	salutation = "Sir George";
	}
	else if(constituency == "Teignbridge")
	{
	emailAddress = "Younger-Rossr@parliament.uk";
	salutation = "Mr Younger-Ross";
	}
	
	$("#mpsSalutation").html(salutation);
	$("#mpsEmailAddress").html(emailAddress);
	$("#mpsEmailHiddenField").val(emailAddress);
	
}

function PreviewEmail()
{
	var alertUserName = "true";
	var alertAddress1 = "true";
	var alertPostCode = "true";
	var alertHomeTown = "true";
	var alertUserEmail = "true";
	var alertSalutation = "true";
	var alertMPEmail = "true";
	var missingFields = "your name\nyour house and street\nyour home town\nyour post code\nyour e-mail address";
	var oldMessageBody = "";

	var randomNumber = Math.floor(Math.random()*11);
	if(randomNumber == 0)
	{
		messageBody = $("#messageBody1").text();
	}
	else if (randomNumber == 1)
	{
		messageBody = $("#messageBody2").text();
	}
	else if (randomNumber == 2)
	{
		messageBody = $("#messageBody3").text();
	}
	else if (randomNumber == 3)
	{
		messageBody = $("#messageBody4").text();
	}
	else if (randomNumber == 4)
	{
		messageBody = $("#messageBody5").text();
	}
	else if (randomNumber == 5)
	{
		messageBody = $("#messageBody6").text();
	}
	else if (randomNumber == 6)
	{
		messageBody = $("#messageBody7").text();
	}
	else if (randomNumber == 7)
	{
		messageBody = $("#messageBody8").text();
	}
	else if (randomNumber == 8)
	{
		messageBody = $("#messageBody9").text();
	}
	else if (randomNumber == 9)
	{
		messageBody = $("#messageBody10").text();
	}
	else
	{
		messageBody = $("#messageBody11").text();
	}
	oldMessageBody = messageBody;
	
	
	userName = $("#name").val();	
	if(userName !== "" && userName !== "User Name")
	{		
		messageBody = messageBody.replace(/##Name##/g, userName);
		$("#message").text(messageBody);
		alertUserName = 'false';
		missingFields = missingFields.replace(/your name\n/, '');
	}
	else 
	{
		$("#message").text(oldMessageBody);
	}
	
	
	homeTown = $("#town").val();
	if(homeTown !== "" && homeTown !== "Home Town")
	{
		messageBody = messageBody.replace(/##Town##/g, homeTown);
		$("#message").text(messageBody);
		alertHomeTown = 'false';
		missingFields = missingFields.replace(/your home town\n/, '');
	}
	else 
	{
		$("#message").text(oldMessageBody);
	}	
	
	
	address1 = $("#address1").val();
	if(address1 !== "" && address1 !== "Address Line 1")
	{
		messageBody = messageBody.replace(/##Address1##/g, address1);
		$("#message").text(messageBody);
		alertAddress1 = 'false';
		missingFields = missingFields.replace(/your house and street\n/, '');
	}
	else 
	{
		$("#message").text(oldMessageBody);
	}
	
	postCode = $("#postcode").val();
	if(postCode !== "" && postCode !== "Post Code")
	{
		messageBody = messageBody.replace(/##PostCode##/g, postCode);
		$("#message").text(messageBody);
		alertPostCode = 'false';
		missingFields = missingFields.replace(/your post code\n/, '');
	}
	else 
	{
		$("#message").text(oldMessageBody);
	}	
	
	
	salutation = $("#mpsSalutation").text();
	if(salutation !== "" && salutation !== "Mr Someone")
	{
		messageBody = messageBody.replace(/##Salutation##/g, salutation);
		$("#message").text(messageBody);
		alertSalutation = 'false';
	}
	else 
	{
		$("#message").text(oldMessageBody);
	}
	
	
	emailAddress = $("#mpsEmailAddress").text();
	if(emailAddress !== "" && emailAddress !== "something@parliament.uk")
	{
		alertMPEmail = 'false';
	}
	
	userEmail = $("#email").val();
	if(userEmail !== "")
	{
		var reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;
		
		if(reg.test(userEmail) === true) {
		    alertUserEmail = 'false';
		    missingFields = missingFields.replace(/your e-mail address/, '');
		}		
	}
	
	
	if(alertUserName == "false" && alertAddress1 == "false" && alertPostCode == "false" && alertHomeTown == "false" && alertSalutation == "false" && alertMPEmail == "false" && alertUserEmail == "false")
	{
		$("#MessageAndButtons").show();
		$("#sendButton").focus();
	
	}
	else if(alertUserName == "true" || alertHomeTown == "true" || alertUserEmail == "true" || alertAddress1 == "true" || alertPostCode == "true")
	{
		alert("Please check the following fields:\n\n" + missingFields);
		$("#message").text(oldMessageBody);
	}
	else if(alertSalutation == "true" || alertMPEmail == "true")
	{
		alert("Please choose either your MPs name or your constituency");
		$("#message").text(oldMessageBody);
	}
	
	
}