jQuery(document).ready(function(){
	jQuery('select').not('.countyselect').selectHide();
	jQuery('.input-text').placeholder();
	jQuery('#mini-password').passFocusBlur();	
	
});


/* 
 * v0.01 password focus, blur plugin for jQuery
 */
(function(a){a.fn.passFocusBlur=function(){return this.each(function(){var b=a(this);if(b.val()==""){b.addClass("empty_password")}b.focus(function(){b.removeClass("empty_password")});b.blur(function(){if(b.val()==""){b.addClass("empty_password")}})})}})(jQuery);
/* 
 * v0.01 Selectbox hide plugin for jQuery
 */
(function(a){a.fn.selectHide=function(){return this.each(function(){var b=a(this);b.wrap('<div class="select_wrap" />');b.before('<span class="selected_text"></span>');var c=b.prev(".selected_text");c.html(b.children(":selected").text());b.css("opacity","0");b.change(function(){c.html(b.children(":selected").text())})})}})(jQuery);

/*!
 * HTML5 Placeholder jQuery Plugin v1.2
 * @link http://github.com/mathiasbynens/Placeholder-jQuery-Plugin
 * @author Mathias Bynens <http://mathiasbynens.be/>
 */
(function(a){a.fn.placeholder=function(){if(this[0]&&'placeholder' in document.createElement('input')){return this}function b(c){if(c.val()===''||c.val()===c.attr('placeholder')){c.addClass('placeholder').val(c.attr('placeholder'))}else{c.removeClass('placeholder')}}a('form:has([placeholder])').submit(function(){a('.placeholder',this).val('')});a(window).unload(function(){a('.placeholder').val('')});return this.each(function(){var c=a(this);if(c.is(':password')||!c.is(':input')){return}b(c);c.focus(function(){if(c.val()===c.attr('placeholder')){c.val('').removeClass('placeholder')}}).blur(function(){b(c)})})}})(jQuery);


