/*-- Web1by1 (C) Marketing1by1 v1.3.3, September 2010 --*/
function _w1x1(s, c) {
var fs = "http" + (document.location.href.indexOf("https:/") == 0 ? "s" : "") + ":/" + "/" + s + "/";
var ce = 0; var r = Math.random() * 2147483647; var i = 0; var ip = ""; var ic = ""; var isc = ""; var ie = ""; var ise = ""; var scs = ""; var scq = ""; var sa = "";
this.u = function(a, p) { return fs + a + "j.ashx?" + p + "c=" + c + "&z=" + r + "&callback=?"; }
this.p = function(n, v) { return ((String(v) != "") ? n + "=" + escape(v) + "&" : ""); };
this.ceSet = function(v) { ce = v; }
this.ceGet = function() { return ce }
this.iSet = function(t, v) { i++; switch (t) { case 1: case '1': case 'p': ip = v; break; case 2: case '2': case 'c': ic = v; break; case 3: case '3': case 'sc': isc = v; break; case 4: case '4': case 'e': ie = v; break; case 5: case '5': case 'se': ise = v; break; } }
this.iGet = function() { return this.p("ip", ip) + this.p("ic", ic) + this.p("isc", isc) + this.p("ie", ie) + this.p("ise", ise); }
this.iSend = function() { if ((i > 0) && (ce > 0)) { jQuery.getJSON(w1x1.u("c", w1x1.iGet())); } }
this.scAdd = function(s, q) { scs += s + "|"; scq += q + "|"; }
this.scGet = function() { return (scs.length > 0) ? this.p("scs", scs) + this.p("scq", scq) : ""; }
this.scSend = function() { if (scs.length > 0) { jQuery(function() { jQuery.getJSON(w1x1.u("sc", w1x1.scGet())); }) } }
this.sGet = function() { return sa }
this.sSend = function(so, st, ss, stx, sot) { sa = this.p("so", so) + this.p("st", st) + this.p("ss", ss) + this.p("stx", stx) + this.p("sot", sot) + this.scGet(); jQuery(function() { jQuery.getJSON(w1x1.u("s", w1x1.sGet())); }) }
}
function _w1x1_locs() {
var c = 0; var ls = []; var ds = [];
this.Add = function(l, d) { ls[c] = String(l); ds[c] = d; c++; }
this.lGet = function(i) { return ls[i]; }
this.dGet = function(i) { return ds[i]; }
this.count = function() { return c; }
}
function _w1x1_defaults() {
var dd = [];
this.Add = function (s, n, i, u, p, d) { dd[dd.length] = new _w1x1_prod(s, n, i, u, p, d); }
this.Get = function () { return dd; }
}
function _w1x1_prod(s, n, i, u, p, d) {
this.S = String(s);
this.N = String(n);
this.I = String(i);
this.U = String(u);
this.P = String(p);
this.D = (d == undefined) ? "" : String(d);
}

