Tab and Window object defination