set vminpoly to onload