function ToggleCalendarFrame(a){var b=document.getElementById(a);if(b){if(b.style.display==""||b.style.display=="block"){b.style.display="none";}else{b.style.display="block";}}}
function ChangeCalendarDate(a,b,c,d){try{if(a){a.Month.value=b;a.Year.value=c;a.action=d;a.submit();}}catch(e){alert("Error! Could not page to the specified date for Month="+b+" and Year="+intYear+".\n\n"+e.number+"\n"+e.description);}}
function SetCalendarDate(a,b,c,d,f,g,h,i){if(b&&d){var j=d.getAttribute("SelectedDay");var k=d.getAttribute("TodayCellID");var l=a.DefaultDate.value;var m=document.getElementById(l);if(m){m.className="OtherDay";}else if(j){j.className="OtherDay";}d.setAttribute("SelectedDay",b);a.DefaultDate.value=f;if(b.className=="Today"){}else if(b.className=="OtherDay"){b.className="Today";}else if(b.className=="OtherDayOn"){b.className="Today";}}try{if(d){var n=new Date(f);d.value=f;}else{alert("Error! Could not find the INPUT field to populate");}}catch(e){alert("Error! Could not assign the selected date to the specified INPUT field.\n\n"+e.number+"\n"+e.description);}if(g){try{var o=window.parent.document.getElementById(g);if(o){o.style.display="none";}}catch(e){alert("Error! Could not hide the parent frame: "+g+"\n\n"+e.number+"\n"+e.description);}}if(i){c.submit();}}
function SetLastSelectedDate(a,b){if(a){}}
function MouseOverDateCell(a,b){if(a){if(a.className=="Today"){}else if(a.className=="OtherDay"){a.className="OtherDayOn";}}}
function MouseOutDateCell(a,b){if(a){if(a.className=="Today"){}else if(a.className=="OtherDay"){a.className="";}else if(a.className=="OtherDayOn"){a.className="OtherDay";}}}
