var no = 0;
var sts = '&nbsp';
var IE = 0;
var NN = 0;
var rf='X', lg='X', dt='X', sc='X', tz='', d;

if ((document.referrer != null) && (document.referrer != "undefined"))
  rf = document.referrer;
sc = screen.width + '-' + screen.height + '-' + screen.colorDepth;
d = new Date();
dt = d.valueOf().toString();
dt = dt.substring(0, dt.length - 3);
if (navigator.appName == 'Netscape') 
  lg = navigator.language;
else
  lg = navigator.browserLanguage;
tz = d.getTimezoneOffset();
if (rf != "X") {
  rf = rf.replace('www.neuralsemantics.com', 'w.com');
  rf = rf.replace('neuralsemantics.com', 'x.com');
}
sts = '<IMG SRC=\"http://www.neuralsemantics.com/cgi-bin/nstats.pl?' + '%%sc!!' + sc + 
      '%%dt!!' + dt + '%%tz!!' + tz + '%%lg!!' + lg + '%%rf!!' + rf + '\"' + 
      ' WIDTH=1 HEIGHT=1>';

IE = (document.all) ? 1 : 0;
NN = (document.layers) ? 1 : 0;

function lightOn(num, msg) {
  window.status = msg;
  eval('link' + num + '.style.color = "white"');
}
function lightOff(num) {
  window.status = '';
//  eval('link' + num + '.style.font = "10pt Arial medium"');
  eval('link' + num + '.style.color = "#00D0D0"');
}
function addLink(href, text, msg) {
  if (IE) {
    document.write('<A HREF="' + href + '" onMouseOut="lightOff(' + no + '); return true" onMouseOver="lightOn(' + no + ', \'' + msg + '\'); return true" ID="link' + no + '"><FONT FACE="Times new Roman, Arial" SIZE=2 COLOR="#00E5E5">' + text + '</FONT><\/A>&nbsp&nbsp&nbsp&nbsp');
    lightOff(no);
  }
  else
    document.write('<A HREF="' + href + '"><FONT FACE="Times new Roman, Arial" SIZE=2 COLOR="#00E5E5">' + text + '</FONT><\/A>&nbsp&nbsp&nbsp&nbsp');
  no += 1;
}
function addLinkBack(text, msg) {
  if (IE) {
    document.write('<A HREF="#" onClick="history.back(0)" onMouseOut="lightOff(' + no + '); return true" onMouseOver="lightOn(' + no + ', \'' + msg + '\'); return true" ID="link' + no + '"><FONT FACE="Times new Roman, Arial" SIZE=2 COLOR="#00E5E5">' + text + '</FONT><\/A>&nbsp&nbsp&nbsp&nbsp');
    lightOff(no);
  }
  else
    document.write('<A HREF="#" onClick="history.back(0)"><FONT FACE="Times new roman, Arial" SIZE=2 COLOR="#00E5E5">' + text + '</FONT><\/A>&nbsp&nbsp&nbsp&nbsp');
  no += 1;
}
function loadUrl(url) {
  location.href = url;
}

