﻿                function isNumberKey(evt) {
                    var charCode = (evt.which) ? evt.which : event.keyCode
                    if ((charCode == 8 ||
                         charCode == 9 ||
                         charCode == 13 ||
                         charCode == 35 ||
                         charCode == 36 ||
                         charCode == 40 ||
                         charCode == 41 ||
                         charCode == 45 ||
                         charCode == 109) ||
                        (charCode > 47 && charCode < 58) ||
                        (charCode > 95 && charCode < 106)) {
                        return true;
                    }

                    return false;
                }

                
                    function limpar(campo){  
                        if (campo.value == campo.defaultValue){  
                            campo.value = "";  
                        }  
                    }

                    function escrever(campo) {
                        if (campo.value == "") {
                            campo.value = campo.defaultValue;
                        }
                    }


                    $(document).ready(function () {
                        $("#slider").easySlider({
                            auto: true,
                            continuous: true,
                            numeric: true
                        });
                    });	
