<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title></title>
</head>
<body>
<STYLE>A.menuitem:hover {
COLOR: highlighttext; BACKGROUND-COLOR: highlight
}
</STYLE>
<SCRIPT language=JavaScript>
function Year_Month(){ 
    var now = new Date(); 
    var yy = now.getYear(); 
    var mm = now.getMonth()+1; 
    var cl = '<font color="#0000df">'; 
    if (now.getDay() == 0) cl = '<font color="#c00000">'; 
    if (now.getDay() == 6) cl = '<font color="#00c000">'; 
    return(cl +  yy + '年' + mm + '月</font>'); }
 function Date_of_Today(){ 
    var now = new Date(); 
    var cl = '<font color="#ff0000">'; 
    if (now.getDay() == 0) cl = '<font color="#c00000">'; 
    if (now.getDay() == 6) cl = '<font color="#00c000">'; 
    return(cl +  now.getDate() + '</font>'); }
 function Day_of_Today(){ 
    var day = new Array(); 
    day[0] = "星期日"; 
    day[1] = "星期一"; 
    day[2] = "星期二"; 
    day[3] = "星期三"; 
    day[4] = "星期四"; 
    day[5] = "星期五"; 
    day[6] = "星期六"; 
    var now = new Date(); 
    var cl = '<font color="#0000df">'; 
    if (now.getDay() == 0) cl = '<font color="#c00000">'; 
    if (now.getDay() == 6) cl = '<font color="#00c000">'; 
    return(cl +  day[now.getDay()] + '</font>'); }
 function CurentTime(){ 
    var now = new Date(); 
    var hh = now.getHours(); 
    var mm = now.getMinutes(); 
    var ss = now.getTime() % 60000; 
    ss = (ss - (ss % 1000)) / 1000; 
    var clock = hh+':'; 
    if (mm < 10) clock += '0'; 
    clock += mm+':'; 
    if (ss < 10) clock += '0'; 
    clock += ss; 
    return(clock); } 
function refreshCalendarClock(){ 
document.all.calendarClock1.innerHTML = Year_Month(); 
document.all.calendarClock2.innerHTML = Date_of_Today(); 
document.all.calendarClock3.innerHTML = Day_of_Today(); 
document.all.calendarClock4.innerHTML = CurentTime(); }
 var webUrl = webUrl; 
