    var agt = navigator.userAgent.toLowerCase();
	var is_major = parseInt(navigator.appVersion);
	var is_minor = parseFloat(navigator.appVersion);
    var isNS = ((agt.indexOf('mozilla') != -1) && (agt.indexOf('spoofer') == -1) && (agt.indexOf('compatible') == -1) && (agt.indexOf('opera') == -1) && (agt.indexOf('webtv') == -1) && (agt.indexOf('hotjava') == -1));
    var isNS6 = (isNS && (is_major >= 5));
	var isIE = document.all ? true : false

	var psImgLoaded = false;
	var psIntelligence_on, psIntelligence_off, psInventory_on, psInventory_off, psSourcing_on, psSourcing_off, psFulFillment_on, psFulFillment_off, psIntegration_on, psIntegration_off;

	function initProcurementSuite() {

		if (document.images) {

			// Intelligence Module
			psIntelligence_on = new Image();
			psIntelligence_off = new Image();
			psIntelligence_on.src = "/procurementsuite/images/intelligencemodule-on.gif";
			psIntelligence_off.src = "/procurementsuite/images/intelligencemodule-off.gif";

			// Inventory Monitoring
			psInventory_on = new Image();
			psInventory_off = new Image();
			psInventory_on.src = "/procurementsuite/images/inventorymonitoring-on.gif";
			psInventory_off.src = "/procurementsuite/images/inventorymonitoring-off.gif";

			// Sourcing Portal
			psSourcing_on = new Image();
			psSourcing_off = new Image();
			psSourcing_on.src = "/procurementsuite/images/sourcingportal-on.gif";
			psSourcing_off.src = "/procurementsuite/images/sourcingportal-off.gif";

			// Fulfillment Module
			psFulfillment_on = new Image();
			psFulfillment_off = new Image();
			psFulfillment_on.src = "/procurementsuite/images/fulfillmentmodule-on.gif";
			psFulfillment_off.src = "/procurementsuite/images/fulfillmentmodule-off.gif";

			// Integration Module
			psIntegration_on = new Image();
			psIntegration_off = new Image();
			psIntegration_on.src = "/procurementsuite/images/integrationmodule-on.gif";
			psIntegration_off.src = "/procurementsuite/images/integrationmodule-off.gif";

			psImgLoaded = true;
		}
	}

	function psSetOn(itemName) {
		if (psImgLoaded)
			if (isIE)
				document.images['ps'+itemName].src = eval('ps'+itemName+'_on.src')
			else
				document.images['ps'+itemName].src = eval('ps'+itemName+'_on.src')
	}

	function psSetOff(itemName) {
  		if (psImgLoaded)
			if (isIE)
				document.images['ps'+itemName].src = eval('ps'+itemName+'_off.src')
			else
				document.images['ps'+itemName].src = eval('ps'+itemName+'_off.src')
	}
