/* FILE ARCHIVED ON 4:05:14 Aug 12, 2008 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 10:17:48 Aug 12, 2011. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* Correctly handle PNG transparency in Win IE 5.5 & 6. http://web.archive.org/web/20080812040514/http://homepage.ntlworld.com/bobosola. Updated 18-Jan-2006. Use in with DEFER keyword wrapped in conditional comments: */ /* http://web.archive.org/web/20080812040514/http://maxtoroq.wordpress.com The code has been modified to ensure compatibility when using side by side with swfobject.js - Main code moved inside an object to avoid global variables. - Using window.onload event, you should remove the defer keyword from the script tag. */ window.addLoadEvent = function(func) { var oldonload = window.onload; if (typeof window.onload != 'function') { window.onload = func; } else { window.onload = function() { if (oldonload) { oldonload(); } func(); } } } var pngfix = { main : function() { if ((parseFloat(navigator.appVersion.split("MSIE")[1]) >= 5.5) && (document.body.filters)) { for(var i=0; i" img.outerHTML = strNewHTML i = i-1 } } } } } window.addLoadEvent(function() { pngfix.main(); });