$(function(){if(!$.browser.mozilla&&!$.browser.safari){var e=7,b=0,d=0,f=0,a=0,c=parseInt;if($.browser.msie&&c($.browser.version)==6){f=2;a=2}$("#thetabs li").each(function(){var j='<img id="leftTab'+b+'" src="/graphics/tableftside.gif"><img id="rightTab'+b+'" src="/graphics/tabrightside.gif">';$("#thetabs").append(j);var i=$(this),k=c(i.css("margin-left"))+d+f,h=i.width()+c(i.css("padding-left"))+c(i.css("padding-right"))+c(i.css("margin-left"))+c(i.css("margin-right"))+c(i.css("border-left-width"))+c(i.css("border-right-width")),g=h+d+a-e;d+=h;$("#leftTab"+b).css({position:"absolute",left:k,top:0});$("#rightTab"+b).css({position:"absolute",left:g,top:0});b++})}$(".stbutton").click(function(){var g=$("#stwrapper"),h=$(this).offset();if(g.css("visibility")!="hidden"){g.css({left:h.left-140,top:h.top+20})}})});