div.overlay {
    background-image:url(gfx/transparent.png);
     
    /* dimensions after the growing animation finishes  */ 
    width:576px;height:446px;
       
     
    /* initially overlay is hidden */ 
    display:none; 
     
    /* some padding to layout nested elements nicely  */ 
    padding:40px; 
} 
 
/* default close button positioned on upper right corner */ 
div.overlay div.close { 
    background-image:url(gfx/close.png); 
    position:absolute; 
    right:5px; 
    top:5px; 
    cursor:pointer; 
    height:35px; 
    width:35px; 
}

div.overlay-h500 {
    background-image:url(gfx/bg-h580.png);
     
    /* dimensions after the growing animation finishes  */ 
    width:576px;height:500px;
       
     
    /* initially overlay is hidden */ 
    display:none; 
     
    /* some padding to layout nested elements nicely  */ 
    padding:40px; 
} 
 
/* default close button positioned on upper right corner */ 
div.overlay-h500 div.close { 
    background-image:url(gfx/close.png); 
    position:absolute; 
    right:5px; 
    top:5px; 
    cursor:pointer; 
    height:35px; 
    width:35px; 
}