// JavaScript Document
//<!--
// These functions expect the normal file name to be the image name plus some extension, and
// the alternate file name to be the image name plus "alt" plus the same extension.
function rollover(image)
{
	var imgpath=document.images[image].src;
	var insertpoint=imgpath.lastIndexOf(image) + image.length;
	var altpath=imgpath.substring(0,insertpoint) + "alt" + imgpath.substring(insertpoint);
	document.images[image].src=altpath;
}
function rolloff(image)
{
	var imgpath=document.images[image].src;
	if (imgpath.lastIndexOf(image)<0) return;
	var insertpoint=imgpath.lastIndexOf(image) + image.length;
	var altpath=imgpath.substring(0,insertpoint) + imgpath.substring(insertpoint+3);
	document.images[image].src=altpath;
}
function popup(filename,width,height)
{
	var mywidth=width+22;
	var myheight=height+90;
	window.open(filename,'coupon',"toolbar=yes,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,width="+mywidth+",height="+myheight);
}
//-->
