Image states and local work function for Ag/Pd(111).