jQuery(function() {
	var previewElements =
		jQuery('.preview').bind('focus', function(event) {
			$this =
				jQuery(event.target)
					.removeClass('preview')
					.attr('value', '')
					.unbind('click');
			if ('f_passwd' == $this.attr('id')) {
				$clone =
					jQuery('<input>')
						.attr(
							{
								id :		$this.attr('id'),
								'class' :	$this.attr('class'),
								name :		$this.attr('name'),
								type :		'password'
							}
						);
				$this.replaceWith($clone);
				$clone.focus();
			}
		});
});