    var total = 0;
    var timer;
    
    var contact_total = 0;
    var contact_timer;

    $(document).ready(function() {
        // put all your jQuery goodness in here.
    
        // stop window from hiding if already shown, and show window
        $('#dropdown_location').mouseover(function() {
            clearTimeout(timer);
            $('#dropdown').show(0);
        })
        
        // Stop window from hiding when over the submenu
        $('#dropdown').mouseover(function() {
            clearTimeout(timer);
        })        
    
        // Start hide time when leaving button
        $('#dropdown_location').mouseout(function() {
          mouse_went_out();
        })
        
        // Start hide time when leaving submenu
        $('#dropdown').mouseout(function() {
          mouse_went_out();
        })
        
        
        // Hey Andrew, I added these in to implement another dropdown for the Contact Us page
        // stop window from hiding if already shown, and show window
        $('#dropdown_contact').mouseover(function() {
            clearTimeout(contact_timer);
            $('#dropdown2').show(0);
        })
        
        // Stop window from hiding when over the submenu
        $('#dropdown2').mouseover(function() {
            clearTimeout(contact_timer);
        })        
    
        // Start hide time when leaving button
        $('#dropdown_contact').mouseout(function() {
          mouse_went_out_contact();
        })
        
        // Start hide time when leaving submenu
        $('#dropdown2').mouseout(function() {
          mouse_went_out_contact();
        })         
    });
    
    
    function mouse_went_out() {
        clearTimeout(timer);
        timer = setTimeout('$(\'#dropdown\').hide(0)', 500);
    }
    
    function mouse_went_out_contact() {
        clearTimeout(contact_timer);
        contact_timer = setTimeout('$(\'#dropdown2\').hide(0)', 500);
    }
    
    // Form blur - onblur="puts text back in"
    function form_blur(id, default_val) {
            var field_val = $('#'+id).val();
            
            if (field_val == '') {
                    $('#'+id).val(default_val)
            }

    }
    // Form focus - onfocus="takes the text out"
    function form_focus(id, default_val) {
            var field_val = $('#'+id).val();
            
            if (field_val == default_val) {
                    $('#'+id).val('')
            }

    }

