added Tab Object and fixed more error's
with the inline variable evaluation

I commented out the leftButton because this.style.leftButton is unfined ?