String.prototype.trim = function() {
	return this.replace(/^\s+|\s+$/g,"");
}

String.prototype.parseURL = function() {
	return this.replace(/[A-Za-z]+:\/\/[A-Za-z0-9-_]+\.[A-Za-z0-9-_:%&\?\/.=]+/, function(url) {
		return url.link(url);
	});
};

$(function() {
   $('.submit').click(function() {
       $(this).parents('form').submit();
       return false;
   }) ;

   jQuery("a[href^='http:']").not("[href*='simplybowsandchaircovers.co']").attr('target','_blank');
});
