<!doctype html>
<html>
<head>
<meta id="myviewport" name="viewport" content="width=device-width, initial-scale=1, minimum-scale=0.25, maximum-scale=8, user-scalable=yes" />
<title>Our Book of Proverbs in the One Webpage</title>
<script type='text/javascript'>
var obod=null;
var numpages=100;
var pw=900;
var ph=900;
var done=false;
// Thanks to http://tww.id.au/proverbs/proverbs.html below
var proverbs=["A friend's frown is better than a fool's smile.",
"A friend in need is a friend indeed.",
"A friend is easier lost than found.",
"A friend to everybody is a friend to nobody.",
"A problem shared is a problem halved.",
"A true friend is someone who reaches for your hand, but touches your heart.",
"False friends are worse than open enemies.",
"Flattery is all right so long as you don't inhale.",
"Give credit where credit is due.",
"Grief divided is made lighter.",
"Memory is the treasure of the mind.",
"Nothing dries sooner than a tear.",
"Old friends and old wine are best.",
"The best of friends must part.",
"The best things are not bought and sold.",
"There is no better looking-glass than an old friend.",
"To err is human (To forgive divine).",
"Two cannot fall out if one does not choose.",
"A loveless life is a living death.",
"Absence makes the heart grow fonder.",
"All's fair in love and war.",
"Beauty is in the eye of the beholder.",
"Before you meet the handsome prince you have to kiss a lot of toads.",
"Better to have loved and lost, than to have never loved at all.",
"Cold hands, warm heart.",
"Distance makes the heart grow fonder.",
"Faint heart never won fair lady.",
"First impressions are the most lasting.",
"Hatred is as blind as love.",
"Love and a cough cannot be hid.",
"Love does much but money does all.",
"Love levels all inequalities.",
"Love makes a good eye squint.",
"Love sees no faults.",
"Love sought is good, but given unsought is better.",
"Love to live and live to love.",
"Love with life is heaven; and life unloving, hell.",
"Man is the head but woman turns it.",
"Marry in haste, repent at leisure.",
"The course of love never did run smooth.",
"The Lord loveth a cheerful liar.",
"There is a thin line between love and hate.",
"To eat one's heart out.",
"True beauty lies within.",
"You can't live on bread alone.",
"A good friend is one's nearest relation.",
"A man is known by the company he keeps.",
"A man of straw needs a woman of gold.",
"A wink is as good as a nod, to a blind man.",
"An injury is forgiven better than an injury revenged.",
"Anger and hate hinder good counsel.",
"Appearances are deceptive.",
"At a round table there's no dispute about the place.",
"Attack is the best form of defence",
"Be slow in choosing, but slower in changing.",
"Behind every great man stands a strong woman.",
"Blood is thicker than water.",
"Cheerfulness smooths the road of life.",
"Confess and be hanged.",
"Conscience makes cowards of us all.",
"Don't blow your own trumpet.",
"Do as you would be done by.",
"Do unto others as you would have them do to you.",
"Grow angry slowly; there's plenty of time.",
"He bears misery best that hides it most.",
"He that hurts another, hurts himself.",
"He who wronged you will hate you.",
"Heavy givers are light complainers.",
"Honour is a gift you give yourself.",
"I am rubber and you are glue. Your words bounce off me and stick to you.",
"If you lose your temper, don't look for it.",
"It's not over till it's over.",
"Joy shared is double joy; grief shared is (only) half grief.",
"Laugh and the world laughs with you. Cry and you cry alone.",
"Never let the sun set on angry heart.",
"Never let the sun go down on your anger.",
"Never let the sun set on thy wrath.",
"Never quarrel with one's bread and butter.",
"No man or woman is worth your tears, and the one who is, won't make you cry.",
"Open confession is good for the soul.",
"Out of sight, out of mind.",
"Patience is a virtue.",
"Persuasion is better than force.",
"Spare the rod and spoil the child.",
"Temper is so good a thing that we should never lose it.",
"The greater joy is in giving - not receiving.",
"There is nothing as sharp as a woman's tongue.",
"To the world you may be one person, but to one person, you may be the world.",
"Wondrous is the strength of cheerfulness.",
"You made your bed, now you must lie in it.",
"A bully is always a coward.",
"A handsome shoe often pinches the foot.",
"A good thing is all the sweeter when won with pain.",
"A man too careful of danger lives in continual torment.",
"A miss is as good as a mile.",
"Adversity flatters no man",
"Adversity and loss make a man wise",
"All promises are either broken or kept.",
"All things come to those that wait.",
"An eye for an eye and a tooth for a tooth.",
"An open door may tempt a saint.",
"As one door closes, another always opens.",
"As you go through life, make this your goal, watch the doughnut and not the hole.",
"Brevity is the soul of wit.",
"Cut your coat according to the cloth.",
"Discretion is the better part of valour.",
"Do right and fear no man.",
"Easy come, easy go.",
"Experience is the hardest teacher. She gives the test first and the lesson afterwards.",
"Familiarity breeds contempt.",
"Fortune favours the brave.",
"Hall binks are oft sliddery.",
"He who laughs last, laughs longest.",
"Home is where the heart is.",
"Hope for the best and prepare for the worst.",
"If wishes were horses, beggars would ride.",
"In the country of the blind, the one-eyed man is king.",
"It never rains but it pours.",
"Leave tomorrow till tomorrow.",
"Life begins at forty.",
"Life's trials may be hard to bear, but patience can outlive them.",
"Live and learn.",
"Manners maketh the man.",
"No man is worse for knowing the worst of himself.",
"Only the good die young.",
"Procrastination is the thief of time.",
"The best things in life are free.",
"The family that prays together, stays together.",
"The longer you live the more you see.",
"The meek shall inherit the earth.",
"The receiver is as bad as the thief.",
"To wait and be patient soothes many a pang.",
"To promise yourself a future means to rob yourself of the present.",
"Up and down like a fiddler's elbow.",
"We cannot erase the sad records from our past.",
"What the eye doesn't see, the heart doesn't grieve over.",
"While there's life there's hope.",
"A watched pot never boils.",
"A drowning man will clutch at a straw.",
"An apple a day keeps the doctor away.",
"An onion a day keeps everyone away.",
"An ounce of protection is worth a pound of cure.",
"Another pot ! Try the teapot.",
"As fit as a fiddle.",
"As hard as nails.",
"As sick as a dog.",
"As you go through life, make this your goal, watch the doughnut and not the hole.",
"Be not a baker if your head is made of butter.",
"Beauty is but skin deep.",
"Better late thrive than never do well.",
"Better to be poor and healthy rather than rich and sick.",
"Better to wear out than rust out.",
"Bread never falls but on its buttered side.",
"Cleanliness is next to Godliness.",
"Content is health to the sick and riches to the poor.",
"Don't bite the hand that feeds you.",
"Drink like a fish, water only.",
"Early to bed, early to rise, makes you healthy, wealthy & wise.",
"Fair words butter no cabbage.",
"Give a man a fish and he will eat for the day. Give him a fishing rod, and he will eat forever.",
"Good wine ruins the purse, and bad wine ruins the stomach.",
"Greediness burst the bag.",
"Grumbling makes the loaf no larger.",
"Half a loaf is better than none.",
"He who rises late must trot all day.",
"He who drinks a little too much drinks much too much.",
"His eyes are bigger than his belly.",
"Hunger is the best sauce.",
"It is no use crying over spilt milk.",
"Old friends and old wine are best.",
"One man's meat is another man's poison.",
"Ready money is ready medicine.",
"Sound as a bell.",
"The nearer the bone the sweeter the meat.",
"The proof of the pudding is in the eating.",
"There's many a slip, twixt cup and the lip.",
"To add insult to injury.",
"To look as if butter will not melt in his mouth.",
"Too many cooks spoil the broth.",
"What can't be cured must be endured.",
"What doesn’t kill us makes us stronger.",
"What you eat today walks and talks tomorrow.",
"Wondrous is the strength of cheerfulness.",
"You are what you eat.",
"You can't have your cake and eat it too. When you analyse it you see that short term you can have you cake and then eat it. But, long term, once you have eaten your cake you don't have your cake as it has been eaten. So 'You can't have your cake and eat it too', is correct.",
"You can eat an elephant if you do it one mouthful at a time.",
"You can't unscramble a scrambled egg.",
"A fool uttereth all his mind.",
"A bad excuse is better then none.",
"A closed mouth gathers no foot.",
"Actions speak louder than words.",
"Angry words fan the fire like wind.",
"Call a spade a spade.",
"Do as I say not as I do.",
"Don't advertise: Tell it to a gossip.",
"Don't go off half-cocked.",
"Few words and many deeds.",
"For donkeys' ages.",
"Gossips are frogs, they drink and talk.",
"He who sings drives away sorrow.",
"If you don't say it you will not have to unsay it.",
"It takes two to have an argument.",
"Keep your mouth shut and your eyes open.",
"Listen to the pot calling the kettle black.",
"Many a true word spoken in jest.",
"Negotiation is preferable to confrontation.",
"No news is good news.",
"Nothing is ill said if it is not ill taken.",
"One picture is worth a thousand words.",
"Say what you mean and mean what you say.",
"Self praise is no recommendation.",
"Silence is an excellent remedy against slander.",
"Silence is golden.",
"Silence is less injurious than a bad reply.",
"Since before cocky was an egg.",
"Speak clearly, if you speak at all.",
"Sticks and stones may break my bones but words will never hurt me.",
"Stop beating around the bush.",
"Take your wife's first advice.",
"Talking comes by nature, silence by wisdom.",
"A change is as good as a rest.",
"A stitch in time saves nine.",
"A throne is only a bench covered in purple velvet.",
"A wise man shall hold his tongue till he sees his opportunity.",
"Accidents will happen.",
"All's well that ends well.",
"Attack is the best means of defence.",
"Charity begins at home.",
"Different strokes for different folks.",
"Do not in an instant what an age cannot recompense.",
"Don't knock on death's door, ring the doorbell and run.",
"Don't try to teach your grand-mother to suck eggs.",
"Empty vessels make the most sound.",
"Empty barrels make the most noise.",
"Four eyes are better than two.",
"Good judgement comes from experience. Experience comes from bad judgement.",
"He who fights and runs away, lives to fight another day.",
"Innocent as a new born babe.",
"It's an ill wind that blows no-one some good.",
"It is better to stay silent and be thought a fool, than to open one's mouth and remove all doubt.",
"Necessity is the mother of invention.",
"No one can be caught in places he does not visit.",
"No point in making a mountain out of a molehill.",
"No wise man ever wishes to be younger.",
"Not in a month of Sundays.",
"One man's junk is another man's treasure.",
"Only desire what you deserve.",
"Out of the frying pan into the fire.",
"Still waters run deep.",
"The darkest hour is before the dawn.",
"The pen is mightier than the sword.",
"The wise shall understand.",
"Those who don't learn from history are doomed to repeat it.",
"Tomorrow is a new day.",
"Two heads are better than one.",
"You can't tell a book by its cover.",
"Where observation is concerned, chance favours only the prepared mind.",
"Where there's smoke there's fire.",
"Wisdom is better than strength.",
"Wisdom is neither inheritance nor a legacy.",
"Wisdom is the wealth of the wise.",
"Wise it is to comprehend the whole.",
"You can't put an old head on young shoulders.",
"You never know what you can do till you try.",
"A bad workman blames his tools",
"A good reputation is a fair estate.",
"A ship in the harbour is safe; but that is not what a ship is for.",
"Adversity is no match for tenacity.",
"All work and no play makes Jack a dull boy.",
"An honest day's pay for an honest day's work.",
"An idle man is the devil's playfellow.",
"Diligence is the mother of good luck.",
"Don't try kicking against the wind.",
"Hard work never did anyone any harm.",
"He who does nothing, does not damage anything.",
"If a job is worth doing it is worth doing well.",
"If at first you don't succeed, try, try again.",
"If it is not broken, don't fix it.",
"If you can't help, don't hinder.",
"If you see something you like, take it and make it better.",
"It's all in a days work.",
"It is easy to criticise others work, when you are not working.",
"Laziness travels so slowly that poverty soon overtakes it.",
"Least talk most work.",
"Many hands make light work.",
"More haste less speed.",
"Needs must when the devil drives.",
"Never put off 'til tomorrow what you can do today.",
"No life can be dreary when work is a delight.",
"Not to break is better than to mend.",
"The devil finds work for idle hands.",
"The harder you work, the luckier you are.",
"The hardest work is to do nothing.",
"Think thrice, measure twice, cut once.",
"Those who never do anything never make mistakes.",
"Work as if everything depends on me, but pray as if everything depends on God.",
"A bird makes his nest little by little.",
"A cat has nine lives.",
"All cats are grey in the dark.",
"An elephant never forgets.",
"An old fox need learn no craft.",
"Birds of a feather flock together.",
"Curiosity killed the cat; Satisfaction brought it back.",
"Curses, like chickens come home to roost.",
"Don't count your chickens before they hatch. ",
"Every dog has its day.",
"His bark is louder than his bite.",
"If you lie down with dogs, you'll get up with fleas.",
"It's an ill bird that fouls its own nest.",
"It's an old dog for a hard road.",
"It's no use closing the stable door, after the horse has bolted.",
"It’s not the size of the dog in a fight that matters but the size of the fight in the dog.",
"Kill two birds with the one stone.",
"Let sleeping dogs lie.",
"Like a fish out of water.",
"Never look a gift horse in the mouth.",
"No sense closing the barn door after the horse has bolted.",
"Nothing falls into the mouth of a sleeping fox.",
"One can win a rat race and still be a rat.",
"Putting the cart before the horse.",
"Sauce for the goose is sauce for the gander.",
"The early bird catches the worm.",
"The leopard does not change his spots.",
"The sleepy fox catches no chickens.",
"There's no use in flogging a dead horse.",
"To scare a bird is not the way to catch it.",
"What do you expect from a pig, but a grunt?",
"When a fox hears a rabbit screaming it comes running, but not to help.",
"While the cats away the mice play.",
"You can lead a horse to water, but you can't make him drink.",
"You can't buy a racehorse for the price of a donkey.",
"You can't make a silk purse out of a sow's ear.",
"A chain is no stronger than its weakest link.",
"A rolling stone gathers no moss.",
"After the storm comes the calm.",
"All aren't hunters that blow the horn.",
"As green as grass.",
"As is the gardener so is the garden.",
"As you sow, so shall you reap.",
"Best to bend it while it's a twig.",
"By hook or by crook.",
"Deeds are fruits, words are but leaves.",
"Distance lends enhancement to the view.",
"Don't count your chickens before they are hatched.",
"Empty bags cannot stand upright.",
"Every cloud has a silver lining.",
"Fresh as a daisy.",
"It is better to be green and growing than ripe and rotten.",
"It is hard to soar like an eagle when surrounded by turkeys.",
"It is too late closing the gate after the horse has bolted.",
"Leave no stone unturned.",
"Like looking for a needle in a haystack. ",
"Make hay while the sun shines.",
"Milk the cow but don't pull off the udder.",
"Never cackle unless you lay.",
"Never test the depth of the water with both feet.",
"Oaks may fall when reeds take the storm.",
"One day a rooster, the next day a feather duster.",
"Shake the hand before you plough the field.",
"Strike while the iron's hot.",
"The best ground bears weeds as well as flowers.",
"The darkest night brings the brightest dawn.",
"The grass is always greener on the other side of the fence.",
"The more you stir, the more it stinks.",
"The sun shines on both sides of the hedge.",
"The worst wheel always creaks most.",
"There's always one rotten apple in every box. ",
"Too many irons in the fire.",
"Useless as a screen door on a dunny. (A dunny is an old style Australian outside toilet)",
"You can't get blood out of a stone.",
"A journey of a thousand miles begins with a single step.",
"After dinner rest a while, after supper walk a mile.",
"Bad news travels fast.",
"Be aware that the road to hell is paved with good intentions.",
"Better to go back than go wrong.",
"Don't cross your bridges until you come to them.",
"Doubt is the deadliest enemy of any dream.",
"Everybody must row with the oars he has.",
"Every path has its puddle.",
"Good company on the road is the shortest cut.",
"He who stops at every stone never gets to his journey's end. ",
"He who wants to travel far takes care of his beast.",
"If you don't know where you're going, then the journey is never ending.",
"It is the first step that is difficult.",
"On a long journey even a straw is heavy.",
"Show a clean pair of heels.",
"Slow and steady wins the race.",
"Some roads aren't meant to be travelled alone.",
"Step by step one goes far.",
"The beaten path is safest.",
"The hardest part is leaving home.",
"The longest journey begins with the first step.",
"The longest way round is the sweetest way home.",
"You have to crawl before you walk.",
"A little body doth often harbour a great soul.",
"A point is the beginning of magnitude.",
"A spark can start a great fire.",
"A short cut is often a wrong cut.",
"Big fish eat little fish.",
"Everything has an end.",
"Failure is not an option.",
"Fall seven times. Stand up eight.",
"First in best dressed.",
"From trivial things, great contests often arise.",
"Give them an inch and they'll take a mile.",
"Grow angry slowly, there's plenty of time.",
"Growing old is inevitable; growing up is optional.",
"He who hesitates is lost.",
"It's either all or nothing.",
"It is easier to destroy than to build.",
"Little strokes fell great oaks.",
"Lost time is never found again.",
"Many drops make a shower.",
"Mighty oaks from tiny acorns grow.",
"Necessity is a hard nurse, but she raises strong children.",
"Rome wasn't built in a day.",
"Seize the day",
"Small faults indulged let in greater.",
"Some of the best gifts come in small packages.",
"A bad penny always comes back.",
"A light purse makes a heavy heart.",
"A little each day is much in a year.",
"A man's intentions seldom add to his income.",
"A penny saved is a penny earned.",
"A poor man is better than a liar.",
"A single penny fairly got is worth a thousand that are not.",
"All that glitters is not gold.",
"Always you are to be rich next year.",
"Beggars can't be choosers.",
"Better to have than to wish.",
"Diamonds are forever.",
"Discretion is the better part of valour.",
"Every man has his price.",
"Every man is the architect of his destiny.",
"Experience is the father of wisdom.",
"Fair exchange is no robbery.",
"He has enough who is content.",
"He that pays last never pays twice.",
"He is rich that is satisfied.",
"In for a penny, in for a pound.",
"It is better to be born lucky than rich.",
"Little and often fill the purse.",
"Little thieves are hanged, but great ones escape.",
"Money burns a hole in your pocket.",
"Money doesn't grow on trees.",
"Money is not the key to happiness, but if you have enough money you can have a key made.",
"Never spend your money before you have it.",
"One today is worth two tomorrows.",
"Penny wise, pound foolish.",
"Take care of the pence and the pounds will take care of themselves.",
"The best cast at dice is not to play.",
"The love of money is the root of all evil.",
"The safest way to double your money is to fold it in half and put it back in your pocket.",
"There is no honour among thieves.",
"Waste not, want not.",
"A good conscience is a soft pillow.",
"A good thing is soon snatched up.",
"A little bit of something is better than a lot of nothing.",
"A little knowledge is a dangerous thing.",
"Better safe than sorry.",
"Better late than never.",
"Business before pleasure.",
"Credit won by lying is quick in dying.",
"Damage suffered makes you knowing, but seldom rich.",
"Desperate diseases must have desperate remedies.",
"Divide and conquer.",
"Don't rely on the label on the bag.",
"Don't throw the baby out with the bath-water.",
"Don't put all your eggs in one basket.",
"Experience is the best teacher.",
"First come, first served.",
"Fore-warned is fore-armed.",
"Hasty climbers have sudden falls.",
"Hasty judgements are generally faulty.",
"Honesty is the best policy.",
"If anything can go wrong, it will.",
"It's a poor job that can't carry one boss.",
"Keep It Simple (The KISS principal).",
"Let the buyer beware.",
"Look before you leap.",
"Nobody can serve two masters.",
"One false move may lose the game.",
"One man's loss, is another man's gain.",
"Peace begins just where ambition ends.",
"Plan for the worst; hope for the best.",
"Possession is nine tenths of the law.",
"Rules are made to be broken.",
"Successful people are persistent.",
"The customer is always right.",
"The gods help them that help themselves.",
"The golden age never was the present one.",
"To each his own.",
"We do not always gain by changing.",
"Where there's a will there's a way.",
"A fool and his money are soon parted.",
"A fool in a gown is none the wiser.",
"A wise man doesn't need advice, and a fool won't take it.",
"Advice when most needed is least heeded.",
"Always in a hurry, always behind.",
"Cheap is dear in the long run.",
"Confess and be hanged.",
"Cut off one's nose to spite one's face.",
"Empty vessels make the most noise.",
"Facts do not cease to exist because they are ignored.",
"Fools rush in where angels fear to tread.",
"He who won't be advised, can't be helped.",
"If the cap fits, wear it.",
"In one ear and out the other.",
"It can't happen here is number one on the list of famous last words.",
"It is better to stay silent and be thought a fool, than to open one's mouth and remove all doubt.",
"One of these days is none of these days.",
"People who living in glass houses should not throw stones.",
"Pride cometh before a fall.",
"Pride feels no pain.",
"See nothing, say nothing, know nothing.",
"The bigger they are the harder they fall.",
"The fool wanders, the wise man travels.",
"The hood does not make the monk.",
"The wise man is deceived once but the fool twice.",
"There is no fool like an old fool.",
"Use not today what tomorrow will need.",
"What's the good of home, if you are never in it?",
"You cannot lose what you never had.",
"Red sky at night, sailors delight. Red sky in the morning, sailors take warning.",
"Red sky at night, shepherds delight. Red sky in the morning, shepherds warning.",
"When rain comes before the wind, halyards, sheets and braces mind, but when wind comes before rain, soon you may make sail again.",
"When dew is on the grass, no rain will come to pass."];
var imagenames=[
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0905.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0906.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0907.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0908.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0909.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0910.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0911.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0912.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0913.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0914.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0915.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0916.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0917.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0918.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0919.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0920.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0921.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0922.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0923.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0924.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0925.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0926.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0927.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0928.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0929.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0930.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0931.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0932.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0933.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0934.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0935.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0936.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0937.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0938.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0939.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0940.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0941.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0942.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0943.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0944.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0945.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0946.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0947.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0948.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0949.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0950.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0951.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0952.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0953.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0954.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0955.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/home/DSCF0956.jpg",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0905.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0906.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0907.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0908.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0909.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0910.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0911.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0912.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0913.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0914.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0915.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0916.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0917.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0918.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0919.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0920.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0921.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0922.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0923.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0924.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0925.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0926.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0927.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0928.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0929.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0930.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0931.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0932.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0933.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0934.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0935.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0936.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0937.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0938.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0939.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0940.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0941.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0942.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0943.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0944.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0945.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0946.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0947.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0948.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0949.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0950.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0951.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0952.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0953.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0954.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0955.JPG",
"http://www.rjmprogramming.com.au/ephemeral/images/different/DSCF0956.JPG"];
function getScrollTop() { // thanks to http://stackoverflow.com/questions/871399/cross-browser-method-for-detecting-the-scrolltop-of-the-browser-window
if(typeof pageYOffset!= 'undefined'){
//most browsers except IE before #9
return pageYOffset;
}
else{
var B= document.body; //IE 'quirks'
var D= document.documentElement; //IE with doctype
D= (D.clientHeight)? D: B;
return D.scrollTop;
}
}
function getScrollLeft() { // thanks to http://stackoverflow.com/questions/871399/cross-browser-method-for-detecting-the-scrolltop-of-the-browser-window
if(typeof pageXOffset!= 'undefined'){
//most browsers except IE before #9
return pageXOffset;
}
else{
var B= document.body; //IE 'quirks'
var D= document.documentElement; //IE with doctype
D= (D.clientWidth)? D: B;
return D.scrollLeft;
}
}
function firstCheck() {
var durl=document.URL.split('#');
var isok='y';
top.document.title="You are on Page " + eval(Math.floor((eval(getScrollLeft()) + eval(pw)) / eval(pw)));
if (eval(pw) > eval(ph) && window.innerHeight > window.innerWidth && !done) {
done=true;
//isok=prompt(eval(pw) + ',' + eval(ph) + ':' + window.innerHeight + ',' + window.innerWidth + " Change of orientation may make top.document.title (ie. Page Number) wrong. Continue anyway, or change default answer to refresh for new orientation.", isok);
isok=prompt("Change of orientation may make top.document.title (ie. Page Number) wrong. Continue anyway, or change default answer to refresh for new orientation.", isok);
} else if (eval(pw) < eval(ph) && window.innerHeight < window.innerWidth && eval(window.innerWidth / eval(pw)) < eval(numpages - 1) && !done) {
done=true;
//isok=prompt(eval(pw) + ',' + eval(ph) + ':' + window.innerHeight + ',' + window.innerWidth + " change of orientation may make top.document.title (ie. Page Number) wrong. Continue anyway, or change default answer to refresh for new orientation.", isok);
isok=prompt("Change of orientation may make top.document.title (ie. the Page Number) wrong. Continue anyway, or change default answer to refresh for new orientation.", isok);
}
if (isok != null) {
if (isok != 'y') {
if (durl[0].indexOf('?') != -1) {
location.href=durl[0] + '&huh=' + window.innerHeight + '#page' + eval(Math.floor((eval(getScrollLeft()) + eval(pw)) / eval(pw)));
} else {
location.href=durl[0] + '?huh=' + window.innerHeight + '#page' + eval(Math.floor((eval(getScrollLeft()) + eval(pw)) / eval(pw)));
}
}
}
setTimeout(firstCheck,1000);
}
function goToPos(oiis) {
oiis.scrollIntoView(true);
//window.scrollTo(567,786); //oiis.style.left.replace('px',''), oiis.style.top.replace('px',''));
}
function constructBook() { // featuring viewport tailoring
var initial_scale=1, minimimum_scale=0.25, maximimum_scale=8, user_scalable='yes', width='device-width', np=100, xask='', viewport;
var htmlis='', lpos=0;
np=location.search.split('numpages=')[1] ? location.search.split('numpages=')[1].split('&')[0] : np;
numpages=eval("" + np);
pw=("" + window.innerWidth).replace('px','');
ph=("" + window.innerHeight).replace('px','');
initial_scale=location.search.split('initial_scale=')[1] ? eval(location.search.split('initial_scale=')[1].split('&')[0]) : initial_scale;
minimimum_scale=location.search.split('minimimum_scale=')[1] ? eval(location.search.split('minimimum_scale=')[1].split('&')[0]) : minimimum_scale;
maximimum_scale=location.search.split('maximimum_scale=')[1] ? eval(location.search.split('maximimum_scale=')[1].split('&')[0]) : maximimum_scale;
user_scalable=location.search.split('user_scalable=')[1] ? location.search.split('user_scalable=')[1].split('&')[0] : user_scalable;
width=location.search.split('width=')[1] ? location.search.split('width=')[1].split('&')[0] : width;
xask=location.search.split('ask=')[1] ? location.search.split('ask=')[1].split('&')[0] : xask;
if (initial_scale != 1 || minimimum_scale != 0.25 || maximimum_scale != 8 || user_scalable != 'yes' || width != 'device-width') {
viewport = document.querySelector("meta[name=viewport]"); // thanks to http://stackoverflow.com/questions/3588628/can-i-change-the-viewport-meta-tag-in-mobile-safari-on-the-fly
viewport.setAttribute('content', 'width=' + width + ', initial-scale=' + initial_scale + ', minimum-scale=' + minimimum_scale + ', maximum-scale=' + maximimum_scale + ', user-scalable=' + user_scalable);
} else if (xask != '') {
if (xask.substring(0,1) == 'y' || xask.substring(0,1) == 'Y') {
var vpparams='width=' + width + ', initial-scale=' + initial_scale + ', minimum-scale=' + minimimum_scale + ', maximum-scale=' + maximimum_scale + ', user-scalable=' + user_scalable;
var vs=prompt('Change <meta id="myviewport" name="viewport" content="' + vpparams + '" /> optionally?', vpparams);
if (vs != null) {
if (vs != vpparams) {
viewport = document.querySelector("meta[name=viewport]"); // thanks to http://stackoverflow.com/questions/3588628/can-i-change-the-viewport-meta-tag-in-mobile-safari-on-the-fly
viewport.setAttribute('content', vs);
}
}
}
}
for (var i=1; i<=numpages; i++) {
if (eval(pw) < 600) {
htmlis+="<a onclick='this.scrollIntoView(true);' id='page" + i + "' style='position:absolute;top:0px;left:" + lpos + "px;width:" + pw + "px;' href='#page" + eval((i % numpages) + 1) + "'><b>Our Book of Proverbs</b> ... To Page " + eval((i % numpages) + 1) + "</a><br>" + others(i," style='position:absolute;top:20px;left:" + lpos + "px;' ") + "<br><div id='d" + i + "' style='position:absolute;top:60px;left:" + lpos + "px;width:" + pw + "px;'>" + pickone(i) + "</div>";
} else {
htmlis+="<a onclick='this.scrollIntoView(true);' id='page" + i + "' style='position:absolute;top:0px;left:" + lpos + "px;width:" + pw + "px;' href='#page" + eval((i % numpages) + 1) + "'><b>Our Book of Proverbs in the One Web Page</b> ... To Page " + eval((i % numpages) + 1) + "</a><br>" + others(i," style='position:absolute;top:20px;left:" + lpos + "px;' ") + "<br><div id='d" + i + "' style='position:absolute;top:60px;left:" + lpos + "px;width:" + pw + "px;'>" + pickone(i) + "</div>";
}
//alert(htmlis);
lpos=eval(eval(lpos) + eval(pw));
}
document.body.innerHTML+=htmlis;
setTimeout(firstCheck,1000);
}
function others(j,ss) {
var midbit="...<a href='#page" + eval(-1 + j) + "'>" + eval(-1 + j) + "</a> <a href='#page" + j + "'>" + j + "</a> <a href='#page" + eval(1 + j) + "'>" + eval(1 + j) + "</a>...";
if (j == 1 || j == numpages) midbit='';
return "<span " + ss + "><a href='#page1'>1</a> <a href='#page2'>2</a> " + midbit + " <a href='#page" + eval(-1 + numpages) + "'>" + eval(-1 + numpages) + "</a> <a href='#page" + numpages + "'>" + numpages + "</a></span>";
}
function pickone(k) {
return "Today's proverb for page " + k + " is ...<br><br><br>" + proverbs[Math.floor(Math.random() * eval(0 + proverbs.length)) + 0] + "<br><img style='width:" + pw + "px;' src='" + imagenames[Math.floor(Math.random() * eval(0 + imagenames.length)) + 0] + "'></img>";
}
</script>
</head>
<body onload=' constructBook(); ' style='background-color: yellow;'>
</body>
</html>