<div class="ui-layout-content ui-widget-content-panel">
									<label class="lbfield75">Posting Name</label>
									<label class="lbcolon">:</label>
									<input id="ms_avg_posting_name"    style="width:300px;margin-bottom:2px"  type="text" />
									<br  />
								 	<label class="lbfield75">End of Data</label>
									<label class="lbcolon">:</label>
									<input id="ms_avg_end_date" name="ms_avg_end_date"   style="width:80px;margin-bottom:2px;"  class="date_edit" type="text" />
									<br  />
									<label class="lbfield75">Posting Info</label>
									<label class="lbcolon">:</label>
									<input id="ms_avg_posting_info"name="ms_avg_posting_info"  row="2" style="width:300px;margin-bottom:2px"  type="text" />
 								    </div>
									<div class="pane-footer ui-state-default"></div>
									<br  />
								 	<label class="lbfield85">Preview Option</label>
									<label class="lbcolon">:</label>
									<label><input name="ms_avg_preview_with_info" type="checkbox" id="ms_avg_preview_with_info" value='Yes' offval='No' />
									 With Daily Info</label>
									<form hidden id="ms_avg_create_frm" method="POST" action="<?php echo base_url().'ms_avg/ct_ms_avg/preview_avg'; ?>"/>
<script type="text/javascript">
    
    $(document).ready(function(){ 
		$( "#ms_avg_end_date" ).datepicker({
		dateFormat:'yy-mm-dd', 
		changeMonth: true,
		changeYear: true,
		numberOfMonths: 4,
		minDate: '<?php echo $last_avg_date; ?>',
		onClose: function( selectedDate ) {
		}
		});
	 	$( "#ms_avg_posting_name" ).focus(); 
		

	});
		  	
</script>

	
	