I put this in meta.tpl simply because I don't know exactly which file has the <head> tags
This is supposed to go within the <head>
<script type="text/javascript">
<!-- Hide
pics=new Array("http://www.more-japan.com/images/top_kazama.jpg","http://www.more-japan.com/images/top_signal.jpg","http://www.more-japan.com/images/top_ueo.jpg","http://www.more-japan.com/images/top_nagisa.jpg","http://www.more-japan.com/top_sard.jpg");
lnpics=pics.length-1;
index=Math.round(Math.random()*lnpics);
// End Hiding -->
</script>
and then in head.tpl...... I call the javascript
<TABLE align=center border=0 cellPadding=0 cellSpacing=0 width="100%" height="100%">
<TR>
<TD valign=top>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#000000">
<tr>
<td>
http://www.more-japan.com/images/webhead_logo.gif<script type="text/javascript">
<!-- Hide
document.write("[img]+pics[index]+[/img]" width=540 height=85 border="0" align=right usemap="#map_emaillink");
// End Hiding -->
</script>
<tr>
<td height="10"><table width="100%" height="10" border="0" cellpadding="0" cellspacing="0" background="http://www.more-japan.com/images/xcart/button_topline.gif">
etc.etc.....
but for some reason it is not showing up.... what am I doing wrong?