if ($ENV{'HTTP_USER_AGENT'} =~ /(MSIE) (\d)/) { if($2 >= 7.0) { $iecopycheck = ""; } else { $iecopycheck = qq~checked="checked"~; } }