
//FREE DEMO

	
// If individual
//	$(document).ready(function(){
//    $("#edit-submitted-type-of-user-1").change(function(){
 //     if(this.checked) {
//        $("#webform-component-organisation-name").hide();
//        $("#webform-component-organisation-address").hide();
//        $("#webform-component-organisation-industry").hide();
//        $("#webform-component-contact-me-so-i-can-receive-an-evaluation-copy").hide();
//              }
//      })
//  });    
//  
// If Organisation
//	$(document).ready(function(){
//    $("#edit-submitted-type-of-user-2").change(function(){
//      if(this.checked) {
//        $("#webform-component-organisation-name").show();
//       $("#webform-component-organisation-address").show();
//        $("#webform-component-organisation-industry").show();
//        $("#webform-component-contact-me-so-i-can-receive-an-evaluation-copy").hide();
//              }
//      })
//  });
  
// If Academic
//	$(document).ready(function(){
//    $("#edit-submitted-type-of-user-3").change(function(){
//      if(this.checked) {
//        $("#webform-component-organisation-name").show();
//        $("#webform-component-organisation-address").show();
//        $("#webform-component-organisation-industry").show();
//        $("#webform-component-contact-me-so-i-can-receive-an-evaluation-copy").show();
//              }
//      })
//  }); 
   
   
   
   
   // GET A QUOTE FORM
   
// If other type of licence is selected
$(document).ready(function(){
   $("#edit-submitted-type-of-licence-5").change(function(){
      if(this.checked) {
        $("#webform-component-other-type-of-licence").show();
              }
      })
  }); 

// If annual type of licence is selected
$(document).ready(function(){
   $("#edit-submitted-type-of-licence-1").change(function(){
      if(this.checked) {
        $("#webform-component-other-type-of-licence").hide();
              }
      })
  }); 
  
// If permanent type of licence is selected
$(document).ready(function(){
   $("#edit-submitted-type-of-licence-2").change(function(){
      if(this.checked) {
        $("#webform-component-other-type-of-licence").hide();
              }
      })
  }); 
  
// If annual site type of licence is selected
$(document).ready(function(){
   $("#edit-submitted-type-of-licence-3").change(function(){
      if(this.checked) {
        $("#webform-component-other-type-of-licence").hide();
              }
      })
  }); 
  
// If permanent site type of licence is selected
$(document).ready(function(){
   $("#edit-submitted-type-of-licence-4").change(function(){
      if(this.checked) {
        $("#webform-component-other-type-of-licence").hide();
              }
      })
  }); 
  
  
  // RESOURCE LIBRARY
  
// If apply button is clicked
//$(document).ready(function(){
//   $("#views-exposed-form-document-library-page-1").submit(function(){
//      if(this.checked) {
//        $("#lib-header").hide();
 //             }
 //     })
//  }); 
  
// Show when loaded
//$(document).ready(function(){
//           $("#lib-header").show();
              
//  });  
