<!--

function ShowMoreInfo(){
		day = new Date();
		id = day.getTime();
		eval("page" + id + " = window.open('popMoreInfo.php', '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=500,height=500');");
}

function ShowAuth(){
		day = new Date();
		id = day.getTime();
		eval("page" + id + " = window.open('assets/includes/order_ccv.html', '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=550,height=500');");
}

function ShowGiftOptions(){
		day = new Date();
		id = day.getTime();
		eval("page" + id + " = window.open('popGiftWrap.php', '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=500,height=500');");
}

function chkSame(chkBox){
//	alert(chkBox.checked);
//	alert('test');
	var myTable = document.getElementById('cartBuy');
	if(chkBox.checked){
		myTable.className = 'cartBuy disable';
	}else{
		myTable.className = 'cartBuy';
	}		
}

function adjustCartCount(items){
	var cart = document.getElementById('cartInfo');
	if(items==0){
		var newTxt = 'Your cart is empty';
	}else if(items==1){
		var newTxt = '1 item in your cart';
	}else{
		var newTxt = items + ' items in your cart';
	}
	cart.innerHTML = newTxt;	
	cart.className = 'invert';
	setTimeout('resetCartClass()', 800);
}

function resetCartClass(){
	var cart = document.getElementById('cartInfo');
	cart.className = '';	
}

function calcShipping(){
	var shipping_dest = document.getElementById('ship_country').value;
//	alert(shipping_dest);
	if(shipping_dest=='United States'){
		var shipping_value = us_shipping;
	}else{
		var shipping_value = int_shipping;
	}

	var shipping_amount = document.getElementById('shipping_amount');
	shipping_amount.innerHTML = shipping_value.toFixed(2);
	
	var shipping_total = document.getElementById('shipping_total');
	var total_cost = (cost_minus_shipping + shipping_value).toFixed(2);
	shipping_total.innerHTML = total_cost;

}

-->