// JavaScript Document
function isValidEmail(strg) {
	if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(strg)){
		return (true);
	}
}

function trim(str) {
   return str.replace(/^\s*|\s*$/g,"");
}

