
$.tools.tabs.addEffect("ajaxHistory",function(tabIndex,done)
{var cacheKey='tab_'+tabIndex;var html=$.jCache.getItem(cacheKey);var self=this;if(html)
{this.getPanes().eq(0).html(html);}
else
{$.get(this.getTabs().eq(tabIndex).attr("href"),function(html)
{self.getPanes().eq(0).html(html);$.jCache.setItem(cacheKey,html);});}});$(document).ready(function()
{var parsedUri=mu.parseUri(location.href);if(parsedUri.query.length>0)
{$('#find a').attr('href',$('#find a').attr('href')+'?'+parsedUri.query);}
var selectedTab=0;if(typeof parsedUri.queryKey.browse!='undefined')
{selectedTab=1;}
if(typeof parsedUri.queryKey.map!='undefined')
{selectedTab=2;}
if(typeof parsedUri.queryKey.list!='undefined')
{selectedTab=3;}
$(".product-tabs").tabs("div.css-panes",{effect:'ajaxHistory'}).history();});