<tr>
<td colspan="2">
<script>
var lastDay = "#-#lastDay#";
function ovfocus(st,obj){
jQuery(obj).val("");
var startV = st.value;
obj.setAttribute("mindate",startV);
var mon = startV.substr(5,2);
var yea = startV.substr(0,4);
obj.setAttribute("maxdate","#"+yea+"#-#"+mon+lastDay);
new WdatePicker(obj);
}
</script>
<input id="start" class="Wdate" type="text" onfocus="new WdatePicker(this)" onpicked="ovfocus(this,$('end'))"/>
<input id="end" class="Wdate" type="text" onfocus="new WdatePicker(this)"
mindate="" maxdate=""/>
</td>
</tr>