<!--
var IE=(navigator.appName=="Microsoft Internet Explorer");
var NS=(navigator.appName=="Netscape");
bVer = (IE) ? (parseFloat( navigator.appVersion.substring(navigator.appVersion.indexOf("MSIE ")+5) )) : (parseFloat(navigator.appVersion));
flashenabled=false;


popped = null;

function popThis(_loc,width,height,parameters) {
		maxWidth=screen.availWidth;
		maxHeight=screen.availHeight;
		
		if ( (popped!=null) && !(popped.closed) ){
		      popped.close();
		}

		if (width == ""){
			width = 640;
		}
		if (height == ""){
			height = 480;
		}
		_top	= (maxHeight/2) - (height/2);
		_left	= (maxWidth/2)-(width/2 );
		var _params = "width="+width+",height="+height+",toolbar=0,scrollbars=0,resizable=0,";
		if (IE) _params += ",top=" + _top + ",left=" + _left;
		else if (NS) _params += ",alwaysRaised=yes,screenX=" + _left + ",screenY=" + _top;
		popped=window.open(_loc,"popped",_params);

}

function buyIt(catalogNum,itemName) {
	price="";
	if (catalogNum=="book"){
		type=document.detail.bookSelection.options[document.detail.bookSelection.selectedIndex].value;
		if (type=="SignedVersion") price="93";
		else price="55";
		catalogNum="book" + type;
	}else{
		price = "175";
	}
	document.detail.price.value=price;
	document.detail.itemName.value=itemName;
	document.detail.catalogNum.value=catalogNum;
    document.detail.submit();
}

function deleteFromCart( i ) {
	eval('document.updateCart.quantity_' + i).value = 0;
	document.updateCart.submit();
}

function correctInfo() {
	document.location.href = "storeCheckout.php";
}

// -->