jQuery(document).ready(function($) {

    var config = {
         timeout: 10
    };

    $(function () {
        $('.dropdown').each(function () {
            $(this).parent().eq(0).hoverIntent(function () {                       
                                
                $(this).addClass('activemenu');
                //if(ie6) { $('#holder select').hide(); }
                $('.dropdown:eq(0)', this).slideDown();
            }, function () {
                //if(ie6) { $('#holder select').show(); }
                $(this).removeClass('activemenu');
                $('.dropdown:eq(0)', this).slideUp();
            });
        });
    });
});

function changeFrom(typ) {
    $('#aph').val(typ);
}

function changeType(typ) {
    $('#typid').val(typ);
    $("#lmininp").remove();
}

function changeSub(typ) {
    $("#lmin").append("<input type=\"hidden\" id=\"lmininp\" name=\"lastmin\" value=\"1\"/>");
}
