var w = window;
var wc_c = document.cookie.toString();
var wc_d = new Date();
var wc_v = 3;
var wc_referrer = (typeof(document.referrer) != "undefined") ? escape(document.referrer.substring(0, 150)) : "";
var wc_title = (typeof(w.document.title) != "undefined") ? escape(w.document.title.substring(0, 150)) : "";
var wc_url = (typeof(w.document.location) != "undefined") ? escape(w.document.location) : "";
var wc_lang = w.navigator.systemLanguage ? w.navigator.systemLanguage : "";
var wc_width = w.screen.width ? w.screen.width : "";
var wc_height = w.screen.height ? w.screen.height : "";
var wc_color = w.screen.colorDepth ? w.screen.colorDepth : "";	
var wc_pixel = w.navigator.pixelDepth ? w.screen.pixelDepth : "";
var wc_cpu = w.navigator.cpuClass ? w.navigator.cpuClass : "";
var wc_timezone = ((new Date()).getTimezoneOffset) ? (new Date()).getTimezoneOffset() : "";
var wc_guid;
var wc_lac;
var wc_cac;
var s;
var e;
wc_cac = wc_d.getTime();
if (wc_c.indexOf("_wclon") != -1) {
s = wc_c.indexOf("_wclon=")+7;
e = wc_c.indexOf(";",s);
if (e == -1) e = wc_c.length;
wc_lon = wc_c.substring(s,e);	
}
else {
wc_lon = wc_cac;
}
if (wc_c.indexOf("_wclon") == -1 || ((wc_cac - parseInt(wc_lon)) / 1000) > 600) {
wc_lon = wc_cac;
document.cookie = "_wclon=" + wc_cac + ";expires=Fri, 31-Dec-2010 00:00:00 GMT;path=/;";
}
if (wc_c.indexOf("_wclac") != -1) {
s = wc_c.indexOf("_wclac=")+7;
e = wc_c.indexOf(";",s);
if (e == -1) e = wc_c.length;
wc_lac = wc_c.substring(s,e);
}
else {
wc_lac = wc_cac;
}
document.cookie = "_wclac=" + wc_cac + ";expires=Fri, 31-Dec-2010 00:00:00 GMT;path=/;";
if (wc_c.indexOf("_wcg") == -1 || ((wc_cac - parseInt(wc_lac)) / 1000) > 10800) {
wc_guid = parseInt(Math.random() * 1000) + wc_d.getTime();
document.cookie = "_wcg=" + wc_guid + ";expires=Fri, 31-Dec-2010 00:00:00 GMT;path=/;";
}
wc_c = document.cookie.toString();
if (wc_c.indexOf('_wcg') == -1) {
wc_guid = "";
}
else {
s = wc_c.indexOf("_wcg=")+5;
e = wc_c.indexOf(";",s);
if (e == -1) e = wc_c.length;
wc_guid = wc_c.substring(s,e);
}
var wc_tracking_url = location.protocol + '//www.ewebcounter.com/track.jsp' +
'?project_id=' + w.wc_project +
'&guid=' + wc_guid +
'&lac=' + wc_lac +
'&cac=' + wc_cac +
'&lon=' + wc_lon +
'&referral=' + wc_referrer +
'&url=' + wc_url +
'&title=' + wc_title +
'&language=' + wc_lang +
'&resolution=' + wc_width + 'x' + wc_height +
'&color=' + wc_color +
'&pixel=' + wc_pixel +
'&cpu=' + wc_cpu +
'&timezone=' + wc_timezone +
'&java=1' +
'&v=' + w.wc_version + '.' + wc_v +
'&random=' + Math.random();
if (w.wc_project && typeof(w.wc_project) != "undefined") {
if (w.wc_project != 62093 && w.wc_project != 60701 && w.wc_project != 59116 && w.wc_project != 56612 && w.wc_project != 62934 && w.wc_project != 62209 && w.wc_project != 56079) {
if (typeof(w.wc_graphic) != "undefined" && w.wc_graphic == 1) {
document.writeln("<A HREF=\"http://www.ewebcounter.com\">");
document.writeln("<IMG SRC=\"" + wc_tracking_url + "\" ALT=\"Free Real-time Web Counter & Statistics\" BORDER=\"0\">");
document.writeln("</A>");
}
else {
wc_img = new Image();
wc_img.src = wc_tracking_url;
}
}
else {
document.writeln("[eWebCounter.com] You have exceeded your allowed page limit. <b>Please remove tracking code immediately.</b>");
}
}
else {
document.writeln("[eWebCounter.com] Corrupted tracking code.  Please re-install.");
}