typeof jQuery=="undefined"&&(jQuery=function(){}),typeof jQuery.classBehaviours=="undefined"&&(jQuery.classBehaviours=function(){}),typeof jQuery.classBehaviours.handlers=="undefined"&&(jQuery.classBehaviours.handlers=function(){}),jQuery.classBehaviours.handlers.inputFormat={name:"inputFormat",start:function(n){n.onfocus=this.clear,n.onmousedown=this.clear,n.onblur=this.restore,jQuery.classBehaviours.utilities.addEvent(n,"change",this.restore),n.type=="password"&&jQuery.classBehaviours.utilities.setClassParameter(n,"type","password"),this.restore(n)},clear:function(n){var t=typeof this.nodeName=="undefined"?n:this,i=jQuery.classBehaviours.handlers.inputFormat;t.value==t.title&&(t.value="",jQuery.classBehaviours.utilities.setClassParameter(t,"passive","no"),inputType=jQuery.classBehaviours.utilities.getClassParameter(t,"type","text"),inputType=="password"&&t.type=="text"&&navigator.userAgent.indexOf("MSIE")<0&&(t.type="password"))},restore:function(n){var t=typeof this.nodeName=="undefined"?n:this,i=jQuery.classBehaviours.handlers.inputFormat;(t.value==""||t.value==t.title)&&(t.value=t.title,jQuery.classBehaviours.utilities.setClassParameter(t,"passive","yes"),inputType=jQuery.classBehaviours.utilities.getClassParameter(t,"type","text"),inputType=="password"&&t.type=="password"&&navigator.userAgent.indexOf("MSIE")<0&&(t.type="text"))}},typeof jQuery.fn!="undefined"&&(jQuery.fn.inputFormat=function(){return this.each(function(){jQuery.classBehaviours.handlers.inputFormat.start(this)})},$(document).ready(function(){$(".inputFormat").inputFormat()}))
