Smart Window technology