
$(document).ready(function() {				   
	$("#datepicker").datepicker();
    
	$("#primaryContactMenu").change(function() {
        if ($("option:selected", $(this)).attr("value")=="Other") {
            $("#primaryOther").slideDown();
        }else{
			 $("#primaryOther").slideUp();
		}
    });
	
	$("#secondaryContactMenu").change(function() {
        if ($("option:selected", $(this)).attr("value")=="Other") {
            $("#secondaryOther").slideDown();
        }else{
			 $("#secondaryOther").slideUp();
		}
    });
	
	$("#installationList").change(function() {
        if ($("option:selected", $(this)).attr("value")=="Existing Subscriber") {
            $("#updatedInfo").slideDown();
        }else{
			 $("#updatedInfo").slideUp();
		}
    });
	
	$("#installationList").change(function() {
        if ($("option:selected", $(this)).attr("value")=="Multi-Subscriber") {
            $("#updatedInfo2").slideDown();
        }else{
			 $("#updatedInfo2").slideUp();
		}
    });
	

});
