the last two lines should be: "overflow:\s*\s*auto|". "display\s*:\s*none/si"; that should at least create a valid regular expression. -- Daniel -- Homepage: http://brightbyte.de