getCurLocState FunctionRetrieves the state of the current location. Syntaxvalue = getCurLocState(); ParametersNone. ReturnsReturns one of the following state values: 
 Example
state = getCurLocState();
if((state == "DONE") || (state == "DONE100"))
{
  spanStatus.innerText =
    "You have already completed this section.";
  spanAll.style.display = "none";
} else
  spanAll.style.display = ""; | 
