    // menu button animated effect
    $(function(){
	$('.button-01-global-nav, .button-02-global-nav, .button-03-global-nav, .button-04-global-nav, .button-05-global-nav')
		.css( {backgroundPosition: "0 0px"} )
		.mouseover(function(){
			$(this).stop().animate({backgroundPosition:"(0 -20)"}, {duration:200})
		})
		.mouseout(function(){
			$(this).stop().animate({backgroundPosition:"(0 0)"}, {duration:100, complete:function(){
				$(this).css({backgroundPosition: "0 0"})
			}})
		})
    });

    // focus effect
    $(document).ready(function() {
		$('input[type="text"], input[type="email"], input[type="number"], input[type="password"], textarea[name="comment"], textarea[name="Message"]').addClass("idleField");
   		$('input[type="text"], input[type="email"], input[type="number"], input[type="password"], textarea[name="comment"], textarea[name="Message"]').focus(function() {
   			$(this).removeClass("idleField").addClass("focusField");
		    if (this.value == this.defaultValue){ 
		    	this.value = '';
			}
			if(this.value != this.defaultValue){
    			this.select();
    		}
		});
		$('input[type="text"], input[type="email"], input[type="number"], input[type="password"], textarea[name="comment"], textarea[name="Message"]').blur(function() {
			$(this).removeClass("focusField").addClass("idleField");
		    if ($.trim(this.value) == ''){
		    	this.value = (this.defaultValue ? this.defaultValue : '');
			}
		});
	});  
