/* This script and many more are available free online at The JavaScript Source!! http://javascript.internet.com Created by: J. Max Wilson | http://www.sixteensmallstones.org/ */ if (/msie/i.test (navigator.userAgent)) { // only override IE document.nativeGetElementById = document.getElementById; document.getElementById = function(id) { var elem = document.nativeGetElementById(id); if(elem) { // make sure that it is a valid match on id if(elem.attributes['id'].value == id) { return elem; } else { // otherwise find the correct element for(var i=1;i