jQuery(
			function(){
				jQuery("#slider > ul").tabs({fx:{opacity: "toggle"}}).tabs("rotate", 5000, true);
		});
		
jQuery(
			function(){
				jQuery("#case-histories > ul").tabs({fx:{opacity: "toggle"}});
		});
jQuery(
			function(){
				jQuery(".sh").click(function() {
					jQuery(".wpcf7").toggle();
					return false;
				});
				
				
		});
		

jQuery(	
		function(){
		jQuery('#mod_login_username').addClass("idleField");
		jQuery('#mod_login_username').focus(function() {
			jQuery(this).removeClass("idleField").addClass("focusField");
		    if (this.value == this.defaultValue){ 
		    	this.value = '';
			}
			if(this.value != this.defaultValue){
				this.select();
			}
			jQuery('.ja-login-username').hide();
		});

		jQuery('#mod_login_username').blur(function() {
			jQuery(this).removeClass("focusField").addClass("idleField");
		    if (jQuery.trim(this.value) == ''){
		    	this.value = (this.defaultValue ? this.defaultValue : '');
			jQuery('.ja-login-username').show();
			}
			
		});
		}		
);
jQuery(	
		function(){
		jQuery('#mod_login_password').addClass("idleField");
		jQuery('#mod_login_password').focus(function() {
			jQuery(this).removeClass("idleField").addClass("focusField");
		    if (this.value == this.defaultValue){ 
		    	this.value = '';
			}
			if(this.value != this.defaultValue){
				this.select();
			}
			jQuery('.ja-login-password').hide();
		});

		jQuery('#mod_login_password').blur(function() {
			jQuery(this).removeClass("focusField").addClass("idleField");
		    if (jQuery.trim(this.value) == ''){
		    	this.value = (this.defaultValue ? this.defaultValue : '');
			jQuery('.ja-login-password').show();
			}
		});
		}		
);

jQuery(	
		function(){
			jQuery('#dialog').dialog({
					autoOpen: false,
					show: 'blind',
					hide: 'explode'
				});

				jQuery('#go').click(function() {
					jQuery('#dialog').dialog('open');
					return false;
				});

			}		
);
		
		
		
		
		
		
		
		
		