var ie = document.all var dom = document.getElementById var ns4 = document.layers /* hides and objects (for IE only) */ function showElement( elmID ) { if (ie) { for( i = 0; i < document.all.tags( elmID ).length; i++ ) { obj = document.all.tags( elmID )[i]; if( !obj || !obj.offsetParent ) { continue; } obj.style.visibility = ""; } } }