<!--
function img_on(obj,newImage){
	if(obj.clicked==undefined)
		obj.clicked=0;
	obj.src=newImage;
}

function img_off(obj,newImage){
	if(obj.clicked==0){
		obj.clicked=0;
		obj.src=newImage;	
		}
}	

function img_click(obj){
	if(obj.clicked==0)
		obj.clicked=1;
	else
		obj.clicked=0;
}					

function height(ths)
{
	alert(ths)
	alert(ths.scrollHeight)
	return ths.size
}

function td_on(obj){

	if(obj.clicked==undefined){obj.clicked = 0;}
	obj.style.backgroundColor="white";
}

function td_off(obj){
	if(obj.clicked==undefined){obj.clicked = 0;}
	if(obj.clicked==0)
		obj.style.backgroundColor="black";
	else
		obj.style.backgroundColor="white";
}

function td_click(obj)
{
	if(obj.clicked==0||obj.clicked==undefined){
		 obj.clicked=1;
		obj.style.backgroundColor="white";
		}
	else{
		obj.clicked=0;
		obj.style.backgroundColor="black";
		}
	return obj;
}


function TextWrite(caller)
{
	type=caller.id;
	switch(type)
	{
		case "td1":
			document.getElementById('td1').innerHTML="<small style='color: rgb(255, 255, 255);'>HINT:</small>First, let's consider what the question is asking."
			break;
		case "td3":
			document.getElementById('td3').innerHTML="<small style='color: rgb(255, 255, 255);'>HINT:</small>What information does the problem give us?"
			break;
		case "td5":
			document.getElementById('td5').innerHTML="<small style='color: rgb(255, 255, 255);'>HINT:</small>How does the given information relate to the information needed?"
			break;
		case "td7":
			document.getElementById('td7').innerHTML="<small style='color: rgb(255, 255, 255);'>HINT:</small>What information do we need to plug into the relationship?"
			break;
		case "td9":
			document.getElementById('td9').innerHTML="<small style='color: rgb(255, 255, 255);'>HINT:</small>Will our variables produce a solution with the correct units?"
			break;
		case "td11":
			document.getElementById('td11').innerHTML="<small style='color: rgb(255, 255, 255);'>HINT:</small>Plug all of the information in to the final calculation!"
			break;

	}
return caller;
}
-->