<!--
    var shopcart_cookie = "SHOPCART_TYPE";
    var shopcart_type = "";
    if (document.cookie.length>0) {
	  //c_start=document.cookie.indexOf(shopcart_cookie + "=");
	  c_start=document.cookie.indexOf("SHOPCART_TYPE");
	  if (c_start!=-1)
	    { 
	    c_start=c_start + shopcart_cookie.length+1; 
	    c_end=document.cookie.indexOf(";",c_start);
	    if (c_end==-1) c_end=document.cookie.length;
	    shopcart_type = unescape(document.cookie.substring(c_start,c_end));
	  } 
	//else {
		//alert("No shopcart type cookie found");
	  //}
    }
        
    if ( shopcart_type.length > 0 ) {
    	if ( shopcart_type == "US" ) {
			document.write(
			'<a href="https://estore.cengage.com/tl1/en/US/adirect/elt?cmd=CartDisplay&targetURL=http%3A%2F%2Felt.heinle.com%2Fng"><img class="shoppingcart_button" src="/ng/images/shopcart_button.jpg" /> Shopping Cart</a> | '
			)
	} else {
			document.write(
			'<a href="https://estore.cengage.com/tl1/en/US/adirect/eltint?cmd=CartDisplay&targetURL=http%3A%2F%2Felt.heinle.com%2Fng"><img class="shoppingcart_button" src="/ng/images/shopcart_button.jpg" /> Shopping Cart</a> | '
			)
        } 
    } 
	//else {
	//	document.write(
	//	'<a href="https://estore.cengage.com/tl1/en/US/adirect/elt?cmd=CartDisplay&targetURL=http%3A%2F%2Felt.heinle.com%2Fng"><img class="shoppingcart_button" src="/ng/images/shopcart_button.jpg" /> Shopping Cart</a> | '
	//	)
   //}
//-->
