<!--

// Large Type checkbox function -----------------------------------------

function changeStyleSheet(toSize) {
  var sheetURL, i, a;
  if (toSize=="Large") {
    sheetURL = "/css/tpc-largetype.css";
  } else {
    sheetURL = "/css/tpcstyle.css";
  }
  for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
    if (a.getAttribute("rel")=="stylesheet" && a.getAttribute("href")) {
      a.disabled = true;
      a.setAttribute("href", sheetURL);
      a.disabled = false;
    }
  }
}

function switchLargeTypeCookie()
{
  if (checkCookie("TPCLargeType")) {
    clearCookie("TPCLargeType");
    whichSheet = "Normal";
  } else {
    makeCookie("TPCLargeType","ON",100);
    whichSheet = "Large";
  }
  changeStyleSheet(whichSheet);
//  reloadPage();
}

// Set Large or Normal type on load -----------------------------------------

if (checkCookie("TPCLargeType"))
{
  document.write ('<link rel="stylesheet" href="/css/tpc-largetype.css" type="text/css">');
  makeCookie("TPCLargeType","ON",100);
}
else document.write ('<link rel="stylesheet" href="/css/tpcstyle.css" type="text/css">');

//-->
