## Home Jokes Lost Cat

 A man absolutely hated his wife's cat and decided to get rid of him one day by driving him 20 blocks from his home and leaving him at the park.As he was getting home, the cat was walking up the driveway.The next day he decided to drive the cat 40 blocks away. He put the beast out and headed home.Driving back up his driveway, there was the cat!He kept taking the cat further and further and the cat would always beat him home. At last he decided to drive a few miles away, turn right, then left, past the bridge, then right again and another right until he reached what he thought was a safe distance from his home and left the cat there.Hours later the man calls home to his wife: "Jen, is the cat there?""Yes," the wife answers, "why do you ask?"Frustrated, the man answered, "Put that son of a bitch on the phone, I'm lost and need directions!"
\$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 -->'; ?>