//功能:公共js脚本 var popwin; function CreateControl(DivID, ObjectID, URL, WIDTH, HEIGHT, BGCOLOR) { var d = document.getElementById(DivID); d.innerHTML = ''+ ''+ ''+ ''; } //创建日历// function CreateDate(DivID, ObjectID, BtnAlign, Depth) { var d = document.getElementById(DivID); d.innerHTML = ''+ ''+ ''+ ''; d.children(0).mask = new Array(); return d.children(0); } //关闭日历// function closeChoseDate(eventTarget) { eventTarget.GotoFrame(2); eventTarget.style.left = 0; eventTarget.style.width = 18; eventTarget.style.height = 18; if(eventTarget.mask != null && eventTarget.mask.length>0){ for(i=0;i0){ for(i=0;i