inregular window code