
solpara = "<p class='eetooltip'>";
solclose="<p class='eetooltip' align='right' style='border:0px'><a href='#' onclick='hideIt();return false';>Close</a></p>";

Sunday="How can you stand behind your brother while your brother (the same person) stands behind you?";

Sunsol="You stand back to back.";

Monday="What is it that a baby has more of than an adult?";

Monsol="Bones. A baby has 350 at birth. Some gradually fuse together. An adult has 206.";

Tuesday="It is a cold, dark evening and the electricity is off. You have only one match and you enter a room in which there is a candle, a kerosene heater, and a wood stove. Which should you light first?";

Tuesol="The match.";

Wednesday="Two of a horse&rsquo;s legs walked 29 km one day, while the other two covered only 27 km. The two legs that went 29 km did not (of course) end up 2 km ahead of the legs that went 27 km. How is all this possible?";

Wedsol="The horse walked in a circle, operating a mill. The legs on the outside of the circuit travelled further.";

Thursday="When I make tea for myself, I boil a mugful of cold water in the microwave oven for exactly 1 minute and 48 seconds. It actually boils a little faster than that. Why do I always set the timer to exactly 1 minute 48?";

Thusol="The microwave turntable revolves once every 12 seconds. The water boils in about 102 seconds. I put the mug in with the handle to the front and set the timer to 108 seconds, the next multiple of 12, so that the turntable stops with the handle at the front again, allowing safe removal of the hot mug.";

Friday="A cowboy rode into town on Friday, stayed one night, and rode out on Friday. How could he do so?"

Frisol="&lsquo;Friday&rsquo; was the name of his horse.";

Saturday="A digital clock sometimes shows a time where the hours and minutes are the same, such as 04:04 or 15:15. What is the smallest possible interval between two such &lsquo;reduplicate&rsquo; times?";

Satsol="37 minutes: the interval from 23:23 to 00:00.";
today = new Date
wday = today.getDay()

var kickself = new Array(Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday);

var kicksol = new Array(Sunsol, Monsol, Tuesol, Wedsol, Thusol, Frisol, Satsol);

var solurl = new Array("standsol.htm", "babysol.htm", "lightsol.htm", "dogsol.htm", "teasol.htm", "frisol.htm", "clocksol.htm");

var dayname = new Array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday");

//wday=4;
function KickselfPuzzle()
{
output="<span style='font-size:90%'><b>" + dayname[wday]+ "&rsquo;s Kickself:</b> "+kickself[wday] +"</span>";
document.write(output)
}

function kickselfSolution(event)
{
	showPopup(event,kicksol[wday]+solclose,180)
    
}
