Javascript document.write() - Replace PNG with GIF?
<h3>The Scenario</h3>

<p>I have an asp.net web application with a HTML/CSS front end.
This all works fine but in Internet Explorer 6, the transparent PNG's that I use within the site are not transparent due to the poor design of this particular browser.</p>

<h3>Solutions Attempted</h3>

<p>I've already attempted various IE6 PNG Transparency fixes that didn't work.</p>

<h3>The Proposed Solution</h3>

<p>I thought about using GIF Image replacements for when the website detects that the browser is IE6. I don't have any javascript experience but someone has mentioned that I could use the "document.write()" feature off javascript to replace the PNG's with GIF's of the same image when using IE6 as the browser.</p>

<h3>The Question</h3>

<p>Please could someone explain to me how I would go about doing this?
Baring in mind I have an understanding of C# etc. but no javascript knowledge. I'm only just starting out as a web developer so simple explanations would aid me greatly.</p>

<p>Thanks for the help.
Regards.</p>
