var isMSIE = /*@cc_on!@*/false;
$(function(){
	$('html').addClass('js-enabled');
	if (isMSIE) {
		var $mainNav = $('#site-navigation > li:not(.last_)');
		$('.signature-drink-list').hover ( function() { $mainNav.removeAttr('class'); } );
		$('.our-values-navigation').hover ( function() { $mainNav.removeAttr('class'); } );
		$('.four-col_').hover ( function() { $mainNav.removeAttr('class'); } );
		$('.section-description').hover ( function() { $mainNav.removeAttr('class'); } );
		$('.tea-type').hover ( function() { $mainNav.removeAttr('class'); } );
		
		$mainNav.hover(
			function() {
				$mainNav.removeAttr('class');
				$(this).addClass('iehover_');
			},
			function() {
				$mainNav.removeAttr('class');
				$(this).removeClass('iehover_');
			}
		);
	}
});




$(document).ready(function()
{
  //hide the all of the element with class msg_body
  //toggle the componenet with class msg_body
  $("a.card-index:not(.current_)").click(function()
  {
    $('li#first, li#second, li#third').removeClass("current_");
    $(this).addClass("current_");
    $(this).parent('li').addClass("current_");
  })
  .attr("href", "javascript:void(0);");
});


function popSubmit(form)
{

    var popName = "_yahoostore";
    var popStyle = "width=800,height=800,location=yes,resizable=yes,toolbar=0,directories=0,scrollbars=1,status=1";
    var x=window.open("about:blank",popName,popStyle);
    form.setAttribute("target", popName);

    form.submit();

    x.focus();
}

function showCart()
{

    var shoppingURL="http://order.store.yahoo.net/cgi-bin/wg-order?yhst-9260686617691";
    var popName = "_yahoostore";
    var popStyle = "width=800,height=800,location=yes,resizable=yes,toolbar=0,directories=0,scrollbars=1,status=1";
    var x=window.open(shoppingURL,popName,popStyle);

    x.focus();
}
