//REFERENCE PAGE TAG
// CONSTANTS
var ct = "<img src=";
var cd = "http://track.realitykings.com"; //this should contain the domain of the web site
var cu = "/zag.gif?Log=1"; //this should contain the full path to the zag.gif file (excluding domain) and include the query string of log=1
var ce = ">";

var c = {};
c["sw"] = screen.width;
c["sh"] = screen.height;
c["cd"] = screen.colorDepth;
var co = "";


var d1 = {};
d1["dt"] = document.title;
d1["dr"] = document.referrer;
d1["cb"] = new Date().getTime();
d1["ur"] = document.URL;
d1["lc"] = document.location;

var vo = "";

if (typeof custom_var != "undefined") {
 for ( vKey in custom_var ) {
  vo = vo+"&"+vKey+"="+escape(custom_var[vKey]);
 }
}
for ( dKey in d1 ) {
 vo = vo+"&"+dKey+"="+escape(d1[dKey]);
}
document.write(ct,cd,cu,vo,ce);
//END REFERENCE PAGE TAG

