// JavaScript Document
dateHit=new Date()
var queryString=location.search;
var FileName = self.location.pathname.substr(1);
var FirstThree = FileName.substring(0,3);
var BaseName=FileName
if (FirstThree!="MSG") {
  BaseName="MSG"+FileName;
}
var i = BaseName.lastIndexOf( ".");
if (i != -1) {
  BaseName=BaseName.substring(0,i);
}
var TrackDoc=BaseName;
if (queryString.length > 0) {
  var Referrer=queryString.substr(1);
  var Primary=Referrer;
  var i = Referrer.indexOf(".");
  if (i != -1) {
    Primary=Referrer.substring(0,i);
  }
  TrackDoc=BaseName+"-"+Primary;
  document.write("<img src='http://www2.pageville.com/cgi-bin/patternto.pl"
    +"?customer/&amp;msgAddReferrer.pat"
    +"&amp;CookieDataMSGReferrer="+Referrer
    +"&amp;Document="+self.location.pathname.substr(1)
    +"' border='0' height='1' width='1' alt='This is a tracking link' />");
}
document.write("<img src='http://www.pageville.com/cgi-bin/"
    +"access3.exe?Count&amp;Referrer="+document.referrer
    +"&amp;SiteDirectory=customer/"
    +"&amp;Document="+TrackDoc
    +"&amp;Graphics=track0' border='0' height='1' width='1' alt='This is a tracking link' />");

