var link = document.referrer;  if (link != "") link = escape(link);document.write('<img src="http://www.splarge-k.com/prog-st/access/getlog.cgi?file=TENNIS&img=*****.gif&link=<!--#echo var="HTTP_REFERER"-->);  document.write();  document.write();