function ChangeLine(line) {
if (line == 1){
var newtitle = "Humerous icebreaker"; 
var newdisplay = "displaying 1 of 61 examples";
var newexample = "Ladies and gentlemen, I'd like to thank all of you for being here today, especially since many of you knew that I'd want to say a few words -- it’s very touching that you still decided to come.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "-";
}
	
if (line == 2){
var newtitle = "Traditional opening"; 
var newdisplay = "displaying 1 of 60 examples";
var newexample = "While I don't want to take the chance of turning this into an Academy Award speech where I thank every person I've ever come into contact with, I would be remiss if I failed to thank the people who have made this day possible.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "-";
}
	
if (line == 45){
var newtitle = "Substituting groom's speech"; 
var newdisplay = "displaying 1 of 14 examples";
var newexample = "Ladies and gentlemen, friends and family – To those of you who know me well, it will come as no surprise that I am giving this speech. And what better way to begin this union than with me having the last word.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "-";
}
	
if (line == 46){
var newtitle = "Nervous about making the speech"; 
var newdisplay = "displaying 1 of 13 examples";
var newexample = "Good evening Ladies and Gentlemen - The following speech is brought to you in association with Jimmy Tonic.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "-";
}
	
if (line == 47){
var newtitle = "If you paid for the wedding"; 
var newdisplay = "displaying 1 of 10 examples";
var newexample = "I’d like to thank you all for coming today, and helping us to eat and drink through £10,000 worth of our hard earned money, condemning our early years of marriage to hardship, destitution and debt.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "-";
}
	
if (line == 3){
var newtitle = "Offering thanks - to the guests for attending"; 
var newdisplay = "displaying 1 of 36 examples";
var newexample = "Ladies and gentlemen, I am delighted that you found the time to join us here today. It has made such a difference to have been surrounded by our closest friends on this, our big day. We have been overwhelmed by you kindness and generosity.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "-";
}
	
if (line == 4){
var newtitle = "Offering thanks - to the guests for their generous gifts"; 
var newdisplay = "displaying 1 of 30 examples";
var newexample = "I’d like to thank you all for your gifts, which are very welcome and will be most appreciated by Paul and myself. Especially the dishwasher, which will allow Paul more time to vacuum the carpets.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "-";
}
	
if (line == 5){
var newtitle = "Offering thanks - to the parents for all their help"; 
var newdisplay = "displaying 1 of 29 examples";
var newexample = "I am extremely grateful for all the expense both families have gone to in creating this occasion. And by the way, please don't worry if you hear any unusual noises during the speeches – it's only my father’s wallet groaning in agony.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "-";
}
	
if (line == 6){
var newtitle = "Offering thanks - to your father for giving you away and his toast"; 
var newdisplay = "displaying 1 of 6 examples";
var newexample = "I’d like to thank my father for giving me away. Of course, after paying for this lot, his daughter was about all he had left to give away.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "-";
}
	
if (line == 7){
var newtitle = "Offering thanks - to the mother’s for their assistance"; 
var newdisplay = "displaying 1 of 14 examples";
var newexample = "Clearly, large family events like today’s don’t just happen. They take a considerable amount of hard work and organisation and it would seem an appropriate point, therefore, for me to ask you all to join me in a toast to the two mothers, as without their constant hard work and diligence, today may not have happened. To Carol and Sally!";
var newrest = "To view all the examples you need a full access password";
var newspacing = "-";
}
	
if (line == 11) {
var newtitle = "Offering thanks - to the minister"; 
var newdisplay = "Displaying 1 of 5 examples";
var newexample = "I’d like to thank the Reverend Grey for the great job he did today at the church. I learned something new during the vows that I hadn’t realised before: that it’s ok to have sixteen husbands…four better, four worse, four richer and four poorer. So I appreciate that teaching.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}
	
if (line == 9) {
var newtitle = "Offering thanks - to the ushers"; 
var newdisplay = "Displaying 1 of 9 examples";
var newexample = "I should thank the ushers, Dan and Mark, for doing what was expected of them. No more, no less. The main thing is they turned up. I guess it was too much to ask that they turn up sober.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}
	
if (line == 10) {
var newtitle = "Offering thanks - to the best man"; 
var newdisplay = "Displaying 1 of 14 examples";
var newexample = "Jason, thank you for your excellent best-manning. I’m afraid you don’t get your gift until after the speeches. In fact, depending on the content of your speech, you might not get one at all.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}
	
if (line == 8) {
var newtitle = "Offering thanks - to the bridesmaids"; 
var newdisplay = "Displaying 1 of 54 examples";
var newexample = "I would now like to thank my bridesmaids. The girls have been a terrific help to me, not only today, but throughout the many weeks of intense preparation and they have both carried out their duties splendidly. I have a gift for each of them, but in the meanwhile would you all please raise your glasses in a toast to – Lucy and Meg!";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}
	
if (line == 25) {
var newtitle = "Offering thanks - to your chief bridesmaid / maid of honour"; 
var newdisplay = "Displaying 1 of 32 examples";
var newexample = "Helen, you are my oldest and dearest friend. We have been through some bad times and we have been through a lot of good times. Your friendship has been a source of strength to me throughout the years and I want to say that I felt honoured to have you standing with me today, so thank you.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}
	
if (line == 12) {
var newtitle = "Offering thanks - to anyone else who helped on the day"; 
var newdisplay = "Displaying 1 of 16 examples";
var newexample = "I'd like to begin by offering my sincere thanks and appreciation to all those who have worked so hard and long to help put this day together, a day which, we will cherish for the remainder of our lives together.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}
	
if (line == 13) {
var newtitle = "Saying what a wonderful occasion it's been"; 
var newdisplay = "Displaying 1 of 11 examples";
var newexample = "I’m so happy that everything has turned out well. I’ve been worrying so much about the wedding plans I started to wonder what wine goes with fingernails.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}
	
if (line == 52) {
var newtitle = "Announcing how happy you are"; 
var newdisplay = "Displaying 1 of 21 examples";
var newexample = "This is the happiest day of my entire life. And I know my husband's quite pleased, because the morning he went from a sin-in-law to a son-in-law.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}
	
if (line == 14) {
var newtitle = "Events leading up to the day"; 
var newdisplay = "Displaying 1 of 12 examples";
var newexample = "To allow us to contribute to this celebration, I worked out a budget – Paul had to stop eating and I cut myself down to thirty phone calls a day.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}
	
if (line == 15) {
var newtitle = "Your parents - thanking them for the happy upbringing"; 
var newdisplay = "Displaying 1 of 57 examples";
var newexample = "Today represents a great occasion for both my parents, being the culmination of many years of planning of a different sort. They have prepared me well, supported me through every stage of my life and taught me the difference between right and wrong – so that I know which I am enjoying at any given time.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}
	
if (line == 16) {
var newtitle = "Your parents - saying something affectionate about them"; 
var newdisplay = "Displaying 1 of 33 examples";
var newexample = "I feel that I cannot let this occasion pass without mentioning what a wonderful example my mum and dad have set for me. Besides their loving devotion as parents, they have demonstrated an unfailing devotion to each other. The least I can do is to follow it.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}
	
if (line == 17) {
var newtitle = "Adding something special about your mum"; 
var newdisplay = "Displaying 1 of 14 examples";
var newexample = "I’d like to take a moment to thank my mum. I know I wasn’t the easiest child to bring up, but you have stuck by me through countless traumas – in fact, you’re probably delighted to finally get me off your hands! So these flowers are for you.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}
	
if (line == 18) {
var newtitle = "Adding something special about your dad"; 
var newdisplay = "Displaying 1 of 11 examples";
var newexample = "It is said that you marry a man like your Dad and if that’s true – then kind, generous, loving, caring, supportive and 'always there when I need him' is what I’m getting. Thanks so much for everything Dad, not least for giving me away … although you were probably glad to get rid of me!";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}
	
if (line == 19) {
var newtitle = "Your in-laws - thanking them for their kindness and support"; 
var newdisplay = "Displaying 1 of 17 examples";
var newexample = "I would like to express my deep gratitude to Paul’s parents, Ray and Sally, for raising such a perfect son in Paul and for helping to organise such a magnificent reception to celebrate this occasion.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}
	
if (line == 20) {
var newtitle = "Your in-laws - conveying your positive feelings towards them"; 
var newdisplay = "Displaying 1 of 22 examples";
var newexample = "I can't emphasize enough how wonderfully supportive Paul’s parents have been, not only in helping us put together a great party today, but from the moment I first met them. They've always made me feel like I'm part of the family.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}
	
if (line == 21) {
var newtitle = "Your in-laws - expressing your luck in joining their family"; 
var newdisplay = "Displaying 1 of 11 examples";
var newexample = "I’d like to thank Ray and Sally for making me feel so welcome right from the very first time I met them. I feel immensely fortunate to have married into such a great family. My sincere wish is that together Paul and I can build a home that is as welcoming and as full of love and happiness as Ray and Sally’s is…personally speaking, I also quite like the idea of five bedrooms, three bathrooms and a big garden too.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}
	
if (line == 27) {
var newtitle = "Explaining how you met and first impressions"; 
var newdisplay = "Displaying 1 of 15 examples";
var newexample = "Paul and I met in a very, very romantic location -- the Hippodrome nightclub in Exeter. This place is renowned for being the hangout of drunk wide boys and white stiletto girls, so it was pure coincidence that we met on that fateful night.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "-";
}

if (line == 28) {
var newtitle = "Describing the effect you've had on each other"; 
var newdisplay = "Displaying 1 of 8 examples";
var newexample = "Paul’s been a good influence on me, and it’s worth remembering that in marriage one partner often becomes like the other. I’m not sure which would be better – me ending up bald with a moustache, or Paul with a ponytail and painted nails.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "-";
}

if (line == 29) {
var newtitle = "Saying why you think you are so well suited"; 
var newdisplay = "Displaying 1 of 8 examples";
var newexample = "Marriage is about love, sharing and, when you really look at it, teamwork. And in that respect, we complement each other so well. I wash, Paul dries.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "-";
}

if (line == 30) {
var newtitle = "Providing an amusing insight into your relationship"; 
var newdisplay = "Displaying 1 of 14 examples";
var newexample = "I’ll never forget the time Paul surprised me with some lingerie… I’d never seen him wearing anything in red before!";
var newrest = "To view all the examples you need a full access password";
var newspacing = "-";
}

if (line == 49) {
var newtitle = "Did the groom ask your parents permission?"; 
var newdisplay = "Displaying 1 of 5 examples";
var newexample = "When I introduced Paul to my father, he asked him if his intentions towards me were honourable or dishonourable? Paul was quite surprised by this, as he didn’t realise he had a choice.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "-";
}

if (line == 22) {
var newtitle = "Your husband - saying how wonderful he is"; 
var newdisplay = "Displaying 1 of 36 examples";
var newexample = "I had no idea such a wonderful combination of qualities could exist in one person until I met my husband. Paul, you are everything I never knew I wanted.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "-";
}

if (line == 48) {
var newtitle = "Your husband - saying how lucky you are"; 
var newdisplay = "Displaying 1 of 33 examples";
var newexample = "Many people have told me how lucky I am to be marrying Paul. But the real lucky person is my mother, who can now relax in the knowledge that her youngest daughter will no longer be bringing her dirty laundry round, as she’s just acquired a new washing machine.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "-";
}

if (line == 24) {
var newtitle = "Your husband - expressing your love for him"; 
var newdisplay = "Displaying 1 of 32 examples";
var newexample = "Paul, I feel so blessed that you are in my life and I delighted to become your wife today. I love you with my whole heart and know that this is just the beginning of a new, and wonderful life together.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "-";
}

if (line == 23) {
var newtitle = "Your husband - providing an amusing insight into him"; 
var newdisplay = "Displaying 1 of 30 examples";
var newexample = "Paul's priorities go like this: family and friends first, job second and himself last – although Arsenal is in there somewhere as well.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "-";
}

if (line == 31) {
var newtitle = "Saying how happy you will be together"; 
var newdisplay = "Displaying 1 of 21 examples";
var newexample = "I know that marriage is not all fun and excitement like today, but I also know that Paul and I have the will to deal with any difficulties that may come our way. We make a good team and that’s what I love best about our relationship. We trust and support one another and we know that whatever happens the other will be there for them.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "-";
}

if (line == 32) {
var newtitle = "Commenting on any advice given to you"; 
var newdisplay = "Displaying 1 of 19 examples";
var newexample = "Ever since Paul and I announced our engagement we've had many offers of support and even more offers of advice. Some have been helpful, some less so. Perhaps the best wisdom I received came from my mother who’s advice was this: Whenever you introduce Paul to someone, refer to him as your first husband – that should keep him on his toes.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}

if (line == 33) {
var newtitle = "Conveying your thoughts on being married"; 
var newdisplay = "Displaying 1 of 16 examples";
var newexample = "Now that I am married I have some catching up do in domestic matters. I must learn how to cook, iron clothes, vacuum carpets – but I am sure that after a year or two of watching how Paul does these things, I’ll get the idea.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}

if (line == 35) {
var newtitle = "Disco to follow?"; 
var newdisplay = "Displaying 1 of 8 examples";
var newexample = "Later on this evening there will of course be a disco – much to my sadness. I don’t mind Paul dancing on my feet, it’s the continual jumping on and off that gets to me.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}

if (line == 36) {
var newtitle = "Poems"; 
var newdisplay = "Displaying 1 of 10 examples";
var newexample = "I know I cannot change you, And you know you won’t change me. Together let’s go hand in hand, Towards the best that life can be.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}

if (line == 37) {
var newtitle = "Closing lines"; 
var newdisplay = "Displaying 1 of 41 examples";
var newexample = "I'd like to thank you all for being here and for helping to make this the happiest day of our lives. I'll finish by expressing my wish that you all enjoy the remainder of the day.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}

if (line == 38) {
var newtitle = "Proposing a toast to - your guests, friends & family"; 
var newdisplay = "Displaying 1 of 21 examples";
var newexample = "We will always remember this day, and, from time to time, will think about all of you who are here making it the wonder that it is. My toast is to you!";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}

if (line == 39) {
var newtitle = "Proposing a toast to - the parents / organisers"; 
var newdisplay = "Displaying 1 of 18 examples";
var newexample = "I’d like you all now to raise your glasses in a toast to our parents for providing this wonderful day for us. It is not only their generosity for which we are grateful, but the enthusiastic spirit with which you they have organised things. To Alan and Carol, Ray and Sally!";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}

if (line == 40) {
var newtitle = "Proposing a toast to - your husband"; 
var newdisplay = "Displaying 1 of 14 examples";
var newexample = "Without doubt, the most important ‘Thank You’ I have to say today is to my new husband for marrying me and making me so happy. I realise that I’m getting the best of this deal, because I get you while all you get is me. So I would like to drink my own private toast to you and to our future together.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}

if (line == 50) {
var newtitle = "Proposing a toast to - your bridesmaids"; 
var newdisplay = "Displaying 1 of 45 examples";
var newexample = "Finally, I would like to pay tribute to some very important, special people who are responsible for having safely looked after me today – my bridesmaids. Will you please join me now in raising your glasses as I propose the toast to their health and happiness.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}

if (line == 41) {
var newtitle = "Honouring a deceased relative / absent friends"; 
var newdisplay = "Displaying 1 of 27 examples";
var newexample = "A wedding is a time for joy and fun, but it is a time, too, when our thoughts inevitably turn to those people who cannot be with us today. So let’s raise a glass to my grandfather, Frank, who we remember with love and pride.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}

if (line == 43) {
var newtitle = "You've been together a long time"; 
var newdisplay = "Displaying 1 of 10 examples";
var newexample = "So why has it taken us so long to get married? Well, it's all about maturity. Men are like a fine wine. They all start out as grapes. It’s our job to stamp on them and then keep them in the dark until they mature into something you'd like to have dinner with.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}


if (line == 44) {
var newtitle = "Second marriage"; 
var newdisplay = "Displaying 1 of 8 examples";
var newexample = "For me this is a first marriage and a time of hope and anticipation. For Paul it is a second marriage. I think of it this way: the man I am marrying has already had the sharp corners rubbed off and he is already house trained, so I won’t have to bother with the sandpaper or litter tray.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}

if (line == 42) {
var newtitle = "Children"; 
var newdisplay = "Displaying 1 of 18 examples";
var newexample = "Now everyone knows that for Paul, this marriage involves taking on a child. The mess, the broken nights, the temper tantrums … and as well as looking after me, he’ll become step-dad to my son Gordon.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}

	document.getElementById('viewer').style.visibility = "visible";
	var title = document.getElementById("title");
	title.firstChild.nodeValue=newtitle;
	var display = document.getElementById("display");
	display.firstChild.nodeValue=newdisplay;
	var example = document.getElementById("example");
	example.firstChild.nodeValue=newexample;
	var rest = document.getElementById("rest");
	rest.firstChild.nodeValue=newrest;
	var spacing = document.getElementById("spacing");
	spacing.firstChild.nodeValue=newspacing;
	}
