﻿function startList() {
var str1, str2, str3, leftnavvar;
leftnavvar = document.getElementById('leftnavul').innerHTML;
str1 = leftnavvar.replace (">Adoption <", "><");
//str2 = str1.replace ("List of sub-sites Home", "ISDH Home");
//str3 = str2.replace ("/isdh/17078.htm", "/isdh/");
document.getElementById('leftnavul').innerHTML = str1;
var navRoot = document.getElementById("leftnavul");
var navRootULs = navRoot.getElementsByTagName("UL");
for (i=0; i<navRootULs.length; i++) { navRootULs[i].style.display = 'none'; }
 for (i=0; i<navRoot.childNodes.length; i++) {
  var node = navRoot.childNodes[i];
     if(node.nodeName=="LI" && node.firstChild.getAttribute("HREF").charAt(node.firstChild.getAttribute("HREF").length-1) == "#") {
   node.className = 'navMore';
   node.onclick=function() {
    closeAll();
    this.className += " navClick"; }
   node.firstChild.onclick=function() { return false; }
   }
  }
}
/*document.write('<script type="text/javascript" src="http://www.in.gov/ai/rightnow/syndication_widget/arss.js"></script>');*/
function faqload(){
    /*document.getElementById('want').style.display='none';document.getElementById('faq').style.display='none';
 
    var reader2 = RNTFeed.getReader();3
    reader2.uri='http://iot.custhelp.com/cgi-bin/iot.cfg/php/enduser/opensearch.php?p_cv=2.98';
    reader2.pagesize = 6;
    reader2.navigation = "off";
    reader2.searchbox = "off";
    reader2.render("faqdivload");
    reader2.search("");
    var timeX = setTimeout("document.getElementById('faq').style.display='block'", 500);*/
}
RightNow.Client.Controller.addComponent({
    c: "97,98",
    number_answers: 6,
    target: "_blank",
    description: false,
    div_id: "faqdivload",
    navigation: false,
    recommended: false,
    related: false,
    search_box: false,
    truncate_size: 50,
    instance_id: "skw_0",
    module: "KnowledgeSyndication",
    type: 3
    },
    "http://iot.widget.custhelp.com/ci/ws/get"
);
function contactFormProtect() {
    document.contact.config_file.value = "dcs/contact2.config";
}
function supportFormProtect() {
    document.support.config_file.value = "dcs/support2.config";
}
