home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Practical Internet Web Designer 88
/
PIWD88.iso
/
pc
/
CONTENTS
/
BONUS
/
FULL
/
OXYGEN
/
INDEX_FILES
/
CODE.HTM
< prev
next >
Wrap
Text File
|
2002-08-19
|
1KB
|
38 lines
sd = sc = ja = ck = pl = ""; jsv = "1.0";
document.cookie = "eztest=true";
ck = (document.cookie.indexOf("eztest") >= 0 ? 1 : 0);
ja = (navigator.javaEnabled() ? 1 : 0);
bn = navigator.appName;
bv = Math.round(parseFloat(navigator.appVersion)*100);
if (bn == "Netscape") {
if (bv >= 300) jsv = "1.1";
if (bv >= 400) {
jsv = "1.2";
sd = screen.width+'x'+screen.height;
sc = screen.pixelDepth;
}
if (bv >= 406) jsv = "1.3";
}
msie_index = navigator.userAgent.indexOf("MSIE");
if (msie_index != -1) bn = "MSIE";
if (bn == "MSIE") {
bv_str = navigator.userAgent.substr(msie_index+5, navigator.userAgent.length);
bv = Math.round(parseFloat(bv_str)*100);
if (bv >= 400) {
jsv = "1.2";
sd = screen.width+'x'+screen.height;
sc = screen.colorDepth;
}
}
var t = new Date;
rand = Math.random();
var ez_code = "<I";
ez_code += "MG border=0 width=1 height=1 src='http://www.mkm.ro/stats/easystat.cgi?acct=oxygen&js=1";
ez_code += "&ref="+escape(parent.document.referrer);
ez_code += "&pg="+escape(window.location.href);
ez_code += "&pt="+escape(document.title);
ez_code += "&tz="+t.getTimezoneOffset();
ez_code += "&vh="+t.getHours();
ez_code += "&ck="+ck+"&ja="+ja+"&jsv="+jsv+"&sd="+sd+"&sc="+sc+"&rand="+rand+"'>";
document.write(ez_code);