$(document).ready(function() {
	var countInput = $('#dnn_ctr_ManageUsers_Profile_ProfileProperties_tbl tr').length; //18
	var countOdd = $('#dnn_ctr_ManageUsers_Profile_ProfileProperties_tbl tr:nth-child(even)').length; //9

	$('#dnn_ctr_ManageUsers_Profile_ProfileProperties_tbl tr:nth-child(odd)').find('.NormalTextBox').parent().css({
		width:'210px',
		float:'left'
	});
	$('#dnn_ctr_ManageUsers_Profile_ProfileProperties_tbl tr:nth-child(even)').css({
		position:'absolute',
		left:'400px'
	});
	$('#dnn_ctr_ManageUsers_Profile_ProfileProperties_tbl tr:nth-child(1)').css({
		left:'0'
	});
	
	$('#dnn_ctr_ManageUsers_Profile_ProfileProperties_tbl tr:nth-child(16)').css({
		position:'relative'
	});
	
	// last 
	$('#dnn_ctr_ManageUsers_Profile_ProfileProperties_tbl tr:nth-child(18)').css({
		bottom:'0'
	});
	
	$('#dnn_ctr_ManageUsers_Profile_ProfileProperties_ctl00_Address_Label').parent().parent().find('.NormalTextBox').css({
		width:'570px'
	});
	$('#dnn_ctr_ManageUsers_Profile_ProfileProperties_ctl05_Birthdate_Label').parent().parent().find('.NormalTextBox').css({
		width:'100px'
	});
	
	$('.NormalTextBox').parent().css({
		position:'relative'
	});
	$('.NormalTextBox').parent().find('img').css({
		position:'absolute',
		marginTop:'2px'
	});

	$('#dnn_ctr_ManageUsers_Profile_ProfileProperties_ctl05_Birthdate_Label').parent().parent().find('.NormalTextBox').parent().find('img').css({
		position:'relative'
	});
	
	$('#dnn_ctr_ManageUsers_Profile_ProfileProperties_tbl tr:nth-child(16)').find('.NormalTextBox').parent().parent().css('paddingTop','20px');
	$('#dnn_ctr_ManageUsers_Profile_ProfileProperties_tbl tr:nth-child(16)').find('.NormalTextBox').css('width','485px');
	$('#dnn_ctr_ManageUsers_Profile_ProfileProperties_tbl tr:nth-child(16)').find('td').append('<div style="float:left;padding:5px 0 5px 180px">Indicate letter/s of area of interest, separate with a comma</div>'+
	'<div style="line-height:16px; width:632px; height:210px; float:left; border:1px solid #abadb3; padding:10px 15px; font-size:12px; font-weight:bold; font-family:Arial; background:#fff;">'+
	'	<div style="float:left; width:280px; padding-left:50px;">'+
	'		<strong>a. </strong>Beauty and Well-Being<br /> <strong>b. </strong>Fitness and Exercise<br /> <strong>c. </strong>Food and Nutrition<br />'+
	'		<strong>d. </strong>Home and Family<br /> <strong>e. </strong>Parenting and Child Care<br /> <strong>f. </strong>Sex and Relationships<br />'+
	'		<strong>g. </strong>Health and Lifestyle<br /> <strong>h. </strong>Mental Health<br /> <strong>i. </strong>Women\'s Health<br />'+
	'		<strong>j. </strong>Men\'s Health<br /> <strong>k. </strong>Eye Care<br /> <strong>l. </strong>Skin Care<br /><strong>m. </strong>Weight Loss and Management'+
	'	</div>'+
	'	<div style="float:left; width:300px;">'+
	'		<strong>n. </strong>Bone Health<br /> <strong>o. </strong>Reproductive Health<br /> <strong>p. </strong>Pregnancy and Maternal Health<br />'+
	'		<strong>q. </strong>Children and Infant Health<br /> <strong>r. </strong>Dental Health<br /> <strong>s. </strong>Hypertension<br />'+
	'		<strong>t. </strong>High Blood Pressure<br /> <strong>u. </strong>Diabetes<br /> <strong>v. </strong>Asthma and Allergies<br />'+
	'		<strong>w. </strong>AIDS/HIV/STI<br /> <strong>x. </strong>Cancer<br /> <strong>y. </strong>Others (Kindly Indicate)'+
	'	</div>'+
	'</textarea></div>');
	$('#dnn_ctr_ManageUsers_Profile_ProfileProperties_ctl16_Announcement_Label').css('width','700px');
	$('#dnn_ctr_ManageUsers_Profile_ProfileProperties_ctl16_Announcement_Label').parent().css('width','700px');
	$('#dnn_ctr_ManageUsers_Profile_ProfileProperties_ctl16_Announcement_Label').parent().parent().find('input').parent().css({
		width:'690px',
		textAlign:'right',
		padding:'0 0 40px 0'
	});
	// yes / no
	$('#dnn_ctr_ManageUsers_Profile_ProfileProperties_ctl07_Children_Label').parent().parent().find("span.NormalTextBox:contains('True')").text('Yes');
	$('#dnn_ctr_ManageUsers_Profile_ProfileProperties_ctl07_Children_Label').parent().parent().find("span.NormalTextBox:contains('False')").text('No');
	
	$('#dnn_ctr_ManageUsers_Profile_ProfileProperties_ctl14_SubscriberHT_Label').parent().parent().find("span.NormalTextBox:contains('True')").text('Yes');
	$('#dnn_ctr_ManageUsers_Profile_ProfileProperties_ctl14_SubscriberHT_Label').parent().parent().find("span.NormalTextBox:contains('False')").text('No');
	
	$('#dnn_ctr_ManageUsers_Profile_ProfileProperties_ctl13_SubscriberMoms_Label').parent().parent().find("span.NormalTextBox:contains('True')").text('Yes');
	$('#dnn_ctr_ManageUsers_Profile_ProfileProperties_ctl13_SubscriberMoms_Label').parent().parent().find("span.NormalTextBox:contains('False')").text('No');
	
	$('#dnn_ctr_ManageUsers_Profile_ProfileProperties_ctl16_Announcement_Label').parent().parent().find("span.NormalTextBox:contains('True')").text('Yes');
	$('#dnn_ctr_ManageUsers_Profile_ProfileProperties_ctl16_Announcement_Label').parent().parent().find("span.NormalTextBox:contains('False')").text('No');
});
