// JavaScript Document

// ------------------------------------------------------------------------------------------
// Field Hint / Row Selection
// ------------------------------------------------------------------------------------------
function SelectField(fieldID)
	{
	    var x = 1;
	    var ctl = document.getElementById("fieldWrapper" + x);
	    while (ctl != null)
	    {
	        var ctl2 = document.getElementById("fieldInstructions" + x);
	        if (x == fieldID)
	        {
	            ctl.className = "FormRow1 FormRowSelected";
	            if (ctl2 != null)
	                ctl2.style.display = "";
	        }
	        else
	        {
	            ctl.className = "FormRow1";
	            if (ctl2 != null)
	                ctl2.style.display = "none";	            
	        }
	        x++;
	        ctl = document.getElementById("fieldWrapper" + x);
	    }
	}
	
/* INFOBULLES */

function show(element){
        document.getElementById(element).style.visibility = 'visible';
}
function displayblock(element){
        document.getElementById(element).style.display = 'block';
}
function hide(element){
        document.getElementById(element).style.visibility = 'hidden';
}
function displaynone(element){
        document.getElementById(element).style.display = 'none';
}