function ChangeLine(line) {
if (line == 1){
var newtitle = "Humerous icebreaker"; 
var newdisplay = "displaying 1 of 116 examples";
var newexample = "Welcome to our wedding breakfast! I hope you're all enjoying yourselves on this special day. It’s great to see so many friends and family and I can honestly say it would not have been the same without you – just an awful lot cheaper!";
var newrest = "To view all the examples you need a full access password";
var newspacing = "-";
}
	
if (line == 2){
var newtitle = "Conservative opening"; 
var newdisplay = "displaying 1 of 37 examples";
var newexample = "Good evening everyone, and thank you Alan for those kind words. Of course, having you as a father-in-law is a bonus to marrying your daughter. I'll do my best to live up to your expectations and promise to take good care of Linda, and I can assure you that I will do all I can to make sure she looks after me properly.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "-";
}
	
if (line == 66){
var newtitle = "Nervous about the speech"; 
var newdisplay = "displaying 1 of 15 examples";
var newexample = "This is a very important day for me – second only to my stag night – so I’m sure you’ll understand if I seem a little nervous. After all, it’s only natural, marriage is a pretty big step … and these days you have to be careful what you step into.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "-";
}
	
if (line == 3){
var newtitle = "Date hook"; 
var newdisplay = "displaying 1 of 6 examples";
var newexample = "Good evening Ladies and Gentlemen - Perhaps you have already noticed, but Linda and I have chosen a day to marry that is of real historical significance, July 4th – US Independence Day. And, on a related note, this is the also the day I lost my independence.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "-";
}
	
if (line == 85){
var newtitle = "If you paid for the wedding"; 
var newdisplay = "displaying 1 of 12 examples";
var newexample = "I feel very fortunate to be marrying Linda and I didn’t want to miss the opportunity of giving her everything she deserved … beautiful flowers and a wonderful white wedding car, so I hope you’ve all enjoyed the day as much as my credit card company has.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "-";
}
	
if (line == 4){
var newtitle = "Offering thanks - to the bride's father for his kind remarks & toast"; 
var newdisplay = "displaying 1 of 18 examples";
var newexample = "I’d like to start by thanking Alan for his kind words. I hope that, as Linda’s husband, I can live up to the image he painted of me or, failing that, at least continue to keep pulling the wool over his eyes!";
var newrest = "To view all the examples you need a full access password";
var newspacing = "-";
}
	
if (line == 6){
var newtitle = "Offering thanks - to the bride's father for giving his daughter away"; 
var newdisplay = "displaying 1 of 9 examples";
var newexample = "I’d like to thank Alan for giving away his daughter. 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 == 5){
var newtitle = "Offering thanks - to the parents for laying on the reception"; 
var newdisplay = "displaying 1 of 22 examples";
var newexample = "I’d like to thank Linda’s mother and father for providing this wonderful day for us. It is not only your generosity, Alan and Carol, for which we are grateful, but the enthusiastic spirit with which you have organised things. Thank you so much.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "-";
}
	
if (line == 7){
var newtitle = "Offering thanks - to the guests for attending"; 
var newdisplay = "displaying 1 of 34 examples";
var newexample = "I would like to welcome every one of you here as you have all played some part, however small, in our lives and are valued because of that. Your presence here is important to us.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "-";
}
	
if (line == 8){
var newtitle = "Offering thanks - to the guests for their generous gifts"; 
var newdisplay = "displaying 1 of 28 examples";
var newexample = "Thank you for all your wonderful gifts. I can’t tell you how much they mean to us – but I should have a better idea after the honeymoon, once I’ve spoken to the guy in the pawn shop.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "-";
}
	
if (line == 9){
var newtitle = "Offering thanks - to the mother’s for their assistance"; 
var newdisplay = "displaying 1 of 8 examples";
var newexample = "I’d like to acknowledge my mother in-law Carol for organising with Linda the whole day. It’s been a year in the making, unlike this speech, which, I made up during the sticky toffee pudding.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "-";
}
	
if (line == 10) {
var newtitle = "Offering thanks - to the minister"; 
var newdisplay = "Displaying 1 of 6 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 wives…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 == 11) {
var newtitle = "Offering thanks - to the ushers"; 
var newdisplay = "Displaying 1 of 15 examples";
var newexample = "A big thank you to the ushers; Gary and Vince. It was a stipulation for the wedding that the ushers weren’t allowed to look better than the bridegroom and I’m pleased to say the have accomplished their role admirably. Cheers guys to an awesome job!";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}
	
if (line == 12) {
var newtitle = "Offering thanks - to the bridesmaids"; 
var newdisplay = "Displaying 1 of 47 examples";
var newexample = "Lastly, we want to say a very, very big thank you to those terrific young ladies who really are the most beautiful in the room next to my bride … my mother … and of course my mother-in-law. The toast is to the bridesmaids!";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}
	
if (line == 13) {
var newtitle = "Offering thanks - to anyone else who has helped"; 
var newdisplay = "Displaying 1 of 13 examples";
var newexample = "I’m impressed by the number of people who have rallied round in all sorts of ways to help us lay on this reception. If you’re not mentioned by name, that’s most of you, please be assured that Linda and I are very grateful.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}
	
if (line == 14) {
var newtitle = "What a wonderful occasion it’s been"; 
var newdisplay = "Displaying 1 of 13 examples";
var newexample = "Linda has to be congratulated for organising today. I'm not saying I didn't do my bit, I am here after all, but I'm sure you'll all agree she's done a fantastic job. I hope that every day will be as happy as today … and a lot cheaper.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}
	
if (line == 15) {
var newtitle = "The happiness today brings you"; 
var newdisplay = "Displaying 1 of 17 examples";
var newexample = "This is the happiest day of my entire life, and I really must thank Linda for pointing that out.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}
	
if (line == 16) {
var newtitle = "Events leading up to the big day"; 
var newdisplay = "Displaying 1 of 17 examples";
var newexample = "In the run-up to today, Linda and I had a bit of an issue with the seating plan, because we really couldn’t decide who to put where. In the end, we decided to use the wedding present list, and put those who bought the biggest items nearest the front, and work it back from there. So if they can hear me at the back in the corner, thank you to Tony and Sue for the oven glove.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}
	
if (line == 18) {
var newtitle = "The bride - comment on how beautiful she looks"; 
var newdisplay = "Displaying 1 of 11 examples";
var newexample = "All the hard work getting Linda ready for today has been worth it. She looks even more beautiful than she does normally, and I hope that I will be everything she could ever hope for in a husband. If there is one thing I have learnt from her, it is patience, and today was worth all the waiting.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}
	
if (line == 19) {
var newtitle = "The bride - tell everyone how wonderful she is"; 
var newdisplay = "Displaying 1 of 30 examples";
var newexample = "Linda is beautiful. She’s intelligent. She’s funny. She can cook like Nigella Lawson and she’s got the patience of a saint. I can say with my hand on my heart that I’m one of the luckiest men alive. And she writes a cracking Bridegroom speech as well.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}
	
if (line == 20) {
var newtitle = "The bride - say how happy and fortunate you are"; 
var newdisplay = "Displaying 1 of 30 examples";
var newexample = "Many people have told me how lucky I am to be marrying Linda, including Linda. And they are right. You should see the Dowry I’m getting!";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}
	
if (line == 48) {
var newtitle = "The bride - express your love for her "; 
var newdisplay = "Displaying 1 of 19 examples";
var newexample = "Linda’s priority list in life is about as selfless as it gets: family and friends first, then her job, and then herself. And anyone who can call her family or friend is truly fortunate. She is a rock, and I admire her as much as I love her.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}
	
if (line == 83) {
var newtitle = "Provide an amusing insight into your bride"; 
var newdisplay = "Displaying 1 of 29 examples";
var newexample = "It’s fair to say that Linda likes the good things in life. I don't know if you overheard this, but earlier, when the minister asked if there were any objections, Linda said; just the one. What's all this rubbish about 'for richer or for poorer'?";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}
	
if (line == 21) {
var newtitle = "Explain how you met & your first impressions"; 
var newdisplay = "Displaying 1 of 18 examples";
var newexample = "Linda 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 == 22) {
var newtitle = "Describe how the romance developed "; 
var newdisplay = "Displaying 1 of 12 examples";
var newexample = "Linda and I began our relationship like many young lovebirds, by spending almost every moment together - during which time Linda tried to decide if she could do any better.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}
	
if (line == 24) {
var newtitle = "Describe the effect you've had on each other"; 
var newdisplay = "Displaying 1 of 15 examples";
var newexample = "Since I started going out with Linda I have really started to go places. It was ‘to the bar’ when I first met her, ‘to get on my bike’ when I grew a moustache, ‘to the florists’ when I forgot valentines day, and, of course, when I proposed… to her parents house to get permission. And I’m delighted that they gave it!";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}
	
if (line == 23) {
var newtitle = "Say why you think you are so well suited"; 
var newdisplay = "Displaying 1 of 11 examples";
var newexample = "I think we complement each other very well. Linda is ambitious, industrious, highly-motivated and loves a challenge. And I am that challenge.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}
	
if (line == 50) {
var newtitle = "Provide an amusing insight into your relationship"; 
var newdisplay = "Displaying 1 of 20 examples";
var newexample = "I’ll never forget the time I surprised Linda with some lingerie… she’d never seen me wearing anything in red before!";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}

if (line == 25) {
var newtitle = "The in-laws - did you ask for permission?"; 
var newdisplay = "Displaying 1 of 13 examples";
var newexample = "I would like to thank Linda's parents for everything they have done and for welcoming me so openly into their family. Although I was a bit worried at first. When I asked Alan for Linda’s hand in marriage he told me to leave my name and number and said he’d call me if nothing better turned up.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "-";
}

if (line == 26) {
var newtitle = "The in-laws - thank them for their kindness and for their daughter"; 
var newdisplay = "Displaying 1 of 18 examples";
var newexample = "Alan and Carol, thank you for your support and for welcoming me into your family. I hope I can live up to both of your expectations, just remind me what the two of them were again?";
var newrest = "To view all the examples you need a full access password";
var newspacing = "-";
}

if (line == 82) {
var newtitle = "The in-laws - reassure them you will look after her "; 
var newdisplay = "Displaying 1 of 10 examples";
var newexample = "Alan and Carol, I promise I will take good care of Linda. Think of it this way: you’re not losing a daughter – you’re gaining the use of a telephone.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "-";
}

if (line == 27) {
var newtitle = "The in-laws - convey your positive feelings towards them"; 
var newdisplay = "Displaying 1 of 21 examples";
var newexample = "I would like to thank Alan and Carol for bringing up such a beautiful and intelligent daughter. Linda is a lovely person and she deserves a good husband, so I thought I’d best marry her before she found one.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "-";
}

if (line == 29) {
var newtitle = "Express your luck in joining your wife’s family"; 
var newdisplay = "Displaying 1 of 8 examples";
var newexample = "My new mother-in-law, Carol, has worked long and hard for many months to prepare this wonderful occasion, all the little details such as these beautiful flowers were planned by her, and my father-in-law has taken on his second mortgage without complaint, like the good-natured man he is. I am very pleased to be part of the same family and to know that my parents feel the same.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "-";
}

if (line == 30) {
var newtitle = "Your parents - say something affectionate about them"; 
var newdisplay = "Displaying 1 of 27 examples";
var newexample = "This seems to me to be an appropriate moment to thank my mother and father for being such splendid parents to me. I only hope that Linda and I make as good a job of our married life as they have of theirs. And that all our children are as perfect as I am.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "-";
}

if (line == 31) {
var newtitle = "Your parents - thank them for your upbringing and their support "; 
var newdisplay = "Displaying 1 of 54 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 university, 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 == 32) {
var newtitle = "Best man - acknowledge his services"; 
var newdisplay = "Displaying 1 of 60 examples";
var newexample = "Finally, I need to thank my best man. Every bridegroom needs a best man he can totally rely on, somebody organised, who can take charge and make the day run smoothly – a person who is very serious and responsible. But what do you do if you don’t know anybody like that? Well, in my case I picked Jason.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "-";
}

if (line == 34) {
var newtitle = "Best man - comment on your friendship"; 
var newdisplay = "Displaying 1 of 41 examples";
var newexample = "Jason and I go way back, and he’s always been there for me. I remember when I lost my job, Jason was there. When I broke my arm, Jason was there. And when I crashed my one-and-only car, Jason was there. In fact, come to think about it, Jason - you're a jinx!";
var newrest = "To view all the examples you need a full access password";
var newspacing = "-";
}

if (line == 35) {
var newtitle = "Best man - express your regard for him "; 
var newdisplay = "Displaying 1 of 27 examples";
var newexample = "Everything vital in life that I’ve learned in the last six years, I’ve learned from my best man, Jason. So touched am I by the impression he’s made on me that I think those lessons are too good to keep to ourselves, so today I thought I’d share them with everyone here. Thanks Jason, I know that life is much more enjoyable if you’re prepared to deceive, cheat and lie to get what you want.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "-";
}

if (line == 36) {
var newtitle = "Best man - take a pre-emptive strike"; 
var newdisplay = "Displaying 1 of 47 examples";
var newexample = "Before I say a few words about my best man, Jason, did anyone else notice him take a bow after the toast to absent friends? Seriously, he’s been a wonderful best man and a great help to both Linda and me.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}

if (line == 37) {
var newtitle = "Two best men"; 
var newdisplay = "Displaying 1 of 7 examples";
var newexample = "As you can see I have two Best Men and they will both be giving a short speech. So why will it take two of them to describe me? Well, as the man in Moss Bros said, 'There's a lot to fit in'.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}

if (line == 38) {
var newtitle = "Pay a tribute to your friends"; 
var newdisplay = "Displaying 1 of 14 examples";
var newexample = "Some people judge their success on how much money they have in the bank and others on how they look in the mirror. If there was a preferred way for Linda and me to do it, then it would have to be by looking at the friends and family that surround us now. If you’re here with us today it’s because you are important to us and we say this earnestly. When I look around the room I’m in total awe of how lucky and successful Linda and I really are. I state for the record that you are all welcome in our home and our lives moving forward.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}

if (line == 39) {
var newtitle = "Say how happy you will be together"; 
var newdisplay = "Displaying 1 of 22 examples";
var newexample = "I genuinely believe I have everything it takes to make this a successful marriage … a quite charm, a persuasive manner, and the ability to grovel without wrinkling my suit!";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}

if (line == 49) {
var newtitle = "Convey your thoughts on being married"; 
var newdisplay = "Displaying 1 of 21 examples";
var newexample = "Now that I am married, I have some catching up do in domestic matters. I must learn how to paint a house, mow a lawn, dig a garden, but I am sure that after a year or two of watching how Linda 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 == 40) {
var newtitle = "Comment about the nature of love and marriage"; 
var newdisplay = "Displaying 1 of 14 examples";
var newexample = "I have been told that there are two secrets to a long-lasting, happy marriage: a good sense of humour and a short memory – and that’s also the secret to enjoying this speech.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}

if (line == 41) {
var newtitle = "Propose a toast to the bridesmaids"; 
var newdisplay = "Displaying 1 of 34 examples";
var newexample = "Lastly, we want to say a very, very big thank you to those terrific young ladies who really are the most beautiful in the room next to my bride … my mother … and of course my mother-in-law. The toast is to the bridesmaids!";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}

if (line == 68) {
var newtitle = "Propose a toast to the parents"; 
var newdisplay = "Displaying 1 of 10 examples";
var newexample = "Our thanks must go to our parents. Without them none of this would have been possible … or for that matter affordable. Can I ask you all to raise your glasses in a toast to Carol, Sally, Ray and Alan. The parents!";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}

if (line == 84) {
var newtitle = "Propose a toast to your wife "; 
var newdisplay = "Displaying 1 of 16 examples";
var newexample = "I’d like to thank my wife for everything she has taught me over the last few months. That wedding invitations must be sent in a specially designed envelope and that guests will be disappointed if my neck-tie doesn’t match the bridesmaid’s dress. Seriously, if Linda hadn’t eaten, slept and drunk this wedding for the last year, we wouldn’t all be having the fantastic time we are today. So, I’d like to ask you all to join me in a toast to my wife. To Linda!";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}

if (line == 67) {
var newtitle = "Poem"; 
var newdisplay = "Displaying 1 of 10 examples";
var newexample = "Here’s to my mother-in-law’s daughter, Here’s to her father-in-law’s son, And here’s to the vows we’ve just taken, And the life we’ve just begun.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}


if (line == 86) {
var newtitle = "Disco to follow?"; 
var newdisplay = "Displaying 1 of 6 examples";
var newexample = "Later on this evening there will of course be a disco – much to the sadness of my bride. She doesn’t mind me dancing on her feet: it’s the continual jumping on and off that gets to her.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}

if (line == 87) {
var newtitle = "Hand over to best man"; 
var newdisplay = "Displaying 1 of 21 examples";
var newexample = "I’ve tried to keep this short, as I know that Jason is really looking forward to giving you his speech. Aren’t you Jason? Being asked to be best man is the toughest of all wedding jobs - rather like being asked to sleep with the Queen - it's a great honour, but no-one really wants to do it!";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}

if (line == 69) {
var newtitle = "Other final words"; 
var newdisplay = "Displaying 1 of 33 examples";
var newexample = "In conclusion, ladies and gentlemen, let us have a few moments silence in memory of the 3,000 prawns and 100 chickens who selflessly gave their lives to make this dinner possible.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}

if (line == 42) {
var newtitle = "Honouring a deceased relative "; 
var newdisplay = "Displaying 1 of 20 examples";
var newexample = "My only regret today is that my father wasn’t here to enjoy it, but I’m sure he is looking down on us smiling. Perhaps we can help him to be with us in two ways: first by a quiet moment to remember all the happy times, and then by continuing with this celebration just as he would have wished.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}

if (line == 43) {
var newtitle = "Children"; 
var newdisplay = "Displaying 1 of 23 examples";
var newexample = "I am not the luckiest man in the world today to be marrying Linda. No, that honour goes to my son, Stuart, who from this day forth gets unlimited access to Linda’s home cooking and comes home to Linda a good three hours before I do.";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}

if (line == 45) {
var newtitle = "Been together a long time"; 
var newdisplay = "Displaying 1 of 10 examples";
var newexample = "One thing is for certain, Linda will never leave me. I mean, she has spent the last seven years training me, so why waste it?";
var newrest = "To view all the examples you need a full access password";
var newspacing = "------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------";
}

if (line == 64) {
var newtitle = "Second marriage"; 
var newdisplay = "Displaying 1 of 8 examples";
var newexample = "All marriages are special occasions but a second marriage is an unsurpassable event because no one goes into it looking through rose-tinted glasses. You know what kind of problems must be faced and what sort of mistakes must be avoided. And, of course, it is impossible to avoid such pitfalls until you first know they are there.";
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;
	}
