		function updateFramesetMaintenance(programSettings) {
			parent.window.frames["sidebar"].location="header01?mode=mnt";
			parent.window.frames["content"].location=programSettings;
		}

		function updateFramesetOrderTracking(option) {
			parent.window.frames["sidebar"].location="header01?mode=trk";
			if ((option == "") || (option == null))
				parent.window.frames["content"].location="inqord3";
			else
				parent.window.frames["content"].location="inqord3?status="+option;
		}

		function newsWide() {
			// Different browser check since window.XMLHttpRequest returns true on ie7
			var agt = navigator.userAgent.toLowerCase();
			var is_gecko = (agt.indexOf('gecko') != -1);

			if (!document.getElementById("promMiddle")) {
				if (document.getElementById("homecolumn")) {
					if (is_gecko) {
						document.getElementById("homecolumn").style.width = "569px";
						document.getElementById("newsTableId").style.width = "553px";
						document.getElementById("newsId").style.width = "553px";
					}
					else {
						document.getElementById("homecolumn").style.width = "595px";
						document.getElementById("homecolumnStripe").style.width = "569px";
						document.getElementById("homecolumnStripe1").style.width = "518px";
						document.getElementById("newsTableId").style.width = "566px";
						document.getElementById("newsId").style.width = "566px";
					}
				}
			}
		}
		function chgCookie(name, newValue) {
			deleteCookie(name);
			var expires = getExpDate(3650, 0, 0);
			setCookie(name, newValue, expires, "/");
			location.reload(true);
			parent.window.location.reload(true);
		}
// utility function to retrieve an expiration date in proper
// format; pass three integer parameters for the number of days, hours,
// and minutes from now you want the cookie to expire (or negative
// values for a past date); all three parameters are required,
// so use zeros where appropriate
		function getExpDate(days, hours, minutes) {
			var expDate = new Date( );
			if (typeof days == "number" && typeof hours == "number" && typeof hours == "number") {
				expDate.setDate(expDate.getDate( ) + parseInt(days));
				expDate.setHours(expDate.getHours( ) + parseInt(hours));
				expDate.setMinutes(expDate.getMinutes( ) + parseInt(minutes));
				return expDate.toGMTString( );
			}
		}

// utility function called by getCookie( )
		function getCookieVal(offset) {
			var endstr = document.cookie.indexOf (";", offset);
			if (endstr == -1) {
				endstr = document.cookie.length;
			}
			return unescape(document.cookie.substring(offset, endstr));
		}

// primary function to retrieve cookie by name
		function getCookie(name) {
			var arg = name + "=";
			var alen = arg.length;
			var clen = document.cookie.length;
			var i = 0;
			while (i < clen) {
				var j = i + alen;
				if (document.cookie.substring(i, j) == arg) {
					return getCookieVal(j);
				}
				i = document.cookie.indexOf(" ", i) + 1;
				if (i == 0) break;
			}
			return "";
		}

// store cookie value with optional details as needed
		function setCookie(name, value, expires, path, domain, secure) {
			document.cookie = name + "=" + escape (value) +
			((expires) ? "; expires=" + expires : "") +
			((path) ? "; path=" + path : "") +
			((domain) ? "; domain=" + domain : "") +
			((secure) ? "; secure" : "");
		}

// remove the cookie by setting ancient expiration date
		function deleteCookie(name,path,domain) {
			if (getCookie(name)) {
				document.cookie = name + "=" +
				((path) ? "; path=" + path : "") +
				((domain) ? "; domain=" + domain : "") +
				"; expires=Fri, 31 Dec 1999 23:59:59 GMT;";
			}
		}
// show / hide customerService
		function showCustomerService(mode) {
      if (mode == 'show') {
          document.getElementById('customerService').style.display = 'block';
      } else {
          document.getElementById('customerService').style.display = 'none';
      }
    }
