	function refreshLandlordInformation(){ 
		if($('#userTenant').is(':checked')){ 
			/* landlord information */
			$('#landlordInformation').addClass('inactive').removeClass('active'); 

		}else{	

			/* landlord information */
			$('#landlordInformation').addClass('active').removeClass('inactive'); 
		}
	}


$(document).ready(function(){ 
	/* landlord */
//	$('#landlord_first_name').val('John'); 
//	$('#landlord_last_name').val('Smith'); 
//	$('#landlord_email').val('landlord@macinniswebsolutions.com'); 
//	$('#landlord_email_again').val('landlord@macinniswebsolutions.com'); 
//	$('#landlord_address1').val('1234 Someplace Ln'); 
//	$('#landlord_address2').val('Apt #2'); 
//	$('#landlord_city').val('Kalamazoo'); 
//	$('#landlord_state').val('MI'); 
//	$('#landlord_zip').val('49009'); 
//	$('#landlord_comments').val('Here are some comments'); 
//
//	/* tenant */
//	$('#tenant_first_name').val('Robert'); 
//	$('#tenant_last_name').val('MacInnis'); 
//	$('#tenant_email').val('rob.macinnis@gmail.com'); 
//	$('#tenant_email_again').val('rob.macinnis@gmail.com'); 
//	$('#tenant_address_number').val('1234'); 
//	$('#tenant_street_name').val('Someplace Ln'); 
//	$('#tenant_city').val('Kalamazoo'); 
//	$('#tenant_state').val('MI'); 
//	$('#tenant_zip').val('49009'); 
//
//	$('#tenant_ssn1').val('123'); 
//	$('#tenant_ssn2').val('45'); 
//	$('#tenant_ssn3').val('6789'); 
//	$('#tenant_proposed_rent').val('1000.00'); 
//	$('#tenant_gross_Mo_Income').val('1000.00'); 
//	$('#tDob_month').val('06'); 
//	$('#tDob_day').val('01'); 
//	$('#tDob_year').val('1980'); 
//
//	/* payment */
//	$('#tenant_drivers_license').val('M12312312312123123'); 
//
//	/* cc info */
//	$('#payment_first_name').val('John'); 
//	$('#payment_last_name').val('Doe'); 
//	$('#payment_address').val('1234 Somewhere Ln'); 
//	$('#payment_city').val('Some City'); 
//	$('#payment_state').val('MI'); 
//	$('#payment_zip').val('12345'); 
//	$('#payment_cc_type').val('Visa'); 
//	$('#payment_cc_num').val('1234567812435687'); 
//	$('#payment_cc_month').val('01'); 
//	$('#payment_cc_year').val('2011'); 
//	$('#payment_cc_cvv2').val('123'); 
//
	//refreshLandlordInformation();  
	
	$('#userTenant').bind('click',function(){ 
		$('#landlordInformation').removeClass('active'); 
		$('#landlordInformation').addClass('inactive'); 
		//refreshLandlordInformation(); 
	}); 
	$('#userLandlord').bind('click',function(){ 
		//refreshLandlordInformation(); 
		$('#landlordInformation').addClass('active'); 
		$('#landlordInformation').removeClass('inactive'); 
	}); 

	if($('.selectedTenant').length > 0){ 
		$('.selectedTenant').trigger('click'); 
	}else if ($('.selectedLandlord').length > 0){ 
		$('.selectedLandlord').trigger('click');  
	}
}); 

