function RegisterNamespaces(){
for(var i=0;i<arguments.length;i++){
var p=arguments[i].split("."),w=window;
for(var j=0;j<p.length;j++){
if(!w[p[j]]){
w[p[j]]=new Object();
}
w=w[p[j]];
}
}
}
RegisterNamespaces("Inpl.TabBoxes");
Inpl.TabBoxes=new function(){
var _4=this,current={},fn="Inpl.TabBoxes.",timeout={};
this.init=function(_5,_6){
_6=_6||_5+"tabs";
var _7=$(_6).getElementsByTagName("LI");
for(var i=0;i<_7.length;i++){
_7[i].onmouseover=new Function(fn+"on("+i+",\""+_5+"\",\""+_6+"\")");
_7[i].onmouseout=new Function(fn+"off("+i+",\""+_5+"\")");
}
current[_5]=0;
};
this.on=function(i,_a,_b){
timeout[_a+"_"+i]=window.setTimeout(fn+"set("+i+",\""+_a+"\",\""+_b+"\")",250);
};
this.off=function(i,_d){
if(timeout[_d+"_"+i]){
window.clearTimeout(timeout[_d+"_"+i]);
timeout[_d+"_"+i]=false;
}
};
this.set=function(i,_f,_10){
if(i==current[_f]){
return;
}
var _11=$(_10).getElementsByTagName("LI");
var _12=$(_f).getElementsByTagName("LI");
_11[current[_f]].className=_11[current[_f]].className.replace("selected","");
_12[current[_f]].className=_12[current[_f]].className.replace("selected","");
_11[i].className+=" selected";
_12[i].className+=" selected";
current[_f]=i;
};
function $(n){
return document.getElementById(n);
}
};

