I'm hoping someone can tell me why this script doesn't work. It's supposed to call up a random photo.
I get no error messages, but no photo either.
Code:
<SCRIPT>  
<!--  
var0="http://www.saveourhomes.org/images/boardhelp.JPG"; 
var1="http://www.saveourhomes.org/images/louise.jpg"; 
var2="http://www.saveourhomes.org/images/mel.jpg"; 
var3="http://www.saveourhomes.org/images/mel.jpg";
now=new Date();  
num=(now.getSeconds() )%4;  
if (num == 0)  
{cliche=var0};  
if (num == 1)  
{cliche=var1};  
if (num == 2)  
{cliche=var2};  
if (num == 3)  
{cliche=var3}; 
 document.write("<img=\"" + cliche + "\">");  
//-->  
</SCRIPT>
I'm sure I'm missing something blatently obvious. I just can't figure out what it is. Thanks in advance.