<!--

/*
**
**    Checks the browser to see if it is capable of
**    printing using the window.print() function.
**
**    If it is, then change the link in the objLink
**    variable to this method.
**
*/
function checkPrintFriendlyLink(objLink)
{
   // Browser doesn't use this method, exit here
   if(window.print == null) return false;

   // Get the objLink object from it's name
   var lObj = document.all ? document.all[objLink] : document.getElementById(objLink);
   if(lObj == null) return false;   // Cannot find the object

   // Setup the links href to use the print method above
   lObj.href = "javascript:void(0);"
   lObj.target = "";
   lObj.onclick = function() { window.print(); return false; };
}

// -->
