	function mod_getBranch(divid)
				{
					var type = $('#mod_bnch_type').val();
					var town = '';
					if(divid == 'loadaddress') {
						town = $('#mod_bnch_town').val();	
					}
					var errormsg = '<p>Sorry, no branches were found for this type.</p>';
					_makeRequest('/ajax/module_branches.php?type='+type+'&town='+town, divid, errormsg);
				}
			
			function bindBranchFinder(){
				$('#mod_bnch_type').change(function(){
					var type = $('#mod_bnch_type').val();
					var town = '';
					var errormsg = '<p>Sorry, no branches were found for this type.</p>';
					_makeRequest('/ajax/module_branches.php?type='+type+'&town='+town, 'loadtowns', errormsg);
				});
			}
			
			bindBranchFinder();