function PopupCalendar(InstanceName)
{
///Global Tag
this.instanceName=InstanceName;
///Properties
this.separator="-";
this.separatorTime=":"; //+stz 时间分隔符
this.canmove=false; //+stz 控件层是否可拖动
this.oBtnTodayTitle="Today";
this.oBtnCancelTitle="Cancel";
this.weekDaySting=new Array("S","M","T","W","T","F","S");
this.monthSting=new Array("January","February","March","April","May","June","July","August","September","October","November","December");
this.Width=300;
this.currDate=new Date();
this.today=new Date();
this.startYear=1970;
this.endYear=2010;
///Css
this.normalfontColor="#666666";
this.selectedfontColor="red";
this.divBorderCss="1px solid #BCD0DE";
this.titleTableBgColor="#E8F1FF";
this.tableBorderColor="#CCCCCC"
///Method
this.Init=CalendarInit; //初始化函数
this.Fill=CalendarFill;
this.Refresh=CalendarRefresh;
this.Restore=CalendarRestore;
///HTMLObject
this.oTaget=null;
this.oPreviousCell=null;
this.sDIVID=InstanceName+"_Div";
this.sTABLEID=InstanceName+"_Table";
this.sMONTHID=InstanceName+"_Month";
this.sYEARID=InstanceName+"_Year";
this.sTODAYBTNID=InstanceName+"_TODAYBTN";
//add by stz
this.sHOURID=InstanceName+"_Hour";
this.sMINUTEID=InstanceName+"_Minute";
this.sSECONDID=InstanceName+"_Second";
this.movePicPath="";
}
{
///Global Tag
this.instanceName=InstanceName;
///Properties
this.separator="-";
this.separatorTime=":"; //+stz 时间分隔符
this.canmove=false; //+stz 控件层是否可拖动
this.oBtnTodayTitle="Today";
this.oBtnCancelTitle="Cancel";
this.weekDaySting=new Array("S","M","T","W","T","F","S");
this.monthSting=new Array("January","February","March","April","May","June","July","August","September","October","November","December");
this.Width=300;
this.currDate=new Date();
this.today=new Date();
this.startYear=1970;
this.endYear=2010;
///Css
this.normalfontColor="#666666";
this.selectedfontColor="red";
this.divBorderCss="1px solid #BCD0DE";
this.titleTableBgColor="#E8F1FF";
this.tableBorderColor="#CCCCCC"
///Method
this.Init=CalendarInit; //初始化函数
this.Fill=CalendarFill;
this.Refresh=CalendarRefresh;
this.Restore=CalendarRestore;
///HTMLObject
this.oTaget=null;
this.oPreviousCell=null;
this.sDIVID=InstanceName+"_Div";
this.sTABLEID=InstanceName+"_Table";
this.sMONTHID=InstanceName+"_Month";
this.sYEARID=InstanceName+"_Year";
this.sTODAYBTNID=InstanceName+"_TODAYBTN";
//add by stz
this.sHOURID=InstanceName+"_Hour";
this.sMINUTEID=InstanceName+"_Minute";
this.sSECONDID=InstanceName+"_Second";
this.movePicPath="";
}