}
在引用页面
function openSelectStartDate()
{
var returnValue=window.showModalDialog("Calendar.aspx",window,"dialogWidth:300px;dialogHeight:230px;status:no;help:no;scroll:no;center:yes;");
document.all('ctl00_ContentPlaceHolder1_txt_StartDate').value=returnValue;
}