$(document).ready(
    function(){
                $('.rounded').corner("round 10px");
                $('ul.hover_block li').hover(function(){
				$(this).find('img').animate({top:'100px'},{queue:false,duration:500});
			}, function(){
				$(this).find('img').animate({top:'0px'},{queue:false,duration:500});
			});
               /*-------------------------------------------------------------------*/
               var validate=$("#contactme").validate({
		rules: {
			nombre: {required: true,maxlength: 40,minlength:10},
                        email:{required: true,email:true},
                        coment:{required: true}
                       },
		messages:
                    {
			nombre: {required: "Este campo es necesario<br/>",
                                    maxlength: jQuery.format("Ingrese no mas de {0} caracteres"),
                                    minlength: jQuery.format("Por Favor Proporcione su nombre completo")
                                }
                    },
		// the errorPlacement has to take the table layout into account
		errorPlacement: function(error, element) {
			error.prependTo( element.parent().next() );
		},
		// set this class to error-labels to indicate valid fields
		success: function(label) {
			// set &nbsp; as text for IE
			label.html("&nbsp;").addClass("checked");
		}
                });
              }
)
