// load normal css or print version css

document.write('<style type="text/css">');
if (document.location.search) {
  qu = document.location.search.substr(1,2);
  if (qu == "pr") {
    document.write("@import url(../lpcpr.css);");
  }
} else {
  qu = "wb";
  document.write("@import url(../lpc.css);");
}
document.write('</style>');

  if (qu == "pr") {
    printorwebtxt = "web version";
  } else {
    printorwebtxt = "print version";
  }


// printable or web version

function printorweb() {
  if (qu == "pr") {
    self.location = self.location.pathname;
  } else {
    self.location = self.location.pathname + "?pr";
  }
}

function writeprintorweb() {
document.write('<div id="printorweblyr"><a href="javascript:printorweb();" title="' + printorwebtxt + '">' + printorwebtxt + '</a></div>');
}

