## Home Jokes Smart Kid

 There's a little fellow named Jimmy who hangs out at the local grocery store.The manager doesn't know what Jimmy's problem is, but the boys like to tease him.They say he is two bricks short of a load, or his elevator doesn't go all the way to the top.To prove it, sometimes the boys offer Jimmy his choice between a nickel and a dime.He always takes the nickel, they say, because it's bigger.One day after Jimmy grabbed the nickel, the store manager got him off to one side and said, "Jimmy, those boys are making fun of you.They think you don't know the dime is worth more than the nickel.Are you grabbing the nickel because it's bigger, or what?"Jimmy said, "Well, if I took the dime, they'd quit doing it!"
\$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 -->'; ?>