var TRACSLoader = function() {
	var protocol = (("https:" == document.location.protocol) ? "https" : "http");
	
	return {
		field_name: 	"_TRACSState",
		prototype_url: 	protocol + "://contacttracs.com/includes/javascripts/prototype.js",
		persistant_url:	protocol + "://contacttracs.com/includes/javascripts/TRACSPersistant.js",
		
		load: function() {
			this.include(this.prototype_url);
			this.include(this.persistant_url);
		},
		
		include: function(file_url) {
			  document.write('<script type="text/javascript" src="'+file_url+'"></script>');
		}
	}
}();

TRACSLoader.load();