$(document).ready(function() { 
		var Site_Url = "http://"+window.location.host;			
		if ( window.location.host == 'localhost') {
			Site_Url += "/http://www.semaphore-software.com";		
			//Site_Url += "/semaphore";			
		} 
		//alert(Site_Url);				  
	$("form #refreshimg").css('cursor', 'pointer').click(function(){		
		var that = this;
		$.ajax({
		  url: Site_Url+"/captcha/image_req.php",
		  cache: false,
		  success: function(data){
			//console.log(data);
			$(that).attr('src', data);
		  }
		});
	});
});

