﻿if(typeof windowOnload != "undefined")
{
	windowOnload("prepareReason()");
}
else
{
	window.onload = prepareReason;
}

var thisIsWhy;
function prepareReason()
{
	if (document.getElementById("tellMeWhy"))
	{
		var tellMeWhy = document.getElementById("tellMeWhy");
		tellMeWhy.style.display = "inline";
		tellMeWhy.onclick = toggleReason;
		thisIsWhy = document.getElementById("thisIsWhy")
	}
}

function toggleReason()
{
	if (thisIsWhy.style.display == "block")
	{
		thisIsWhy.style.display = "none";
	}
	else
	{
		thisIsWhy.style.display = "block";
	}
}