String.prototype.trim = function() {
	a = this.replace(/^\s+/, '');
	return a.replace(/\s+$/, '');
};

vfm = {};

// use prototype.js ? 
if (typeof Prototype != 'undefined') {
	vfm.Element = Element;
	vfm.Event = Event;
	vfm.Ajax = Ajax;
	vfm.Insertion = Insertion;
}