.headerbar {
min-height: 180px;
background: transparent none repeat-x 0 0;
background: url("/images/head_icons/header_bg.jpg") repeat-x;
margin-bottom: 4px;
padding: 5px;
border-radius: 7px;
}
и обратно
Код: Выделить всё
<script type="text/javascript">
document.getElementById("logo").href = "http://yousite.com/";
document.querySelector('div.headerbar').id = 'headerbar-custom';
var randomImage = Math.floor((Math.random() * 20) + 1);
document.getElementById("headerbar-custom").style.backgroundImage = "url(/i/header_bg_" + randomImage + ".jpg)";
</script>
Код: Выделить всё
#site-description {
display: none;
}