var isOpera, isIE = false; if(typeof(window.opera) != 'undefined'){isOpera = true;} if(!isOpera && navigator.userAgent.indexOf('Internet Explorer') != -1 || navigator.userAgent.indexOf('MSIE') != -1){isIE = true}; function getelement(id) { if( isOpera || isIE ) { var elem = document.getElementById(id); if(elem){ //verify it is a valid match! if(elem.id == id) { //valid match! return elem; } else { //not a valid match! //the non-standard, document.all array has keys for all name'd, and id'd elements //start at one, because we know the first match, is wrong! for(var i=1;i