// JavaScript Document
<!--
/*
Timed Image Disply Script
*/

//set the below to the image you wish to use as the "new" image
var URL2 = "coupon-print.htm"
var imagetag='<A HREF="javascript:popUp(URL2)"><img src="graphics/coupons.jpg" border="0" style="border:1px #000000 dashed"></a>'
var today=new Date()
function expireat(expiredate){
var expire=new Date(expiredate)
if (today.getTime()<=expire.getTime())
document.write(imagetag)
else
document.write ("Sorry, Coupon Has Expired")
}
//-->