

// ---------- script properties ----------

var include_num = 1;
var bold = 0;

// ---------- sites ----------


var s = new Array();

s[0] = "Healthcare^Healthcare.aspx^data capture, outsourcing, BPO, keying, document management, onshore, offshore, back-office, return mail, cloud computing, information security, Global, China, India ";
s[1] = "Marketing^Marketing.aspx^geographic, demographic, deceased, snowbird, new mover, new business, do not call, DNC, do not mail, DNM, email, email change of address, hygiene, acs suppression, address change service, direct mail, databases, address management, search, us mail, standard mail, bar code, first class, return to sender, b2b, b2c, physical mail, images, data, marketing database, business reply, poly mail, address changes, suppression";
s[2] = "Transportation^Transportation.aspx^Driver Trip Reports , send back processing , DTR, marketing databases, Prioritization";
s[3] = "Government^Government.aspx^BPO solutions, OCR, ICR, OMR, Cloud Computing, Blind Verification, Sight Verification, NAICS code, Data processing";
s[4] = "Finance/Accounting^FinanceAccounting.aspx^OFAC screening, ACH, credit card processing, credit bureau, fraud detection, check verification, identity verification, accounts payable, invoice, automated invoice processing, invoice data, OCR, data accuracy, financial management systems, accounting, accounting resources";
s[5] = "Mailroom^Mailroom.aspx^mailroom, return mail, data entry, indexing, mail security, mail distribution, mail processing, mailroom service, scanning, electronic routing, mail, image, document management systems, image storage, onshore, offshore, global,  secure facility";
s[6] = "Returned Mail^ReturnedMail.aspx^return mail, CASS, DPV, NCOA, LACSLink, Suitelink, AEC, data security, bad addresses, UAA, undeliverable mail, mail, bar code, identity, image-based, search, collection, secure document destruction, address changes, BPO, data entry, document scanning, mailroom, image hosting, global, postal, address hygiene, address management,  collections, direct mail marketing, critical customer communications, undeliverable as addressed, United States Postal Service";
s[7] = "Customer Contract Management^CustomerContract.aspx^customer contact management, billing, contract management system, billing accuracy";
s[8] = "Custom^Custom.aspx^mailroom, global, india, china, business process outsourcing, BPO, data hosting, address cleansing, print, mail, secure document storage, secure document destruction, return mail, image, image management, document scanning, scanning, data capture, file, retrieval,  OCR, ICR, OMR, data entry";
s[9] = "About Us^About.aspx^data entry, data capture, mailroom, global, china, india, outsourcing, keying, onshore, offshore, workflow, document management, document processing, OCR, ICR, OMR, medical claims, cloud computing, image processing, return mail, indexing, ACH, credit care, payment processing, BPO, BPR,  ITES, data security, risk management, data processing, back-office, identity theft, fraud, government, telecommunications, health care, insurance, insurance, financial services, transportation, utilities, business services, 24/7, HCFA1500, UB92, dental claims, electronic claims, global, mailroom, scanning, customer service, technical support, data center, secure document storage, secure document destruction, keying, offshore, india, china";
s[10] = "Locations^Locations.aspx^data entry, data capture, mailroom, global, china, india, outsourcing, keying, onshore, offshore, workflow, document management, document processing, OCR, ICR, OMR, medical claims, cloud computing, image processing, return mail, indexing, ACH, credit care, payment processing, BPO, BPR,  ITES, data security, risk management, data processing, back-office, identity theft, fraud, government, telecommunications, health care, insurance, insurance, financial services, transportation, utilities, business services, 24/7, HCFA1500, UB92, dental claims, electronic claims, global, mailroom, scanning, customer service, technical support, data center, secure document storage, secure document destruction, keying, offshore, india, china";
s[11] = "Management^Management.aspx^data entry, data capture, mailroom, global, china, india, outsourcing, keying, onshore, offshore, workflow, document management, document processing, OCR, ICR, OMR, medical claims, cloud computing, image processing, return mail, indexing, ACH, credit care, payment processing, BPO, BPR,  ITES, data security, risk management, data processing, back-office, identity theft, fraud, government, telecommunications, health care, insurance, insurance, financial services, transportation, utilities, business services, 24/7, HCFA1500, UB92, dental claims, electronic claims, global, mailroom, scanning, customer service, technical support, data center, secure document storage, secure document destruction, keying, offshore, india, china";
s[12] = "Solutions^Solutions.aspx^data capture, outsourcing, BPO, keying, document management, onshore, offshore, back-office, return mail, cloud computing, information security, Global, China, India";
s[13] = "Platform^Platform.aspx^secure document storage, secure document destruction, print, mail, image, document retrieval, indexing, documents, gateway, postal, audit, address management, search, address information, phone information, postal deliverability, address hygiene, geographic, demographic, mailroom, document processing, electronic image, email, ftp, pgp, file encryption, billing, outbound mail";
s[14] = "XperFlow^Xperflow.aspx^workflow, core, XperTran, remote web access, history, user";
s[15] = "XperFind^XperFind.aspx^find, search, query, address management, system, transactional, batch, postal, public, private, database";
s[16] = "XperAudit^XperAudit.aspx^audit, quality assurance, testing, web access, quality report, random, errors, exception, quality control";
s[17] = "XperHost^XperHost.aspx^host, secure, web hosting, XperTran, portal, gateway, reports, graphs, analytics, configurable, Internet";
s[18] = "XperOut^XperOut.aspx^end of life, secure, document destruction, pull, request, review, indexing, print and mail, marketing, audit";
s[19] = "Contact Us^ContactUs.aspx^data conversion, indexing, data entry, data capture, scanning, OCR, ICR, IMR, mailroom, document storage, image hosting, image processing, key entry, outsourcing";
s[20] = "Resources^Resource.aspx^data conversion, indexing, data entry, data capture, scanning, OCR, ICR, IMR, mailroom, document storage, image hosting, image processing, key entry, outsourcing";
s[21] = "News^News.aspx^data entry, data capture, mailroom, global, china, india, outsourcing, keying, onshore, offshore, workflow, document management, document processing, OCR, ICR, OMR, medical claims, cloud computing, image processing, return mail, indexing, ACH, credit care, payment processing, BPO, BPR,  ITES, data security, risk management, data processing, back-office, identity theft, fraud, government, telecommunications, health care, insurance, insurance, financial services, transportation, utilities, business services, 24/7, HCFA1500, UB92, dental claims, electronic claims, global, mailroom, scanning, customer service, technical support, data center, secure document storage, secure document destruction, keying, offshore, india, china";
s[22] = "Accounts Payable^AccountsPayable.aspx^OFAC screening, ACH, credit card processing, credit bureau, fraud detection, check verification, identity verification, accounts payable, invoice, automated";

