/*
This script will enable you to use .PNG images in both firefox
and internet explorer.

Include this file in the <head> tag in your html document with
the following code <script src=" Insert the source of this script here! "></script> and then
insert the following code where you want your .PNG image
<script>imgPNG(" Insert the image source here! ");</script>
*/
function imgPNG(_src,_alt) {
	var arVersion = navigator.appVersion.split("MSIE")
	var version = parseFloat(arVersion[1])
	if (version >= 5.5)
	{ // Internet Explorer
		var _part1 = '<img style="border:none;" src="js/png.gif" alt="';
		var _part2 = '" style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=';
		var _part3 = ');" />';
		return document.write(_part1,_alt,_part2,_src,_part3);
	}
	else
	{ // Andre browsere
		var _part1 = '<img style="border:none;" src="';
		var _part2 = '" alt="';
		var _part3 = '" />';
		return document.write(_part1,_src,_part2,_alt,_part3);
	}
}
