I want to enlarge a div when I move over another div. It's working fine if I am setting the new dimension of the div like this:

```
function enlarge(i) {
     if(jsmolwindow[i]===true){
         divname="jsmolwindow"+i;
         document.getElementById(divname).style.height='350px';
         document.getElementById(divname).style.width='350px';
     }
}

```

But I would like to enlarge by 30px or 30% not set a definite size. I am not succeeding in doing so. 

Thanks for help.