/* site specific scripts */

function siteInit(){
  // Called with the body onload event.
  // Customise according to site requirements.
}

function redirect(id) {
   var parent = document.getElementById(id)
   window.location = parent.value;
}
function SelectAll(id)
{
    document.getElementById(id).focus();
    document.getElementById(id).select();
}

function printPageComponent() {
  html  = '<div id="print-page">';
  html += '  <input class="button" \n';
  html += '         id="print-page-button" \n';
  html += '         onclick="window.print();" \n';
  html += '         onmouseup="this.blur();" \n';
  html += '         title="Print the current page." \n';
  html += '         type="button" \n';
  html += '         value="Print this page"';
  html += '   />';
  html += '</div>';
  return html;
}

