Some IE(7) fixes

Links without href attributes navigate off-page in IE<=7. Also, indexOf is not supported on arrays, and offsetWidth is not writeable.