// Migliore.js
// Holds all of our needed functions and setups
// Called after prototype, ajaxConn, and other 3rd party javascript


function activeRaquo(id){
	document.getElementById('raquo' + id).className = "raquoOn";
}
function deactiveRaquo(id){
	document.getElementById('raquo' + id).className = "raquoOff";
}

// Return a boolean value telling whether // the first argument is a string. 
function isString(a) {
    if(typeof(a) == "object") return false;
	return true;
}


function tev(theEle)
{
	// function toggles element's visibility
	
	//take care of passed strings instead of elements
	if(isString(theEle)){ theEle = $(theEle); }
		
	if( theEle.className == "visible" ){ theEle.className = "hidden"; }
	else{ theEle.className = "visible"; }
}

function showAnswer(strTheDiv)
{
	alert("here");
	var theDiv = $(strTheDiv); // ensures that we have an HTML object
	theDiv.prototype.state = "on";
	
	alert(theDiv.prototype.state);
	
	
}



function verifyFields(){}