function Images(n,t,i,r){this.disabled=t,this.inactive=i,this.active=r,this.jqueryTag=n}function DisplayIcons(){for(var n=0;n<ToolEnum.TotalCount;n++);}function UpdateToolBarDisplay(n){DisplayIcons(n.mode,n.auth)}ToolEnum={Wall:0,Roof:1,Floor:2,WallOpening:3,TotalCount:4};var imgMap=[];imgMap[ToolEnum.Wall]=new Images("#wall","","walls.png","wallsactive.png"),imgMap[ToolEnum.Roof]=new Images("#roof","","roof.png","roofactive.png"),imgMap[ToolEnum.Floor]=new Images("#floor","Floor36Disabled.png","floors.png","floorsactive.png"),imgMap[ToolEnum.WallOpening]=new Images("#wall_opening","DoorWindow36Disabled.png","wallopening.png","wallopeningactive.png")