function submitOmniture(techStrat, downloadUrl, eventName) {
  //this is now a no-op
  //we're keeping this here for backwards compatibility
  //for new stuff, use omnitureConfig for custom links instead
}

function getValue(name) {
  return s[name];
}

function getCookieValue(name) {
	var ret = "";

	// Prop26: Internal Search Pathing Traffic > Custom Insight > Prop26:
	// Internal Search Pathing path on internal search terms, use eVar1 internal
	// search term + pageName Value from cookie called "searchpath". Doesn't
	// exist yet. Call .js function to get this s.prop26="search
	// term+":"+"RMA:"+"segment x:"+"feature"
	if (name == "prop26") {
		var prop26 = "";
		if (getCookie('prop26') != undefined && getCookie('prop26') != "") {
			prop26 = getCookie('prop26');
		} else {
			// set the cookie
			if (s.eVar1 != undefined && s.eVar1 != "") {
				prop26 = s.eVar1;
				createCookie('prop26', prop26, 30);
			}
		}

		ret = prop26;

	}

	// s.prop27 Prop27: Campaign Pathing Traffic > Custom Insight > Prop27:
	// Campaign Pathing Pathing on campaigns. Can be paid search or ads Value
	// from cookie called "cmppath". Doesn't exist yet. Call .js function to get
	// this s.prop27=s.campaign+":"+"RMA:"+"segment x:"+"feature" Yes
	if (name == "prop27") {
		var prop27 = "";
		if (getCookie('prop27') != undefined && getCookie('prop27') != "") {
			prop27 = getCookie('prop27');

		} else {
			// set the cookie
			if (s.campaign != undefined && s.campaign != "") {
				prop27 = s.campaign;
				createCookie('prop27', prop27, 30);
			}
		}

		ret = prop27;

	}

	// prop15 is for Evaluation Action Advanced Tracking
	// s.prop15 Evaluation Action Advanced Tracking Traffic > Custom Insight >
	// Evaluation Action Advanced Tracking Value is from counter in the cookie.
	// "1st engagement action", "2nd engagement action", etc. Value comes from
	// counter in cookie called "engagement_a". We must create it, it doesn't
	// exist yet. s.prop15="2nd engagement action"
	if (name == "prop15") {

		var prop15 = 1;

		if (readCookie("prop15") == undefined || readCookie("prop15") == null) {
			createCookie("prop15", prop15, 30);
		} else {
			prop15 = parseInt(readCookie('prop15'));
			++prop15;

			// commented out because it was throwing an error with the 30 being
			// passed in
			// setCookie('prop15', prop15, 30);
			setCookie('prop15', prop15);
		}

		if (prop15 <= 10) {
			ret = "engagement action " + prop15;
		} else {
			ret = "high engagement 10 plus";
		}
	}

	return ret;
}

function readCookie(name) {
        var nameEQ = name + "=";
        var ca = document.cookie.split(';');
        for(var i=0;i < ca.length;i++) {
                var c = ca[i];
                while (c.charAt(0)==' ') c = c.substring(1,c.length);
                if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
        }
        return null;
}

