// Prosper202

// Tracking code only runs if subid cookie has not already been set

// Function gets the value of a cookie
function getCookie(c_name)
  {
  if (document.cookie.length>0)
    {
    c_start=document.cookie.indexOf(c_name + "=");
    if (c_start!=-1)
      {
      c_start=c_start + c_name.length+1;
      c_end=document.cookie.indexOf(";",c_start);
      if (c_end==-1) c_end=document.cookie.length;
      return unescape(document.cookie.substring(c_start,c_end));
      }
    }
  return "";
  }

// Function checks if the tracking202subid cookie is set. If not, the Prosper202 code is loaded.
function checkCookie()
  {
  	tracking202subid=getCookie('tracking202subid');
  if (	tracking202subid==null || tracking202subid=="")
    {
    document.write(unescape("%3Cscript src='http://www.rhmclicks.com/tracking202/static/landing.php?lpip=624' type='text/javascript'%3E%3C/script%3E"));
    }
  }

// Call the checkCookie() function
checkCookie();
