
function faq_default() {
    appmain_tabclicked(6 /* FAQ */);
    // actual work
    var xmlHttp = appmain_getXmlHttp();
    var url = _LGP_BASE_URL + "faq.php?op=default";
    xmlHttp.open("GET",url,true);
    xmlHttp.onreadystatechange=function() {
        if(xmlHttp.readyState == 4) {
            var json = eval("(" + xmlHttp.responseText + ")");
            var redirected = appmain_redirectIfRequired(json, "flow/faq", false);
            if(redirected == false) {
                document.getElementById("gt-body").innerHTML = json.html;
            }
        }
    };
    xmlHttp.send(null);
}

function toggle_visibility(id) {
   var e = document.getElementById(id);
   if(e.style.display == 'block')
      e.style.display = 'none';
   else
      e.style.display = 'block';
}

