## Home Jokes Gas Problem

 An old lady came into her doctor's office and confessed to an embarrassing problem: "I fart all the time, Doctor Johnson, but they're soundless, and they have no odor. In fact, since I've been here, I've farted no less than twenty times. What can I do?" "Here's a prescription, Mrs. Barker. Take these pills three times a day for seven days and come back and see me in a week."The next week, an upset Mrs. Barker marched into Dr. Johnson's office:"Doctor,I don't know what was in those pills, but the problem is worse! I'm farting just as much, and they're still soundless, but now they smell terrible! What do you have to say for yourself?" "Calm down, Mrs. Barker," said the doctor soothingly. "Now that we've fixed your sinuses, we'll work on your hearing."
\$x) { if(\$CURRENT_IMAGE == \$img_listing[\$x]) { if(\$x == 0) { //echo "found condition"; \$lastimage = count(\$img_listing) - 1; \$PREV_IMG = \$img_listing[\$lastimage]; \$PREV_STUB= \$stubs[\$lastimage]; \$NEXT_IMG = \$img_listing[\$x + 1]; \$NEXT_STUB= \$stubs[\$x + 1]; } elseif(count(\$img_listing) - 1 == \$x) { //echo "found condition"; \$PREV_IMG = \$img_listing[\$x - 1]; \$PREV_STUB= \$stubs[\$x - 1]; \$NEXT_IMG = \$img_listing[0]; \$NEXT_STUB= \$stubs[0]; } else { //echo "found condition"; \$NEXT_IMG = \$img_listing[\$x + 1]; \$NEXT_STUB= \$stubs[\$x + 1]; \$PREV_IMG = \$img_listing[\$x - 1]; \$PREV_STUB= \$stubs[\$x - 1]; } } \$x++; } \$total_jokes = count(\$stubs) - 1; \$rand_joke = rand(0, \$total_jokes); echo '

<-- PREVIOUS JOKE'; echo '   ' . 'RANDOM JOKE   '; echo 'NEXT JOKE -->'; ?>