baconbuttie End-of-Auction Image Replacement Script

<!--//
// script to allow a seller to replace images at EOA
// remember to name your images appropriately !!
// works in IE, NS, Firebird, Opera
// baconbuttie November 2003
//-->
<div align="center">
<img src="http://webserver/folder/image1.jpg" border="0" name="bbImg1">
<img src="http://webserver/folder/image2.jpg" border="0" name="bbImg2">
<img src="http://webserver/folder/image3.jpg" border="0" name="bbImg3">
<img src="http://webserver/folder/image4.jpg" border="0" name="bbImg4">
</div>
<script language="JavaScript" type="text/javascript">
<!--//
if(pageName.indexOf("Closed")!=-1){
var imgCount = 4; //set to number of images you have in the document
var newSrc = "http://webserver/folder/plainjane.gif"; // URL to replacement image
for (i=1;i<=imgCount;i++){document.images["bbImg"+i].src=newSrc;}}
//--></script>
back