// NebuCart - The JavaScript Shopping Cart
// by Nebulus Designs
//
// Copyright 1999-2001 all rights reserved.

// None of this script may be redistributed or sold
// without the authors express consent.
// Violations of copyright will be prosecuted.

// If you would like to use NebuCart,
// email us at nebucart@nebulus.org
// or visit http://nebucart.nebulus.org

// ********************************************
// NebuCart Mini Cart View                    *
// ********************************************
// DO NOT CHANGE ANYTHING BELOW THIS LINE!    *
// ********************************************

var cartDetect    = Cart;
var myFont        = fontFace;
var itemCount     = 0;

for(tmpCount = 0; tmpCount < cartDetect.length; tmpCount++){
	itemCount += Number(cartDetect[tmpCount].qty);
}

document.write('<font face=' + myFont + ' color="#FFFF00" size="2"><B>');
document.write('You have ' + itemCount);
(itemCount > 1) ? document.write(' items') : document.write(' item');
document.write(' in your cart<br>\n');
document.write('<a href="../purchase/cart.html">view cart</a>\n');
document.write('</B></font><br>');