function printMe()
{
  if ( window.opener ) window.opener.onBeforePrint(window.self);
  window.print();
}

