/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
function fixMaxLengths()
{
    setMaxLength("cf_field_9", 3);
    setMaxLength("cf_field_10", 3);
    setMaxLength("cf_field_11", 4);

    setMaxLength("cf2_field_9", 3);
    setMaxLength("cf2_field_10", 3);
    setMaxLength("cf2_field_11", 4);

    setMaxLength("cf2_field_12", 3);
    setMaxLength("cf2_field_13", 3);
    setMaxLength("cf2_field_14", 4);
}

function setMaxLength(id, length)
{
    //alert(document.getElementById("cf_field_8"));
    if ( document.getElementById(id) != null )
    {
        document.getElementById(id).maxLength = length;
    }
}

$(function() {
        $('.subNavHolder').hover(
                function () { $(this).addClass('hover'); },
                function () { $(this).removeClass('hover'); }
        );
});


