<!--
function openPopWindow(url, name, width, height) {
        self.name = "productPageWin";
		
		var winl = (screen.width-width)/2;
		var wint = (screen.height-height)/2;
		if (winl < 0) winl = 0;
		if (wint < 0) wint = 0;

        popUpWin = window.open(url,name,'toolbar=0,location=no,directories=0,status=0,top=0,scrollbars=yes,resizable=0,width='+width+',height='+height+',top='+ wint +',left='+ winl);
        if (navigator.appName == 'Netscape') {
                popUpWin.focus();
        }
}

//function AddtoCart(contract) {
//	var qty = ""
//	var i
//	
//	for (i=0;i < eval("document.form1.qty" + contract + ".value");i++) {
//		qty=qty + contract
//		if (i+1 < eval("document.form1.qty" + contract + ".value")) {
//			qty=qty + ','
//		}
//	}	
//	document.location.href = 'https://www.plimus.com/jsp/cart.jsp?cartDefId=30303&addToCart=' + qty + '&currency=USD&language=ENGLISH';
//}

function AddtoCart(contract) {
	document.location.href = 'https://www.aptika.com/products/cart_us.asp?cartDefId=30303&item=' + contract + '&count=' + eval("document.form1.qty" + contract + ".value") + '&currency=USD&language=ENGLISH&action=add';
}

function AddtoCartCA(contract) {
	document.location.href = 'https://www.aptika.com/products/cart.asp?cartDefId=30303&item=' + contract + '&count=' + eval("document.form1.qty" + contract + ".value") + '&currency=CAD&language=ENGLISH&action=add';
}

//function showVolumeDiscount(contractId,currency)
//{
//    var ww = 300;
//    var hh = 200;
//    var w=window.open("https://www.plimus.com/jsp/buynow_volume_discount.jsp?contractId="+contractId+"&currency="+currency+"&dummy="+new Date().getTime(),"volumeDiscount","width="+ww+",height="+hh+",screenx="+(screen.width-ww)/2+",screeny="+(screen.height-hh)/2+",toolbar=no,resizable=yes,scrollbars=yes,left="+(screen.width-ww)/2+",top="+(screen.height-hh)/2);
//    w.focus();
//}

function showVolumeDiscount(contract,currency)
{
    var ww = 300;
    var hh = 200;
    var w=window.open("volumediscount.asp?cartDefId=30303&currency=USD&item=" + contract + "&dummy="+new Date().getTime(),"volumeDiscount","width="+ww+",height="+hh+",screenx="+(screen.width-ww)/2+",screeny="+(screen.height-hh)/2+",toolbar=no,resizable=yes,scrollbars=no,left="+(screen.width-ww)/2+",top="+(screen.height-hh)/2);
    w.focus();
}

function showVolumeDiscountCA(contract,currency)
{
    var ww = 300;
    var hh = 200;
    var w=window.open("volumediscount.asp?cartDefId=30303&currency=CAD&item=" + contract + "&dummy="+new Date().getTime(),"volumeDiscount","width="+ww+",height="+hh+",screenx="+(screen.width-ww)/2+",screeny="+(screen.height-hh)/2+",toolbar=no,resizable=yes,scrollbars=no,left="+(screen.width-ww)/2+",top="+(screen.height-hh)/2);
    w.focus();
}

//-->