    // menu button animated effect
    $(function(){
	$('#global_header ul#nav li#button_01_global_nav, #global_header ul#nav li#button_02_global_nav, #global_header ul#nav li#button_03_global_nav, #global_header ul#nav li#button_04_global_nav, #global_header ul#nav li#button_05_global_nav')
		.css( {backgroundPosition: "0 -40px"} )
		.mouseover(function(){
			$(this).stop().animate({backgroundPosition:"(0 0)"}, {duration:0})
		})
		.mouseout(function(){
			$(this).stop().animate({backgroundPosition:"(0 -40px)"}, {duration:300, complete:function(){
				$(this).css({backgroundPosition: "0 -40px"})
			}})
		})
    });

    // focus effect
    $(document).ready(function() {
		$('input[type="text"], input[type="email"], input[type="number"], input[type="password"], textarea[name="Message"]').addClass("idleField");
   		$('input[type="text"], input[type="email"], input[type="number"], input[type="password"], 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="Message"]').blur(function() {
			$(this).removeClass("focusField").addClass("idleField");
		    if ($.trim(this.value) == ''){
		    	this.value = (this.defaultValue ? this.defaultValue : '');
			}
		});
	});  
