hs.registerOverlay({
html: '<div class="closebutton" onclick="return hs.close(this)" title="Close"></div>',
position: 'top right',
useOnHtml: true,
fade: 2 // fading the semi-transparent overlay looks bad in IE
});
hs.graphicsDir = '/highslide/graphics/';
hs.outlineType = 'rounded-white';
hs.showCredits = false;
hs.wrapperClassName = 'draggable-header no-footer';
hs.allowSizeReduction = true;
hs.preserveContent = false;
hs.headingOverlay.position = 'above';
hs.headingOverlay.width = "90%";
hs.dimmingOpacity = 0.75;

window.onload=function()
{
  Nifty("h1.part","big transparent");
  Nifty("h1.chapter","big transparent");
  Nifty("h2.section","big transparent");
  Nifty("h3.subsection","big transparent");
  Nifty("h4.subsubsection","big transparent");
  Nifty("h5.paragraph","big transparent");
  Nifty("pre","big");
  Nifty("div#testcocoon_left","big transparent");
  Nifty("div.source","big");
  Nifty("div.lstlisting","big");
  Nifty("div.figure","big");
  Nifty("div.mouselstlisting","big");
  Nifty("div.thumbnail","big");
  Nifty("div.table","big");
  Nifty("div.download","big");
  Nifty("span.downloadlink","small");
  Nifty("table.productListing","big");
  Nifty("div.software","big");
  Nifty("div.new","big");

  Nifty("div.productListing","big");
  Nifty("div.box","big");
  Nifty("div.box_price","small");
  Nifty("div.headerNavigation","big");
  Nifty("td.pageHeading","big");
}

