function organ(num) {
if (num == 1) {document.info.name.value = "diaphragm";document.info.func.value = "The muscle which expands and contracts in order to allow the cat to breathe. It separates the thoracic and abdominal cavities"}
if (num == 2) {document.info.name.value = "gallbladder";document.info.func.value = "The gallbladder stores bile until it is needed by the small intestine in order to digest fats. The gallbladder is not essential to the process of digestion. It is possible for bile to be delivered directly from the liver to the small intestine. Bile digests and absorbs fat and helps to dispose of waste from the cat's body."}
if (num == 3) {document.info.name.value = "liver";document.info.func.value = "The liver produces many substances in order to digest food. It manufactures bile, which is then stored in the gall bladder.  Bile contains acids as well as cholesterol.  The liver also stores and releases a compound called glycogen, which is a carbohydrate that can be changed into sugar should the sugar level of the cat fall."}
if (num == 4) {document.info.name.value = "pancreas";document.info.func.value = "The pancreas secretes three compounds. The first compound is a digestive enzyme that helps break down fats and proteins. The second compound is insulin, which regulates the sugar level in the cat's body. The third is a bicorbonate ion that nutralizes stomach acid"}
if (num == 5) {document.info.name.value = "peritoneum";document.info.func.value = "The peritoneum is the thin membrane that covers the abdominal digestive organs of the cat."}
if (num == 6) {document.info.name.value = "small intestine";document.info.func.value = "The small intestine carries out the final stages in digestion. It is lined with small hairs and blood vessels inside the intestine carry away nutrients to other parts of the cat's body.  The small intestine has three sections: the duodenum, the jejunum, and the ileum. The duodenum is the section where the process of absorption begins. The jejunum is the largest portion of the small intestine and it is here where most of the absorption takes place. The ileum is the final section of the intestine and it is where the absorption process ends."}
if (num == 7) {document.info.name.value = "spleen";document.info.func.value = "The spleen produces red blood cells and regulates the supply of red blood cells. It also functions as a storage area for blood."}
if (num == 8) {document.info.name.value = "stomach";document.info.func.value = "The stomach stores food while it goes through the initial phases of digestion."}
}
function clear() {document.info.name.value = " "}