<!--

var DHTML = (document.getElementById || document.all || document.layers);

function getObj(name)
{
  if (document.getElementById)
  {
  	this.obj = document.getElementById(name);
	this.style = document.getElementById(name).style;
  }
  else if (document.all)
  {
	this.obj = document.all[name];
	this.style = document.all[name].style;
  }
  else if (document.layers)
  {
   	this.obj = document.layers[name];
   	this.style = document.layers[name];
  }
}

//* Change the style when user enters a text box
//****
//***************************************
function AlterFontStyle(id) {
//***************************************
    if (!DHTML) return;
	var x = new getObj(id);
	x.style.color = "#990000";
	//document.getElementById(id).style.fontSize = "14px";
	//document.retail.style.color = "#990000";
	//document.getElementById(id).style.color = color;
}

//* Restores the style when a user exits a text box
//****
//***************************************
function RestoreFontStyle(id) {
//***************************************
	//curObj=document.getElementById(id);
	//curObj.style.fontSize = "13px";
	//curObj.style.fontWeight = "normal";
	document.getElementById(id).style.color = "#000000";
}


//* this is called when the page loads.  Starts the timer which controls
//* when the fields should be erased.  Also moves focus to the appropriate
//* field depending on whether user has already submitted the form.
//****
//***************************************
function configPage() {
//***************************************
	//* set focus where it belongs.
	if (document.forms[0].elements[0].value.length<1) {
		document.forms[0].elements[0].focus();
	}
	else if (document.forms[0].elements.length>0) {
		document.forms[0].elements[1].focus();
	}
}


function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		preloadFlag = true;
	}
}



//-->