﻿// JavaScript Document
 $(document).ready(function(){	

		$('#signup-button').attr('disabled', true);
			$('#otherfield').attr('disabled', true);
			$('#otherindustry').attr('disabled', true);
			 
			$('#acceptterms').click(function () {											  
        		if ($('#acceptterms').is(":checked"))
                      $('#signup-button').removeAttr('disabled');
                else
					  $('#signup-button').attr('disabled', true);
				}); 
			
			$('#otherneeds').click(function () {											  
        		if ($('#otherneeds').is(":checked"))
                        $('#otherfield').removeAttr('disabled');
                else
					  $('#otherfield').attr('disabled', true);
				}); 
			
			$('#industry').change(function () {		
				var selected = $("#industry option:selected");
        		 if(selected.val() == 'Other')
                        $('#otherindustry').removeAttr('disabled');
                else
					  $('#otherindustry').attr('disabled', true);
				}); 	  
var newYear = new Date(); 
newYear = new Date(newYear.getFullYear() + 1, 1 - 1, 1); 
		$('#defaultCountdown').countdown({until: newYear, format: 'dH',labels: ['', '', '', '', '', '', ''],description: ''});
 });


