// written by Jim Redfern

		$(window).load(function() {
			$('.sig img').hover(
				function() { //this is the mouse over function
					var src = $(this).attr('src');
					if (src.indexOf("badge")>=0) {
						src = src.substring(0, src.length - 6) + ".png";
						var position = $(this).offset();
						position['left'] += $(this).width();
						position['top'] += $(this).height();
						$(this).parent().append("<div style='display:none; position:absolute; left:" + position['left'] + "px; top:" + position['top'] + "px; background: #e4e7ff; border: 1px solid #002299;'> <img src='" + src + "'/> </div>");
						$(this).parent().find("div:last").delay(300).fadeIn(200);
					}
				},
				function() { //this is the mouse out function			
					$(this).parent().find("div:last").clearQueue().fadeOut(200, function(){ $(this).remove(); });
				}
			);
		});
