// JavaScript Document
<!--
function DisplayMiniCart(name,style) {
  var cookies=document.cookie;  //read in all cookies
  var start = cookies.indexOf(name + "=");  //set start to beginning of ss_cart cookie
  var cartvalues = "";
  var linecount = 0;
  var start1;
  var end1;
  var tmp;
	var items = "";
	var itemstext = "";
	var subtotal = 0;

  if (start == -1)  //No cart cookie
  {
		// Do nothing    
  }
  else   //cart cookie is present
  {
  	// Start Output
  	document.write("<div id=\"minicart\">");
		// Text + Link to Cart
  	document.write("<a href=\"/cgi-sys/cgiwrap/iscorer/sc/order.cgi?storeid=*0ee8a46b0e771a08c7&function=show\" title=\"View Shopping Cart\"><img src=\"/base/images/cart_icon.gif\" alt=\"View Shopping Cart\" width=\"18\" height=\"18\" border=\"0\">Shopping Cart:");
		// Remember to close link tag and div tage - <\/a>

    start = cookies.indexOf("=", start) +1;  
    var end = cookies.indexOf(";", start);  
    if (end == -1)
    {
      end = cookies.length;
    }

		cartvalues = unescape(cookies.substring(start,end)); //read in just the cookie data

    start = 0;
		
    while ((start = cartvalues.indexOf("|", start)) != -1)
    {
      start++;
      end = cartvalues.indexOf("|", start);
      if (end != -1)
      {
        linecount++;

        if (linecount == 2) // Total Quantity of Items
        {
          tmp = cartvalues.substring(start,end);
          colon = tmp.indexOf(":", 0);
					
					// Number of Items
					items = tmp.substring(colon+1,end - start);		

					// The text "Item" or "Items"
					if ((tmp.substring(colon+1,end - start)) == 1 )
          {
            itemstext = "Item";
          }
          else
          {
            itemstext = "Items";
          }
					
        }

        if (linecount == 3)  // Product Subtotal
        {
          tmp = cartvalues.substring(start,end);
          colon = tmp.indexOf(":", 0);
					subtotal = tmp.substring(colon+1,end - start);
        }
				
        start = end;
      }
			
      else
        break;
    } // end while loop

    //write out minicart HTML
		document.write(" <span class=\"subtotal\">" + subtotal + "<\/span>");
		document.write(" <span class=\"items\">(" + items + " " + itemstext + ")<\/span>");
		document.write("<\/a><\/div>");
  }
}
-->