

   // Get the page name that we are in and pass it to the script.

//var param;
//string pagename;
//string pageurl;
//string sDoc;
//var pageinfo;

   pageurl = document.location.href;
   param = pageurl.split("/");
   pagename = param[param.length - 1];
   pageinfo = pagename.split(".");
   
   pagetitle = document.title;
   pagetitle = pagetitle.replace(/\s/g,'');
   lth = pagetitle.length
   pagetitle = pagetitle.replace("RandemSystemsSupportBoard:",'');
   if (pagetitle.length < lth)
    { 
       pagetitle = param[param.length - 2]+"-"+pagetitle                                 
    }

      
   sDoc = "<img src=\"http://www.randem.com/cgi-bin/randem/sitelog.pl?"+pagetitle+",ref="+document.referrer+"\" width=1 height=1>";
  
   document.writeln(sDoc);
   
//   document.write("<img src=\"http://www.randem.com/cgi-bin/randem/sitelog.pl?"+pageinfo[0]+",ref="+document.referrer+"\" width=1 height=1 border=0>");

