﻿$(function() {
    $(".nopadding input[type='radio']").css({ "width": "15px", "position": "relative", "top": "3px" });
    $(".nopadding input[type='checkbox']").css({ "width": "15px", "position": "relative", "top": "3px" });
    $(".nopadding select").css({ "margin-top": "5px" });

    $("#submit-container input[type='image']").click(function() {
        this.style.display = "none";
        $("#submit-container").append("Please wait...");
    });

    $('#ctl00_ContentPlaceHolder1_CountryDropDownList').change(function() {
        if ($(this).val() == "United States" || $(this).val() == "Canada") {
            $('.standard-form li.state').css('display', 'block');
        }
        else {
            $('#ctl00_ContentPlaceHolder1_StateDropDownList').val('');
            $('.standard-form li.state').css('display', 'none');
        }
    });
});