This is the process: switching from Issue: x==0||1 to x==0||x==1 etc.
This code runs from an .html file
<body>
<div class="" id="pimg1">
</body><script>
var x=new Date().getMonth();
if (x == 0||x == 5||x == 2){document.getElementById('pimg1').className='pimg1';}
else
if (x == 3||x == 4){document.getElementById('pimg1').className="pimg1a";}
else
if (x == 6||x == 7||x == 8){document.getElementById('pimg1').className='pimg1b';}
else {document.getElementById('pimg1').className='pimg1c';}
</script></html>
External css:
.pimg1{
background-image: url('images/style1.jpg');/*Zone 1*/}
.pimg1a{
background-image: url('images/style2.jpg');/*Zone 1*/}
.pimg1b{
background-image: url('images/style3.jpg');/*Zone 1*/}
.pimg1c{
background-image: url('images/style4.jpg');/*Zone 1*/}