if(typeof cms_autocomplete == 'undefined') {
var cms_autocomplete = {};

cms.executeOnWindowLoadOrAfter(function() {
	var el, list;

	// this adds a non-standard attribute to prevent browser auto completion
	list = $$('input.autocomplete_off');
	while (el = list.pop()) {
		el.setAttribute("autocomplete", "off");
	}
	list = $$('.autocomplete_off input');
	while (el = list.pop()) {
		el.setAttribute("autocomplete", "off");
	}
});

}
