Two problems I suspect:
1) in such lines as: $("input[name='fname']").tooltip("enable");
$("input[name='fname']").tooltip("open");return false;
Change the input[name='fname']
to (this)
2) Try moving this line: $("input[name='fname']").tooltip({ content: "Please enter your first name."});
immediately after this line:
$("input[name='fname']").tooltip("disable");return false;