jQuery(function(b){var a=b(".bd .exForm");a.find("input[type=text]").addClass("itx");a.find("input[type=button]").addClass("bd_btn");var c=b(".bd .itx_wrp").find(">:text,>:password,>textarea").prev("label");c.next(":text,:password,textarea").focus(function(){b(this).prev(c).css("visibility","hidden")}).blur(function(){if(b(this).val()==""){b(this).prev(c).css("visibility","visible")}else{b(this).prev(c).css("visibility","hidden")}}).change(function(){if(b(this).val()==""){b(this).prev(c).css("visibility","visible")}else{b(this).prev(c).css("visibility","hidden")}}).blur();b(".jPicker .Icon").live("mousedown",function(){b("#title_color").prev().css("visibility","hidden")});b(".jPicker.Container .Button input").live("mousedown",function(){b("#title_color").prev().click()});b(".bd_wrt input[type=submit]").click(function(){var d=b("#title_color");if(!d.length){return}d.val(d.val().replace("#",""));if(d.val()=="transparent"){d.val("")}})});