(function(A){A.fn.inputHintBox=function(B){B=A.extend({},A.inputHintBoxer.defaults,B);this.each(function(){new A.inputHintBoxer(this,B)});return this};A.inputHintBoxer=function(J,N){var G,I=G=A(J),D,H=false;if((I.attr("type")=="radio"||I.attr("type")=="checkbox")&&I.parent().is("label")){G=A(I.parent())}function M(){var O=N.html!=""?N.html:N.source=="attr"?I.attr(N.attr):"";if(typeof O==="undefined"){O=""}D=N.div!=""?N.div.clone():A("<div/>").addClass(N.className);D=D.css("display","none").addClass("_hintBox").appendTo(N.attachTo);if(N.div_sub==""){D.html(O)}else{A(N.div_sub,D).html(O)}I.focus(function(){A("body").mousedown(C);K()}).blur(function(){B()})}function F(){var O=G.position(),Q=O.left+G.width()+N.incrementLeft+5+(A.browser.safari?5:(A.browser.msie?10:(A.browser.mozilla?6:0))),P=O.top+N.incrementTop+(A.browser.msie?14:(A.browser.mozilla?8:0));D.css({position:"absolute",top:P,left:Q})}function K(){F();D.fadeIn("slow")}function B(){A("body").click(L);if(H){return}A.inputHintBoxer.mostRecentHideTimer=setTimeout(function(){E()},300)}var L=function(P){var O=A(P.target),Q="._hintBox";clearTimeout(A.inputHintBoxer.mostRecentHideTimer);if(O.parents(Q).length==0&&O.is(Q)==false){E()}};var C=function(P){var O=A(P.target),Q="._hintBox";H=(O.parents(Q).length!=0||O.is(Q)!=false)};function E(){A("body").unbind("click",L);A("body").unbind("mousedown",C);F();D.fadeOut("slow")}M();return{}};A.inputHintBoxer.mostRecentHideTimer=0;A.inputHintBoxer.defaults={div:"",className:"input_hint_box",source:"attr",div_sub:"",attr:"title",html:"",incrementLeft:5,incrementTop:0,attachTo:"body"}})(jQuery);