if("undefined"==typeof dd_domreadycheck)var dd_domreadycheck=!1;var dropmenu={enableshim:!0,arrowpointers:{downarrow:["/images/site_images/arrow-down.gif",11,7],rightarrow:["/images/site_images/arrow-right.gif",8,12],showarrow:{toplevel:!0,sublevel:!0}},hideinterval:200,effects:{enableswipe:!0,enableslide:!0,enablefade:!0,duration:200},httpsiframesrc:"https://www.karatemart.com/js/blank-for-sidemenu-js.html",topmenuids:[],topitems:{},subuls:{},lastactivesubul:{},topitemsindex:-1,ulindex:-1,hidetimers:{},shimadded:!1,nonFF:!/Firefox[\/\s](\d+\.\d+)/.test(navigator.userAgent),getoffset:function(e,t){return e.offsetParent?e[t]+this.getoffset(e.offsetParent,t):e[t]},getoffsetof:function(e){e._offsets={left:this.getoffset(e,"offsetLeft"),top:this.getoffset(e,"offsetTop")}},getwindowsize:function(){this.docwidth=window.innerWidth?window.innerWidth-10:this.standardbody.clientWidth-10,this.docheight=window.innerHeight?window.innerHeight-15:this.standardbody.clientHeight-18},gettopitemsdimensions:function(){for(var e=0;e0&&(this.shimmy.topshim.style.left=s+"px",this.shimmy.topshim.style.top=o+"px",this.shimmy.topshim.style.width="99%",this.shimmy.topshim.style.height=n+"px"),d>0&&(this.shimmy.bottomshim.style.left=s+"px",this.shimmy.bottomshim.style.top=e._offsets.top+e._dimensions.h+"px",this.shimmy.bottomshim.style.width="99%",this.shimmy.bottomshim.style.height=d+"px")}},hideshim:function(){this.shimmy.topshim.style.width=this.shimmy.bottomshim.style.width=0,this.shimmy.topshim.style.height=this.shimmy.bottomshim.style.height=0},buildmenu:function(e,t,i,s,o,n){t._master=e,t._pos=s,t._istoplevel=o,o&&this.addEvent(t,function(){dropmenu.hidemenu(dropmenu.subuls[this._master][parseInt(this._pos)])},"click"),this.subuls[e][s]=i,t._dimensions={w:t.offsetWidth,h:t.offsetHeight,submenuw:i.offsetWidth,submenuh:i.offsetHeight},this.getoffsetof(t),i.parentNode.style.left=0,i.parentNode.style.top=0,i.parentNode.style.visibility="hidden",i.style.visibility="hidden",this.addEvent(t,function(e){if(!dropmenu.isContained(this,e)){var i=dropmenu.subuls[this._master][parseInt(this._pos)];this._istoplevel&&(dropmenu.css(this,"selected","add"),clearTimeout(dropmenu.hidetimers[this._master][this._pos])),dropmenu.getoffsetof(t);var s=window.pageXOffset?window.pageXOffset:dropmenu.standardbody.scrollLeft,o=window.pageYOffset?window.pageYOffset:dropmenu.standardbody.scrollTop,d=this._offsets.left+this._dimensions.submenuw+(this._istoplevel&&"topbar"==n?0:this._dimensions.w),r=this._offsets.top+this._dimensions.submenuh,h=this._istoplevel?this._offsets.left+("sidebar"==n?this._dimensions.w:0):this._dimensions.w;d-s>dropmenu.docwidth&&(h+=-this._dimensions.submenuw+(this._istoplevel&&"topbar"==n?this._dimensions.w:-this._dimensions.w)),i.parentNode.style.left=h+"px";var a=this._istoplevel?this._offsets.top+("sidebar"==n?0:this._dimensions.h):this.offsetTop;r-o>dropmenu.docheight&&(a+=this._dimensions.submenuh0&&this.addEvent(window,function(){e()},"load")))},init:function(e,t){this.standardbody="CSS1Compat"==document.compatMode?document.documentElement:document.body,this.topitemsindex=-1,this.ulindex=-1,this.topmenuids.push(e),this.topitems[e]=[],this.subuls[e]=[],this.hidetimers[e]=[],this.enableshim&&!this.shimadded&&(this.shimmy={},this.shimmy.topshim=this.addshimmy(document.body),this.shimmy.bottomshim=this.addshimmy(document.body),this.shimadded=!0);var i=document.getElementById(e),s=i.getElementsByTagName("a");this.getwindowsize();for(var o=0;o