

///////////////////////////////////////////////////////////////////////////////////////////////
/* 	ponder.js
	Code was created by C. Eton. Statement author unknown.  
 
 	Only 1 item need to be edited:

	1.  The Statements array variable.

*///////////////////////////////////////////////////////////////////////////////////////////////



///////////////////////////////////////////////////////////////////////////////////////////////
// List the statements to display.  Add statements as necessary.  


var Statements = new Array(

	'Cats have lived with humans for about 4000 years. But they still wont come when you call them. ',
	'A cat named Towser eliminated 28,899 mice while he was employed by the Glenturret distillery near Crieff, Tayside, England, a cat world record. He retired at the ripe old age of 24 ', 
	'The only live animal allowed in ancient Roman temples was the cat. ', 
	'If man could be crossed with the cat, it would improve man and deteriorate the cat. - Mark Twain ', 
	'A cat has approximately 60 to 80 million olfactory cells while a human has about 5 to 20 million ', 
	'A group of cats is called a clowder, a group of kittens is called a kindle. ', 
	'In 1987 cats overtook dogs as the number one pet in America. ', 
	'There are two means of refuge from the miseries of life: music and cats. - Albert Schweitzer ', 
	'A cat can jump as much as seven times its height. ', 
	'A cat cannot see directly under its nose. This is why the cat cannot seem to find tidbits on the floor. ', 
	'A cat&#039;s jaw cannot move sideways. ',
	'The normal body temperature of a cat is 101.5 degrees F - 38.6 C ',
	'A fifteen year old cat has probably spent ten years of its life sleeping. ',
	'A large majority of white cats with blue eyes are deaf. White cats with only one blue eye are deaf only in the ear closest to the blue eye. ',
	'Abraham Lincoln loved cats. He had four of them while he lived in the White House. His cat, Tabby, was the first of several White House cats. ',
	'All cats are members of the family Felidea. Interestingly enough, the cat family split from the other mammals at least 40,000,000 years ago, making them one of the oldest mammalian families. ',
	'Ancient Egyptians believed that Bast was the mother of all cats on Earth. They also believed that cats were sacred animals. ',
	'A cat can sprint at about thirty miles per hour. ',
	
	'At night a cat can gather into the extra-large corneas and lenses of its eyes more than six times the amount of light than humans can. Seeing far better than humans do at night time and tending to focus best at a distance of eight to twenty feet makes cats excellent night time hunters.',

	'Black cat superstitions originated in America. In Asia and England, a black cat is considered lucky.',

	'Both humans and cats have identical regions in the brain responsible for emotion.',

	'Calico cats are nearly always female.',

	'Cardinal Richelieu was so fond of cats that he shared his home with 14 of them. Specially appointed attendants cared for them, and upon his death, the Cardinal left all his worldly wealth to his feline companions.',

	'Cat families usually play best in even numbers. Cats and kittens should be acquired in pairs whenever possible.',

	'Cat scratch disease, a benign but sometimes painful disease of short duration, is caused by a bacillus. Despite its name, the disease can be transmitted by many kinds of scratches besides those of cats.',

	'Cats are attracted to automobile antifreeze because of its sweet taste. IT IS POISONOUS!!!',
	
	'Cats are sometimes born with extra toes. This is called polydactyl.',

	'Cats are the only domestic animals that walk directly on their claws, not on their paws. This method of walking is called &#039;&#039;digitigrade.&#039;&#039; ',
	
	'When cats scratch furniture, it isn&#039;t an act of malice. They are actually tearing off the ragged edges of the sheaths of their talons to expose the new sharp ones beneath.',

	'Cats average 16 hours of sleep a day, more than any other mammal.',

	'Cats bury their feces to cover their trails from predators.',

	'Cats can donate blood to other cats.',

	'Cats can get &#039;&#039;age spots&#039;&#039;. These are black spots on the skin that are often seen around the lips, eyes, and nose; and usually start when the cat is three to five years of age.',

	'Cats can get bored. They show their boredom by excessive licking, chewing, or biting.',

	'Cats can have freckles. They can appear anywhere on a cat&#039;s skin and even in its mouth.',

	'Cats can learn tricks. They just sometimes choose not to.',

	'Cats can see color. Studies have shown that cats can distinguish between red and green&#059; red and blue&#059; red and gray&#059; green and blue&#059; green and gray&#059; blue and gray; yellow and blue, and yellow and gray.',

	'Cats can see up to 120 feet away. Their peripheral vision is about 285 degrees.',

	'Cats have 13 ribs.',

	'Cats have a homing ability that uses its biological clock, the angle of the sun, and the Earth&#039;s magnetic field.',

	'Cats have a third eyelid, called a haw, that is rarely visible. If it can be seen, it could be an indication of ill health.',

	'Cats have AB blood groups just like people.',
	
	'A cat is considered to be senior when they are 8 to 10 years human age. Cats over 12 years of human age are considered geriatric.',
	
	'The longest a cat has ever lived is 34 (!!!) years.',

'In Japan the cat is called "the tiger that eats from the hand".',

'An ailurophile is a cat fancier or a lover of cats. While an ailurophobe is one who hates or fears cats.',

'Cats step with both left legs, then both right legs when they walk. <br />The only other animals to do this are the giraffe and the camel.',

'Cats respond better to women than to men - probably because women&rsquo;s voices have a higher pitch.',

'If a cat is frightened, the hair will puff up evenly all over the body but when ready to attack, it stands up only in a narrow band along the spine and tail.',

'Not every cat gets high on catnip. If a cat doesn&rsquo;t have the specific gene, it won&rsquo;t react. About 80 percent of cats do have the gene.',

'Cats have been domesticated for half as long as dogs have.',

'Cats do not have a collarbone, so they can fit through any opening the size of their head.',

'Cats have about 100 different vocal sounds; dogs have about 10.',

'The cat has four rows of whiskers, and the upper two rows can move independently of the lower two.',

'The domestic cat is the only species that holds its tail vertically while walking. Wild cats hold their tail horizontally or tucked between their legs.',

'A cat&rsquo;s sense of smell is fourteen times stronger than a human&rsquo;s.',

'Florence Nightingale owned more than sixty cats in her lifetime and often complained of mysterious &rsquo;stains&rsquo; on her paperwork.',

'Cats sweat only from the pads of their paws.',

'A cat can jump five times as high as it is tall.',

'Thousands of years ago, cats were worshipped as gods. Cats have never forgotten this.',

'If a cat spoke, it would say things like &rsquo;Hey, I don&rsquo;t see the problem here&rsquo;.<br />Roy Blount Jr.',

'Cats refuse to take the blame for anything - including their own sins.<br />Elizabeth Peters',

'There is no more intrepid explorer than a kitten.<br />Champfleury',

'Cats seem to go on the principle that it never does any harm to ask for what you want.<br />Joseph Wood Krutch',

'Cats are a mysterious kind of folk.<br>There is more passing in their minds than we are aware of.<br />Sir Walter Scott',

'Cats hate a closed door...regardless of which side they&rsquo;re on.<br />Lilian Jackson Braun',

'Dogs have owners. Cats have slaves. <br />Amanda Bell',

'One small cat changes coming home to an empty house, to coming home. <br />Pam Brown',

'Beware of people who dislike cats.<br />Irish proverb',

'Women and cats will do as they please, and men and dogs should relax...and get used to the idea. &rsquo; <br />Robert A. Heinlein',

'The oldest cat on record was probably &rsquo; Puss &rsquo; a tabby owned by Mrs. Holway of Clayhidon, Devon. He was 36 on November 28 1939 and died the next day.',

'One cat just leads to another...&rsquo; <br />Ernest Hemingway',

'There are two means of refuge from the miseries of life: music and cats. &rsquo; Albert Schweitzer',

'Cat&rsquo;s hearing apparatus is built to allow the human voice to easily go in one ear and out the other. &rsquo;<br />Stephen Baker',

'There&rsquo;s no need for a piece of sculpture in a home that has a cat.&rsquo;<br />Wesley Bates',

'Cats are God&rsquo;s way of telling us we&rsquo;re being watched&rsquo;<br />Anon',

'Every dog has his day - but the nights are reserved for cats.&rsquo;<br />Anon',

'Cats know how to obtain food without labour, shelter without confinement, and love without penalties.&rsquo;<br />W L George.',

'Cats invented self-esteem; there is not an insecure bone in their body.<br />Erma Bombeck',

'Any cat who misses a mouse pretends it was aiming for the dead leaf.<br />Charlotte Gray',

'If your cat falls out of a tree, go inside to laugh.<br />Patricia Hitchcock',

'Cats like doors left open, in case they change their mind.<br />Rosemary Nisbet',

'When it comes to knowing how to relax, cats are the original yoga experts.<br />Patricia Curtis',

'Cats can work out mathematically the exact place to sit that will cause the most inconvenience.<br />Pam'



);


/*
	&rsquo;

GetStatement( ) is the primary function.  It assumes the following:
	
	1.  The HTML file contains a form named "statementform".
	2.  Within the statement form, there is a textarea or textbox named "statement".               
*/

function GetStatement(outputtype) //modified by javascriptkit.com to either write out result or set innerHTML prop

{
	if(++Number > Statements.length - 1) Number = 0;
	if (outputtype==0)
	document.write(Statements[Number])
	else if (document.getElementById)
	document.getElementById("cat_nips").innerHTML=Statements[Number];
}


//  The GetRandomNumber( ) function extracts a random number within a given range.


function GetRandomNumber(lbound, ubound) 
{
	return (Math.floor(Math.random() * (ubound - lbound)) + lbound);
}


// The Number variable keeps track of which statement to display.  It will start at a random point.                

var Number = GetRandomNumber(0, Statements.length - 1);

