var toggleDefault = function(inputs)
{
	var i, e, self,
		onfoc = function()
		{
			if (this.value === self.dflt) {
				this.value = "";
			}
		},
		onblr = function()
		{
			if (this.value === "") {
				this.value = self.dflt;
			}
		};
	// make sure that we are traversing an array
	if(typeof(inputs)!==typeof(new Array())) {
		inputs = new Array(inputs);
	}
	for(i = 0, e = inputs.length; i < e; i++) {
		this.dflt = inputs[i].value;
		self = this;
		inputs[i].onfocus = onfoc;
		inputs[i].onblur = onblr;
	}
};
