var popwin; function CreateControl(DivID, ObjectID, URL, WIDTH, HEIGHT, BGCOLOR) { var d = document.getElementById(DivID); d.innerHTML = ''+ ''+ ''+ ''; } function DisplayChoseDate(DivID, ObjectID)//显示日历 { var d = document.getElementById(DivID); d.innerHTML = ''+ ''+ ''+ ''; } function closeChoseDate() {//关闭日历 for(i = 0; i < document.all.length; i++){ if(document.all(i).tagName == "OBJECT" && document.all(i).classid == "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"){ document.all(i).GotoFrame(2); } } } function showallcount(c){//显示搜统计数; document.all("realcount").innerHTML = " "+c+" "; } function __doOpenVote(aim) { var dleft = 200,dtop = 0; pop = open(aim,"OpenDetail","width=600,height=700,status=no,toolbar=no,menubar=no,location=no,resizable=no,directories=no,top="+dtop+",left="+dleft+"",""); pop.focus(); } //创建日历// 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