A new variable star of the W Ursae Majoris type