//<!--

// Handles popups for www.finecases.com

popupWin = null;
leftPos = 25;
topPos = 25;

function signoutNow() {
	answer=confirm('Are you sure you want\nto Sign-Out Now?');
}

function checkout_notready() { 
	if (screen) {
	leftPos = (screen.width / 2) - 190
	topPos = (screen.height / 2) - 138
	}
popupWin = window.open('/shopping_mgi/shopping_popups/checkout_notready_alert.html', 'CheckoutNotReady', 'height=276,width=380,left='+leftPos+',top='+topPos+',resizable=no,scrollbars=no,menubar=no,directories=no,location=no,status=no,');
ckBlock();
popupWin.focus();
}

function checkout_notready0() {
	answer0=alert('There are no items\nin your Shopping Cart.');
}

function checkout_notready1() { 
	if (screen) {
	leftPos = (screen.width / 2) - 190
	topPos = (screen.height / 2) - 138
	}
popupWin = window.open('/shopping_mgi/shopping_popups/checkout_notready_alert.html', 'CheckoutNotReady1', 'height=276,width=380,left='+leftPos+',top='+topPos+',resizable=no,scrollbars=no,menubar=no,directories=no,location=no,status=no,');
ckBlock();
popupWin.focus();
window.location='/shopping/viewcart.html?getrandom=yes';
}

function checkout_notready2() { 
	if (screen) {
	leftPos = (screen.width / 2) - 190
	topPos = (screen.height / 2) - 125
	}
popupWin = window.open('/shopping_mgi/shopping_popups/checkout_minimum_alert.html', 'MinimumNotMet', 'height=250,width=380,left='+leftPos+',top='+topPos+',resizable=no,scrollbars=no,menubar=no,directories=no,location=no,status=no,');
ckBlock();
popupWin.focus();
}

//-->