window.defaultStatus = "Welcome to the Kankakee County Health Department";
/*---------------------------------VARIABLES----------------------------------*/
var dir;
var menus = new Array(
Array(
Array("admin/index.htm","Administration","Administrative offices of the Kankakee County Health Department."),
Array("eh/index.htm","Environmental Health","Provides services relating to environmental health."),
Array("ccd/index.htm","Chronic/Communicable Diseases","Provides services relating to chronic and communicable diseases."),
Array("mch/index.htm","Maternal/Child Health Services","Provides services related to the health of mothers and children."),
Array("hp/index.htm","Health Promotion","Provides services related to the promotion of good health.")),
Array(
Array("contact_us.htm","Contact Information","Displays the contact information for the Kankakee County Health Department."),
Array("links.htm","Health Related Links","Displays links related to the services provided by the Kankakee County Health Department."),
Array("links_for_kids.htm","Links for Kids","Displays links designed for kids that are related to the services provided by the Kankakee County Health Department."),
Array("site_map.htm","KCHD Site Map","Hierarchical index of all pages in the Kankakee County Health Department website."),
Array("index.htm","KCHD Homepage","Homepage of the Kankakee County Health Department")));
/*---------------------------------FUNCTIONS----------------------------------*/
function changePage(url) { window.location = url; }
function showDesc(dir, url) {
for(var i = 0; i < descriptions.length; i++)
if(url == dir + descriptions[i][0]) {
document.getElementById("description").innerText = descriptions[i][1];
return;
}
document.getElementById("description").innerText =
"No description is available at this time.";
}
function displayMainMenu(dir) {
for(var i = 0; i < menus.length; i++) {
if(i != 0) document.write("\n");
document.write("
\n"+
"\n\";
// top and left spacing around print window to center the window
var top = (window.screen.height - 450) / 3;
var left = (window.screen.width - 750) / 1.8;
var newWin = window.open("about:blank","_blank",
"width=700,height=450,top="+top+",left="+left+",menubar=1,status=0,location=0,scrollbars=1");
if(heading == null) heading = "Kankakee County Health Department";
newWin.document.write(printPage1 + heading + printPage2 + src + printPage3);
}
function mainPage(section, dir) {
var ie5plusCSS = "\n";
if((navigator.appName != "Microsoft Internet Explorer") ||
(4 > parseInt(navigator.appVersion))) ie5plusCSS = "";
var mainPage1 = ie5plusCSS + "\n\n"+
"
\n "+
"All pages listed as Brochures or Applications were available as paper "+
"copies for public distribution through the Kankakee County Health "+
"Department (KCHD) at the time the pages were constructed. No authorship or "+
"ownership is implied through their use, and this use is solely intended "+
"for the education and continuing health and safety of the public. Pages "+
"listed as Web Sites are outside links to content not maintained or "+
"monitored by the KCHD, and the KCHD cannot be liable for such content.
\n"+
"
\n
\n
\n"+
"
\n"+
"
\n"+
"
\n
\n"+
"
\n"+
"
\n"+
"
\n"+
"
\n"+
"
\n
\n"+
"
\n
\n"+
"
\n "+
"This website is best viewed under Internet Explorer 5.0 or higher, with\n "+
"JavaScript enabled. \nWebsite restructured by "+
"Jacob Kronika in "+
"June-August and December 2004 and January 2005 \n"+
printModDate()+"