// JavaScript Document
/*
*	Found at --> http://www.somacon.com/p355.php
*/
String.prototype.trim = function() {
	return this.replace(/^\s+|\s+$/g,"");
}
String.prototype.ltrim = function() {
	return this.replace(/^\s+/,"");
}
String.prototype.rtrim = function() {
	return this.replace(/\s+$/,"");
}
/*
* Found at ---> http://javascript.about.com/library/blre.htm
*/
String.prototype.email = function() {
	mailexp = /^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*\.(\w{2}|(com|net|org|edu|int|mil|gov|arpa|biz|aero|name|coop|info|pro|museum))$/
	return mailexp.test(this);
}