obips.TabCircler=function(b,a){this.firstTabbedCtrl=b;this.lastTabbedCtrl=a};obips.TabCircler.prototype.handler=function(a,c,d){c=c||this.firstTabbedCtrl;d=d||this.lastTabbedCtrl;var b=saw.getEventTarget(a);if(b==d){if((a.keyCode==9)&&(!a.shiftKey)&&(!a.altKey)&&(!a.ctrlKey)){if(c){c.focus()}a.returnValue=false;obips.BrowserEventFramework.preventEventBrowserDefaultBehavior(a);obips.BrowserEventFramework.cancelBubble(a)}}else{if(b==c){if((a.keyCode==9)&&(a.shiftKey)&&(!a.altKey)&&(!a.ctrlKey)){if(d){d.focus()}a.returnValue=false;obips.BrowserEventFramework.preventEventBrowserDefaultBehavior(a);obips.BrowserEventFramework.cancelBubble(a)}}}};obips.TabCircler.prototype.setRereaderCB=function(a){this.rereadControls=rereaderFn;this.rereadControlsContext=thisContext;return this};obips.TabCircler.prototype.run=function(a,b){if((!a)||(!b)){alert("you should define two parameters for obips.TabCircler.run!");return this}saw.removeEventListener(document,"keydown",a);saw.addEventListener(document,"keydown",a,b,false);this.dialogValue=b;if(!b.tabCircler){b.tabCircler=this}return this};