function callback_productListEvent(strType, eventData)
{
  if (strType == "EXPAND" || strType == "COLLAPSE")
    $.post("/XHR_UpdateSession.aspx", "KEY=GarmentList_state&VAL=" + this.GetItemStates());
}

function callback_productListExpanderClick(strType, eventData)
{
}

function callback_designListEvent(strType, eventData)
{
  if (strType == "EXPAND" || strType == "COLLAPSE")
    $.post("/XHR_UpdateSession.aspx", "KEY=DesignList_state&VAL=" + this.GetItemStates());
}

function callback_designListExpanderClick(strType, eventData)
{
}

function DesignSearch(fShopLink)
{
  if (fShopLink)
  {
    iframe = GetIFrameWindow("design_list");
    if (iframe)
      iframe.location.href = "/design_list.aspx?m=STANDARD_S&q=" + escape($('#txtSearch').val());
  }
  else
    document.location.href = "/shop.aspx?ds=" + escape($('#txtSearch').val())
}

function DesignSearchKeyUp(evt)
{
  var keyCode = (window.event) ? window.event.keyCode : evt.keyCode;
  if (keyCode == 0x0D)
    $('#design_search_go_btn').get(0).onclick();
}

