Take advice from the all powerful force of Zen. Zen will give you three phrases each time you click the button - the first phrase changes every hour, the second phrase changes every minute, and the last phrase changes every second.
Add the below code to the <body> section of your page:
<scriptlanguage="javascript"type="text/javascript"> /* Visit http://www.yaldex.com/
for full source code
and get more free JavaScript, CSS and DHTML scripts! */
<!-- Begin var
currentdate =0 var
thekoan ="" var
fframe =0 var
insight =0 var
directive =0 var
beginning ="Koan is: " var
separator ="\n\n" function
zen(){ alert(koan())} function
koan(){ currentdate =newDate() fframe =
currentdate.getHours() insight =
currentdate.getMinutes() directive =
currentdate.getSeconds() thekoan =
separator +
getframe()+separator
+
getinsight()+
separator +
getdirective() return(thekoan)} function
getframe(){ if(fframe
==0) return"Winter feels no itching;" elseif(fframe
==1) return"Find the plum;" elseif(fframe
==2) return"The fog does not pay taxes;" elseif(fframe
==3) return"Other birds do not like the
loudest bird;" elseif(fframe
==4) return"Many moose have travelled your
path before you;" elseif(fframe
==5) return"Autumn has no sense of humor;" elseif(fframe
==6) return"Even the clearest glass
distorts;" elseif(fframe
==7) return"The well has no sympathy for the
peasant;" elseif(fframe
==8) return"No sandal squeaks without
purpose;" elseif(fframe
==9) return"A thorn pricks you;" elseif(fframe
==10) return"Who is to say the panda would
not be vengeful;" elseif(fframe
==11) return"Tramp through the darkness;" elseif(fframe
==12) return"Work when you can work;" elseif(fframe
==13) return"The artisan keeps his hovel
tidy;" elseif(fframe
==14) return"The sparrow sings of deception;" elseif(fframe
==15) return"Tramp through the darkness;" elseif(fframe
==16) return"Who is to say the panda would
not be vengeful;" elseif(fframe
==17) return"A thorn pricks you;" elseif(fframe
==18) return"No sandal squeaks without
purpose;" elseif(fframe
==19) return"The well has no sympathy for the
peasant;" elseif(fframe
==20) return"Even the clearest glass
distorts;" elseif(fframe
==21) return"Autumn has no sense of humor;" elseif(fframe
==22) return"Tramp through the darkness;" elseif(fframe
==23) return"The artisan keeps his hovel
tidy;" } function
getinsight(){ if(insight
>44) insight =
insight -45 elseif(insight
>29) insight =
insight -30 elseif(insight
>14) insight =
insight -15 if(insight
==0) return"It tells us the void is empty." elseif(insight
==1) return"Only such a thing can change the
universe." elseif(insight
==2) return"Understand this, and be rewarded
with clarity." elseif(insight
==3) return"What are the chances?" elseif(insight
==4) return"In this, the true spirit hides." elseif(insight
==5) return"Effort can be applied here." elseif(insight
==6) return"Its center does not rotate." elseif(insight
==7) return"The journey may be longer coming
back." elseif(insight
==8) return"This is why we find the truth so
piercing." elseif(insight
==9) return"Are we so alike?!?" elseif(insight
==10) return"Yet even a bean has a purpose." elseif(insight
==11) return"The answer often requires a few
extra minutes." elseif(insight
==12) return"Some strike with a stick that
which they cannot lift." elseif(insight
==13) return"The pure own only themselves and
maybe some toiletries." elseif(insight
==14) return"It will speak to you if you let
it." } function
getdirective(){ if(directive
>44) directive =
directive -45 elseif(directive
>29) directive =
directive -30 elseif(directive
>14) directive =
directive -15 if(directive
==0) return"Be like a damp stone." elseif(directive
==1) return"If you fall from the tree, leave
your anger on the branch." elseif(directive
==2) return"Choose to bend or to stretch,
but choose only one." elseif(directive
==3) return"Fill in every circle completely
with a number 2 pencil." elseif(directive
==4) return"Spit only where there is a need
for spit." elseif(directive
==5) return"Always lift with your knees." elseif(directive
==6) return"If you need a road, make a
road." elseif(directive
==7) return"Choose only once between bamboo
and wicker." elseif(directive
==8) return"Do not carve your initials in
anything you would not eat." elseif(directive
==9) return"Respect even the space between
your toes." elseif(directive
==10) return"Step aside when the universe
says, 'Hot stuff coming through!'" elseif(directive
==11) return"Trust your sense of judging
melon." elseif(directive
==12) return"It is worse to be covered in
molasses." elseif(directive
==13) return"If you are a goose among ducks,
run fast." elseif(directive
==14) return"Confront the great conductor and
ask him, 'What's your function?'" } // End --> </script> <FORM>
<INPUT
TYPE="button"VALUE="Zen
Button"NAME="ZenButton"onClick="zen()">
</FORM>