// (c) 2005 Infragistics - Do NOT modify the content of this file
// Version 6.2.20061.45

if(ig){if(!ig.tab){function IgWebTabPackage(){this.TYPE_TABVIEW="TabView";this.TYPE_TABITEM="TabItem";this.init=function(){ig.factory.addClass(ig.tab.TYPE_TABVIEW,IgTabView);ig.factory.addClass(ig.tab.TYPE_TABITEM,IgTabItem);};}
ig.tab=new IgWebTabPackage();function IgTabView(e){this.IgUIComponent(e);}
IgTabView._extends(IgUIComponent);function IgTabItem(e){this.IgUIElement(e);}
IgTabItem.prototype.applyClass=function(){var css=this.getDefaultClass();var cssLeft="igTabItemLeft";var cssRight="igTabItemRight";if(!this.isEnabled()){css=this.getDisabledClass();cssLeft="igTabItemDisabledLeft";cssRight="igTabItemDisabledRight";}
else{if(this.isSelected()){return;}
else{if(this.isHovered()){css=this.getHoverClass();cssLeft="igTabItemHoverLeft";cssRight="igTabItemHoverRight";}}}
if(this.elm.className!=cssRight){this.elm.className=cssRight;}
var leftTab=this.elm.previousSibling;var tabItem=this.elm.firstChild;if(leftTab.className!=cssLeft){leftTab.className=cssLeft;}
if(tabItem.className!=css){tabItem.className=css;}};IgTabItem.prototype.isSelected=function(){return this.getAttribute("oselected")=="true";};IgTabItem._extends(IgUIElement);ig.tab.init();}}
