<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>欢迎光临</title>
<style type="text/css">
*
{
  font-size:12px; font-family:Verdana, Arial, Helvetica, sans-serif,"宋体";
}
</style>
<script language="javascript" type="text/javascript">
var flag=false;    
function DrawImage(ImgD){    
var p_w_picpath=new Image();    
p_w_picpath.src=ImgD.src;    
if(p_w_picpath.width>0 && p_w_picpath.height>0){    
    flag=true;    
    if(p_w_picpath.width/p_w_picpath.height>= 604/680){    
     if(p_w_picpath.width>604){
        ImgD.width=604;    
        ImgD.height=(p_w_picpath.height*604)/p_w_picpath.width;    
     }else{    
        ImgD.width=p_w_picpath.width;
        ImgD.height=p_w_picpath.height;    
     }    
     /*ImgD.alt="bigpic"    */
    }    
    else{    
     if(p_w_picpath.height>680){
        ImgD.height=680;    
        ImgD.width=(p_w_picpath.width*680)/p_w_picpath.height;    
     }else{    
        ImgD.width=p_w_picpath.width;
        ImgD.height=p_w_picpath.height;    
     }    
        /*ImgD.alt="bigpic"    */    
    }    
}
}

//************************************************

var flag=false;    
function Imagesize(ImgD){    
var p_w_picpath=new Image();    
p_w_picpath.src=ImgD.src;    
if(p_w_picpath.width>0 && p_w_picpath.height>0){    
    flag=true;    
    if(p_w_picpath.width/p_w_picpath.height>= 100/100){    
     if(p_w_picpath.width>100){
        ImgD.width=100;    
        ImgD.height=(p_w_picpath.height*100)/p_w_picpath.width;    
     }else{    
        ImgD.width=p_w_picpath.width;
        ImgD.height=p_w_picpath.height;    
     }    
     /*ImgD.alt="bigpic"    */
    }    
    else{    
     if(p_w_picpath.height>100){
        ImgD.height=100;    
        ImgD.width=(p_w_picpath.width*100)/p_w_picpath.height;    
     }else{    
        ImgD.width=p_w_picpath.width;
        ImgD.height=p_w_picpath.height;    
     }    
        /*ImgD.alt="bigpic"    */    
    }    
}
}

//************************************************

function MM_reloadPage(init) {    //reloads the window if Nav4 resized
    if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
        document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; οnresize=MM_reloadPage; }}
    else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

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_showHideLayers() { //v6.0
    var i,p,v,obj,args=MM_showHideLayers.arguments;
    for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
        if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
        obj.visibility=v; }
}
</script>

</head>

<body>
<div class="box">
<div align="center" id="Layer1" style="position:absolute;z-index:1;visibility:hidden;left:0px;top:20px;width:100%;background-color:#FFFFFF;"><a href="#" target="_blank"><img src="p_w_picpaths/download.gif" width="130" height="26" border="0" align="middle"></a><br><img src="p_w_picpaths/tupian.jpg" alt="2010年 2011年日历表大图 点击还原" style="border: 1px solid #000000" onClick="MM_showHideLayers('Layer1','','hide')"></div>


<div style="margin-top:20px;">
<img src="p_w_picpaths/tupian.jpg" alt="2010年 2011年日历表" title="2010年 2011年日历表" border="0" onClick="MM_showHideLayers('Layer1','','show')" onload="DrawImage(this);" style="CURSOR: hand">
</div>
<div style="margin-top:10px;">备注:此效果完全可以运用在页面中。不会妨碍页面整体效果。只要把第一个div的内容放在body区的最上边即可。</div>
</div>
</body>
</html>