/* overlay GIF image on left bottle */

function ovl_lbottle_setup() {
	var obj = document.createElement("div");
	if (!obj) return false;

	obj.innerHTML = "<img src=\"ovl_lbottle.gif\" width=\"180\" height=\"482\">";
	obj.style.position = "absolute";
	obj.style.top = "0px";
	obj.style.left = "0px";

	/* we also want notification on resize from code in epilogue.js */
	obj.centerMe = function() {
		/* match to main content */
		var targ = document.onresizenotifythis;
		if (!targ) return;

		var nx = parseInt(targ.style.left) - 160;
		var ny = parseInt(targ.style.top) + 74;
		this.style.left = nx.toString() + "px";
		this.style.top = ny.toString() + "px";
	}
	document.onresizealsonotifythese.push(obj);

	document.body.appendChild(obj);
	obj.centerMe();

	return true;
}

ovl_lbottle_setup();

