I have a desktop like application with a panel as a base and it has a background. I have a form with multiple images to change the panel background dynamically. I have used below code to work for both Firefox and IE. But none is working for Chrome. But I came to know that it is better to directly apply to panel div element.

The code i used is:

```
panelbg.setBodyStyle({
backgroundImage: 'url('+bgimage+') !important',
backgroundRepeat: 'no-repeat',
backgroundPosition: 'center',
backgroundSize: 'contain'
});

panelbg.setBodyStyle('background-image','url('+bgimage+')');    
panelbg.setBodyStyle('backgorund=position','center');
panelbg.setBodyStyle('background-size','cover');

```

How do I simply set panel background without having to use multiple statements?

Help is much appreciated.

Thanks in advance! :)