<!-- //
// First, strip off any URL variables
var URLAddress = location.href.substring(0,(location.href.indexOf("?")>0)?location.href.indexOf("?"):location.href.length)

// Remove characters outisde the printable range as well as "<" and ">" which may indicate tags.
var newAddress = '';
for (i=7;i<URLAddress.length;i++)
{
 if ((URLAddress.charCodeAt(i) > 31 && URLAddress.charCodeAt(i) < 127) && URLAddress.charAt(i) != '>' && URLAddress.charAt(i) != '<')
  newAddress = newAddress + URLAddress.charAt(i);
}

// var final= "/cgi-bin/printfriendly.cgi?url=http://";
 
 

// write cleaned URL
//document.write("<a href=\"'newAddess'\">HyperLink Example</a>");
//document.write("<a href=/cgi-bin/printfriendly.cgi?url=http://" + newAddress + ">Print Friendly</a>");
document.write("<a href=/cgi-bin/printfriendly.cgi?url=http://" + newAddress + "><img src='/otis/img/print2.gif' alt='Printer Friendly Version' border=0></a>" + "<br />");
//document.write("/cgi-bin/printfriendly.cgi?url=http://" + escape(newAddress));
//-->
