﻿$(document).ready(function() {

    //hero scroller
    $('#heroimgs').cycle({
        fx: 'fade',
        timeout: 3000,
        speed: 600,
        pause: 0,
        cleartype: 1,
        easing: 'linear'
    });


});

function Count(text, tlong) {

    var maxlength = new Number(tlong); // Change number to your max length.

    if (text.value.length > maxlength) {

        text.value = text.value.substring(0, maxlength);

        alert(" Please type only " + tlong + " characters!");

    }
}