
	$(document).ready(function(){
			//$("#info_type").hide();
		//Hide div w/id extra
		$("#about_patient").css("display","none");
		//$("#info_type").css("display","none");
		$("#q1_caregiver").css("display","none");
		//$("#q1_jia").css("display","none");
		$("#q2_caregiver").css("display","none");
		$("#q3_caregiver").css("display","none");
		$("#q4_caregiver").css("display","none");
		$("#infusion_caregiver").css("display","none");
		$("#injection_caregiver").css("display","none");
		$("#oral_caregiver").css("display","none");
		$("#how_many_years_caregiver").css("display","none");
		$("#how_many_years_caregiver2").css("display","none");
		$("#how_many_years_caregiver3").css("display","none");
		$("#how_many_years_caregiver4").css("display","none");
		$("#how_many_years_caregiver5").css("display","none");
		$("#how_many_years_caregiver6").css("display","none");
		$("#how_many_years_caregiver7").css("display","none");
		$("#how_many_years_caregiver8").css("display","none");
		$("#how_many_years_caregiver9").css("display","none");
		$("#how_many_years_caregiver10").css("display","none");
		$("#how_many_years_caregiver11").css("display","none");
		$("#how_many_years_caregiver12").css("display","none");
		$("#how_many_years_caregiver13").css("display","none");
		$("#how_many_years_caregiver14").css("display","none");
		$("#how_many_years_caregiver15").css("display","none");
		$("#how_many_years_caregiver16").css("display","none");
		$("#how_many_years_caregiver17").css("display","none");
		$("#how_many_years_caregiver18").css("display","none");
		//$("#jia_year").css("display","none");
		$("#infusion_other").css("display","none");
		$("#injection_other").css("display","none");
		$("#oral_other").css("display","none");
	   $("#signup_infusion").css("display","none");
	   $("#signup_injection").css("display","none");
	   $("#signup_oral").css("display","none");
	   $("#Methotrexate").css("display","none");
	   $("#Orencia22").css("display","none");
	   $("#Remicaded").css("display","none");
	   $("#Rituxand").css("display","none");
	   $("#Cimzia").css("display","none");
	   $("#Enbreld").css("display","none");
	   $("#Humirad").css("display","none");
	   $("#Kineretd").css("display","none");
	   $("#Methotrexate2").css("display","none");
	   $("#Simponi").css("display","none");
	   $("#Prednisone").css("display","none");
	   $("#Aravad").css("display","none");
	   $("#Azulfidined").css("display","none");
	   $("#Methotrexate3").css("display","none");
	   $("#Plaquenild").css("display","none");
	   $("#Ridaurad").css("display","none");
	   $("#Prednisone2").css("display","none");
	   $("#Over_the_counter").css("display","none");
	   $("#prednisone_jia").css("display","none");
	   $("#prednisone_ra_caregiver").css("display","none");

		// Add onclick handler to checkbox w/id checkme
	   
	   //$("input:radio[@id=usertype_caregiver]").click(function()
	   
	   $("#ctl00_ContentPlaceHolderMaster_usertype_caregiver").click(function(){
		
		// If checked
		if ($("#ctl00_ContentPlaceHolderMaster_usertype_caregiver").is(":checked"))
		{
			//show the hidden div
			$("#about_patient").show("fast");
			//$("#info_type").show("fast");
			$("#q1_caregiver").show("fast");
			$("#q2_caregiver").show("fast");
			$("#q3_caregiver").show("fast");
			$("#q4_caregiver").show("fast");
			$("#about_treatment").hide("fast");
			$("#q1_patient").hide("fast");
			$("#q2_patient").hide("fast");
			$("#q3_patient").hide("fast");
			$("#q4_patient").hide("fast");
			$("#infusion_caregiver").show("fast");
			$("#injection_caregiver").show("fast");
			$("#oral_caregiver").show("fast");
			$("#oral_other").show("fast");
			$("#infusion_patient").hide("fast");
			$("#injection_patient").hide("fast");
			$("#oral_patient").hide("fast");
			$("#how_many_years_caregiver").show("fast");
			$("#how_many_years_patient").hide("fast");
			$("#how_many_years_caregiver2").show("fast");
			$("#how_many_years_patient2").hide("fast");
			$("#how_many_years_caregiver3").show("fast");
			$("#how_many_years_patient3").hide("fast");
			$("#how_many_years_caregiver4").show("fast");
			$("#how_many_years_patient4").hide("fast");
			$("#how_many_years_caregiver5").show("fast");
			$("#how_many_years_patient5").hide("fast");
			$("#how_many_years_caregiver6").show("fast");
			$("#how_many_years_patient6").hide("fast");
			$("#how_many_years_caregiver7").show("fast");
			$("#how_many_years_patient7").hide("fast");
			$("#how_many_years_caregiver8").show("fast");
			$("#how_many_years_patient8").hide("fast");
			$("#how_many_years_caregiver9").show("fast");
			$("#how_many_years_patient9").hide("fast");
			$("#how_many_years_caregiver10").show("fast");
			$("#how_many_years_patient10").hide("fast");
			$("#how_many_years_caregiver11").show("fast");
			$("#how_many_years_patient11").hide("fast");
			$("#how_many_years_caregiver12").show("fast");
			$("#how_many_years_patient12").hide("fast");
			$("#how_many_years_caregiver13").show("fast");
			$("#how_many_years_patient13").hide("fast");
			$("#how_many_years_caregiver14").show("fast");
			$("#how_many_years_patient14").hide("fast");
			$("#how_many_years_caregiver15").show("fast");
			$("#how_many_years_patient15").hide("fast");
			$("#how_many_years_caregiver16").show("fast");
			$("#how_many_years_patient16").hide("fast");
			$("#how_many_years_caregiver17").show("fast");
			$("#how_many_years_patient17").hide("fast");
			$("#how_many_years_caregiver18").show("fast");
			$("#how_many_years_patient18").hide("fast");
			$("#prednisone_ra").hide("fast");
			$("#prednisone_ra_caregiver").show("fast");
		}
		else
		{	   
			//otherwise, hide it 
			
			//$("#info_type").hide("fast");
		}
		 });
		 
		  $("#ctl00_ContentPlaceHolderMaster_usertype_patient").click(function(){
		
		// If checked
		if ($("#ctl00_ContentPlaceHolderMaster_usertype_patient").is(":checked"))
		{
			//show the hidden div
			$("#about_patient").hide("fast");
			//$("#info_type").hide("fast");
			$("#about_treatment").show("fast");
			$("#q1_patient").show("fast");
			$("#q2_patient").show("fast");
			$("#q3_patient").show("fast");
			$("#q4_patient").show("fast");
			$("#q1_caregiver").hide("fast");
			$("#q2_caregiver").hide("fast");
			$("#q3_caregiver").hide("fast");
			$("#q4_caregiver").hide("fast");
			$("#infusion_caregiver").hide("fast");
			$("#infusion_patient").show("fast");
			$("#infusion_other").hide("fast");
			$("#injection_other").hide("fast");
			$("#oral_other").hide("fast");
			$("#oral_caregiver").hide("fast");
			$("#injection_caregiver").hide("fast");
			$("#injection_patient").show("fast");
			$("#oral_patient").show("fast");
			$("#how_many_years_caregiver").hide("fast");
			$("#how_many_years_patient").show("fast");
			$("#how_many_years_caregiver2").hide("fast");
			$("#how_many_years_patient2").show("fast");
			$("#how_many_years_caregiver3").hide("fast");
			$("#how_many_years_patient3").show("fast");
			$("#how_many_years_caregiver4").hide("fast");
			$("#how_many_years_patient4").show("fast");
			$("#how_many_years_caregiver5").hide("fast");
			$("#how_many_years_patient5").show("fast");
			$("#how_many_years_caregiver6").hide("fast");
			$("#how_many_years_patient6").show("fast");
			$("#how_many_years_caregiver7").hide("fast");
			$("#how_many_years_patient7").show("fast");
			$("#how_many_years_caregiver8").hide("fast");
			$("#how_many_years_patient8").show("fast");
			$("#how_many_years_caregiver9").hide("fast");
			$("#how_many_years_patient9").show("fast");
			$("#how_many_years_caregiver10").hide("fast");
			$("#how_many_years_patient10").show("fast");
			$("#how_many_years_caregiver11").hide("fast");
			$("#how_many_years_patient11").show("fast");
			$("#how_many_years_caregiver12").hide("fast");
			$("#how_many_years_patient12").show("fast");
			$("#how_many_years_caregiver13").hide("fast");
			$("#how_many_years_patient13").show("fast");
			$("#how_many_years_caregiver14").hide("fast");
			$("#how_many_years_patient14").show("fast");
			$("#how_many_years_caregiver15").hide("fast");
			$("#how_many_years_patient15").show("fast");
			$("#how_many_years_caregiver16").hide("fast");
			$("#how_many_years_patient16").show("fast");
			$("#how_many_years_caregiver17").hide("fast");
			$("#how_many_years_patient17").show("fast");
			$("#how_many_years_caregiver18").hide("fast");
			$("#how_many_years_patient18").show("fast");
			//$("#infusion_Rituxan").show("fast");
			//$("#infusion_Remicade").show("fast");
		}
		else
		{	   
			//otherwise, hide it 
			$("#about_patient").hide("fast");
			//$("#info_type").hide("fast");
		}
		 });
	   

	   $("#infusion").click(function(){
		
		// If checked
		if ($("#infusion").is(":checked"))
		{
			//show the hidden div
			$("#signup_infusion").show("fast");
		}
		else
		{	   
			//otherwise, hide it 
			$("#signup_infusion").hide("fast");
		}
		 });
		 
		 $("#injection").click(function(){
		
		// If checked
		if ($("#injection").is(":checked"))
		{
			//show the hidden div
			$("#signup_injection").show("fast");
		}
		else
		{	   
			//otherwise, hide it 
			$("#signup_injection").hide("fast");
		}
		 });
		 
		 $("#oral").click(function(){
		
		// If checked
		if ($("#oral").is(":checked"))
		{
			//show the hidden div
			$("#signup_oral").show("fast");
		}
		else
		{	   
			//otherwise, hide it 
			$("#signup_oral").hide("fast");
		}
		 });
		 
		$("#checkbox_Methotrexate").click(function(){
		
		// If checked
		if ($("#checkbox_Methotrexate").is(":checked"))
		{
			//show the hidden div
			$("#Methotrexate").show("fast");
		}
		else
		{	   
			//otherwise, hide it 
			$("#Methotrexate").hide("fast");
		}
		
	 });
	 
//	 $("#thedrug").click(function(){
//		
//		// If checked
//		if ($("#thedrug").is(":checked"))
//		{
//			//show the hidden div
//			$("#Orencia").show("fast");
//		}
//		else
//		{	   
//			//otherwise, hide it 
//			$("#Orencia").hide("fast");
//		}
//		
//	 });
	 
	 $("#thedrug").click(function(){
		
		// If checked
		if ($("#thedrug").is(":checked"))
		{
			//show the hidden div
			$("#Orencia22").show("fast");
		}
		else
		{	   
			//otherwise, hide it 
			$("#Orencia22").hide("fast");
		}
		
	 });
	 
	  $("#remicade").click(function(){
		
		// If checked
		if ($("#remicade").is(":checked"))
		{
			//show the hidden div
			$("#Remicaded").show("fast");
		}
		else
		{	   
			//otherwise, hide it 
			$("#Remicaded").hide("fast");
		}
		
	 });
	 
	  $("#rituxan").click(function(){
		
		// If checked
		if ($("#rituxan").is(":checked"))
		{
			//show the hidden div
			$("#Rituxand").show("fast");
		}
		else
		{	   
			//otherwise, hide it 
			$("#Rituxand").hide("fast");
		}
		
	 });
	 
	  $("#checkbox_Cimzia").click(function(){
		
		// If checked
		if ($("#checkbox_Cimzia").is(":checked"))
		{
			//show the hidden div
			$("#Cimzia").show("fast");
		}
		else
		{	   
			//otherwise, hide it 
			$("#Cimzia").hide("fast");
		}
		
	 });
	 
	  $("#enbrel").click(function(){
		
		// If checked
		if ($("#enbrel").is(":checked"))
		{
			//show the hidden div
			$("#Enbreld").show("fast");
		}
		else
		{	   
			//otherwise, hide it 
			$("#Enbreld").hide("fast");
		}
		
	 });
	 
	  $("#humira").click(function(){
		
		// If checked
		if ($("#humira").is(":checked"))
		{
			//show the hidden div
			$("#Humirad").show("fast");
		}
		else
		{	   
			//otherwise, hide it 
			$("#Humirad").hide("fast");
		}
		
	 });
	 
	  $("#kineret").click(function(){
		
		// If checked
		if ($("#kineret").is(":checked"))
		{
			//show the hidden div
			$("#Kineretd").show("fast");
		}
		else
		{	   
			//otherwise, hide it 
			$("#Kineretd").hide("fast");
		}
		
	 });
	 
	  $("#checkbox_Methotrexate2").click(function(){
		
		// If checked
		if ($("#checkbox_Methotrexate2").is(":checked"))
		{
			//show the hidden div
			$("#Methotrexate2").show("fast");
		}
		else
		{	   
			//otherwise, hide it 
			$("#Methotrexate2").hide("fast");
		}
		
	 });
	 
	  $("#checkbox_Simponi").click(function(){
		
		// If checked
		if ($("#checkbox_Simponi").is(":checked"))
		{
			//show the hidden div
			$("#Simponi").show("fast");
		}
		else
		{	   
			//otherwise, hide it 
			$("#Simponi").hide("fast");
		}
		
	 });
	 
	  $("#checkbox_Prednisone").click(function(){
		
		// If checked
		if ($("#checkbox_Prednisone").is(":checked"))
		{
			//show the hidden div
			$("#Prednisone").show("fast");
		}
		else
		{	   
			//otherwise, hide it 
			$("#Prednisone").hide("fast");
		}
		
	 });
	 
	 $("#arava").click(function(){
		
		// If checked
		if ($("#arava").is(":checked"))
		{
			//show the hidden div
			$("#Aravad").show("fast");
		}
		else
		{	   
			//otherwise, hide it 
			$("#Aravad").hide("fast");
		}
		
	 });
	 
	  $("#azulfidine").click(function(){
		
		// If checked
		if ($("#azulfidine").is(":checked"))
		{
			//show the hidden div
			$("#Azulfidined").show("fast");
		}
		else
		{	   
			//otherwise, hide it 
			$("#Azulfidined").hide("fast");
		}
		
	 });
	 
	  $("#checkbox_Methotrexate3").click(function(){
		
		// If checked
		if ($("#checkbox_Methotrexate3").is(":checked"))
		{
			//show the hidden div
			$("#Methotrexate3").show("fast");
		}
		else
		{	   
			//otherwise, hide it 
			$("#Methotrexate3").hide("fast");
		}
		
	 });
	 
	 $("#plaquenil").click(function(){
		
		// If checked
		if ($("#plaquenil").is(":checked"))
		{
			//show the hidden div
			$("#Plaquenild").show("fast");
		}
		else
		{	   
			//otherwise, hide it 
			$("#Plaquenild").hide("fast");
		}
		
	 });
	 
	  $("#ridaura").click(function(){
		
		// If checked
		if ($("#ridaura").is(":checked"))
		{
			//show the hidden div
			$("#Ridaurad").show("fast");
		}
		else
		{	   
			//otherwise, hide it 
			$("#Ridaurad").hide("fast");
		}
		
	 });
	 
	   $("#checkbox_Prednisone2").click(function(){
		
		// If checked
		if ($("#checkbox_Prednisone2").is(":checked"))
		{
			//show the hidden div
			$("#Prednisone2").show("fast");
		}
		else
		{	   
			//otherwise, hide it 
			$("#Prednisone2").hide("fast");
		}
		
	 });
	 
	 $("#checkbox_Over_the_counter").click(function(){
		
		// If checked
		if ($("#checkbox_Over_the_counter").is(":checked"))
		{
			//show the hidden div
			$("#Over_the_counter").show("fast");
		}
		else
		{	   
			//otherwise, hide it 
			$("#Over_the_counter").hide("fast");
		}
		
	 });
	
		});


function Disab (val) {

if(val=="1")
{
info_form.requestinfo[1].checked=false;
info_form.usertype[0].disabled=false;
info_form.usertype[0].checked=false;

}

if(val=="2")
{
info_form.requestinfo[0].checked=false;
info_form.usertype[0].disabled=true;
info_form.usertype[1].checked=true;
}
}