function getDefaultOption (el) {
        for (i = 0; i < el.length; i++)
                if (el.options[i].defaultSelected)
                        return i;

        return 0;
}

function D(obj) {
	var color = "#FFBBFF";

	if (obj.type == "text") {
		if (obj.value != obj.defaultValue) {
			obj.style.backgroundColor = color;
		} else {
			obj.style.backgroundColor = "";
		}
	}

	if (obj.type == "select-one") {
		var def = getDefaultOption (obj);
		
		if (def != obj.selectedIndex) {
			obj.style.backgroundColor = color;
		} else {
			obj.style.backgroundColor = "";
		}
	}
}