document.write('<table border="0" cellpadding="0" cellspacing="0"><tr><td>'); 
document.write('<table id="CalendarClockFreeCode" border="0" cellpadding="0" cellspacing="0" width="60" height="70" ');
document.write('style="position:absolute;visibility:hidden" bgcolor="#eeeeee">');
document.write('<tr><td align="center"><font ');
document.write('style="cursor:hand;color:#ff0000;font-family:宋体;font-size:14pt;line-height:120%" ');
if (webUrl != 'netflower'){ 
   document.write('</td></tr><tr><td align="center"><font ');
   document.write('style="cursor:hand;color:#2000ff;font-family:宋体;font-size:9pt;line-height:110%" ');

document.write('</td></tr></table>'); 
document.write('<table border="0" cellpadding="0" cellspacing="0" width="61" bgcolor="#C0C0C0" height="70">');
document.write('<tr><td valign="top" width="100%" height="100%">');
document.write('<table border="1" cellpadding="0" cellspacing="0" width="58" bgcolor="#FEFEEF" height="67">');
document.write('<tr><td align="center" width="100%" height="100%" >');
document.write('<font id="calendarClock1" style="font-family:宋体;font-size:7pt;line-height:120%"> </font><br>');
document.write('<font id="calendarClock2" style="color:#ff0000;font-family:Arial;font-size:14pt;line-height:120%"> </font><br>');
document.write('<font id="calendarClock3" style="font-family:宋体;font-size:9pt;line-height:120%"> </font><br>');
document.write('<font id="calendarClock4" style="color:#100080;font-family:宋体;font-size:8pt;line-height:120%"><b> </b></font>');
document.write('</td></tr></table>');
document.write('</td></tr></table>'); 
document.write('</td></tr></table>'); 
setInterval('refreshCalendarClock()',1000);
</SCRIPT>

解决方案 »

  1.   

    接上贴
    <SCRIPT LANGUAGE="JavaScript">
    <!--
    var date_start,date_end,g_object
    var today = new Date();
    var separator="-";
    var inover=false;
    function change_date(temp,mode)
    {
    var t_month,t_year
        if (mode){
            if(mode==1)
            t_month=parseInt(cele_date_month.value,10)+parseInt(temp,10);
            else
            t_month=parseInt(temp)
            if (t_month<cele_date_month.options(0).text) {
                cele_date_month.value=cele_date_month.options(cele_date_month.length-1).text;
                change_date(parseInt(cele_date_year.value,10)-1,0);
                }
            else{
                if (t_month>cele_date_month.options(cele_date_month.length-1).text){
                    cele_date_month.value=cele_date_month.options(0).text;
                    change_date(parseInt(cele_date_year.value,10)+1,0);
                    }            
                else
                    {cele_date_month.value=t_month;
                     set_cele_date(cele_date_year.value,cele_date_month.value);                
                    }
            }
        }  
        else{
            t_year=parseInt(temp,10);
            
            if (t_year<cele_date_year.options(0).text) {
                cele_date_year.value=cele_date_year.options(0).text;
                set_cele_date(cele_date_year.value,1);                
                }
            else{
                if (parseInt(t_year,10)>parseInt(cele_date_year.options(cele_date_year.length-1).text,10)){
                    cele_date_year.value=cele_date_year.options(cele_date_year.length-1).text;
                    set_cele_date(cele_date_year.value,12);                
                    }            
                else
                    {cele_date_year.value=t_year;
                     set_cele_date(cele_date_year.value,cele_date_month.value);                
                    }
            }
        }
        window.cele_date.focus();
    }
    function init(d_start,d_end)
    {
         var temp_str;
         var i=0
         var j=0
         date_start=new Date(2000,7,1)
         date_end=new Date(2004,8,1)
         document.writeln("<div name=\"cele_date\" id=\"cele_date\"  style=\"display:none\"    style=\"LEFT: 69px; POSITION: absolute; TOP: 159px;Z-INDEX:99\" onClick=\"event.cancelBubble=true;\" onBlur=\"hilayer()\" onMouseout=\"lostlayerfocus()\"></div>");
         window.cele_date.innerHTML="";
         temp_str="<table border=\"1\" bgcolor=\"#4682b4\" bordercolor=\"white\"><tr><td colspan=7 onmouseover=\"overcolor(this)\">";
         temp_str+="<input type=\"Button\" value=\"<<\" onclick=\"change_date(-1,1)\" onmouseover=\"getlayerfocus()\" style=\"color: #FFFFFF; background-color: #5d7790; cursor: hand\">";
         temp_str+=""
         temp_str+="<select name=\"cele_date_year\" id=\"cele_date_year\" language=\"javascript\" onchange=\"change_date(this.value,0)\" onmouseover=\"getlayerfocus()\" onblur=\"getlayerfocus()\" style=\"font-size: 9pt; border: 1px #666666 outset; background-color: #F4F8FB\">"
         for (i=2000;i<=2020;i++)
         {
         temp_str+="<OPTION value=\""+i.toString()+"\">"+i.toString()+"</OPTION>";
         }
         temp_str+="</select>年";
         temp_str+=""
         temp_str+="<select name=\"cele_date_month\" id=\"cele_date_month\" language=\"javascript\" onchange=\"change_date(this.value,2)\" onmouseover=\"getlayerfocus()\" onblur=\"getlayerfocus()\" style=\"font-size: 9pt; border: 1px #666666 outset; background-color: #F4F8FB\">"
         for (i=1;i<=12;i++)
         {
         temp_str+="<OPTION value=\""+i.toString()+"\">"+i.toString()+"</OPTION>";
         }
         temp_str+="</select>月";
         temp_str+=""
         temp_str+="<input type=\"Button\" value=\">>\" onclick=\"change_date(1,1)\" onmouseover=\"getlayerfocus()\"  style=\"color: #FFFFFF; background-color: #5d7790; cursor: hand\">";
         temp_str+="</td></tr><tr><td onmouseover=\"overcolor(this)\">"
         temp_str+="<font color=red>Su</font></td><td>";temp_str+="Mo</td><td>"; temp_str+="Tu</td><td>"; temp_str+="We</td><td>"
         temp_str+="Th</td><td>";temp_str+="Fr</td><td>"; temp_str+="Sa</td></tr>";
         for (i=1 ;i<=6 ;i++)
         {
         temp_str+="<tr>";
            for(j=1;j<=7;j++){
                temp_str+="<td name=\"c"+i+"_"+j+"\"id=\"c"+i+"_"+j+"\" style=\"CURSOR: hand\" style=\"COLOR:#000000\" language=\"javascript\" onmouseover=\"overcolor(this)\" onmouseout=\"outcolor(this)\" onclick=\"td_click(this)\">?</td>"
                }
         temp_str+="</tr>"        
         }
         temp_str+="</td></tr></table>";
         window.cele_date.innerHTML=temp_str;
    }
    function set_cele_date(year,month)
    {
       var i,j,p,k
       var nd=new Date(year,month-1,1);
       event.cancelBubble=true;
       cele_date_year.value=year;
       cele_date_month.value=month;   
       k=nd.getDay()-1
       var temp;
       for (i=1;i<=6;i++)
          for(j=1;j<=7;j++)
          {
          eval("c"+i+"_"+j+".innerHTML=\"\"");
          eval("c"+i+"_"+j+".bgColor=\"#4682b4\"");
          eval("c"+i+"_"+j+".style.cursor=\"hand\"");
          }
       while(month-1==nd.getMonth())
        { j=(nd.getDay() +1);
          p=parseInt((nd.getDate()+k) / 7)+1;
          eval("c"+p+"_"+j+".innerHTML="+"\""+nd.getDate()+"\"");
          if ((nd.getDate()==today.getDate())&&(cele_date_month.value==today.getMonth()+1)&&(cele_date_year.value==today.getYear())){
            eval("c"+p+"_"+j+".bgColor=\"#EFFB64\"");
          }
          if (nd>date_end || nd<date_start)
          {
          eval("c"+p+"_"+j+".bgColor=\"#FF9999\"");
          eval("c"+p+"_"+j+".style.cursor=\"text\"");
          }
          nd=new Date(nd.valueOf() + 86400000)
        }
    }
      

  2.   

    接上贴
    function td_click(t_object)
    {
    var t_d
    if (parseInt(t_object.innerHTML,10)>=1 && parseInt(t_object.innerHTML,10)<=31 ) 
    { t_d=new Date(cele_date_year.value,cele_date_month.value-1,t_object.innerHTML)
    if (t_d<=date_end && t_d>=date_start)
    {
    var year = cele_date_year.value;
    var month = cele_date_month.value;
    var day = t_object.innerHTML;
    if (parseInt(month)<10) month = "0" + month;
    if (parseInt(day)<10) day = "0" + day;g_object.value=year+separator+month+separator+day;
    window.cele_date.style.display="none";};
    }
    }
    function h_cele_date()
    {
    window.cele_date.style.display="none";
    }function overcolor(obj)
    {
      if (obj.style.cursor=="hand") obj.style.color = "#FFFFFF";
      
      inover=true;
      window.cele_date.focus();
    }
    function outcolor(obj)
    {
      obj.style.color = "#000000";
      
      inover=false;
    }
    function getNow(o){
        var Stamp=new Date();
        var year = Stamp.getYear();
        var month = Stamp.getMonth()+1;
        var day = Stamp.getDate();
        if(month<10){
    month="0"+month;
        }
        if(day<10){
    day="0"+day;
        }
        o.value=year+separator+month+separator+day;
    }
    function hilayer()
    {
    if (inover==false)
    {
    var lay=document.all.cele_date;
    lay.style.display="none";
    }
    }
    function getlayerfocus()
    {
    inover=true;
    }
    function lostlayerfocus()
    {
    inover=false;
    }
    //-->
    </SCRIPT>
    <script language="javascript">
             init();
    </script>
    <input type="text" name="Last_Update_Date" size="26" maxlength="19"  readonly>
    <input type="button" name="change2" value="展开"  onclick="show_cele_date(change2,'','',Last_Update_Date)">
    </body>
    </html>
      

  3.   

    网上到处有这样的网站,把它们整个下载下来看看不就行了?
    以下是百度万年历的页面地址,功能比你想要的还多,“文件”-“另存为”即可
    http://site.baidu.com/list/wannianli.htm
      

  4.   

    <html><head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <title>新建网页 1</title>
    </head><body>
      <script language=javascript>
        /****************************
        *                           *
        * Version 1.0Beta Freeware  *
        *                           *
        *****************************/
        var page_height=140;//页面高度
        var show_item_number=5;//显示出来的项目个数
        var page_open;//初始页面是否打开
        var page_index;//初始页面打开的序号
        var save_zt="yes";//是否保存状态
        var roll_speed=2;//滚屏速度
        var roll_dst=102;//滚屏距离
        var left_dst=10;//链接左侧空出距离
        //---------下面的参数不要改--------
        var whichOpen=0;
        var whichContinue='';
        var first_open_num=-1;
        var bar_totle_num=0;//bar的总数
        var bar_num=1;
        var page_item_num=100;
        var t=0;
        var cell_height=25;
        function Set_Para(show_item_num,isopen,num,zt,r_speed,r_dst,ld){//每页显示个数,
           page_height=show_item_num*cell_height;
           save_zt=zt;
           if(isopen=="yes")
              first_open_num=num;
            if(r_speed>0){
               roll_speed=r_speed;
            }
            if(r_dst>0){
               roll_dst=r_dst*25.2;
            }
            if(ld>=0){
               left_dst=ld;
            }        // div_height=25*pageitemnum+10;
           // first_bar=bar_name+"1";
         }
         function reset_div(obj){
           obj.style.posTop=0;
         }
         //显示菜单
         function menuShow(obj,item_num,obj2,div,arrow_up,arrow_down)
         {
            if(save_zt=="no"){
               reset_div(div);
            }
            item_num=page_item_num;
            maxh=page_height;
            arrow(div,arrow_up,arrow_down,item_num)
            obj2.background="./images/menu_images/title_bg_hide.gif";
            if(obj.style.pixelHeight<maxh)
            {
               obj.style.pixelHeight+=maxh/cell_height;
               obj.filters.alpha.opacity += 5;
               if(obj.style.pixelHeight==maxh/(cell_height/2))
                  obj.style.display='block';
               myObj=obj;
               myitem_num=item_num;
               myObj2=obj2;
           mydiv=div
               myarrow_up=arrow_up;
               myarrow_down=arrow_down;
               setTimeout('menuShow(myObj,myitem_num,myObj2,mydiv,myarrow_up,myarrow_down)','5');
             }     }
         //隐藏菜单
         function menuHide(obj,item_num,obj2,div,arrow_up,arrow_down)
         { 
            maxh=page_height;
            arrow(div,arrow_up,arrow_down,item_num);
            obj2.background="./images/menu_images/title_bg_show.gif";
            if(obj.style.pixelHeight>0)
            {
               if(obj.style.pixelHeight==maxh/cell_height)
                  obj.style.display='none';
               obj.style.pixelHeight-=maxh/cell_height;
               obj.filters.alpha.opacity-=5;
               myObj=obj;
               myitem_num=item_num
               myObj2=obj2;
           mydiv=div;
               myarrow_up=arrow_up;
               myarrow_down=arrow_down;
               setTimeout('menuHide(myObj,myitem_num,myObj2,mydiv,myarrow_up,myarrow_down)','5');
             }
            else
              if(whichContinue)
                  whichContinue.click();
          }
          function menuChange(obj,item_num,obj2,div,arrow_up,arrow_down,temp)
          {
             temp.click();
             if(obj.style.pixelHeight)
             {
                menuHide(obj,item_num,obj2,div,arrow_up,arrow_down);
                whichOpen='';
                whichcontinue='';
             }
             else
             if(whichOpen)
             {
                whichContinue=obj2;
                whichOpen.click();
              }
              else
              {
                 menuShow(obj,item_num,obj2,div,arrow_up,arrow_down);
                 whichOpen=obj2; 
                 whichContinue='';
              }
           }
           //
           function moveDown(obj,num,dts,arrow_up,arrow_down,item_num){
               dts=dts-num;
               t=-(item_num*cell_height-page_height);
               if(dts>0&&obj.style.posTop>t){
                 obj.style.posTop-=num;
                 myObj=obj;
                 mynum=num;
                 mydts=dts;
                 myarrow_up=arrow_up;
                 myarrow_down=arrow_down;
             myitem_num=item_num;
                 setTimeout('moveDown(myObj,mynum,mydts,myarrow_up,myarrow_down,myitem_num)','5');
               }
               else
               if(obj.style.posTop<=t){
                  obj.style.posTop=t;
                  document.           }
               arrow(obj,arrow_up,arrow_down,item_num)
           }
           function moveUp(obj,num,dts,arrow_up,arrow_down,item_num){
              dts=dts-num;
              if(dts>0&&obj.style.posTop<0){
              obj.style.posTop+=num;
                myObj=obj;
                mynum=num;
                mydts=dts;
                myarrow_up=arrow_up;
                myarrow_down=arrow_down;
                myitem_num=item_num;           
                
                setTimeout('moveUp(myObj,mynum,mydts,myarrow_up,myarrow_down,myitem_num)','5');
              }
              if(obj.style.posTop>=0){
                 obj.style.posTop=0;
              }
              //alert(obj.style.posTop)
              arrow(obj,arrow_up,arrow_down,item_num)
          }
          function arrow(obj,obj_up,obj_down,item_num){
             //向上翻页
             t=-(item_num*cell_height-page_height); 
             if(obj.style.posTop==0){
               arrow_hide(obj_up);
               if(t>=0){// 元素不多的情况下
             arrow_hide(obj_down);
           }
         }
             if(obj.style.posTop<0){
              arrow_show(obj_up);
          }
              //向下翻页
              if(obj.style.posTop>t){
                 //alert("Top="+obj.style.posTop);
                 arrow_show(obj_down);
              }
              if(obj.style.posTop==t&&t!=0){
                 arrow_hide(obj_down);
             arrow_show(obj_up);
           }        }
           function arrow_hide(obj){
              obj.style.pixelWidth=-20;//箭头移动到-20
           }
           function arrow_show(obj){
               obj.style.pixelWidth=20;
           }       function set_item_number(num){
              page_item_num=num;
           }
           function MM_swapImgRestore() { //v3.0
              var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
           }
      

  5.   

    接上面
      function MM_preloadImages() { //v3.0
              var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
              var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
              if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
           }       function MM_findObj(n, d) { //v4.01
             var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
             d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
             if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
             for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
             if(!x && d.getElementById) x=d.getElementById(n); return x;
           }function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    }
    function Set_Title_Img(img_path){
     document.write(" <table cellpadding=0 cellspacing=0 width=160 align=center> ");
     document.write("  <tr> ");
     document.write("   <td height=42 valign=bottom> ");
     document.write("     <img src="+img_path+" width=160 height=38> ");
     document.write("  </td> ");
     document.write(" </tr> ");
     document.write(" </table> ");
    }
    function New_Bar(bar_title,bar_img){
     page_item_num=0;
     bar_totle_num+=1;
     document.write(" <table cellpadding=0 cellspacing=0 width=160 align=center>");
     document.write(" <tr style=\"cursor:hand;\">");
     document.write("     <td height=25 class=menu_title onmouseover=this.className='menu_title2'; onmouseout=this.className='menu_title'; background="+bar_img+" id='menu_bar"+bar_num+"' onclick=\"menuChange(menu"+bar_num+","+page_item_num+",menu_bar"+bar_num+",aa"+bar_num+",arrow_up"+bar_num+",arrow_down"+bar_num+",temp"+bar_num+");\"> ");
     document.write("      <span>"+bar_title+"</span> </td>");
     document.write(" </tr>");
     document.write("</table>");
     document.write(" <table cellpadding=0 cellspacing=0 width=160 align=center>");
     document.write(" <tr>");
     document.write("  <td>");
     document.write("   <div class=sec_menu style=\"width:158px;height:0px;filter:alpha(Opacity=0);display:none\" id=menu"+bar_num+"> ");
     document.write("      <table align=\"left\" width=\"100%\" cellpadding=0 cellspacing=0> ");
     document.write("       <tr> ");
     document.write("        <td valign='top'><div style=\"position:relative;Z-index=1;foverflow:hidden;\" id=aa"+bar_num+">");
     document.write("<table  cellpadding=0 cellspacing=0 align=left width=118 style=\"position:relative;top:1px\" >");
    }
    function Add_Item(item_img,item_title,url,target){
     page_item_num+=1;
     document.write(" <tr><td width="+left_dst+"></td> ");
     document.write("  <td height="+cell_height+" > <a href="+url+" onfocus=this.blur(); target="+target+"><img src="+item_img+"> "+item_title+"</a></td>");
     document.write(" </tr>");
    }
    function Add_Bar_End(up_img,down_img,up_m_on,down_m_on){
     document.write("    </table>");
     document.write("            </div></td>");
     document.write("           <td width=\"17\" valign=\"top\"> ");
     document.write(" <table align=\"left\" cellpadding=0 cellspacing=0><tr><td height=4></td><tr>");
     document.write("               <tr> ");
     document.write("             <td align=left>");
     document.write("  <div style=\"width:16;height:17;filter:alpha(Opacity=100);overflow:hidden\"  id=arrow_up"+bar_num+">");
     document.write("  <table align=left cellpadding=0 cellspacing=0><tr>");
     document.write("   <td align=left><img width='16' height='16' name=Image_up"+bar_num+" src="+up_img+" onClick=\"moveUp(aa"+bar_num+","+roll_speed+","+roll_dst+",arrow_up"+bar_num+",arrow_down"+bar_num+","+page_item_num+")\"  onMouseOut=MM_swapImgRestore() onMouseUp=MM_swapImgRestore() onMouseDown=MM_swapImage('Image_up"+bar_num+"','','"+up_m_on+"',1) style='cursor:hand'>");
     document.write("  </td>");
     document.write(" </tr>");
     document.write(" </table></div></td>");
     document.write("             </tr>");
     document.write("  <tr> ");
     document.write("               <td height="+(page_height-45)+"  id='temp"+bar_num+"' onclick='set_item_number("+page_item_num+")'></td>");
     document.write("            </tr>");
     document.write("            <tr> ");
     document.write("             <td align=left>");
     document.write("  <div style=\"width:16;height:17;filter:alpha(Opacity=100);overflow:hidden\"  id=arrow_down"+bar_num+">");
     document.write("  <table align=left cellpadding=0 cellspacing=0><tr>");
     document.write("   <td align=left><img width='16' height='16' name=Image_down"+bar_num+" src="+down_img+" onClick=\"moveDown(aa"+bar_num+","+roll_speed+","+roll_dst+",arrow_up"+bar_num+",arrow_down"+bar_num+","+page_item_num+")\"    onMouseOut=MM_swapImgRestore() onMouseUp=MM_swapImgRestore() onMouseDown=MM_swapImage('Image_down"+bar_num+"','','"+down_m_on+"',1) style='cursor:hand'>");
     document.write("  </td>");
     document.write(" </tr>");
     document.write(" </table></div></td>");
     document.write("           </tr>");
     document.write("          </table></td>");
     document.write("       </tr>");
     document.write("     </table>");
     document.write("   </div>");
     document.write("  </td>");
     document.write("</tr>");
     document.write("</table>"); bar_num+=1;
    }
    function Add_End(img,bar_bt){
    document.write("<table cellpadding=0 cellspacing=0 width=160 align=center>");
      document.write("<tr style=\"cursor:hand;\">");
        document.write("<td height=25 class=menu_title onmouseover=this.className='menu_title2'; onmouseout=this.className='menu_title'; background="+img+" onclick=endbar.click()> ");
          document.write("<a href=# onclick='parent.close(); return false;' id=endbar ><span>"+bar_bt+"</span></a> </td>");
      document.write("</tr>");
    document.write("</table>");
     if(first_open_num>bar_totle_num||first_open_num<0){
       first_open_num=0;
      }
     if(first_open_num!=0){
      document.write("<body onLoad=menu_bar"+first_open_num+".click()  onselectstart=\"return false;\" ondragstart=\"return false;\" oncontextmenu=\"return false;\">");
      }
      else
        document.write("<body  onselectstart=\"return false;\" ondragstart=\"return false;\" oncontextmenu=\"return false;\">");}
    function Set_Css(body_color,bgcolor,bar_color,bar_color_on,f_color,f_color_on,left_px,top_px){
    document.write("<style type=text/css>");
    document.write("body  { ");
    document.write("  background:"+body_color+"; font:normal 12px 宋体; ");
    document.write("  margin-left: 0px;");
    document.write("  margin-top: 0px;");
    document.write("  margin-right: 0px;");
    document.write("  margin-bottom: 0px;}");
    document.write("table  { border:0px; }");
    document.write("td  { font:normal 12px 宋体; }");
    document.write("img  { vertical-align:bottom; border:0px; }");
    document.write("a  { font:normal 12px 宋体; color:"+f_color+"; text-decoration:none; }");
    document.write("a:hover  { color:"+f_color_on+"}");
    document.write(".sec_menu  { border-left:1px solid white; border-right:1px solid white; border-bottom:1px solid white; overflow:hidden; background:"+bgcolor+" }");
    document.write(".menu_title  { }");
    document.write(".menu_title span  { position:relative; top:"+top_px+"px; left:"+left_px+"px; color:"+bar_color+";}");
    document.write(".menu_title2  { }");
    document.write(".menu_title2 span  { position:relative; top:"+top_px+"px; left:"+left_px+"px; color:"+bar_color_on+"; }");
    document.write("</style>");}   
    </script>
    </body></html>
      

  6.   

    第一个发的show_cele_date怎么没有