timeout =0;
function Start(URL, WIDTH, HEIGHT) {
	windowprops = "left=50,top=50,width=" + (WIDTH+50) + ",height=" + (HEIGHT+50);
	text = "<html><head><title>Preview</title></head><body bgcolor='BLACK'";
	if (timeout != 0) text +=" onLoad=\"setTimeout('window.close()', " + timeout*1000 + ");\"";
	text += "><center><img src='" + URL + "'>";
	if (timeout != 0) text +="<br><font face='arial, helvetica' size='-1'>Preview closes after " + timeout + " seconds.</font>";
	text += "</center></body></html>";
	preview = window.open("", "preview", windowprops);
	preview.document.open();
	preview.document.write(text);
	preview.document.close();
}

function PopUp(URL, TARGET, WIDTH, HEIGHT) {
	windowprops = "resizable=yes,scrollbars=yes,width=" + WIDTH + ",height=" + HEIGHT;
	window.open(URL, TARGET, windowprops);
}

function LinkDisplay(TYPE) {
	if (TYPE == "friend") {
		window.location = "http://ui.constantcontact.com/sa/fp.jsp?plat=i&p=f&m=equo5ecab";
	} else if (TYPE == "reminder") {
		window.location = "http://ui.constantcontact.com/sa/fp.jsp?plat=i&p=g&m=equo5ecab";
	} else if (TYPE == "emailsafe") {
		window.open('http://www.constantcontact.com/safesubscribe.jsp');
	}
}

function __doCheckout(TOTAL) {
	__utmSetTrans();
}