// ---------- end of script properties and sites ----------


var cookies = document.cookie;
var p = cookies.indexOf("d=");

if (p != -1) {
	var st = p + 2;
	var en = cookies.indexOf(";", st);
	if (en == -1) {
		en = cookies.length;
	}
	var d = cookies.substring(st, en);
	d = unescape(d);
}
if (d) { // only if d isn't null...
    var od = d;
    var m = 0;
    if (d.charAt(0) == '"' && d.charAt(d.length - 1) == '"') {
        m = 1;
    }

    var r = new Array();
    var co = 0;

    if (m == 0) {
        var woin = new Array();
        var w = d.split(" ");
        for (var a = 0; a < w.length; a++) {
            woin[a] = 0;
            if (w[a].charAt(0) == '-') {
                woin[a] = 1;
            }
        }
        for (var a = 0; a < w.length; a++) {
            w[a] = w[a].replace(/^\-|^\+/gi, "");
        }
        a = 0;
        for (var c = 0; c < s.length; c++) {
            pa = 0;
            nh = 0;
            for (var i = 0; i < woin.length; i++) {
                if (woin[i] == 0) {
                    nh++;
                    var pat = new RegExp(w[i], "i");
                    var rn = s[c].search(pat);
                    if (rn >= 0) {
                        pa++;
                    } else {
                        pa = 0;
                    }
                }
                if (woin[i] == 1) {
                    var pat = new RegExp(w[i], "i");
                    var rn = s[c].search(pat);
                    if (rn >= 0) {
                        pa = 0;
                    }
                }
            }
            if (pa == nh) {
                r[a] = s[c];
                a++;
            }
        }
        co = a;
    }

    if (m == 1) {
        d = d.replace(/"/gi, "");
        var a = 0;
        var pat = new RegExp(d, "i");
        for (var c = 0; c < s.length; c++) {
            var rn = s[c].search(pat);
            if (rn >= 0) {
                r[a] = s[c];
                a++;
            }
        }
        co = a;

    }
}

function return_query() {
	document.jse_Form.d.value = od;
}

function num_jse() {
	document.write(co);
}

function out_jse() {
	if (co == 0) {
		document.write('Your search did not match any documents.<p>Make sure all keywords are spelled correctly.<br>Try different or more general keywords.');
		return;
	}
	for (var a = 0; a < r.length; a++) {
		var os = r[a].split("^");
		if (bold == 1 && m == 1) {
			var br = "<b>" + d + "</b>";
			os[2] = os[2].replace(pat, br);
		}
		if (include_num == 1) {
			document.write('<p class="results">', a + 1, '. <a class="specialLink" href="', os[1], '">', os[0], '</a><br>', os[2], '</p><br/>');
		} else {
		    document.write('<p class="results"><a class="specialLink" href="', os[1], '">', os[0], '</a><br>', os[2], '</p><br/>');
		}
	}

}

