var mainDomainName = location.protocol+location.port+"//"+location.host;
(function($){
	$.fn.loadSecurityCode = function(){
		this.each(function(){
			var url = mainDomainName + '/captcha.php?' + (new Date()).getTime();			
			$(this).attr("src", url);			
		});
	};
	$.fn.refreshSecurityCode = function(){
		this.each(function(){
			var url = mainDomainName + '/captcha.php?' + (new Date()).getTime();			
			$(this).attr("src", url);			
		});
	};
})(jQuery); 
