/*
Documentations:
You may remove the documentation portion to make the file smaller
Parameters: cPageName, cReferrer
If cPageName is NOT defined - The script will Automatically store page name in it.
If cReferrer is NOT defined - The script will Automatically store the referrer in it.

Sample:
To log defult values use the follow line:
<script SRC="/Logme.js"></script>

Advanced Documentation Start:
Some times (when using ASP for example or pages with products) same page may apear under different names. This will result in registering same page under different names. It will make the statistics hard to use (Same issue may be relevant to the referrer information.) Therefore, you may want to register such page under a static name. To do so, you can pre set a name for that page.
To preset page name and referrer use the follow sample:
<Script>
var cPageName="Page-Name", cReferrer=document.cookie
</script>
<script SRC="Logme.js"></script>

Use the sendLink function to register clicks on links, images etc.
<a href="sendClick(cPageName,cHREF)">This link will register</a>
<a href="sendClick('Click to Google','http://www.Google.com')">Google</a>
Documentation End:
*/
var _cUsr_Nm = "Artowest";
function sendClick(cTitle, cHref)
    {
    var oImg = new Image();
    oImg.src = "http://www.Website-Tracking.com/Logme/FoxLog.dll/logme.logme.Logme?" + 
    _cUsr_Nm  + "," + escape(cTitle) + " ," + escape(document.referrer) + " ," + 
    window.navigator.appVersion + " ," + window.screen.width;
    window.setTimeout('document.location="' + cHref + '"',1500);
    }

if (typeof(cPageName)=="undefined")
    {
    var nPlace=0,
    _Str = String(document.location),
    _Place = _Str.lastIndexOf("/") + 1,
    cPageName = unescape(_Str.substr(_Place ));
    nPlace = cPageName.indexOf("logme.logme");
    if (nPlace > -1)
        {
        cPageName = cPageName.substr(nPlace + 12);
        }
    }

if (typeof(cReferrer)=="undefined")
    {
    cReferrer = document.referrer;
    }

if (cPageName == "")
    {
    cPageName = "/";
    }

var _Img = new Image()

_Img.src="http://www.Website-Tracking.com/Logme/FoxLog.dll/logme.logme.Logme?" + 
    _cUsr_Nm + "," + escape(cPageName) + " ," + escape(cReferrer) + " ," + 
    window.navigator.appVersion + " ," + window.screen.width; 
